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


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


./deagle_exe --svcomp --graphml-witness error-witness.graphml --no-assertions --datarace /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race.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/thread-join-array-const-race.i
Converting
Type-checking thread-join-array-const-race
Generating GOTO Program
Adding CPROVER library (x86_64)
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 thread-join-array-const-race file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race.i line 505
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 thread-join-array-const-race file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race.i line 392
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_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 thread-join-array-const-race file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race.i line 510
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)
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!!!!!!
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race.i line 685 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-array-const-race.i line 685 function main thread 0
Start removing dummy accesses: 198 steps before removal
198 steps after removal
Handling datarace with no aid
The number of races before filter: 11
The number of races after filter: 11
The number of race categories before filter: 4
The number of race categories after filter: 4
	674(1) - 678(1) data
	678(1) - 678(1) data
	675(1) - 40(1) data_mutex
	675(1) - 42(1) data_mutex
Races between line 674 - line 678:
	data#1 data#2
	data#1 data#3
Races between line 678 - line 678:
	data#2 data#3
Races between line 675 - line 40:
	data_mutex#1 data_mutex#2
	data_mutex#1 data_mutex#4
	data_mutex#1 data_mutex#8
	data_mutex#1 data_mutex#10
Races between line 675 - line 42:
	data_mutex#1 data_mutex#5
	data_mutex#1 data_mutex#7
	data_mutex#1 data_mutex#11
	data_mutex#1 data_mutex#13
Runtime Symex: 0.0580404s
Adding SC constraints
Shared __CPROVER_threads_exited: 2R/3W
Shared __CPROVER_next_thread_id: 1R/3W
Shared data_mutex: 4R/5W
size of program expression: 249 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.000533549s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00240197s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000206244s
Solving with Deagle's Closure Solver
4355 variables, 12144 clauses
ClosureSolver finishes with 10 conflicts, 399 decisions, and 6698 propagations. 25 theory propagations and 3 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.000774864s
Runtime decision procedure: 0.00666867s

** Results:
[nodatarace.assertion.0] No data races on variable data between line 674 and line 678: SUCCESS
[nodatarace.assertion.1] No data races on variable data between line 678 and line 678: SUCCESS
[nodatarace.assertion.2] No data races on variable data_mutex between line 675 and line 40: SUCCESS
[nodatarace.assertion.3] No data races on variable data_mutex between line 675 and line 42: SUCCESS

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