./deagle /mnt/goblint-svcomp/goblint-bench/bench/concrat/properties/no-data-race.prp /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i --32


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


./deagle_exe --svcomp --graphml-witness error-witness.graphml --no-assertions --datarace /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i
Deagle version 2.2 64-bit x86_64 linux
which contains:
CBMC version 5.67.0 (svcomp24-11-gfd1b965b5-dirty) 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 726
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
Use SV-COMP unwinding strategy: 5
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 1050 function main thread 0
Unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1050 function main thread 0
Unwinding loop main.0 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1050 function main thread 0
Unwinding loop main.0 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1050 function main thread 0
Not unwinding loop main.0 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1050 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 1053 function main thread 0
Unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1053 function main thread 0
Unwinding loop main.1 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1053 function main thread 0
Unwinding loop main.1 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1053 function main thread 0
Not unwinding loop main.1 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i line 1053 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 5
Start removing dummy accesses: 625 steps before removal
symex_dynamic::dynamic_object1#11 is dummy and removed
symex_dynamic::dynamic_object1#13 is dummy and removed
symex_dynamic::dynamic_object1#15 is dummy and removed
symex_dynamic::dynamic_object1#17 is dummy and removed
symex_dynamic::dynamic_object1#19 is dummy and removed
datas#3 is dummy and removed
datas#5 is dummy and removed
datas#6 is dummy and removed
datas#7 is dummy and removed
datas#8 is dummy and removed
datas#9 is dummy and removed
614 steps after removal
Handling datarace with no aid
The number of races before filter: 105
The number of races after filter: 105
The number of race categories before filter: 7
The number of race categories after filter: 7
	1037(1) - 1040(1) next_j
	1037(1) - 1041(1) next_j
	1040(1) - 1041(1) next_j
	1041(1) - 1040(1) next_j
	1041(1) - 1041(1) next_j
	1042(1) - 1042(1) symex_dynamic::dynamic_object2
	40(1) - 1042(1) symex_dynamic::dynamic_object2
Races between line 1037 - line 1040:
	next_j#1 next_j#2
	next_j#1 next_j#5
	next_j#1 next_j#8
	next_j#1 next_j#11
	next_j#1 next_j#14
Races between line 1037 - line 1041:
	next_j#1 next_j#3
	next_j#1 next_j#4
	next_j#1 next_j#6
	next_j#1 next_j#7
	next_j#1 next_j#9
	next_j#1 next_j#10
	next_j#1 next_j#12
	next_j#1 next_j#13
	next_j#1 next_j#15
	next_j#1 next_j#16
Races between line 1040 - line 1041:
	next_j#2 next_j#7
	next_j#2 next_j#10
	next_j#2 next_j#13
	next_j#2 next_j#16
	next_j#5 next_j#10
	next_j#5 next_j#13
	next_j#5 next_j#16
	next_j#8 next_j#13
	next_j#8 next_j#16
	next_j#11 next_j#16
Races between line 1041 - line 1040:
	next_j#4 next_j#5
	next_j#4 next_j#8
	next_j#4 next_j#11
	next_j#4 next_j#14
	next_j#7 next_j#8
	next_j#7 next_j#11
	next_j#7 next_j#14
	next_j#10 next_j#11
	next_j#10 next_j#14
	next_j#13 next_j#14
Races between line 1041 - line 1041:
	next_j#3 next_j#7
	next_j#4 next_j#6
	next_j#4 next_j#7
	next_j#3 next_j#10
	next_j#4 next_j#9
	next_j#4 next_j#10
	next_j#3 next_j#13
	next_j#4 next_j#12
	next_j#4 next_j#13
	next_j#3 next_j#16
	next_j#4 next_j#15
	next_j#4 next_j#16
	next_j#6 next_j#10
	next_j#7 next_j#9
	next_j#7 next_j#10
	next_j#6 next_j#13
	next_j#7 next_j#12
	next_j#7 next_j#13
	next_j#6 next_j#16
	next_j#7 next_j#15
	next_j#7 next_j#16
	next_j#9 next_j#13
	next_j#10 next_j#12
	next_j#10 next_j#13
	next_j#9 next_j#16
	next_j#10 next_j#15
	next_j#10 next_j#16
	next_j#12 next_j#16
	next_j#13 next_j#15
	next_j#13 next_j#16
Races between line 1042 - line 1042:
	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
	symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#7
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#6
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#7
	symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#8
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#2 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#10
	symex_dynamic::dynamic_object2#3 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#7
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#6
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#7
	symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#8
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#4 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#10
	symex_dynamic::dynamic_object2#5 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#6 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#7 symex_dynamic::dynamic_object2#8
	symex_dynamic::dynamic_object2#7 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#6 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#7 symex_dynamic::dynamic_object2#10
	symex_dynamic::dynamic_object2#7 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#8 symex_dynamic::dynamic_object2#11
	symex_dynamic::dynamic_object2#9 symex_dynamic::dynamic_object2#10
	symex_dynamic::dynamic_object2#9 symex_dynamic::dynamic_object2#11
