./deagle /mnt/goblint-svcomp/goblint-bench/bench/concrat/properties/no-data-race.prp /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.i --32


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


./deagle_exe --svcomp --graphml-witness error-witness.graphml --no-assertions --datarace /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-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/thread-join-counter-inner-2.i
Converting
Type-checking thread-join-counter-inner-2
Generating GOTO Program
Adding CPROVER library (x86_64)
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 thread-join-counter-inner-2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.i line 605
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_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-counter-inner-2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.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-counter-inner-2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.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-counter-inner-2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.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!!!!!!
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 0
**** WARNING: no body for function pthread_detach
Unwinding loop main.0 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.i line 700 function main thread 0
Not unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.i line 700 function main thread 0
Unwinding loop main.1 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.i line 706 function main thread 0
Not unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.i line 706 function main thread 0
Unwinding loop main.2 iteration 1 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.i line 710 function main thread 0
Not unwinding loop main.2 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-2.i line 710 function main thread 0
aborting path on assume(false) at file <builtin-library-__spawned_thread> line 34 function __spawned_thread thread 2
Start removing dummy accesses: 579 steps before removal
main::1::1::1::tid!0@1#3 is dummy and removed
main::1::1::1::tid!0@2#3 is dummy and removed
577 steps after removal
Handling datarace with no aid
The number of races before filter: 73
The number of races after filter: 73
The number of race categories before filter: 18
The number of race categories after filter: 18
	681(1) - 689(1) data
	689(1) - 689(1) data
	713(1) - 689(1) data
	682(1) - 40(1) data_mutex
	682(1) - 42(1) data_mutex
	678(1) - 685(1) threads_alive
	678(1) - 692(1) threads_alive
	685(1) - 685(1) threads_alive
	685(1) - 692(1) threads_alive
	692(1) - 685(1) threads_alive
	692(1) - 692(1) threads_alive
	706(1) - 685(1) threads_alive
	706(1) - 692(1) threads_alive
	710(1) - 685(1) threads_alive
	710(1) - 692(1) threads_alive
	680(1) - 11(1) threads_alive_cond
	679(1) - 40(1) threads_alive_mutex
	679(1) - 42(1) threads_alive_mutex
Races between line 681 - line 689:
	data#1 data#3
	data#1 data#4
Races between line 689 - line 689:
	data#3 data#4
Races between line 713 - line 689:
	data#2 data#3
	data#2 data#4
Races between line 682 - 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 682 - 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
Races between line 678 - line 685:
	threads_alive#1 threads_alive#6
	threads_alive#1 threads_alive#7
	threads_alive#1 threads_alive#10
	threads_alive#1 threads_alive#11
Races between line 678 - line 692:
	threads_alive#1 threads_alive#8
	threads_alive#1 threads_alive#9
	threads_alive#1 threads_alive#12
	threads_alive#1 threads_alive#13
Races between line 685 - line 685:
	threads_alive#6 threads_alive#11
	threads_alive#7 threads_alive#10
	threads_alive#7 threads_alive#11
Races between line 685 - line 692:
	threads_alive#6 threads_alive#13
	threads_alive#7 threads_alive#12
	threads_alive#7 threads_alive#13
Races between line 692 - line 685:
	threads_alive#8 threads_alive#11
	threads_alive#9 threads_alive#10
	threads_alive#9 threads_alive#11
Races between line 692 - line 692:
	threads_alive#8 threads_alive#13
	threads_alive#9 threads_alive#12
	threads_alive#9 threads_alive#13
Races between line 706 - line 685:
	threads_alive#2 threads_alive#7
	threads_alive#3 threads_alive#7
	threads_alive#2 threads_alive#11
	threads_alive#3 threads_alive#11
Races between line 706 - line 692:
	threads_alive#2 threads_alive#9
	threads_alive#3 threads_alive#9
	threads_alive#2 threads_alive#13
	threads_alive#3 threads_alive#13
Races between line 710 - line 685:
	threads_alive#4 threads_alive#7
	threads_alive#5 threads_alive#7
	threads_alive#4 threads_alive#11
	threads_alive#5 threads_alive#11
Races between line 710 - line 692:
	threads_alive#4 threads_alive#9
	threads_alive#5 threads_alive#9
	threads_alive#4 threads_alive#13
	threads_alive#5 threads_alive#13
