./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-2.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-2.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-2.i
Converting
Type-checking per-thread-index-inc-race-2
Generating GOTO Program
Adding CPROVER library (x86_64)
file <builtin-library-pthread_mutex_unlock> line 17: 
reason for conflict at #this.__data: number of members is different (6/8)

struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  signed int __kind;
  unsigned int __nusers;
  union $anon0;
}
struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  unsigned int __nusers;
  signed int __kind;
  signed short int __spins;
  signed short int __elision;
  __pthread_list_t __list;
}
warning: pointer parameter types differ between declaration and definition "pthread_mutex_unlock"
old definition in module per-thread-index-inc-race-2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i line 844
signed int (pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_unlock> line 17
signed int (pthread_mutex_t *mutex)
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-2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.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)
file <builtin-library-pthread_mutex_lock> line 17: 
reason for conflict at #this.__data: number of members is different (6/8)

struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  signed int __kind;
  unsigned int __nusers;
  union $anon0;
}
struct __pthread_mutex_s {
  signed int __lock;
  unsigned int __count;
  signed int __owner;
  unsigned int __nusers;
  signed int __kind;
  signed short int __spins;
  signed short int __elision;
  __pthread_list_t __list;
}
warning: pointer parameter types differ between declaration and definition "pthread_mutex_lock"
old definition in module per-thread-index-inc-race-2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i line 839
signed int (pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_mutex_lock> line 17
signed int (pthread_mutex_t *mutex)
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-2.i line 1053 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-2.i line 1053 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-2.i line 1053 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-2.i line 1053 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-2.i line 1053 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-2.i line 1056 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-2.i line 1056 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-2.i line 1056 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-2.i line 1056 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-2.i line 1056 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: 737 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
726 steps after removal
Handling datarace with no aid
The number of races before filter: 125
The number of races after filter: 125
The number of race categories before filter: 9
The number of race categories after filter: 9
	1037(1) - 1042(1) next_j
	1037(1) - 1043(1) next_j
	1042(1) - 1043(1) next_j
	1043(1) - 1042(1) next_j
	1043(1) - 1043(1) next_j
	1038(1) - 40(1) next_j_mutex
	1038(1) - 42(1) next_j_mutex
	1045(1) - 1045(1) symex_dynamic::dynamic_object2
	40(1) - 1045(1) symex_dynamic::dynamic_object2
Races between line 1037 - line 1042:
	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 1043:
	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 1042 - line 1043:
	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 1043 - line 1042:
	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 1043 - line 1043:
	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 1038 - line 40:
	next_j_mutex#1 next_j_mutex#2
	next_j_mutex#1 next_j_mutex#4
	next_j_mutex#1 next_j_mutex#8
	next_j_mutex#1 next_j_mutex#10
	next_j_mutex#1 next_j_mutex#14
	next_j_mutex#1 next_j_mutex#16
	next_j_mutex#1 next_j_mutex#20
	next_j_mutex#1 next_j_mutex#22
	next_j_mutex#1 next_j_mutex#26
	next_j_mutex#1 next_j_mutex#28
Races between line 1038 - line 42:
	next_j_mutex#1 next_j_mutex#5
	next_j_mutex#1 next_j_mutex#7
	next_j_mutex#1 next_j_mutex#11
	next_j_mutex#1 next_j_mutex#13
	next_j_mutex#1 next_j_mutex#17
	next_j_mutex#1 next_j_mutex#19
	next_j_mutex#1 next_j_mutex#23
	next_j_mutex#1 next_j_mutex#25
	next_j_mutex#1 next_j_mutex#29
	next_j_mutex#1 next_j_mutex#31
Races between line 1045 - line 1045:
	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 1045:
	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.663514s
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 next_j_mutex: 10R/11W
Shared symex_dynamic::dynamic_object1: 9R/6W
Shared symex_dynamic::dynamic_object2: 5R/6W
size of program expression: 1348 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00891887s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0204806s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.0263619s
Solving with Deagle's Closure Solver
63574 variables, 240749 clauses
ClosureSolver finishes with 728 conflicts, 195210 decisions, and 1113165 propagations. 1039 theory propagations and 46 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.130507s
Runtime decision procedure: 0.164203s
Building error trace

** Results:
[nodatarace.assertion.0] No data races on variable next_j between line 1037 and line 1042: UNKNOWN
[nodatarace.assertion.1] No data races on variable next_j between line 1037 and line 1043: UNKNOWN
[nodatarace.assertion.2] No data races on variable next_j between line 1042 and line 1043: UNKNOWN
[nodatarace.assertion.3] No data races on variable next_j between line 1043 and line 1042: UNKNOWN
[nodatarace.assertion.4] No data races on variable next_j between line 1043 and line 1043: UNKNOWN
[nodatarace.assertion.5] No data races on variable next_j_mutex between line 1038 and line 40: UNKNOWN
[nodatarace.assertion.6] No data races on variable next_j_mutex between line 1038 and line 42: UNKNOWN
[nodatarace.assertion.7] No data races on variable symex_dynamic::dynamic_object2 between line 1045 and line 1045: FAILURE
[nodatarace.assertion.8] No data races on variable symex_dynamic::dynamic_object2 between line 40 and line 1045: UNKNOWN
Counterexample:

State 27 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function main line 1049 thread 0
----------------------------------------------------
  threads_total=6 (00000000 00000000 00000000 00000110)

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

State 37 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function main line 1051 thread 0
----------------------------------------------------
  malloc_size=24u (00000000 00000000 00000000 00011000)

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

State 64 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function main line 1052 thread 0
----------------------------------------------------
  malloc_size=24u (00000000 00000000 00000000 00011000)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

State 250 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1041 thread 1
----------------------------------------------------
  mutex=(pthread_mutex_t *)&next_j_mutex (00000101 00000000 00000000 00000000)

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

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

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

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

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

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

State 269 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1041 thread 2
----------------------------------------------------
  mutex=(pthread_mutex_t *)&next_j_mutex (00000101 00000000 00000000 00000000)

State 270 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1042 thread 3
----------------------------------------------------
  j=0 (00000000 00000000 00000000 00000000)

State 271 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1043 thread 3
----------------------------------------------------
  next_j=1 (00000000 00000000 00000000 00000001)

State 274 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1044 thread 3
----------------------------------------------------
  mutex=(pthread_mutex_t *)&next_j_mutex (00000101 00000000 00000000 00000000)

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

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

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

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

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

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

State 298 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1041 thread 5
----------------------------------------------------
  mutex=(pthread_mutex_t *)&next_j_mutex (00000101 00000000 00000000 00000000)

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

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

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

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

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

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

State 314 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1041 thread 3
----------------------------------------------------
  mutex=(pthread_mutex_t *)&next_j_mutex (00000101 00000000 00000000 00000000)

State 315 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1042 thread 5
----------------------------------------------------
  j=0 (00000000 00000000 00000000 00000000)

State 316 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1043 thread 5
----------------------------------------------------
  next_j=2 (00000000 00000000 00000000 00000010)

State 319 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1044 thread 5
----------------------------------------------------
  mutex=(pthread_mutex_t *)&next_j_mutex (00000101 00000000 00000000 00000000)

State 325 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1045 thread 5
----------------------------------------------------
  dynamic_object2[0]=301432794 (00010001 11110111 01111111 11011010)

State 328 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1045 thread 3
----------------------------------------------------
  dynamic_object2[0]=871794914 (00110011 11110110 10001000 11100010)

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

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

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

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

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

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

State 349 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc-race-2.i function thread line 1041 thread 4
----------------------------------------------------
  mutex=(pthread_mutex_t *)&next_j_mutex (00000101 00000000 00000000 00000000)

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


VERIFICATION FAILED
