./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i


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


Deagle version 2.1 64-bit x86_64 linux
which contains:
CBMC version 5.67.0 (SVCOMP2023_221122-2-g2121ef1a2) 64-bit x86_64 linux
Parsing /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i
Converting
Type-checking szymanski-b
Generating GOTO Program
Adding CPROVER library (x86_64)
file <builtin-library-pthread_create> line 20: warning: pointer parameter types differ between declaration and definition "pthread_create"
old definition in module szymanski-b file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i line 404
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 *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 2 possible targets
Generic Property Instrumentation
Running with 8 object bits, 24 offset bits (default)
Starting Bounded Model Checking
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:67:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:72:1)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:77:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:82:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:87:1)
[Warning][Race] Memory location flag2@szymanski-b.i:684:16 (race with conf. 110):
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:688:3)
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:690:3)
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:692:5)
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:695:3)
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:698:3)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:703:3)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:705:3)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:707:5)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:710:3)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:715:3)
[Warning][Race] Memory location x@szymanski-b.i:685:5 (race with conf. 110):
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:697:3)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:713:3)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:696:3)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:712:3)
[Warning][Race] Memory location flag1@szymanski-b.i:684:5 (race with conf. 110):
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:704:3)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:706:3)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:708:5)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:711:3)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:722:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:714:3)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:687:3)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:689:3)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:691:5)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:694:3)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:721:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i:699:3)

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          3
	-------------------
	total:           3
Use SV-COMP unwinding strategy: 2
Deagle's solver is set!!!!!!
replacing self-loop at file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i line 688 function thr1 by assume(!TRUE)
replacing self-loop at file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i line 692 function thr1 by assume(!TRUE)
replacing self-loop at file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i line 695 function thr1 by assume(!TRUE)
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 1
replacing self-loop at file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i line 698 function thr1 by assume(!TRUE)
replacing self-loop at file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i line 704 function thr2 by assume(!TRUE)
replacing self-loop at file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i line 708 function thr2 by assume(!TRUE)
replacing self-loop at file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i line 711 function thr2 by assume(!TRUE)
aborting path on assume(false) at file <builtin-library-abort> line 6 function abort thread 2
replacing self-loop at file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i line 714 function thr2 by assume(!TRUE)
Handling datarace, passing the problem to goblint first
getcwd: /mnt/goblint-svcomp/benchexec/tools-pldi/deagle
/mnt/goblint-svcomp/benchexec/tools-pldi/deagle/goblint/goblint /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 687 688 689 690 691 692 693 694 695 696 697 698 699 700 703 704 705 706 707 708 709 710 711 712 713 714 715 716 
The number of races before goblint filter: 89
The number of races after goblint filter: 63
Race categories: 53
	687(1) - 704(1) flag1:
		flag1#2 flag1#7
	687(1) - 706(1) flag1:
		flag1#2 flag1#8
	687(1) - 708(1) flag1:
		flag1#2 flag1#9
	687(1) - 711(1) flag1:
		flag1#2 flag1#10
	687(1) - 714(1) flag1:
		flag1#2 flag1#11
		flag1#2 flag1#12
	689(1) - 704(1) flag1:
		flag1#3 flag1#7
	689(1) - 706(1) flag1:
		flag1#3 flag1#8
	689(1) - 708(1) flag1:
		flag1#3 flag1#9
	689(1) - 711(1) flag1:
		flag1#3 flag1#10
	689(1) - 714(1) flag1:
		flag1#3 flag1#11
		flag1#3 flag1#12
	691(1) - 704(1) flag1:
		flag1#4 flag1#7
	691(1) - 706(1) flag1:
		flag1#4 flag1#8
	691(1) - 708(1) flag1:
		flag1#4 flag1#9
	691(1) - 711(1) flag1:
		flag1#4 flag1#10
	691(1) - 714(1) flag1:
		flag1#4 flag1#11
		flag1#4 flag1#12
	694(1) - 704(1) flag1:
		flag1#5 flag1#7
	694(1) - 706(1) flag1:
		flag1#5 flag1#8
	694(1) - 708(1) flag1:
		flag1#5 flag1#9
	694(1) - 711(1) flag1:
		flag1#5 flag1#10
	694(1) - 714(1) flag1:
		flag1#5 flag1#11
		flag1#5 flag1#12
	699(1) - 704(1) flag1:
		flag1#6 flag1#7
	699(1) - 706(1) flag1:
		flag1#6 flag1#8
	699(1) - 708(1) flag1:
		flag1#6 flag1#9
	699(1) - 711(1) flag1:
		flag1#6 flag1#10
	699(1) - 714(1) flag1:
		flag1#6 flag1#11
		flag1#6 flag1#12
	688(1) - 703(1) flag2:
		flag2#2 flag2#8
	688(1) - 705(1) flag2:
		flag2#2 flag2#9
	688(1) - 707(1) flag2:
		flag2#2 flag2#10
	688(1) - 710(1) flag2:
		flag2#2 flag2#11
	688(1) - 715(1) flag2:
		flag2#2 flag2#12
	690(1) - 703(1) flag2:
		flag2#3 flag2#8
	690(1) - 705(1) flag2:
		flag2#3 flag2#9
	690(1) - 707(1) flag2:
		flag2#3 flag2#10
	690(1) - 710(1) flag2:
		flag2#3 flag2#11
	690(1) - 715(1) flag2:
		flag2#3 flag2#12
	692(1) - 703(1) flag2:
		flag2#4 flag2#8
	692(1) - 705(1) flag2:
		flag2#4 flag2#9
	692(1) - 707(1) flag2:
		flag2#4 flag2#10
	692(1) - 710(1) flag2:
		flag2#4 flag2#11
	692(1) - 715(1) flag2:
		flag2#4 flag2#12
	695(1) - 703(1) flag2:
		flag2#5 flag2#8
	695(1) - 705(1) flag2:
		flag2#5 flag2#9
	695(1) - 707(1) flag2:
		flag2#5 flag2#10
	695(1) - 710(1) flag2:
		flag2#5 flag2#11
	695(1) - 715(1) flag2:
		flag2#5 flag2#12
	698(1) - 703(1) flag2:
		flag2#6 flag2#8
		flag2#7 flag2#8
	698(1) - 705(1) flag2:
		flag2#6 flag2#9
		flag2#7 flag2#9
	698(1) - 707(1) flag2:
		flag2#6 flag2#10
		flag2#7 flag2#10
	698(1) - 710(1) flag2:
		flag2#6 flag2#11
		flag2#7 flag2#11
	698(1) - 715(1) flag2:
		flag2#6 flag2#12
		flag2#7 flag2#12
	696(1) - 712(1) x:
		x#2 x#4
	696(1) - 713(1) x:
		x#2 x#5
	697(1) - 712(1) x:
		x#3 x#4
