./goblint --conf conf/svcomp-validate.json --witness.yaml.unassume /mnt/goblint-svcomp/benchexec/results/155-concurrency-fix-locations/goblint.2024-03-01_08-09-03.files/SV-COMP24_unreach-call/35_double_lock_p3_vs.yml/witness.yml --witness.yaml.validate /mnt/goblint-svcomp/benchexec/results/155-concurrency-fix-locations/goblint.2024-03-01_08-09-03.files/SV-COMP24_unreach-call/35_double_lock_p3_vs.yml/witness.yml --sets ana.specification /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/unreach-call.prp --sets exp.architecture 32bit /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i


--------------------------------------------------------------------------------


[0;33m[Warning] --sets is deprecated, use --set instead.[0;0;00m
[0;33m[Warning] --sets is deprecated, use --set instead.[0;0;00m
[Info] Enabled congruence domain.
[Info] Enabled widening thresholds
[Info] Enabled octagon domain for:
[Info] count, abort, i, key, count___0, a, tmp, count___0, i, j, i___0, j___0, k, size, r, top, tmp, m, m, __x, __x, __x
[Info] SV-COMP specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
[Info][Witness] unassume invariant: (unsigned long )arg == 0UL (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:714:1-723:1)
[Info][Witness] unassume invariant: ((((((*m == 0 || *m == 1) && (mutexa == 0 || mutexa == 1)) && (unsigned long )m == (unsigned long )(& mutexa)) && *m <= 1) && mutexa <= 1) && 0 <= *m) && 0 <= mutexa (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:690:1-694:1)
[Info][Witness] unassume invariant: (((*m == 0 || *m == 1) && (unsigned long )m == (unsigned long )(& mutexa)) && *m <= 1) && 0 <= *m (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:692:2-692:28)
[Info][Witness] unassume invariant: mutexa == 1 && (unsigned long )m == (unsigned long )(& mutexa) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:693:2-693:8)
[Info][Witness] unassume invariant: ((((((*m == 0 || *m == 1) && (mutexa == 0 || mutexa == 1)) && (unsigned long )m == (unsigned long )(& mutexa)) && *m <= 1) && mutexa <= 1) && 0 <= *m) && 0 <= mutexa (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:695:1-699:1)
[Info][Witness] unassume invariant: (((*m == 0 || *m == 1) && (unsigned long )m == (unsigned long )(& mutexa)) && *m <= 1) && 0 <= *m (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:697:2-697:28)
[Info][Witness] unassume invariant: mutexa == 0 && (unsigned long )m == (unsigned long )(& mutexa) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:698:2-698:8)
[Info][Witness] unassume invariant: (unsigned long )arg == 0UL (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:720:5-720:39)
[Warning][Integer > Overflow][CWE-190] Signed integer overflow (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:705:3-705:10)
[Warning][Integer > Overflow][CWE-191] Signed integer underflow (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:706:3-706:10)
[Warning][Integer > Overflow][CWE-191] Signed integer underflow (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:709:3-709:10)
[Warning][Integer > Overflow][CWE-190] Signed integer overflow (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:710:3-710:10)
[Warning][Deadcode] Function '__bswap_32' is uncalled: 1 LLoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:72:1-76:1)
[Warning][Deadcode] Function '__bswap_64' is uncalled: 1 LLoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:77:1-81:1)
[Warning][Deadcode] Function '__uint16_identity' is uncalled: 1 LLoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:82:1-86:1)
[Warning][Deadcode] Function '__uint32_identity' is uncalled: 1 LLoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:87:1-91:1)
[Warning][Deadcode] Function '__uint64_identity' is uncalled: 1 LLoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:92:1-96:1)
[Warning][Deadcode] Function 'main' does not return
[Warning][Deadcode] Function 'main' has dead code:
  on line 738 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:738-738)
[Warning][Deadcode] Function 'thr1' has dead code:
  on line 722 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:722-722)
[Warning][Deadcode] Logical lines of code (LLoC) summary:
  live: 36
  dead: 7 (5 in uncalled functions)
  total lines: 43
