./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.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/popl20-more-array-sum2.wvr.c
Converting
Type-checking popl20-more-array-sum2.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 popl20-more-array-sum2.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.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
plus::b's upper bound is 0
Use SV-COMP unwinding strategy: 3
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/popl20-more-array-sum2.wvr.c line 107 function create_fresh_int_array thread 0
Unwinding loop create_fresh_int_array.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 107 function create_fresh_int_array thread 0
Not unwinding loop create_fresh_int_array.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 107 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/popl20-more-array-sum2.wvr.c line 107 function create_fresh_int_array thread 0
Unwinding loop create_fresh_int_array.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 107 function create_fresh_int_array thread 0
Not unwinding loop create_fresh_int_array.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 107 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 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 1
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
Unwinding loop thread1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 48 function thread1 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 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 1
Unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 48 function thread1 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 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 1
Not unwinding loop thread1.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 48 function thread1 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
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
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 58 function thread2 thread 2
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> lin[Warning][Unknown] Invalidating expressions: AddrOf(Var(M,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:81:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(N, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:82:3)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr, NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:108:5)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr,
                                           NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:108:5)
[Warning][Race] Memory location res2@popl20-more-array-sum2.wvr.c:42:11 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:91:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:60:5)
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:92:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:70:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:96:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:91:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:60:5)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:92:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:70:5)
[Warning][Race] Memory location res1@popl20-more-array-sum2.wvr.c:42:5 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:90:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:50:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:96:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:90:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c:50:5)

Summary for all memory locations:
	safe:            5
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           7
e 6 function abort thread 2
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
Unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 58 function thread2 thread 2
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
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
Not unwinding loop thread2.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 58 function thread2 thread 2
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
Unwinding loop thread3.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 68 function thread3 thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
Unwinding loop thread3.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 68 function thread3 thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 3
Not unwinding loop thread3.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c line 68 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/popl20-more-array-sum2.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 108 109 50 51 60 61 70 71 81 82 96 97 
The number of races before goblint filter: 164
The number of races after goblint filter: 72
Race categories: 9
	96(1) - 51(1) res1:
		res1#2 res1#6
		res1#2 res1#9
		res1#2 res1#12
		res1#3 res1#6
		res1#3 res1#9
		res1#3 res1#12
	96(1) - 61(1) res2:
		res2#2 res2#6
		res2#2 res2#9
		res2#2 res2#12
		res2#3 res2#6
		res2#3 res2#9
		res2#3 res2#12
	96(1) - 71(1) res2:
		res2#2 res2#15
		res2#2 res2#18
		res2#2 res2#21
		res2#3 res2#15
		res2#3 res2#18
		res2#3 res2#21
	108(1) - 51(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#7
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#9
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#11
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#7
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#9
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#11
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#7
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#9
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#11
	108(1) - 61(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#13
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#15
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#17
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#13
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#15
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#17
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#13
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#15
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#17
	108(1) - 71(1) symex_dynamic::dynamic_object1:
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#19
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#21
		symex_dynamic::dynamic_object1#2 symex_dynamic::dynamic_object1#23
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#19
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#21
		symex_dynamic::dynamic_object1#3 symex_dynamic::dynamic_object1#23
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#19
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#21
		symex_dynamic::dynamic_object1#4 symex_dynamic::dynamic_object1#23
	108(1) - 51(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#7
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#9
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#11
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#7
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#9
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#11
		symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#7
		symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#9
		symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#11
	108(1) - 61(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#13
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#15
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#17
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#13
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#15
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#17
		symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#13
		symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#15
		symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#17
	108(1) - 71(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#19
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#21
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#23
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#19
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#21
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#23
		symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#19
		symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#21
		symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#23
Runtime Symex: 0.822357s
Adding SC constraints
Shared __CPROVER_threads_exited: 6R/4W
Shared __CPROVER_next_thread_id: 5R/4W
Shared A: 9R/2W
Shared B: 9R/2W
Shared res1: 5R/4W
Shared res2: 8R/7W
Shared M: 4R/2W
Shared N: 6R/2W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
Shared main::1::t3!0@1: 2R/2W
Shared symex_dynamic::dynamic_object1: 9R/4W
Shared symex_dynamic::dynamic_object2: 9R/4W
size of program expression: 1551 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00858646s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0178255s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.038754s
Solving with Deagle's Closure solver
84171 variables, 302103 clauses
ClosureSolver finishes with 49 conflicts, 590 decisions, and 36651 propagations. 222 theory propagations and 4 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.0471681s
Runtime decision procedure: 0.0804634s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-array-sum2.wvr.c function main
[nodatarace.assertion.0] line 92 No data races on variable res1 between line 96 and line 51: SUCCESS
[nodatarace.assertion.1] line 92 No data races on variable res2 between line 96 and line 61: SUCCESS
[nodatarace.assertion.2] line 92 No data races on variable res2 between line 96 and line 71: SUCCESS
[nodatarace.assertion.3] line 92 No data races on variable symex_dynamic::dynamic_object1 between line 108 and line 51: SUCCESS
[nodatarace.assertion.4] line 92 No data races on variable symex_dynamic::dynamic_object1 between line 108 and line 61: SUCCESS
[nodatarace.assertion.5] line 92 No data races on variable symex_dynamic::dynamic_object1 between line 108 and line 71: SUCCESS
[nodatarace.assertion.6] line 92 No data races on variable symex_dynamic::dynamic_object2 between line 108 and line 51: SUCCESS
[nodatarace.assertion.7] line 92 No data races on variable symex_dynamic::dynamic_object2 between line 108 and line 61: SUCCESS
[nodatarace.assertion.8] line 92 No data races on variable symex_dynamic::dynamic_object2 between line 108 and line 71: SUCCESS

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