./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.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-misc-3-extended.wvr.c
Converting
Type-checking parallel-misc-3-extended.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-misc-3-extended.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.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 3 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-misc-3-extended.wvr.c:54:7)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:54:7)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(g3,
                                     NoOffset)), AddrOf(Var(g2, NoOffset)), AddrOf(Var(g1, NoOffset)), AddrOf(Var(d3, NoOffset)), AddrOf(Var(d2, NoOffset)), AddrOf(Var(d1, NoOffset)), AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:54:7)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:54:7)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:76:7)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:76:7)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(g3,
                                     NoOffset)), AddrOf(Var(g2, NoOffset)), AddrOf(Var(g1, NoOffset)), AddrOf(Var(d3, NoOffset)), AddrOf(Var(d2, NoOffset)), AddrOf(Var(d1, NoOffset)), AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:76:7)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:76:7)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_bool (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:98:7)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:98:7)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(g3,
                                     NoOffset)), AddrOf(Var(g2, NoOffset)), AddrOf(Var(g1, NoOffset)), AddrOf(Var(d3, NoOffset)), AddrOf(Var(d2, NoOffset)), AddrOf(Var(d1, NoOffset)), AddrOf(Var(pos, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:98:7)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:98:7)
[Warning][Race] Memory location pos@parallel-misc-3-extended.wvr.c:38:5 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:120:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:45:7)
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:120:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:49:7)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:121:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:67:7)
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:121:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:71:7)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:122:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:89:7)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:122:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:93:7)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:126:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:120:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:45:7)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:120:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:49:7)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:121:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:67:7)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:121:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:71:7)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:122:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:89:7)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:122:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c:93:7)

Summary for all memory locations:
	safe:            6
	vulnerable:      0
	unsafe:          1
	-------------------
	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
Unwinding loop thread1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c line 42 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c line 42 function thread1 thread 1
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c line 64 function thread2 thread 2
Not unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c line 64 function thread2 thread 2
Unwinding loop thread3.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c line 86 function thread3 thread 3
Not unwinding loop thread3.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c line 86 function thread3 thread 3
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-misc-3-extended.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 126 127 45 46 49 50 54 55 67 68 71 72 76 77 89 90 93 94 98 99 
The number of races before goblint filter: 120
The number of races after goblint filter: 24
Race categories: 6
	126(1) - 46(1) pos:
		pos#2 pos#6
		pos#2 pos#12
		pos#3 pos#6
		pos#3 pos#12
	126(1) - 50(1) pos:
		pos#2 pos#9
		pos#2 pos#15
		pos#3 pos#9
		pos#3 pos#15
	126(1) - 68(1) pos:
		pos#2 pos#18
		pos#2 pos#24
		pos#3 pos#18
		pos#3 pos#24
	126(1) - 72(1) pos:
		pos#2 pos#21
		pos#2 pos#27
		pos#3 pos#21
		pos#3 pos#27
	126(1) - 90(1) pos:
		pos#2 pos#30
		pos#2 pos#36
		pos#3 pos#30
		pos#3 pos#36
	126(1) - 94(1) pos:
		pos#2 pos#33
		pos#2 pos#39
		pos#3 pos#33
		pos#3 pos#39
Runtime Symex: 0.731928s
Adding SC constraints
Shared __CPROVER_threads_exited: 6R/4W
Shared __CPROVER_next_thread_id: 5R/4W
Shared pos: 14R/13W
Shared d1: 6R/4W
Shared d2: 6R/4W
Shared d3: 6R/4W
Shared g1: 2R/4W
Shared g2: 2R/4W
Shared g3: 2R/4W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
Shared main::1::t3!0@1: 2R/2W
size of program expression: 846 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00382936s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00655447s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00214938s
Solving with Deagle's Closure solver
10151 variables, 36415 clauses
ClosureSolver finishes with 24 conflicts, 94 decisions, and 10617 propagations. 190 theory propagations and 3 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00858621s
Runtime decision procedure: 0.0283161s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/parallel-misc-3-extended.wvr.c function main
[nodatarace.assertion.0] line 122 No data races on variable pos between line 126 and line 46: SUCCESS
[nodatarace.assertion.1] line 122 No data races on variable pos between line 126 and line 50: SUCCESS
[nodatarace.assertion.2] line 122 No data races on variable pos between line 126 and line 68: SUCCESS
[nodatarace.assertion.3] line 122 No data races on variable pos between line 126 and line 72: SUCCESS
[nodatarace.assertion.4] line 122 No data races on variable pos between line 126 and line 90: SUCCESS
[nodatarace.assertion.5] line 122 No data races on variable pos between line 126 and line 94: SUCCESS

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