./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.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-mts.wvr.c
Converting
Type-checking popl20-more-mts.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-mts.wvr file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.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-mts.wvr.c line 102 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-mts.wvr.c line 102 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-mts.wvr.c line 102 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
Unwinding loop thread1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c line 47 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
Unwinding loop thread1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c line 47 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
Not unwinding loop thread1.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c line 47 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
Unwinding loop thread2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c line 55 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
Unwinding loop thread2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c line 55 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
Not unwinding loop thread2.0 iteration 3 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c line 55 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-mts.wvr.c line 63 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-mts.wvr.c line 63 function t[Warning][Unknown] Invalidating expressions: AddrOf(Var(M,
                                     NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:77:3)
[Warning][Unknown] Invalidating expressions: AddrOf(Var(N, NoOffset)) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:78:3)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(arr, NoOffset)), Lval(Var(i, NoOffset))) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:103:5)
[Warning][Race] Memory location sum@popl20-more-mts.wvr.c:41:23 (race with conf. 110):
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:87:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:66:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:91:3)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:87:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:66:5)
[Warning][Race] Memory location mts3@popl20-more-mts.wvr.c:41:17 (race with conf. 110):
  read with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:87:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:65:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:91:3)
  write with {thread:([thread3@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:87:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:65:5)
[Warning][Race] Memory location mts2@popl20-more-mts.wvr.c:41:11 (race with conf. 110):
  read with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:86:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:56:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:91:3)
  write with {thread:([thread2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:86:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:56:5)
[Warning][Race] Memory location mts1@popl20-more-mts.wvr.c:41:5 (race with conf. 110):
  read with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:85:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:48:5)
  read with {thread:([main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:91:3)
  write with {thread:([thread1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:85:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c:48:5)

Summary for all memory locations:
	safe:            4
	vulnerable:      0
	unsafe:          4
	-------------------
	total:           8
hread3 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-mts.wvr.c line 63 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-mts.wvr.c | tee goblint/goblint_output: 0
Lines where datarace may occur: 48 49 56 57 65 66 67 77 78 91 92 
The number of races before goblint filter: 236
The number of races after goblint filter: 42
Race categories: 4
	91(1) - 48(1) mts1:
		mts1#2 mts1#7
		mts1#2 mts1#11
		mts1#2 mts1#15
		mts1#3 mts1#7
		mts1#3 mts1#11
		mts1#3 mts1#15
	91(1) - 56(1) mts2:
		mts2#2 mts2#9
		mts2#2 mts2#13
		mts2#2 mts2#17
		mts2#3 mts2#9
		mts2#3 mts2#13
		mts2#3 mts2#17
		mts2#4 mts2#9
		mts2#4 mts2#13
		mts2#4 mts2#17
		mts2#5 mts2#9
		mts2#5 mts2#13
		mts2#5 mts2#17
	91(1) - 67(1) mts3:
		mts3#2 mts3#8
		mts3#2 mts3#11
		mts3#2 mts3#14
		mts3#3 mts3#8
		mts3#3 mts3#11
		mts3#3 mts3#14
		mts3#4 mts3#8
		mts3#4 mts3#11
		mts3#4 mts3#14
		mts3#5 mts3#8
		mts3#5 mts3#11
		mts3#5 mts3#14
	91(1) - 67(1) sum:
		sum#2 sum#8
		sum#2 sum#11
		sum#2 sum#14
		sum#3 sum#8
		sum#3 sum#11
		sum#3 sum#14
		sum#4 sum#8
		sum#4 sum#11
		sum#4 sum#14
		sum#5 sum#8
		sum#5 sum#11
		sum#5 sum#14
Runtime Symex: 1.0819s
Adding SC constraints
Shared __CPROVER_threads_exited: 6R/4W
Shared __CPROVER_next_thread_id: 5R/4W
Shared A: 15R/2W
Shared mts1: 11R/4W
Shared mts2: 13R/4W
Shared mts3: 7R/4W
Shared sum: 7R/4W
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: 27R/4W
size of program expression: 1369 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00909165s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0152722s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0343769s
Solving with Deagle's Closure solver
72594 variables, 272415 clauses
ClosureSolver finishes with 139 conflicts, 955 decisions, and 117452 propagations. 840 theory propagations and 16 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.0640601s
Runtime decision procedure: 0.0978947s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-more-mts.wvr.c function main
[nodatarace.assertion.0] line 87 No data races on variable mts1 between line 91 and line 48: SUCCESS
[nodatarace.assertion.1] line 87 No data races on variable mts2 between line 91 and line 56: SUCCESS
[nodatarace.assertion.2] line 87 No data races on variable mts3 between line 91 and line 67: SUCCESS
[nodatarace.assertion.3] line 87 No data races on variable sum between line 91 and line 67: SUCCESS

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