./deagle /mnt/goblint-svcomp/goblint-bench/bench/concrat/properties/no-data-race.prp /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i --32


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


./deagle_exe --svcomp --graphml-witness error-witness.graphml --no-assertions --datarace /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i
Deagle version 2.2 64-bit x86_64 linux
which contains:
CBMC version 5.67.0 (93c63ce) 64-bit x86_64 linux
Parsing /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i
Converting
Type-checking thread-local-pthread-value-cond
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 thread-local-pthread-value-cond file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.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 thread-local-pthread-value-cond file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.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 thread-local-pthread-value-cond file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.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/thread-local-pthread-value-cond.i line 1034 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i line 1034 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i line 1037 function main thread 0
Not unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-local-pthread-value-cond.i line 1037 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: 419 steps before removal
symex_dynamic::dynamic_object1#5 is dummy and removed
symex_dynamic::dynamic_object1#7 is dummy and removed
key#3 is dummy and removed
key#5 is dummy and removed
key#11 is dummy and removed
key#13 is dummy and removed
413 steps after removal
Handling datarace with no aid
The number of races before filter: 39
The number of races after filter: 39
The number of race categories before filter: 12
The number of race categories after filter: 12
	1013(1) - 1018(1) key
	1013(1) - 1019(1) key
	1013(1) - 1020(1) key
	1013(1) - 1024(1) key
	22(1) - 1018(1) key
	22(1) - 1019(1) key
	22(1) - 1020(1) key
	22(1) - 1024(1) key
	1014(1) - 1023(1) shared
	1023(1) - 1023(1) shared
	1015(1) - 40(1) shared_mutex
	1015(1) - 42(1) shared_mutex
Races between line 1013 - line 1018:
	key#1 key#4
	key#1 key#12
Races between line 1013 - line 1019:
	key#1 key#6
	key#1 key#14
Races between line 1013 - line 1020:
	key#1 key#7
	key#1 key#8
	key#1 key#15
	key#1 key#16
Races between line 1013 - line 1024:
	key#1 key#9
	key#1 key#10
	key#1 key#17
	key#1 key#18
Races between line 22 - line 1018:
	key#2 key#4
	key#2 key#12
Races between line 22 - line 1019:
	key#2 key#6
	key#2 key#14
Races between line 22 - line 1020:
	key#2 key#7
	key#2 key#8
	key#2 key#15
	key#2 key#16
Races between line 22 - line 1024:
	key#2 key#9
	key#2 key#10
	key#2 key#17
	key#2 key#18
Races between line 1014 - line 1023:
	shared#1 shared#2
	shared#1 shared#3
	shared#1 shared#4
	shared#1 shared#5
Races between line 1023 - line 1023:
	shared#2 shared#5
	shared#3 shared#4
	shared#3 shared#5
Races between line 1015 - line 40:
	shared_mutex#1 shared_mutex#2
	shared_mutex#1 shared_mutex#4
	shared_mutex#1 shared_mutex#8
	shared_mutex#1 shared_mutex#10
Races between line 1015 - line 42:
	shared_mutex#1 shared_mutex#5
	shared_mutex#1 shared_mutex#7
	shared_mutex#1 shared_mutex#11
	shared_mutex#1 shared_mutex#13
Runtime Symex: 0.229676s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared __CPROVER_memory_leak: 1R/3W
Shared key: 12R/2W
Shared shared: 2R/3W
Shared shared_mutex: 4R/5W
Shared symex_dynamic::dynamic_object1: 3R/3W
size of program expression: 617 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00182751s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00441228s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00739141s
Solving with Deagle's Closure Solver
18341 variables, 47375 clauses
ClosureSolver finishes with 17 conflicts, 1338 decisions, and 21953 propagations. 77 theory propagations and 1 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00931748s
Runtime decision procedure: 0.0214546s

** Results:
[nodatarace.assertion.0] No data races on variable key between line 1013 and line 1018: SUCCESS
[nodatarace.assertion.1] No data races on variable key between line 1013 and line 1019: SUCCESS
[nodatarace.assertion.2] No data races on variable key between line 1013 and line 1020: SUCCESS
[nodatarace.assertion.3] No data races on variable key between line 1013 and line 1024: SUCCESS
[nodatarace.assertion.4] No data races on variable key between line 22 and line 1018: SUCCESS
[nodatarace.assertion.5] No data races on variable key between line 22 and line 1019: SUCCESS
[nodatarace.assertion.6] No data races on variable key between line 22 and line 1020: SUCCESS
[nodatarace.assertion.7] No data races on variable key between line 22 and line 1024: SUCCESS
[nodatarace.assertion.8] No data races on variable shared between line 1014 and line 1023: SUCCESS
[nodatarace.assertion.9] No data races on variable shared between line 1023 and line 1023: SUCCESS
[nodatarace.assertion.10] No data races on variable shared_mutex between line 1015 and line 40: SUCCESS
[nodatarace.assertion.11] No data races on variable shared_mutex between line 1015 and line 42: SUCCESS

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