./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.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-sum-array-hom.wvr.c
Converting
Type-checking popl20-more-sum-array-hom.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-sum-array-hom.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.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] Invalidating expressions: AddrOf(Var(M,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:75:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(N, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:76:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp___0, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:101:5)
[Warning][Race] Memory location sum3@popl20-more-sum-array-hom.wvr.c:42:26 (race with conf. 110):
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:85:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:65:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:89:3)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:85:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:65:5)
[Warning][Race] Memory location sum1@popl20-more-sum-array-hom.wvr.c:42:14 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:83:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:49:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:89:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:83:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:49:5)
[Warning][Race] Memory location sum2@popl20-more-sum-array-hom.wvr.c:42:20 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:84:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:57:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:89:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:84:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c:57:5)

Summary for all memory locations:
	safe:            4
	vulnerable:      0
	unsafe:          3
	-------------------
	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
Unwinding loop create_fresh_uint_array.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c line 100 function create_fresh_uint_array thread 0
Not unwinding loop create_fresh_uint_array.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c line 100 function create_fresh_uint_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 thread1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c line 48 function thread1 thread 1
Not unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c line 48 function thread1 thread 1
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c line 56 function thread2 thread 2
Not unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c line 56 function thread2 thread 2
Unwinding loop thread3.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c line 64 function thread3 thread 3
Not unwinding loop thread3.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c line 64 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-sum-array-hom.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 49 50 57 58 65 66 75 76 89 90 
The number of races before goblint filter: 68
The number of races after goblint filter: 12
Race categories: 3
	89(1) - 49(1) sum1:
		sum1#2 sum1#5
		sum1#2 sum1#7
		sum1#3 sum1#5
		sum1#3 sum1#7
	89(1) - 57(1) sum2:
		sum2#2 sum2#5
		sum2#2 sum2#7
		sum2#3 sum2#5
		sum2#3 sum2#7
	89(1) - 65(1) sum3:
		sum3#2 sum3#5
		sum3#2 sum3#7
		sum3#3 sum3#5
		sum3#3 sum3#7
Runtime Symex: 0.414344s
Adding SC constraints
Shared __CPROVER_threads_exited: 6R/4W
Shared __CPROVER_next_thread_id: 5R/4W
Shared A: 6R/2W
Shared sum1: 4R/3W
Shared sum2: 4R/3W
Shared sum3: 4R/3W
Shared M: 3R/2W
Shared N: 4R/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: 6R/3W
size of program expression: 636 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00240848s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00424485s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00693003s
Solving with Deagle's Closure solver
14823 variables, 47537 clauses
ClosureSolver finishes with 67 conflicts, 152 decisions, and 37322 propagations. 130 theory propagations and 19 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.0129441s
Runtime decision procedure: 0.0276112s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-sum-array-hom.wvr.c function main
[nodatarace.assertion.0] line 85 No data races on variable sum1 between line 89 and line 49: SUCCESS
[nodatarace.assertion.1] line 85 No data races on variable sum2 between line 89 and line 57: SUCCESS
[nodatarace.assertion.2] line 85 No data races on variable sum3 between line 89 and line 65: SUCCESS

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