./deagle --no-assertions --datarace --32 /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.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/dekker.i
Converting
Type-checking dekker
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 dekker file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 424
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_16" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:82:1)
[Warning][Deadcode] Function "__bswap_32" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:87:1)
[Warning][Deadcode] Function "__bswap_64" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:92:15)
[Warning][Deadcode] Function "__uint16_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:97:1)
[Warning][Deadcode] Function "__uint32_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:102:1)
[Warning][Deadcode] Function "__uint64_identity" will never be called: 1LoC (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:107:1)
[Warning][Race] Memory location turn@dekker.i:705:5 (race with conf. 110):
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:716:9)
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:723:13)
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:727:17)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:757:9)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:764:13)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:768:17)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:741:5)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:782:5)
[Warning][Race] Memory location x@dekker.i:706:5 (race with conf. 110):
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:739:5)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:780:5)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:738:5)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:779:5)
[Warning][Race] Memory location flag2@dekker.i:704:16 (race with conf. 110):
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:712:5)
  read with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:735:9)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:750:5)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:761:13)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:772:13)
  write with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:785:5)
[Warning][Race] Memory location flag1@dekker.i:704:5 (race with conf. 110):
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:753:5)
  read with {thread:([thr2@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:794:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:776:9)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:709:5)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:720:13)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:731:13)
  write with {thread:([thr1@/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:793:3, main], {})} (conf. 110) (/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i:744:5)

Summary for all memory locations:
	safe:            0
	vulnerable:      0
	unsafe:          4
	-------------------
	total:           4
turn's upper bound is 1
Use SV-COMP unwinding strategy: 2
Deagle's solver is set!!!!!!
Unwinding loop thr1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 725 function thr1 thread 1
Not unwinding loop thr1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 725 function thr1 thread 1
Unwinding loop thr1.1 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 714 function thr1 thread 1
Unwinding loop thr1.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 725 function thr1 thread 1
Not unwinding loop thr1.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 725 function thr1 thread 1
Not unwinding loop thr1.1 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 714 function thr1 thread 1
Unwinding loop thr2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 766 function thr2 thread 2
Not unwinding loop thr2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 766 function thr2 thread 2
Unwinding loop thr2.1 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 755 function thr2 thread 2
Unwinding loop thr2.0 iteration 1 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 766 function thr2 thread 2
Not unwinding loop thr2.0 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 766 function thr2 thread 2
Not unwinding loop thr2.1 iteration 2 file /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i line 755 function thr2 thread 2
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/dekker.i | tee goblint/goblint_output: 0
Lines where datarace may occur: 709 710 712 713 716 717 720 721 723 724 727 728 731 732 735 736 738 739 740 741 742 744 745 750 751 753 754 757 758 761 762 764 765 768 769 772 773 776 777 779 780 781 782 783 785 786 
The number of races before goblint filter: 43
The number of races after goblint filter: 3
Race categories: 3
	738(1) - 779(1) x:
		x#2 x#4
	738(1) - 780(1) x:
		x#2 x#5
	739(1) - 779(1) x:
		x#3 x#4
Runtime Symex: 0.280479s
Adding SC constraints
Shared __CPROVER_threads_exited: 4R/3W
Shared __CPROVER_next_thread_id: 3R/3W
Shared flag1: 3R/7W
Shared flag2: 3R/7W
Shared turn: 16R/3W
Shared x: 2R/3W
Shared main::1::t1!0@1: 2R/2W
Shared main::1::t2!0@1: 2R/2W
size of program expression: 580 steps
no slicing due to threads
Generated 0 VCC(s), 0 remaining after simplification
Runtime Postprocess Equation: 0.00232819s
Passing problem to propositional reduction
converting SSA
Runtime Convert SSA: 0.00265111s
Set Deagle solver's graph
Running propositional reduction
Post-processing
Runtime Post-process: 0.000865505s
Solving with Deagle's Closure solver
3540 variables, 9011 clauses
ClosureSolver finishes with 59 conflicts, 1587 decisions, and 11105 propagations. 57 theory propagations and 4 cycles included.
SAT checker: instance is UNSATISFIABLE
Runtime Solver: 0.00332826s
Runtime decision procedure: 0.0145631s

** Results:
/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/dekker.i function main
[nodatarace.assertion.0] line 794 No data races on variable x between line 738 and line 779: SUCCESS
[nodatarace.assertion.1] line 794 No data races on variable x between line 738 and line 780: SUCCESS
[nodatarace.assertion.2] line 794 No data races on variable x between line 739 and line 779: SUCCESS

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