./deagle /mnt/goblint-svcomp/goblint-bench/bench/concrat/properties/no-data-race.prp /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.i --32


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


./deagle_exe --svcomp --graphml-witness error-witness.graphml --no-assertions --datarace /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.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/value-barrier.i
Converting
Type-checking value-barrier
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 value-barrier file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.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)
file <builtin-library-pthread_create> line 20: warning: pointer parameter types differ between declaration and definition "pthread_create"
old definition in module value-barrier file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.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_cond_wait> line 7: 
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_cond_wait"
old definition in module value-barrier file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.i line 939
signed int (pthread_cond_t *, pthread_mutex_t *)
new definition in module <built-in-library> file <builtin-library-pthread_cond_wait> line 7
signed int (pthread_cond_t *cond, pthread_mutex_t *mutex)
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 value-barrier file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.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)
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/value-barrier.i line 1028 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.i line 1028 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.i line 1036 function main thread 0
Not unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.i line 1036 function main thread 0
pointer handling for concurrency is unsound
Unwinding loop thread.0 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.i line 1018 function thread thread 1
Not unwinding loop thread.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.i line 1018 function thread thread 1
aborting path on assume(false) at file <builtin-library-__spawned_thread> line 34 function __spawned_thread thread 2
Unwinding loop thread.0 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.i line 1018 function thread thread 2
Not unwinding loop thread.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/value-barrier.i line 1018 function thread thread 2
Start removing dummy accesses: 518 steps before removal
symex_dynamic::dynamic_object1#5 is dummy and removed
symex_dynamic::dynamic_object1#7 is dummy and removed
516 steps after removal
Handling datarace with no aid
The number of races before filter: 44
The number of races after filter: 44
The number of race categories before filter: 7
The number of race categories after filter: 7
	1015(1) - 1021(1) data
	1031(1) - 1021(1) data
	1012(1) - 1018(1) ready
	1033(1) - 1018(1) ready
	1014(1) - 30(1) ready_cond
	1013(1) - 40(1) ready_mutex
	1013(1) - 42(1) ready_mutex
Races between line 1015 - line 1021:
	data#1 data#3
	data#1 data#4
Races between line 1031 - line 1021:
	data#2 data#3
	data#2 data#4
Races between line 1012 - line 1018:
	ready#1 ready#3
	ready#1 ready#4
	ready#1 ready#5
	ready#1 ready#6
Races between line 1033 - line 1018:
	ready#2 ready#3
	ready#2 ready#4
	ready#2 ready#5
	ready#2 ready#6
Races between line 1014 - line 30:
	ready_cond#1 ready_cond#5
	ready_cond#1 ready_cond#8
	ready_cond#1 ready_cond#9
	ready_cond#1 ready_cond#12
	ready_cond#1 ready_cond#13
	ready_cond#1 ready_cond#16
	ready_cond#1 ready_cond#17
	ready_cond#1 ready_cond#20
Races between line 1013 - line 40:
	ready_mutex#1 ready_mutex#8
	ready_mutex#1 ready_mutex#10
	ready_mutex#1 ready_mutex#14
	ready_mutex#1 ready_mutex#16
	ready_mutex#1 ready_mutex#20
	ready_mutex#1 ready_mutex#22
	ready_mutex#1 ready_mutex#26
	ready_mutex#1 ready_mutex#28
	ready_mutex#1 ready_mutex#32
	ready_mutex#1 ready_mutex#34
	ready_mutex#1 ready_mutex#38
	ready_mutex#1 ready_mutex#40
Races between line 1013 - line 42:
	ready_mutex#1 ready_mutex#11
	ready_mutex#1 ready_mutex#13
	ready_mutex#1 ready_mutex#17
	ready_mutex#1 ready_mutex#19
	ready_mutex#1 ready_mutex#23
	ready_mutex#1 ready_mutex#25
	ready_mutex#1 ready_mutex#29
	ready_mutex#1 ready_mutex#31
	ready_mutex#1 ready_mutex#35
	ready_mutex#1 ready_mutex#37
	ready_mutex#1 ready_mutex#41
	ready_mutex#1 ready_mutex#43
Runtime Symex: 0.288874s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared __CPROVER_memory_leak: 1R/3W
Shared data: 2R/2W
Shared ready: 4R/2W
Shared ready_mutex: 14R/15W
Shared ready_cond: 5R/6W
Shared symex_dynamic::dynamic_object1: 3R/3W
size of program expression: 881 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00681985s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0279027s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00143668s
Solving with Deagle's Closure Solver
46917 variables, 196660 clauses
ClosureSolver finishes with 29 conflicts, 29316 decisions, and 56667 propagations. 104 theory propagations and 11 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00947684s
Runtime decision procedure: 0.04649s

** Results:
[nodatarace.assertion.0] No data races on variable data between line 1015 and line 1021: SUCCESS
[nodatarace.assertion.1] No data races on variable data between line 1031 and line 1021: SUCCESS
[nodatarace.assertion.2] No data races on variable ready between line 1012 and line 1018: SUCCESS
[nodatarace.assertion.3] No data races on variable ready between line 1033 and line 1018: SUCCESS
[nodatarace.assertion.4] No data races on variable ready_cond between line 1014 and line 30: SUCCESS
[nodatarace.assertion.5] No data races on variable ready_mutex between line 1013 and line 40: SUCCESS
[nodatarace.assertion.6] No data races on variable ready_mutex between line 1013 and line 42: SUCCESS

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