./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.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/chl-word-symm.wvr.c
Converting
Type-checking chl-word-symm.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 chl-word-symm.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.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(count1,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:89:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(count2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:90:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n1, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:91:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(n2, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:92:3)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr, NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:116:5)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr,
                                           NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:116:5)
[Warning][Race] Memory location res1@chl-word-symm.wvr.c:42:29 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:102:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:103:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:104:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:98:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:51:9)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:98:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:57:7)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:98:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:60:5)
[Warning][Race] Memory location res2@chl-word-symm.wvr.c:42:35 (race with conf. 110):
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:102:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:103:3)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:104:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:99:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:71:9)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:99:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:77:7)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:99:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c:80:5)

Summary for all memory locations:
	safe:            7
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           9
res2's upper bound is -1
res1's upper bound is -1
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
Unwinding loop create_fresh_int_array.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c line 115 function create_fresh_int_array thread 0
Not unwinding loop create_fresh_int_array.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c line 115 function create_fresh_int_array 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 create_fresh_int_array.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c line 115 function create_fresh_int_array thread 0
Not unwinding loop create_fresh_int_array.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c line 115 function create_fresh_int_array 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
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/chl-word-symm.wvr.c line 49 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c line 49 function thread1 thread 1
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c line 69 function thread2 thread 2
Not unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c line 69 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/chl-word-symm.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 102 103 104 105 116 117 51 52 57 58 60 61 71 72 77 78 80 81 89 90 
The number of races before goblint filter: 176
The number of races after goblint filter: 68
Race categories: 26
	89(1) - 60(1) count1:
		count1#2 count1#4
	89(1) - 80(1) count1:
		count1#2 count1#6
	90(1) - 60(1) count2:
		count2#2 count2#4
	90(1) - 80(1) count2:
		count2#2 count2#6
	102(1) - 51(1) res1:
		res1#2 res1#8
		res1#2 res1#9
		res1#3 res1#8
		res1#3 res1#9
	102(1) - 57(1) res1:
		res1#2 res1#10
		res1#3 res1#10
	102(1) - 60(1) res1:
		res1#2 res1#11
		res1#3 res1#11
	103(1) - 51(1) res1:
		res1#4 res1#8
		res1#4 res1#9
		res1#5 res1#8
		res1#5 res1#9
	103(1) - 57(1) res1:
		res1#4 res1#10
		res1#5 res1#10
	103(1) - 60(1) res1:
		res1#4 res1#11
		res1#5 res1#11
	104(1) - 51(1) res1:
		res1#6 res1#8
		res1#6 res1#9
		res1#7 res1#8
		res1#7 res1#9
	104(1) - 57(1) res1:
		res1#6 res1#10
		res1#7 res1#10
	104(1) - 60(1) res1:
		res1#6 res1#11
		res1#7 res1#11
	102(1) - 71(1) res2:
		res2#2 res2#8
		res2#2 res2#9
		res2#3 res2#8
		res2#3 res2#9
	102(1) - 77(1) res2:
		res2#2 res2#10
		res2#3 res2#10
	102(1) - 80(1) res2:
		res2#2 res2#11
		res2#3 res2#11
	103(1) - 71(1) res2:
		res2#4 res2#8
		res2#4 res2#9
		res2#5 res2#8
		res2#5 res2#9
	103(1) - 77(1) res2:
		res2#4 res2#10
		res2#5 res2#10
	103(1) - 80(1) res2:
		res2#4 res2#11
		res2#5 res2#11
	104(1) - 71(1) res2:
		res2#6 res2#8
		res2#6 res2#9
		res2#7 res2#8
		res2#7 res2#9
	104(1) - 77(1) res2:
		res2#6 res2#10
		res2#7 res2#10
	104(1) - 80(1) res2:
		res2#6 res2#11
		res2#7 res2#11
	116(1) - 51(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#6
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#8
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#6
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#8
	116(1) - 71(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#10
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#12
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#10
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#12
	116(1) - 51(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#6
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#8
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#6
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#8
	116(1) - 71(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#10
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#12
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#10
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#12
Runtime Symex: 0.789785s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared get1: 8R/2W
Shared get2: 8R/2W
Shared count1: 4R/2W
Shared count2: 4R/2W
Shared n1: 6R/2W
Shared n2: 6R/2W
Shared res1: 6R/5W
Shared res2: 6R/5W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
Shared symex_dynamic::dynamic_object1: 8R/3W
Shared symex_dynamic::dynamic_object2: 8R/3W
size of program expression: 919 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00428983s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00600441s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00445408s
Solving with Deagle's Closure solver
16205 variables, 48124 clauses
ClosureSolver finishes with 53 conflicts, 639 decisions, and 20064 propagations. 246 theory propagations and 5 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00919565s
Runtime decision procedure: 0.0293701s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/chl-word-symm.wvr.c function main
[nodatarace.assertion.0] line 99 No data races on variable count1 between line 89 and line 60: SUCCESS
[nodatarace.assertion.1] line 99 No data races on variable count1 between line 89 and line 80: SUCCESS
[nodatarace.assertion.2] line 99 No data races on variable count2 between line 90 and line 60: SUCCESS
[nodatarace.assertion.3] line 99 No data races on variable count2 between line 90 and line 80: SUCCESS
[nodatarace.assertion.4] line 99 No data races on variable res1 between line 102 and line 51: SUCCESS
[nodatarace.assertion.5] line 99 No data races on variable res1 between line 102 and line 57: SUCCESS
[nodatarace.assertion.6] line 99 No data races on variable res1 between line 102 and line 60: SUCCESS
[nodatarace.assertion.7] line 99 No data races on variable res1 between line 103 and line 51: SUCCESS
[nodatarace.assertion.8] line 99 No data races on variable res1 between line 103 and line 57: SUCCESS
[nodatarace.assertion.9] line 99 No data races on variable res1 between line 103 and line 60: SUCCESS
[nodatarace.assertion.10] line 99 No data races on variable res1 between line 104 and line 51: SUCCESS
[nodatarace.assertion.11] line 99 No data races on variable res1 between line 104 and line 57: SUCCESS
[nodatarace.assertion.12] line 99 No data races on variable res1 between line 104 and line 60: SUCCESS
[nodatarace.assertion.13] line 99 No data races on variable res2 between line 102 and line 71: SUCCESS
[nodatarace.assertion.14] line 99 No data races on variable res2 between line 102 and line 77: SUCCESS
[nodatarace.assertion.15] line 99 No data races on variable res2 between line 102 and line 80: SUCCESS
[nodatarace.assertion.16] line 99 No data races on variable res2 between line 103 and line 71: SUCCESS
[nodatarace.assertion.17] line 99 No data races on variable res2 between line 103 and line 77: SUCCESS
[nodatarace.assertion.18] line 99 No data races on variable res2 between line 103 and line 80: SUCCESS
[nodatarace.assertion.19] line 99 No data races on variable res2 between line 104 and line 71: SUCCESS
[nodatarace.assertion.20] line 99 No data races on variable res2 between line 104 and line 77: SUCCESS
[nodatarace.assertion.21] line 99 No data races on variable res2 between line 104 and line 80: SUCCESS
[nodatarace.assertion.22] line 99 No data races on variable symex_dynamic::dynamic_object1 between line 116 and line 51: SUCCESS
[nodatarace.assertion.23] line 99 No data races on variable symex_dynamic::dynamic_object1 between line 116 and line 71: SUCCESS
[nodatarace.assertion.24] line 99 No data races on variable symex_dynamic::dynamic_object2 between line 116 and line 51: SUCCESS
[nodatarace.assertion.25] line 99 No data races on variable symex_dynamic::dynamic_object2 between line 116 and line 71: SUCCESS

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