Runtime Symex: 0.242331s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared flag1: 6R/6W
Shared flag2: 6R/6W
Shared x: 2R/3W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
size of program expression: 511 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00262012s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00252653s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000700522s
Solving with Deagle's Closure solver
3086 variables, 8838 clauses
ClosureSolver finishes with 26 conflicts, 2490 decisions, and 5264 propagations. 11 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.00148385s
Runtime decision procedure: 0.0104196s
Running propositional reduction
Solving with Deagle's Closure solver
3086 variables, 6916 clauses
ClosureSolver finishes with 26 conflicts, 3493 decisions, and 7527 propagations. 11 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000252654s
Runtime decision procedure: 0.000281845s
Running propositional reduction
Solving with Deagle's Closure solver
3086 variables, 6916 clauses
ClosureSolver finishes with 26 conflicts, 4458 decisions, and 9790 propagations. 11 theory propagations and 0 cycles included.
SAT checker: instance is SATISFIABLE
Runtime Solver: 0.000246554s
Runtime decision procedure: 0.000273085s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/szymanski-b.i function main
[nodatarace.assertion.0] line 722 No data races on variable flag1 between line 687 and line 704: FAILURE
[nodatarace.assertion.1] line 722 No data races on variable flag1 between line 687 and line 706: FAILURE
[nodatarace.assertion.2] line 722 No data races on variable flag1 between line 687 and line 708: FAILURE
[nodatarace.assertion.3] line 722 No data races on variable flag1 between line 687 and line 711: FAILURE
[nodatarace.assertion.4] line 722 No data races on variable flag1 between line 687 and line 714: FAILURE
[nodatarace.assertion.5] line 722 No data races on variable flag1 between line 689 and line 704: FAILURE
[nodatarace.assertion.6] line 722 No data races on variable flag1 between line 689 and line 706: FAILURE
[nodatarace.assertion.7] line 722 No data races on variable flag1 between line 689 and line 708: FAILURE
[nodatarace.assertion.8] line 722 No data races on variable flag1 between line 689 and line 711: FAILURE
[nodatarace.assertion.9] line 722 No data races on variable flag1 between line 689 and line 714: FAILURE
[nodatarace.assertion.10] line 722 No data races on variable flag1 between line 691 and line 704: FAILURE
[nodatarace.assertion.11] line 722 No data races on variable flag1 between line 691 and line 706: FAILURE
[nodatarace.assertion.12] line 722 No data races on variable flag1 between line 691 and line 708: FAILURE
[nodatarace.assertion.13] line 722 No data races on variable flag1 between line 691 and line 711: FAILURE
[nodatarace.assertion.14] line 722 No data races on variable flag1 between line 691 and line 714: FAILURE
[nodatarace.assertion.15] line 722 No data races on variable flag1 between line 694 and line 704: FAILURE
[nodatarace.assertion.16] line 722 No data races on variable flag1 between line 694 and line 706: FAILURE
[nodatarace.assertion.17] line 722 No data races on variable flag1 between line 694 and line 708: FAILURE
[nodatarace.assertion.18] line 722 No data races on variable flag1 between line 694 and line 711: FAILURE
[nodatarace.assertion.19] line 722 No data races on variable flag1 between line 694 and line 714: FAILURE
[nodatarace.assertion.20] line 722 No data races on variable flag1 between line 699 and line 704: FAILURE
[nodatarace.assertion.21] line 722 No data races on variable flag1 between line 699 and line 706: FAILURE
[nodatarace.assertion.22] line 722 No data races on variable flag1 between line 699 and line 708: FAILURE
[nodatarace.assertion.23] line 722 No data races on variable flag1 between line 699 and line 711: FAILURE
[nodatarace.assertion.24] line 722 No data races on variable flag1 between line 699 and line 714: FAILURE
[nodatarace.assertion.25] line 722 No data races on variable flag2 between line 688 and line 703: FAILURE
[nodatarace.assertion.26] line 722 No data races on variable flag2 between line 688 and line 705: FAILURE
[nodatarace.assertion.27] line 722 No data races on variable flag2 between line 688 and line 707: FAILURE
[nodatarace.assertion.28] line 722 No data races on variable flag2 between line 688 and line 710: FAILURE
[nodatarace.assertion.29] line 722 No data races on variable flag2 between line 688 and line 715: FAILURE
[nodatarace.assertion.30] line 722 No data races on variable flag2 between line 690 and line 703: FAILURE
[nodatarace.assertion.31] line 722 No data races on variable flag2 between line 690 and line 705: FAILURE
[nodatarace.assertion.32] line 722 No data races on variable flag2 between line 690 and line 707: FAILURE
[nodatarace.assertion.33] line 722 No data races on variable flag2 between line 690 and line 710: FAILURE
[nodatarace.assertion.34] line 722 No data races on variable flag2 between line 690 and line 715: FAILURE
[nodatarace.assertion.35] line 722 No data races on variable flag2 between line 692 and line 703: FAILURE
[nodatarace.assertion.36] line 722 No data races on variable flag2 between line 692 and line 705: FAILURE
[nodatarace.assertion.37] line 722 No data races on variable flag2 between line 692 and line 707: FAILURE
[nodatarace.assertion.38] line 722 No data races on variable flag2 between line 692 and line 710: FAILURE
[nodatarace.assertion.39] line 722 No data races on variable flag2 between line 692 and line 715: FAILURE
[nodatarace.assertion.40] line 722 No data races on variable flag2 between line 695 and line 703: FAILURE
[nodatarace.assertion.41] line 722 No data races on variable flag2 between line 695 and line 705: FAILURE
[nodatarace.assertion.42] line 722 No data races on variable flag2 between line 695 and line 707: FAILURE
[nodatarace.assertion.43] line 722 No data races on variable flag2 between line 695 and line 710: FAILURE
[nodatarace.assertion.44] line 722 No data races on variable flag2 between line 695 and line 715: FAILURE
[nodatarace.assertion.45] line 722 No data races on variable flag2 between line 698 and line 703: FAILURE
[nodatarace.assertion.46] line 722 No data races on variable flag2 between line 698 and line 705: FAILURE
[nodatarace.assertion.47] line 722 No data races on variable flag2 between line 698 and line 707: FAILURE
[nodatarace.assertion.48] line 722 No data races on variable flag2 between line 698 and line 710: FAILURE
[nodatarace.assertion.49] line 722 No data races on variable flag2 between line 698 and line 715: FAILURE
[nodatarace.assertion.50] line 722 No data races on variable x between line 696 and line 712: FAILURE
[nodatarace.assertion.51] line 722 No data races on variable x between line 696 and line 713: FAILURE
[nodatarace.assertion.52] line 722 No data races on variable x between line 697 and line 712: FAILURE

** 53 of 53 failed (4 iterations)
VERIFICATION FAILED
