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


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


./deagle_exe --svcomp --graphml-witness error-witness.graphml --no-assertions --datarace /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.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-array-index.i
Converting
Type-checking per-thread-array-index
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-array-index file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.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-array-index.i line 1023 function main thread 0
Unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i line 1023 function main thread 0
Unwinding loop main.0 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i line 1023 function main thread 0
Unwinding loop main.0 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i line 1023 function main thread 0
Not unwinding loop main.0 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i line 1023 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i line 1026 function main thread 0
Unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i line 1026 function main thread 0
Unwinding loop main.1 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i line 1026 function main thread 0
Unwinding loop main.1 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i line 1026 function main thread 0
Not unwinding loop main.1 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i line 1026 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: 603 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
592 steps after removal
Handling datarace with no aid
The number of races before filter: 40
The number of races after filter: 40
The number of race categories before filter: 2
The number of race categories after filter: 2
	1015(1) - 1015(1) symex_dynamic::dynamic_object2
	40(1) - 1015(1) symex_dynamic::dynamic_object2
Races between line 1015 - line 1015:
	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 1015:
	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.26502s
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 symex_dynamic::dynamic_object1: 9R/6W
Shared symex_dynamic::dynamic_object2: 5R/6W
size of program expression: 877 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00441062s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00458788s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.022491s
Solving with Deagle's Closure Solver
35721 variables, 119573 clauses
ClosureSolver finishes with 213 conflicts, 7142 decisions, and 131364 propagations. 299 theory propagations and 93 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.0364826s
Runtime decision procedure: 0.0503367s
Building error trace

** Results:
[nodatarace.assertion.0] No data races on variable symex_dynamic::dynamic_object2 between line 1015 and line 1015: FAILURE
[nodatarace.assertion.1] No data races on variable symex_dynamic::dynamic_object2 between line 40 and line 1015: UNKNOWN
Counterexample:

State 25 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1019 thread 0
----------------------------------------------------
  threads_total=1073741824 (01000000 00000000 00000000 00000000)

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

State 35 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1021 thread 0
----------------------------------------------------
  malloc_size=0u (00000000 00000000 00000000 00000000)

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

State 62 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1022 thread 0
----------------------------------------------------
  malloc_size=0u (00000000 00000000 00000000 00000000)

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

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

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

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

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

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

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

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

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

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

State 123 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1024 thread 0
----------------------------------------------------
  arg=NULL + 1 (00000000 00000000 00000000 00000001)

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

State 149 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1024 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 + 2 (00000010 00000000 00000000 00001000)

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

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

State 152 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1024 thread 0
----------------------------------------------------
  arg=NULL + 2 (00000000 00000000 00000000 00000010)

State 173 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1023 thread 0
----------------------------------------------------
  i=3 (00000000 00000000 00000000 00000011)

State 178 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1024 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 + 3 (00000010 00000000 00000000 00001100)

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

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

State 181 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1024 thread 0
----------------------------------------------------
  arg=NULL + 3 (00000000 00000000 00000000 00000011)

State 202 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1023 thread 0
----------------------------------------------------
  i=4 (00000000 00000000 00000000 00000100)

State 207 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1024 thread 0
----------------------------------------------------
  pthread_create$$thread=dynamic_object1 + 4 (00000010 00000000 00000000 00010000)

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

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

State 210 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1024 thread 0
----------------------------------------------------
  arg=NULL + 4 (00000000 00000000 00000000 00000100)

State 231 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1023 thread 0
----------------------------------------------------
  i=5 (00000000 00000000 00000000 00000101)

State 235 file <builtin-library-pthread_create> function pthread_create line 49 thread 1
----------------------------------------------------
  this_thread_id=1u (00000000 00000000 00000000 00000001)

State 236 file <builtin-library-pthread_create> function pthread_create line 49 thread 1
----------------------------------------------------
  next_thread_key=0u (00000000 00000000 00000000 00000000)

State 237 file <builtin-library-pthread_create> function pthread_create line 49 thread 1
----------------------------------------------------
  start_routine=thread (00000100 00000000 00000000 00000000)

State 238 file <builtin-library-pthread_create> function pthread_create line 49 thread 1
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

State 244 file <builtin-library-__spawned_thread> function __spawned_thread line 34 thread 1
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

State 246 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function thread line 1014 thread 1
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 249 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function thread line 1015 thread 4
----------------------------------------------------
  dynamic_object2[3]=1 (00000000 00000000 00000000 00000001)

State 252 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function thread line 1015 thread 5
----------------------------------------------------
  dynamic_object2[1]=0 (00000000 00000000 00000000 00000000)

State 255 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function thread line 1015 thread 3
----------------------------------------------------
  dynamic_object2[2]=0 (00000000 00000000 00000000 00000000)