Races between line 40 - line 1042:
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#2
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#3
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#4
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#5
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#6
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#7
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#8
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#9
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#10
	symex_dynamic::dynamic_object2#1 symex_dynamic::dynamic_object2#11
Runtime Symex: 0.42212s
Adding SC constraints
Shared __CPROVER_threads_exited: 10R/6W
Shared __CPROVER_next_thread_id: 9R/6W
Shared __CPROVER_memory_leak: 2R/5W
Shared datas: 1R/2W
Shared next_j: 10R/6W
Shared symex_dynamic::dynamic_object1: 9R/6W
Shared symex_dynamic::dynamic_object2: 5R/6W
size of program expression: 1089 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00582118s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00665665s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0270657s
Solving with Deagle's Closure Solver
41846 variables, 147814 clauses
ClosureSolver finishes with 386 conflicts, 146063 decisions, and 705771 propagations. 79 theory propagations and 4 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.0822272s
Runtime decision procedure: 0.0999975s
Building error trace

** Results:
[nodatarace.assertion.0] No data races on variable next_j between line 1037 and line 1040: UNKNOWN
[nodatarace.assertion.1] No data races on variable next_j between line 1037 and line 1041: UNKNOWN
[nodatarace.assertion.2] No data races on variable next_j between line 1040 and line 1041: UNKNOWN
[nodatarace.assertion.3] No data races on variable next_j between line 1041 and line 1040: FAILURE
[nodatarace.assertion.4] No data races on variable next_j between line 1041 and line 1041: FAILURE
[nodatarace.assertion.5] No data races on variable symex_dynamic::dynamic_object2 between line 1042 and line 1042: UNKNOWN
[nodatarace.assertion.6] No data races on variable symex_dynamic::dynamic_object2 between line 40 and line 1042: UNKNOWN
Counterexample:

State 26 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1046 thread 0
----------------------------------------------------
  threads_total=2 (00000000 00000000 00000000 00000010)

State 29 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1047 thread 0
----------------------------------------------------
  cond=1 (00000000 00000000 00000000 00000001)

State 36 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1048 thread 0
----------------------------------------------------
  malloc_size=8u (00000000 00000000 00000000 00001000)

State 59 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1048 thread 0
----------------------------------------------------
  tids=dynamic_object1 (00000010 00000000 00000000 00000000)

State 63 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1049 thread 0
----------------------------------------------------
  malloc_size=8u (00000000 00000000 00000000 00001000)

State 86 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1049 thread 0
----------------------------------------------------
  datas=dynamic_object2 (00000011 00000000 00000000 00000000)

State 88 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1050 thread 0
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 92 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1051 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 (00000010 00000000 00000000 00000000)

State 93 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1051 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 94 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1051 thread 0
----------------------------------------------------
  start_routine=thread (00000100 00000000 00000000 00000000)

State 95 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1051 thread 0
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

State 116 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1050 thread 0
----------------------------------------------------
  i=1 (00000000 00000000 00000000 00000001)

State 121 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1051 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 + 1 (00000010 00000000 00000000 00000100)

State 122 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1051 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 123 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1051 thread 0
----------------------------------------------------
  start_routine=thread (00000100 00000000 00000000 00000000)

State 124 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1051 thread 0
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

State 145 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1050 thread 0
----------------------------------------------------
  i=2 (00000000 00000000 00000000 00000010)

State 149 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1053 thread 0
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 153 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1054 thread 0
----------------------------------------------------
  pthread_join$$thread=1u (00000000 00000000 00000000 00000001)

State 154 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1054 thread 0
----------------------------------------------------
  value_ptr=((const void **)NULL) (00000000 00000000 00000000 00000000)

State 158 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function thread line 1040 thread 2
----------------------------------------------------
  j=268404305 (00001111 11111111 10000110 01010001)

State 159 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function thread line 1040 thread 1
----------------------------------------------------
  j=0 (00000000 00000000 00000000 00000000)

State 160 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function thread line 1041 thread 2
----------------------------------------------------
  next_j=165457 (00000000 00000010 10000110 01010001)

State 163 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function thread line 1042 thread 2
----------------------------------------------------
  dynamic_object2[268404305]=4464648 (00000000 01000100 00100000 00001000)

Violated property:
  file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race.i function main line 1050 thread 5
  No data races on variable next_j between line 1041 and line 1040


VERIFICATION FAILED
