./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.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.i
Deagle version 2.2 64-bit x86_64 linux
which contains:
CBMC version 5.67.0 (svcomp24-1-g36d91faca) 64-bit x86_64 linux
Parsing /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc.i
Converting
Type-checking per-thread-index-inc
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 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc.i line 845
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_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 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc.i line 840
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)
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 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc.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
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.i line 1054 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.i line 1054 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/per-thread-index-inc.i line 1057 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.i line 1057 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
Start removing dummy accesses: 392 steps before removal
symex_dynamic::dynamic_object1#5 is dummy and removed
symex_dynamic::dynamic_object1#7 is dummy and removed
datas#3 is dummy and removed
datas#5 is dummy and removed
datas#6 is dummy and removed
387 steps after removal
Handling datarace with no aid
The number of races before filter: 26
The number of races after filter: 26
The number of race categories before filter: 9
The number of race categories after filter: 9
	1038(1) - 1043(1) next_j
	1038(1) - 1044(1) next_j
	1043(1) - 1044(1) next_j
	1044(1) - 1043(1) next_j
	1044(1) - 1044(1) next_j
	1039(1) - 40(1) next_j_mutex
	1039(1) - 42(1) next_j_mutex
	1046(1) - 1046(1) symex_dynamic::dynamic_object2
	40(1) - 1046(1) symex_dynamic::dynamic_object2
Races between line 1038 - line 1043:
	next_j#1 next_j#2
	next_j#1 next_j#5
Races between line 1038 - line 1044:
	next_j#1 next_j#3
	next_j#1 next_j#4
	next_j#1 next_j#6
	next_j#1 next_j#7
Races between line 1043 - line 1044:
	next_j#2 next_j#7
Races between line 1044 - line 1043:
	next_j#4 next_j#5
Races between line 1044 - line 1044:
	next_j#3 next_j#7
	next_j#4 next_j#6
	next_j#4 next_j#7
Races between line 1039 - 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
Races between line 1039 - 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
Races between line 1046 - line 1046:
	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
Races between line 40 - line 1046:
	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
Runtime Symex: 0.197093s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared __CPROVER_memory_leak: 2R/5W
Shared datas: 1R/2W
Shared next_j: 4R/3W
Shared next_j_mutex: 4R/5W
Shared symex_dynamic::dynamic_object1: 3R/3W
Shared symex_dynamic::dynamic_object2: 2R/3W
size of program expression: 532 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00167756s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00403722s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00251065s
Solving with Deagle's Closure Solver
10003 variables, 27514 clauses
ClosureSolver finishes with 20 conflicts, 1621 decisions, and 17616 propagations. 63 theory propagations and 4 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00491343s
Runtime decision procedure: 0.0160334s

** Results:
[nodatarace.assertion.0] No data races on variable next_j between line 1038 and line 1043: SUCCESS
[nodatarace.assertion.1] No data races on variable next_j between line 1038 and line 1044: SUCCESS
[nodatarace.assertion.2] No data races on variable next_j between line 1043 and line 1044: SUCCESS
[nodatarace.assertion.3] No data races on variable next_j between line 1044 and line 1043: SUCCESS
[nodatarace.assertion.4] No data races on variable next_j between line 1044 and line 1044: SUCCESS
[nodatarace.assertion.5] No data races on variable next_j_mutex between line 1039 and line 40: SUCCESS
[nodatarace.assertion.6] No data races on variable next_j_mutex between line 1039 and line 42: SUCCESS
[nodatarace.assertion.7] No data races on variable symex_dynamic::dynamic_object2 between line 1046 and line 1046: SUCCESS
[nodatarace.assertion.8] No data races on variable symex_dynamic::dynamic_object2 between line 40 and line 1046: SUCCESS

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