[Warning][Deadcode][CWE-570] condition '0' is always false (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:17:73-17:74)
[Warning][Race] Memory location count (race with conf. 110): (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:689:5-689:14)
  write with region:{count} (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:705:3-705:10)
  write with [region:{count}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:736:7-736:37]] (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:705:3-705:10)
  write with region:{count} (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:706:3-706:10)
  write with [region:{count}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:736:7-736:37]] (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:706:3-706:10)
  write with region:{count} (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:709:3-709:10)
  write with [region:{count}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:736:7-736:37]] (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:709:3-709:10)
  write with region:{count} (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:710:3-710:10)
  write with [region:{count}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:736:7-736:37]] (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:710:3-710:10)
  read with region:{count} (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:705:3-705:10)
  read with [region:{count}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:736:7-736:37]] (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:705:3-705:10)
  read with region:{count} (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:706:3-706:10)
  read with [region:{count}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:736:7-736:37]] (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:706:3-706:10)
  read with region:{count} (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:709:3-709:10)
  read with [region:{count}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:736:7-736:37]] (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:709:3-709:10)
  read with region:{count} (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:710:3-710:10)
  read with [region:{count}, thread:[main, thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:736:7-736:37]] (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:710:3-710:10)
  read with [region:{count}, thread:[main, thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:733:3-733:33]] (conf. 110)  (exp: & count) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:719:10-719:24)
[Warning][Deadcode][CWE-571] condition '1' (possibly inserted by CIL) is always true (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:716:9-716:10)
[Warning][Deadcode][CWE-571] condition '1' (possibly inserted by CIL) is always true (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:734:9-734:10)
[Success][Witness] invariant confirmed: 0 <= *m (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:693:2)
[Success][Witness] invariant confirmed: *m <= 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:693:2)
[Success][Witness] invariant confirmed: m == & mutexa (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:693:2)
[Success][Witness] invariant confirmed: *m == 0 || *m == 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:693:2)
[Success][Witness] invariant confirmed: m == & mutexa (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:699:1)
[Success][Witness] invariant confirmed: mutexa == 0 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:699:1)
[Success][Witness] invariant confirmed: 0 <= mutexa (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:692:2)
[Success][Witness] invariant confirmed: 0 <= *m (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:692:2)
[Success][Witness] invariant confirmed: mutexa <= 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:692:2)
[Success][Witness] invariant confirmed: *m <= 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:692:2)
[Success][Witness] invariant confirmed: m == & mutexa (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:692:2)
[Success][Witness] invariant confirmed: mutexa == 0 || mutexa == 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:692:2)
[Success][Witness] invariant confirmed: *m == 0 || *m == 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:692:2)
[Success][Witness] invariant confirmed: m == & mutexa (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:694:1)
[Success][Witness] invariant confirmed: mutexa == 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:694:1)
[Success][Witness] invariant confirmed: 0 <= *m (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:698:2)
[Success][Witness] invariant confirmed: *m <= 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:698:2)
[Success][Witness] invariant confirmed: m == & mutexa (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:698:2)
[Success][Witness] invariant confirmed: *m == 0 || *m == 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:698:2)
[Success][Witness] invariant confirmed: 0 <= mutexa (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:697:2)
[Success][Witness] invariant confirmed: 0 <= *m (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:697:2)
[Success][Witness] invariant confirmed: mutexa <= 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:697:2)
[Success][Witness] invariant confirmed: *m <= 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:697:2)
[Success][Witness] invariant confirmed: m == & mutexa (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:697:2)
[Success][Witness] invariant confirmed: mutexa == 0 || mutexa == 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:697:2)
[Success][Witness] invariant confirmed: *m == 0 || *m == 1 (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:697:2)
[Success][Witness] invariant confirmed: (unsigned long )arg == 0UL (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i:716:3)
[Info][Witness] witness validation summary:
  confirmed: 27
  unconfirmed: 0
  refuted: 0
  error: 0
  unchecked: 0
  unsupported: 0
  disabled: 0
  total validation entries: 27
SV-COMP result: unknown
[Info][Race] Memory locations race summary:
  safe: 1
  vulnerable: 0
  unsafe: 1
  total memory locations: 2
