./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.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/clever.wvr.c
Converting
Type-checking clever.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 clever.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.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] Invalidating expressions: AddrOf(Var(n,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:63:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(m, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:64:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(i1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:65:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(i2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:66:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(j1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:67:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:68:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:68:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(k2, NoOffset)), AddrOf(Var(k1, NoOffset)), AddrOf(Var(j1, NoOffset)), AddrOf(Var(i2, NoOffset)), AddrOf(Var(i1, NoOffset)), AddrOf(Var(m, NoOffset)), AddrOf(Var(n, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:68:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(k1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:68:3)
[Warning][Unknown] Function definition missing for __VERIFIER_nondet_uint (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:69:3)
[Warning][Unknown] INVALIDATING ALL GLOBALS! (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:69:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(k2, NoOffset)), AddrOf(Var(k1, NoOffset)), AddrOf(Var(j1, NoOffset)), AddrOf(Var(i2, NoOffset)), AddrOf(Var(i1, NoOffset)), AddrOf(Var(m, NoOffset)), AddrOf(Var(n, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:69:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(k2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:69:3)
[Warning][Unknown] Invariant failed: expression "==(CastE(TInt(unsigned int, ), Lval(Var(i1, NoOffset))), Lval(Var(k1, NoOffset)))" not understood. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:72:3)
[Warning][Unknown] Invariant failed: expression "==(CastE(TInt(unsigned int, ), Lval(Var(i1, NoOffset))), Lval(Var(k2, NoOffset)))" not understood. (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:72:3)
[Warning][Race] Memory location k2@clever.wvr.c:37:18 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:77:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:52:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:80:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:77:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:52:5)
[Warning][Race] Memory location k1@clever.wvr.c:37:14 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:76:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:42:7)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:80:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:76:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c:42:7)

Summary for all memory locations:
	safe:            5
	vulnerable:      0
	unsafe:          2
	-------------------
	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 0
Unwinding loop thread1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c line 41 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c line 41 function thread1 thread 1
Unwinding loop thread1.1 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c line 40 function thread1 thread 1
Unwinding loop thread1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c line 41 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c line 41 function thread1 thread 1
Not unwinding loop thread1.1 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c line 40 function thread1 thread 1
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c line 51 function thread2 thread 2
Not unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c line 51 function thread2 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/clever.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 42 43 52 53 63 64 80 81 
The number of races before goblint filter: 108
The number of races after goblint filter: 14
Race categories: 3
	80(1) - 42(1) k1:
		k1#3 k1#6
		k1#3 k1#8
		k1#3 k1#10
		k1#3 k1#12
		k1#4 k1#6
		k1#4 k1#8
		k1#4 k1#10
		k1#4 k1#12
	80(1) - 52(1) k2:
		k2#3 k2#6
		k2#3 k2#8
		k2#4 k2#6
		k2#4 k2#8
	64(1) - 52(1) m:
		m#2 m#7
		m#2 m#8
Runtime Symex: 0.473008s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared n: 4R/2W
Shared m: 6R/2W
Shared i1: 4R/4W
Shared i2: 4R/4W
Shared j1: 8R/8W
Shared k1: 6R/6W
Shared k2: 4R/4W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
size of program expression: 543 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0026834s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00438383s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000778231s
Solving with Deagle's Closure solver
7407 variables, 23981 clauses
ClosureSolver finishes with 13 conflicts, 46 decisions, and 7484 propagations. 98 theory propagations and 0 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00242754s
Runtime decision procedure: 0.0176037s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/clever.wvr.c function main
[nodatarace.assertion.0] line 77 No data races on variable k1 between line 80 and line 42: SUCCESS
[nodatarace.assertion.1] line 77 No data races on variable k2 between line 80 and line 52: SUCCESS
[nodatarace.assertion.2] line 77 No data races on variable m between line 64 and line 52: SUCCESS

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