Races between line 680 - line 11:
	threads_alive_cond#1 threads_alive_cond#18
	threads_alive_cond#1 threads_alive_cond#20
	threads_alive_cond#1 threads_alive_cond#21
	threads_alive_cond#1 threads_alive_cond#23
	threads_alive_cond#1 threads_alive_cond#24
	threads_alive_cond#1 threads_alive_cond#26
	threads_alive_cond#1 threads_alive_cond#27
	threads_alive_cond#1 threads_alive_cond#29
Races between line 679 - line 40:
	threads_alive_mutex#1 threads_alive_mutex#38
	threads_alive_mutex#1 threads_alive_mutex#40
	threads_alive_mutex#1 threads_alive_mutex#44
	threads_alive_mutex#1 threads_alive_mutex#46
	threads_alive_mutex#1 threads_alive_mutex#50
	threads_alive_mutex#1 threads_alive_mutex#52
	threads_alive_mutex#1 threads_alive_mutex#56
	threads_alive_mutex#1 threads_alive_mutex#58
Races between line 679 - line 42:
	threads_alive_mutex#1 threads_alive_mutex#41
	threads_alive_mutex#1 threads_alive_mutex#43
	threads_alive_mutex#1 threads_alive_mutex#47
	threads_alive_mutex#1 threads_alive_mutex#49
	threads_alive_mutex#1 threads_alive_mutex#53
	threads_alive_mutex#1 threads_alive_mutex#55
	threads_alive_mutex#1 threads_alive_mutex#59
	threads_alive_mutex#1 threads_alive_mutex#61
Runtime Symex: 0.350847s
Adding SC constraints
Shared __CPROVER_threads_exited: 2R/3W
Shared __CPROVER_next_thread_id: 1R/3W
Shared data: 1R/3W
Shared threads_alive: 8R/5W
Shared threads_alive_mutex: 20R/21W
Shared threads_alive_cond: 8R/9W
Shared data_mutex: 4R/5W
size of program expression: 1220 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.016984s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.0582066s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00141953s
Solving with Deagle's Closure Solver
92247 variables, 411690 clauses
ClosureSolver finishes with 222 conflicts, 812 decisions, and 449114 propagations. 1030 theory propagations and 78 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.0528526s
Runtime decision procedure: 0.123415s

** Results:
[nodatarace.assertion.0] No data races on variable data between line 681 and line 689: SUCCESS
[nodatarace.assertion.1] No data races on variable data between line 689 and line 689: SUCCESS
[nodatarace.assertion.2] No data races on variable data between line 713 and line 689: SUCCESS
[nodatarace.assertion.3] No data races on variable data_mutex between line 682 and line 40: SUCCESS
[nodatarace.assertion.4] No data races on variable data_mutex between line 682 and line 42: SUCCESS
[nodatarace.assertion.5] No data races on variable threads_alive between line 678 and line 685: SUCCESS
[nodatarace.assertion.6] No data races on variable threads_alive between line 678 and line 692: SUCCESS
[nodatarace.assertion.7] No data races on variable threads_alive between line 685 and line 685: SUCCESS
[nodatarace.assertion.8] No data races on variable threads_alive between line 685 and line 692: SUCCESS
[nodatarace.assertion.9] No data races on variable threads_alive between line 692 and line 685: SUCCESS
[nodatarace.assertion.10] No data races on variable threads_alive between line 692 and line 692: SUCCESS
[nodatarace.assertion.11] No data races on variable threads_alive between line 706 and line 685: SUCCESS
[nodatarace.assertion.12] No data races on variable threads_alive between line 706 and line 692: SUCCESS
[nodatarace.assertion.13] No data races on variable threads_alive between line 710 and line 685: SUCCESS
[nodatarace.assertion.14] No data races on variable threads_alive between line 710 and line 692: SUCCESS
[nodatarace.assertion.15] No data races on variable threads_alive_cond between line 680 and line 11: SUCCESS
[nodatarace.assertion.16] No data races on variable threads_alive_mutex between line 679 and line 40: SUCCESS
[nodatarace.assertion.17] No data races on variable threads_alive_mutex between line 679 and line 42: SUCCESS

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