./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-race-5.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-race-5.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-race-5.i
Converting
Type-checking thread-join-counter-inner-race-5
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-race-5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.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-race-5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.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-race-5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.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-race-5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.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: 5
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-race-5.i line 700 function main thread 0
Unwinding loop main.0 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i line 700 function main thread 0
Unwinding loop main.0 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i line 700 function main thread 0
Unwinding loop main.0 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i line 700 function main thread 0
Not unwinding loop main.0 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.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-race-5.i line 706 function main thread 0
Unwinding loop main.1 iteration 2 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i line 706 function main thread 0
Unwinding loop main.1 iteration 3 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i line 706 function main thread 0
Unwinding loop main.1 iteration 4 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i line 706 function main thread 0
Not unwinding loop main.1 iteration 5 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i line 706 function main thread 0
aborting path on assume(false) at file <builtin-library-__spawned_thread> line 34 function __spawned_thread thread 5
Start removing dummy accesses: 1068 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
main::1::1::1::tid!0@3#3 is dummy and removed
main::1::1::1::tid!0@4#3 is dummy and removed
main::1::1::1::tid!0@5#3 is dummy and removed
1063 steps after removal
Handling datarace with no aid
The number of races before filter: 290
The number of races after filter: 290
The number of race categories before filter: 16
The number of race categories after filter: 16
	681(1) - 689(1) data
	689(1) - 689(1) data
	709(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
	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
	data#1 data#5
	data#1 data#6
	data#1 data#7
Races between line 689 - line 689:
	data#3 data#4
	data#3 data#5
	data#3 data#6
	data#3 data#7
	data#4 data#5
	data#4 data#6
	data#4 data#7
	data#5 data#6
	data#5 data#7
	data#6 data#7
Races between line 709 - line 689:
	data#2 data#3
	data#2 data#4
	data#2 data#5
	data#2 data#6
	data#2 data#7
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
	data_mutex#1 data_mutex#14
	data_mutex#1 data_mutex#16
	data_mutex#1 data_mutex#20
	data_mutex#1 data_mutex#22
	data_mutex#1 data_mutex#26
	data_mutex#1 data_mutex#28
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
	data_mutex#1 data_mutex#17
	data_mutex#1 data_mutex#19
	data_mutex#1 data_mutex#23
	data_mutex#1 data_mutex#25
	data_mutex#1 data_mutex#29
	data_mutex#1 data_mutex#31
Races between line 678 - line 685:
	threads_alive#1 threads_alive#7
	threads_alive#1 threads_alive#8
	threads_alive#1 threads_alive#11
	threads_alive#1 threads_alive#12
	threads_alive#1 threads_alive#15
	threads_alive#1 threads_alive#16
	threads_alive#1 threads_alive#19
	threads_alive#1 threads_alive#20
	threads_alive#1 threads_alive#23
	threads_alive#1 threads_alive#24
Races between line 678 - line 692:
	threads_alive#1 threads_alive#9
	threads_alive#1 threads_alive#10
	threads_alive#1 threads_alive#13
	threads_alive#1 threads_alive#14
	threads_alive#1 threads_alive#17
	threads_alive#1 threads_alive#18
	threads_alive#1 threads_alive#21
	threads_alive#1 threads_alive#22
	threads_alive#1 threads_alive#25
	threads_alive#1 threads_alive#26
Races between line 685 - line 685:
	threads_alive#7 threads_alive#12
	threads_alive#8 threads_alive#11
	threads_alive#8 threads_alive#12
	threads_alive#7 threads_alive#16
	threads_alive#8 threads_alive#15
	threads_alive#8 threads_alive#16
	threads_alive#7 threads_alive#20
	threads_alive#8 threads_alive#19
	threads_alive#8 threads_alive#20
	threads_alive#7 threads_alive#24
	threads_alive#8 threads_alive#23
	threads_alive#8 threads_alive#24
	threads_alive#11 threads_alive#16
	threads_alive#12 threads_alive#15
	threads_alive#12 threads_alive#16
	threads_alive#11 threads_alive#20
	threads_alive#12 threads_alive#19
	threads_alive#12 threads_alive#20
	threads_alive#11 threads_alive#24
	threads_alive#12 threads_alive#23
	threads_alive#12 threads_alive#24
	threads_alive#15 threads_alive#20
	threads_alive#16 threads_alive#19
	threads_alive#16 threads_alive#20
	threads_alive#15 threads_alive#24
	threads_alive#16 threads_alive#23
	threads_alive#16 threads_alive#24
	threads_alive#19 threads_alive#24
	threads_alive#20 threads_alive#23
	threads_alive#20 threads_alive#24
Races between line 685 - line 692:
	threads_alive#7 threads_alive#14
	threads_alive#8 threads_alive#13
	threads_alive#8 threads_alive#14
	threads_alive#7 threads_alive#18
	threads_alive#8 threads_alive#17
	threads_alive#8 threads_alive#18
	threads_alive#7 threads_alive#22
	threads_alive#8 threads_alive#21
	threads_alive#8 threads_alive#22
	threads_alive#7 threads_alive#26
	threads_alive#8 threads_alive#25
	threads_alive#8 threads_alive#26
	threads_alive#11 threads_alive#18
	threads_alive#12 threads_alive#17
	threads_alive#12 threads_alive#18
	threads_alive#11 threads_alive#22
	threads_alive#12 threads_alive#21
	threads_alive#12 threads_alive#22
	threads_alive#11 threads_alive#26
	threads_alive#12 threads_alive#25
	threads_alive#12 threads_alive#26
	threads_alive#15 threads_alive#22
	threads_alive#16 threads_alive#21
	threads_alive#16 threads_alive#22
	threads_alive#15 threads_alive#26
	threads_alive#16 threads_alive#25
	threads_alive#16 threads_alive#26
	threads_alive#19 threads_alive#26
	threads_alive#20 threads_alive#25
	threads_alive#20 threads_alive#26
Races between line 692 - line 685:
	threads_alive#9 threads_alive#12
	threads_alive#10 threads_alive#11
	threads_alive#10 threads_alive#12
	threads_alive#9 threads_alive#16
	threads_alive#10 threads_alive#15
	threads_alive#10 threads_alive#16
	threads_alive#9 threads_alive#20
	threads_alive#10 threads_alive#19
	threads_alive#10 threads_alive#20
	threads_alive#9 threads_alive#24
	threads_alive#10 threads_alive#23
	threads_alive#10 threads_alive#24
	threads_alive#13 threads_alive#16
	threads_alive#14 threads_alive#15
	threads_alive#14 threads_alive#16
	threads_alive#13 threads_alive#20
	threads_alive#14 threads_alive#19
	threads_alive#14 threads_alive#20
	threads_alive#13 threads_alive#24
	threads_alive#14 threads_alive#23
	threads_alive#14 threads_alive#24
	threads_alive#17 threads_alive#20
	threads_alive#18 threads_alive#19
	threads_alive#18 threads_alive#20
	threads_alive#17 threads_alive#24
	threads_alive#18 threads_alive#23
	threads_alive#18 threads_alive#24
	threads_alive#21 threads_alive#24
	threads_alive#22 threads_alive#23
	threads_alive#22 threads_alive#24
Races between line 692 - line 692:
	threads_alive#9 threads_alive#14
	threads_alive#10 threads_alive#13
	threads_alive#10 threads_alive#14
	threads_alive#9 threads_alive#18
	threads_alive#10 threads_alive#17
	threads_alive#10 threads_alive#18
	threads_alive#9 threads_alive#22
	threads_alive#10 threads_alive#21
	threads_alive#10 threads_alive#22
	threads_alive#9 threads_alive#26
	threads_alive#10 threads_alive#25
	threads_alive#10 threads_alive#26
	threads_alive#13 threads_alive#18
	threads_alive#14 threads_alive#17
	threads_alive#14 threads_alive#18
	threads_alive#13 threads_alive#22
	threads_alive#14 threads_alive#21
	threads_alive#14 threads_alive#22
	threads_alive#13 threads_alive#26
	threads_alive#14 threads_alive#25
	threads_alive#14 threads_alive#26
	threads_alive#17 threads_alive#22
	threads_alive#18 threads_alive#21
	threads_alive#18 threads_alive#22
	threads_alive#17 threads_alive#26
	threads_alive#18 threads_alive#25
	threads_alive#18 threads_alive#26
	threads_alive#21 threads_alive#26
	threads_alive#22 threads_alive#25
	threads_alive#22 threads_alive#26
Races between line 706 - line 685:
	threads_alive#2 threads_alive#8
	threads_alive#3 threads_alive#8
	threads_alive#4 threads_alive#8
	threads_alive#5 threads_alive#8
	threads_alive#6 threads_alive#8
	threads_alive#2 threads_alive#12
	threads_alive#3 threads_alive#12
	threads_alive#4 threads_alive#12
	threads_alive#5 threads_alive#12
	threads_alive#6 threads_alive#12
	threads_alive#2 threads_alive#16
	threads_alive#3 threads_alive#16
	threads_alive#4 threads_alive#16
	threads_alive#5 threads_alive#16
	threads_alive#6 threads_alive#16
	threads_alive#2 threads_alive#20
	threads_alive#3 threads_alive#20
	threads_alive#4 threads_alive#20
	threads_alive#5 threads_alive#20
	threads_alive#6 threads_alive#20
	threads_alive#2 threads_alive#24
	threads_alive#3 threads_alive#24
	threads_alive#4 threads_alive#24
	threads_alive#5 threads_alive#24
	threads_alive#6 threads_alive#24
Races between line 706 - line 692:
	threads_alive#2 threads_alive#10
	threads_alive#3 threads_alive#10
	threads_alive#4 threads_alive#10
	threads_alive#5 threads_alive#10
	threads_alive#6 threads_alive#10
	threads_alive#2 threads_alive#14
	threads_alive#3 threads_alive#14
	threads_alive#4 threads_alive#14
	threads_alive#5 threads_alive#14
	threads_alive#6 threads_alive#14
	threads_alive#2 threads_alive#18
	threads_alive#3 threads_alive#18
	threads_alive#4 threads_alive#18
	threads_alive#5 threads_alive#18
	threads_alive#6 threads_alive#18
	threads_alive#2 threads_alive#22
	threads_alive#3 threads_alive#22
	threads_alive#4 threads_alive#22
	threads_alive#5 threads_alive#22
	threads_alive#6 threads_alive#22
	threads_alive#2 threads_alive#26
	threads_alive#3 threads_alive#26
	threads_alive#4 threads_alive#26
	threads_alive#5 threads_alive#26
	threads_alive#6 threads_alive#26
Races between line 680 - line 11:
	threads_alive_cond#1 threads_alive_cond#22
	threads_alive_cond#1 threads_alive_cond#24
	threads_alive_cond#1 threads_alive_cond#25
	threads_alive_cond#1 threads_alive_cond#27
	threads_alive_cond#1 threads_alive_cond#28
	threads_alive_cond#1 threads_alive_cond#30
	threads_alive_cond#1 threads_alive_cond#31
	threads_alive_cond#1 threads_alive_cond#33
	threads_alive_cond#1 threads_alive_cond#34
	threads_alive_cond#1 threads_alive_cond#36
	threads_alive_cond#1 threads_alive_cond#37
	threads_alive_cond#1 threads_alive_cond#39
	threads_alive_cond#1 threads_alive_cond#40
	threads_alive_cond#1 threads_alive_cond#42
	threads_alive_cond#1 threads_alive_cond#43
	threads_alive_cond#1 threads_alive_cond#45
	threads_alive_cond#1 threads_alive_cond#46
	threads_alive_cond#1 threads_alive_cond#48
	threads_alive_cond#1 threads_alive_cond#49
	threads_alive_cond#1 threads_alive_cond#51
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
	threads_alive_mutex#1 threads_alive_mutex#62
	threads_alive_mutex#1 threads_alive_mutex#64
	threads_alive_mutex#1 threads_alive_mutex#68
	threads_alive_mutex#1 threads_alive_mutex#70
	threads_alive_mutex#1 threads_alive_mutex#74
	threads_alive_mutex#1 threads_alive_mutex#76
	threads_alive_mutex#1 threads_alive_mutex#80
	threads_alive_mutex#1 threads_alive_mutex#82
	threads_alive_mutex#1 threads_alive_mutex#86
	threads_alive_mutex#1 threads_alive_mutex#88
	threads_alive_mutex#1 threads_alive_mutex#92
	threads_alive_mutex#1 threads_alive_mutex#94
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
	threads_alive_mutex#1 threads_alive_mutex#65
	threads_alive_mutex#1 threads_alive_mutex#67
	threads_alive_mutex#1 threads_alive_mutex#71
	threads_alive_mutex#1 threads_alive_mutex#73
	threads_alive_mutex#1 threads_alive_mutex#77
	threads_alive_mutex#1 threads_alive_mutex#79
	threads_alive_mutex#1 threads_alive_mutex#83
	threads_alive_mutex#1 threads_alive_mutex#85
	threads_alive_mutex#1 threads_alive_mutex#89
	threads_alive_mutex#1 threads_alive_mutex#91
	threads_alive_mutex#1 threads_alive_mutex#95
	threads_alive_mutex#1 threads_alive_mutex#97
Runtime Symex: 1.31556s
Adding SC constraints
Shared __CPROVER_threads_exited: 5R/6W
Shared __CPROVER_next_thread_id: 4R/6W
Shared data: 1R/6W
Shared threads_alive: 15R/11W
Shared threads_alive_mutex: 32R/33W
Shared threads_alive_cond: 15R/16W
Shared data_mutex: 10R/11W
size of program expression: 3125 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.0555741s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.189532s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.00217137s
Solving with Deagle's Closure Solver
291438 variables, 1370337 clauses
ClosureSolver finishes with 6551 conflicts, 419435 decisions, and 33144897 propagations. 123088 theory propagations and 1906 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 5.37111s
Runtime decision procedure: 5.58553s
Building error trace

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

State 29 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 698 thread 0
----------------------------------------------------
  threads_total=4 (00000000 00000000 00000000 00000100)

State 32 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 699 thread 0
----------------------------------------------------
  cond=1 (00000000 00000000 00000000 00000001)

State 36 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 700 thread 0
----------------------------------------------------
  i=0 (00000000 00000000 00000000 00000000)

State 38 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 701 thread 0
----------------------------------------------------
  tid=0u (00000000 00000000 00000000 00000000)

State 41 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  pthread_create$$thread=&tid!0@1 (00000010 00000000 00000000 00000000)

State 42 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 43 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  start_routine=thread (00000011 00000000 00000000 00000000)

State 44 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

State 68 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 700 thread 0
----------------------------------------------------
  i=1 (00000000 00000000 00000000 00000001)

State 71 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 701 thread 0
----------------------------------------------------
  tid=0u (00000000 00000000 00000000 00000000)

State 74 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  pthread_create$$thread=&tid!0@2 (00000100 00000000 00000000 00000000)

State 75 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 76 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  start_routine=thread (00000011 00000000 00000000 00000000)

State 77 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

State 101 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 700 thread 0
----------------------------------------------------
  i=2 (00000000 00000000 00000000 00000010)

State 104 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 701 thread 0
----------------------------------------------------
  tid=0u (00000000 00000000 00000000 00000000)

State 107 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  pthread_create$$thread=&tid!0@3 (00000101 00000000 00000000 00000000)

State 108 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 109 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  start_routine=thread (00000011 00000000 00000000 00000000)

State 110 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

State 134 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 700 thread 0
----------------------------------------------------
  i=3 (00000000 00000000 00000000 00000011)

State 137 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 701 thread 0
----------------------------------------------------
  tid=0u (00000000 00000000 00000000 00000000)

State 140 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  pthread_create$$thread=&tid!0@4 (00000110 00000000 00000000 00000000)

State 141 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  attr=((const pthread_attr_t *)NULL) (00000000 00000000 00000000 00000000)

State 142 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  start_routine=thread (00000011 00000000 00000000 00000000)

State 143 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 702 thread 0
----------------------------------------------------
  arg=NULL (00000000 00000000 00000000 00000000)

State 167 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 700 thread 0
----------------------------------------------------
  i=4 (00000000 00000000 00000000 00000100)

State 172 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 705 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 179 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 708 thread 0
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 186 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 685 thread 2
----------------------------------------------------
  threads_alive=1 (00000000 00000000 00000000 00000001)

State 189 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 686 thread 2
----------------------------------------------------
  cond=&threads_alive_cond (00001001 00000000 00000000 00000000)

State 194 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 687 thread 2
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 200 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 688 thread 2
----------------------------------------------------
  mutex=(pthread_mutex_t *)&data_mutex (00001010 00000000 00000000 00000000)

State 204 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 685 thread 1
----------------------------------------------------
  threads_alive=2 (00000000 00000000 00000000 00000010)

State 207 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 686 thread 1
----------------------------------------------------
  cond=&threads_alive_cond (00001001 00000000 00000000 00000000)

State 212 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 687 thread 1
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 218 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 688 thread 1
----------------------------------------------------
  mutex=(pthread_mutex_t *)&data_mutex (00001010 00000000 00000000 00000000)

State 222 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 685 thread 3
----------------------------------------------------
  threads_alive=3 (00000000 00000000 00000000 00000011)

State 225 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 686 thread 3
----------------------------------------------------
  cond=&threads_alive_cond (00001001 00000000 00000000 00000000)

State 230 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 687 thread 3
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 236 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 688 thread 3
----------------------------------------------------
  mutex=(pthread_mutex_t *)&data_mutex (00001010 00000000 00000000 00000000)

State 240 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 685 thread 4
----------------------------------------------------
  threads_alive=4 (00000000 00000000 00000000 00000100)

State 243 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 686 thread 4
----------------------------------------------------
  cond=&threads_alive_cond (00001001 00000000 00000000 00000000)

State 248 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 687 thread 4
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 254 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 688 thread 4
----------------------------------------------------
  mutex=(pthread_mutex_t *)&data_mutex (00001010 00000000 00000000 00000000)

State 258 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 689 thread 1
----------------------------------------------------
  data=0 (00000000 00000000 00000000 00000000)

State 261 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 690 thread 1
----------------------------------------------------
  mutex=(pthread_mutex_t *)&data_mutex (00001010 00000000 00000000 00000000)

State 267 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 691 thread 1
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 271 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 689 thread 2
----------------------------------------------------
  data=524292 (00000000 00001000 00000000 00000100)

State 274 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 690 thread 2
----------------------------------------------------
  mutex=(pthread_mutex_t *)&data_mutex (00001010 00000000 00000000 00000000)

State 280 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 691 thread 2
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 284 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 689 thread 4
----------------------------------------------------
  data=524304 (00000000 00001000 00000000 00010000)

State 287 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 690 thread 4
----------------------------------------------------
  mutex=(pthread_mutex_t *)&data_mutex (00001010 00000000 00000000 00000000)

State 293 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 691 thread 4
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 297 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 689 thread 3
----------------------------------------------------
  data=0 (00000000 00000000 00000000 00000000)

State 300 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 690 thread 3
----------------------------------------------------
  mutex=(pthread_mutex_t *)&data_mutex (00001010 00000000 00000000 00000000)

State 306 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 691 thread 3
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 310 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 692 thread 3
----------------------------------------------------
  threads_alive=3 (00000000 00000000 00000000 00000011)

State 313 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 693 thread 3
----------------------------------------------------
  cond=&threads_alive_cond (00001001 00000000 00000000 00000000)

State 318 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 694 thread 3
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

State 327 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 692 thread 2
----------------------------------------------------
  threads_alive=2 (00000000 00000000 00000000 00000010)

State 330 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 693 thread 2
----------------------------------------------------
  cond=&threads_alive_cond (00001001 00000000 00000000 00000000)

State 335 file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function thread line 694 thread 2
----------------------------------------------------
  mutex=(pthread_mutex_t *)&threads_alive_mutex (00001000 00000000 00000000 00000000)

Violated property:
  file /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-inner-race-5.i function main line 703 thread 5
  No data races on variable data between line 709 and line 689


VERIFICATION FAILED