State 258 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function thread line 1015 thread 2
----------------------------------------------------
  dynamic_object2[1]=0 (00000000 00000000 00000000 00000000)

State 261 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function thread line 1015 thread 1
----------------------------------------------------
  dynamic_object2[0]=0 (00000000 00000000 00000000 00000000)

State 269 file <builtin-library-pthread_create> function pthread_create line 49 thread 5
----------------------------------------------------
  this_thread_id=2u (00000000 00000000 00000000 00000010)

State 270 file <builtin-library-pthread_create> function pthread_create line 49 thread 5
----------------------------------------------------
  next_thread_key=0u (00000000 00000000 00000000 00000000)

State 271 file <builtin-library-pthread_create> function pthread_create line 49 thread 5
----------------------------------------------------
  start_routine=thread (00000100 00000000 00000000 00000000)

State 272 file <builtin-library-pthread_create> function pthread_create line 49 thread 5
----------------------------------------------------
  arg=NULL + 1 (00000000 00000000 00000000 00000001)

State 278 file <builtin-library-__spawned_thread> function __spawned_thread line 34 thread 5
----------------------------------------------------
  arg=NULL + 1 (00000000 00000000 00000000 00000001)

State 280 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function thread line 1014 thread 5
----------------------------------------------------
  i=1 (00000000 00000000 00000000 00000001)

State 288 file <builtin-library-pthread_create> function pthread_create line 49 thread 2
----------------------------------------------------
  this_thread_id=2u (00000000 00000000 00000000 00000010)

State 289 file <builtin-library-pthread_create> function pthread_create line 49 thread 2
----------------------------------------------------
  next_thread_key=0u (00000000 00000000 00000000 00000000)

State 290 file <builtin-library-pthread_create> function pthread_create line 49 thread 2
----------------------------------------------------
  start_routine=thread (00000100 00000000 00000000 00000000)

State 291 file <builtin-library-pthread_create> function pthread_create line 49 thread 2
----------------------------------------------------
  arg=NULL + 1 (00000000 00000000 00000000 00000001)

State 297 file <builtin-library-__spawned_thread> function __spawned_thread line 34 thread 2
----------------------------------------------------
  arg=NULL + 1 (00000000 00000000 00000000 00000001)

State 299 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function thread line 1014 thread 2
----------------------------------------------------
  i=1 (00000000 00000000 00000000 00000001)

State 307 file <builtin-library-pthread_create> function pthread_create line 49 thread 4
----------------------------------------------------
  this_thread_id=4u (00000000 00000000 00000000 00000100)

State 308 file <builtin-library-pthread_create> function pthread_create line 49 thread 4
----------------------------------------------------
  next_thread_key=0u (00000000 00000000 00000000 00000000)

State 309 file <builtin-library-pthread_create> function pthread_create line 49 thread 4
----------------------------------------------------
  start_routine=thread (00000100 00000000 00000000 00000000)

State 310 file <builtin-library-pthread_create> function pthread_create line 49 thread 4
----------------------------------------------------
  arg=NULL + 3 (00000000 00000000 00000000 00000011)

State 316 file <builtin-library-__spawned_thread> function __spawned_thread line 34 thread 4
----------------------------------------------------
  arg=NULL + 3 (00000000 00000000 00000000 00000011)

State 318 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function thread line 1014 thread 4
----------------------------------------------------
  i=3 (00000000 00000000 00000000 00000011)

State 326 file <builtin-library-pthread_create> function pthread_create line 49 thread 3
----------------------------------------------------
  this_thread_id=3u (00000000 00000000 00000000 00000011)

State 327 file <builtin-library-pthread_create> function pthread_create line 49 thread 3
----------------------------------------------------
  next_thread_key=0u (00000000 00000000 00000000 00000000)

State 328 file <builtin-library-pthread_create> function pthread_create line 49 thread 3
----------------------------------------------------
  start_routine=thread (00000100 00000000 00000000 00000000)

State 329 file <builtin-library-pthread_create> function pthread_create line 49 thread 3
----------------------------------------------------
  arg=NULL + 2 (00000000 00000000 00000000 00000010)

State 335 file <builtin-library-__spawned_thread> function __spawned_thread line 34 thread 3
----------------------------------------------------
  arg=NULL + 2 (00000000 00000000 00000000 00000010)

State 337 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function thread line 1014 thread 3
----------------------------------------------------
  i=2 (00000000 00000000 00000000 00000010)

Violated property:
  file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-array-index.i function main line 1023 thread 5
  No data races on variable symex_dynamic::dynamic_object2 between line 1015 and line 1015


VERIFICATION FAILED
