./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i


--------------------------------------------------------------------------------


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/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i
Converting
Type-checking per-thread-index-inc-race
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 per-thread-index-inc-race file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 727
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 *pthread_create$$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 1 possible targets
Generic Property Instrumentation
Running with 8 object bits, 24 offset bits (default)
Starting Bounded Model Checking
[Warning][Unknown] Invalidating expressions: AddrOf(Var(tmp, NoOffset)) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:1047:3)
[Warning][Unknown] Invalidating expressions: IndexPI(Lval(Var(datas,
                                           NoOffset)), Lval(Var(j, NoOffset))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:1043:3)
[Warning][Unknown] Invalidating expressions: CastE(TPtr(TVoid(),
                                ), Lval(Var(tids, NoOffset))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:1057:3)
[Warning][Unknown] Invalidating expressions: CastE(TPtr(TVoid(), ), Lval(Var(datas, NoOffset))) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:1058:3)
[Warning][Deadcode] Function "__bswap_16" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:163:1)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:168:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:173:15)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:178:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:183:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:188:1)
[Warning][Race] Memory location (alloc@sid:28)[?]@:-1:-1 (race with conf. 110):
  write with {} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:1043:3)
[Warning][Race] Memory location next_j@per-thread-index-inc-race.i:1038:5 (race with conf. 110):
  read with {} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:1041:3)
  read with {} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:1042:3)
  write with {} (conf. 110) (/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i:1042:3)

Summary for all memory locations:
	safe:            4
	vulnerable:      0
	unsafe:          2
	-------------------
	total:           6
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
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1051 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1051 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1054 function main thread 0
Not unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1054 function main thread 0
pointer handling for concurrency is unsound
aborting path on assume(false) at file <builtin-library-__spawned_thread> line 34 function __spawned_thread 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/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 1041 1042 1043 1044 1057 1058 
The number of races before goblint filter: 22
The number of races after goblint filter: 8
Race categories: 4
	1041(1) - 1042(1) next_j:
		next_j#2 next_j#7
	1042(1) - 1041(1) next_j:
		next_j#4 next_j#5
	1042(1) - 1042(1) next_j:
		next_j#3 next_j#7
		next_j#4 next_j#6
		next_j#4 next_j#7
	1043(1) - 1043(1) symex_dynamic::dynamic_object2:
		symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#5
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#4
		symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#5
Runtime Symex: 0.222335s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared __CPROVER_memory_leak: 2R/5W
Shared datas: 4R/2W
Shared next_j: 4R/3W
Shared symex_dynamic::dynamic_object1: 5R/3W
Shared symex_dynamic::dynamic_object2: 2R/3W
size of program expression: 439 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00143084s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00262612s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00275743s
Solving with Deagle's Closure solver
7394 variables, 18500 clauses
ClosureSolver finishes with 16 conflicts, 2927 decisions, and 9599 propagations. 10 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.0037997s
Runtime decision procedure: 0.0134182s
Running propositional reduction
Solving with Deagle's Closure solver
7394 variables, 15493 clauses
ClosureSolver finishes with 16 conflicts, 4692 decisions, and 14919 propagations. 10 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000397858s
Runtime decision procedure: 0.000409106s
Running propositional reduction
Solving with Deagle's Closure solver
7394 variables, 15494 clauses
ClosureSolver finishes with 16 conflicts, 6500 decisions, and 20239 propagations. 10 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000389506s
Runtime decision procedure: 0.000398226s
Running propositional reduction
Solving with Deagle's Closure solver
7394 variables, 15494 clauses
ClosureSolver finishes with 16 conflicts, 8295 decisions, and 25559 propagations. 10 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000395056s
Runtime decision procedure: 0.000404266s

** Results:
/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main
[nodatarace.assertion.0] line 1051 No data races on variable next_j between line 1041 and line 1042: FAILURE
[nodatarace.assertion.1] line 1051 No data races on variable next_j between line 1042 and line 1041: FAILURE
[nodatarace.assertion.2] line 1051 No data races on variable next_j between line 1042 and line 1042: FAILURE
[nodatarace.assertion.3] line 1051 No data races on variable symex_dynamic::dynamic_object2 between line 1043 and line 1043: FAILURE

** 4 of 4 failed (5 iterations)
VERIFICATION FAILED
