./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c


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


Deagle version 2.1 64-bit x86_64 linux
which contains:
CBMC version 5.67.0 (SVCOMP2023_221122-2-g2121ef1a2) 64-bit x86_64 linux
Parsing /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c
Converting
Type-checking parallel-bakery-2.wvr
Generating GOTO Program
Adding CPROVER library (x86_64)
file <builtin-library-pthread_create> line 20: warning: pointer parameter types differ between declaration and definition "pthread_create"
old definition in module parallel-bakery-2.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c line 22
signed int (pthread_t *, const pthread_attr_t *, void * (*)(void *), void *)
new definition in module <built-in-library> file <builtin-library-pthread_create> line 20
signed int (pthread_t *thread, const pthread_attr_t *attr, void * (*start_routine)(void *), void *arg)
Removal of function pointers and virtual functions
file <builtin-library-__spawned_thread> line 34 function __spawned_thread: replacing function pointer by 2 possible targets
Generic Property Instrumentation
Running with 8 object bits, 24 offset bits (default)
Starting Bounded Model Checking
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:113:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:113:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(i2,
                                     NoOffset)), AddrOf(Var(i1, NoOffset)), AddrOf(Var(i, NoOffset)), AddrOf(Var(n2, NoOffset)), AddrOf(Var(n1, NoOffset)), AddrOf(Var(e2, NoOffset)), AddrOf(Var(e1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:113:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(e1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:113:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:114:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:114:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(i2, NoOffset)), AddrOf(Var(i1, NoOffset)), AddrOf(Var(i, NoOffset)), AddrOf(Var(n2, NoOffset)), AddrOf(Var(n1, NoOffset)), AddrOf(Var(e2, NoOffset)), AddrOf(Var(e1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:114:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(e2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:114:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:115:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:116:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(i, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:117:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(i1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:118:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(i2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:119:3)
[Warning][Race] Memory location e1@parallel-bakery-2.wvr.c:38:7 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:90:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:43:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:52:3)
[Warning][Race] Memory location e2@parallel-bakery-2.wvr.c:38:11 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:56:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:77:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:86:3)
[Warning][Race] Memory location n1@parallel-bakery-2.wvr.c:39:5 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:46:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:49:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:59:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:80:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:93:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:46:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:49:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:69:3)
[Warning][Race] Memory location n2@parallel-bakery-2.wvr.c:39:9 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:46:3)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:59:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:80:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:83:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:93:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:80:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:83:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:103:3)
[Warning][Race] Memory location i@parallel-bakery-2.wvr.c:39:13 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:63:3)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:97:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:129:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:125:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:66:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:126:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c:100:3)

Summary for all memory locations:
	safe:            2
	vulnerable:      0
	unsafe:          5
	-------------------
	total:           7
Use SV-COMP unwinding strategy: 2
Deagle's solver is set!!!!!!
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
Handling datarace, passing the problem to goblint first
getcwd: /mnt/goblint-svcomp/benchexec/tools-pldi/deagle
/mnt/goblint-svcomp/benchexec/tools-pldi/deagle/goblint/goblint /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 100 101 103 104 113 114 129 130 43 44 46 47 49 50 52 53 56 57 59 60 63 64 66 67 69 70 77 78 80 81 83 84 86 87 90 91 93 94 97 98 
The number of races before goblint filter: 64
The number of races after goblint filter: 10
Race categories: 8
	113(1) - 44(1) e1:
		e1#2 e1#3
	113(1) - 53(1) e1:
		e1#2 e1#4
	113(1) - 91(1) e1:
		e1#2 e1#5
	114(1) - 57(1) e2:
		e2#2 e2#3
	114(1) - 78(1) e2:
		e2#2 e2#5
	114(1) - 87(1) e2:
		e2#2 e2#6
	129(1) - 101(1) i:
		i#3 i#10
		i#4 i#10
	129(1) - 67(1) i:
		i#3 i#7
		i#4 i#7
Runtime Symex: 0.321432s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared e1: 1R/4W
Shared e2: 1R/4W
Shared n1: 5R/5W
Shared n2: 5R/5W
Shared i: 4R/4W
Shared i1: 1R/3W
Shared i2: 1R/3W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
size of program expression: 504 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00190029s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00320339s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000732201s
Solving with Deagle's Closure solver
4853 variables, 14375 clauses
ClosureSolver finishes with 11 conflicts, 45 decisions, and 3294 propagations. 52 theory propagations and 3 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00138294s
Runtime decision procedure: 0.0131881s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-bakery-2.wvr.c function main
[nodatarace.assertion.0] line 126 No data races on variable e1 between line 113 and line 44: SUCCESS
[nodatarace.assertion.1] line 126 No data races on variable e1 between line 113 and line 53: SUCCESS
[nodatarace.assertion.2] line 126 No data races on variable e1 between line 113 and line 91: SUCCESS
[nodatarace.assertion.3] line 126 No data races on variable e2 between line 114 and line 57: SUCCESS
[nodatarace.assertion.4] line 126 No data races on variable e2 between line 114 and line 78: SUCCESS
[nodatarace.assertion.5] line 126 No data races on variable e2 between line 114 and line 87: SUCCESS
[nodatarace.assertion.6] line 126 No data races on variable i between line 129 and line 101: SUCCESS
[nodatarace.assertion.7] line 126 No data races on variable i between line 129 and line 67: SUCCESS

** 0 of 8 failed (1 iterations)
VERIFICATION SUCCESSFUL
