scripts/cpa.sh -svcomp23 -heap 10000M -benchmark -timelimit '900 s' -stats -spec /mnt/goblint-svcomp/goblint-bench/bench/concrat/properties/no-data-race.prp -32 /mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-outer-race.i


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


Running CPAchecker with Java heap of size 10000M.
Running CPAchecker with default stack size (1024k). Specify a larger value with -stack if needed.
Language C detected and set for analysis (CPAMain.detectFrontendLanguageIfNecessary, INFO)

Using the following resource limits: CPU-time limit of 900s (ResourceLimitChecker.fromConfiguration, INFO)

CPAchecker 2.2 (OpenJDK 64-Bit Server VM 17.0.10) started (CPAchecker.run, INFO)

Parsing CFA from file(s) "/mnt/goblint-svcomp/goblint-bench/bench/concrat/race-challenges/thread-join-counter-outer-race.i" (CPAchecker.parse, INFO)

program contains concurrency, cloning functions... (CFACreator.postProcessingOnMutableCFAs, INFO)

Using predicate analysis with MathSAT5 version 5.6.8 (27814677e16f) (Jun 28 2022 17:03:19, gmp 6.1.2, gcc 6.3.0, 64-bit, reentrant) and JFactory 1.21. (PredicateCPA:PredicateCPA.<init>, INFO)

Starting analysis ... (CPAchecker.runAlgorithm, INFO)

Assuming external function pthread_create to be a pure function. (PredicateCPA:ExpressionToFormulaVisitor.visit, INFO)

Assuming external function pthread_detach to be a pure function. (PredicateCPA:ExpressionToFormulaVisitor.visit, INFO)

Assuming external function pthread_mutex_lock to be a pure function. (PredicateCPA:ExpressionToFormulaVisitor.visit, INFO)

Assuming external function pthread_mutex_unlock to be a pure function. (PredicateCPA:ExpressionToFormulaVisitor.visit, INFO)

multiple thread assignments to same LHS, using identifier tid__CPAchecker__1 instead of tid (ThreadingCPA:ThreadingTransferRelation.getNewThreadId, WARNING)

Stopping analysis ... (CPAchecker.runAlgorithm, INFO)


PredicateCPA statistics
-----------------------
Number of abstractions:            54 (11% of all post computations)
  Times abstraction was reused:    0
  Because of function entry/exit:  27 (50%)
  Because of loop head:            26 (48%)
  Because of join nodes:           0 (0%)
  Because of threshold:            0 (0%)
  Because of target state:         1 (2%)
  Times precision was empty:       54 (100%)
  Times precision was {false}:     0 (0%)
  Times result was cached:         0 (0%)
  Times cartesian abs was used:    0 (0%)
  Times boolean abs was used:      0 (0%)
  Times result was 'false':        0 (0%)
Number of strengthen sat checks:   0
Number of coverage checks:         48
  BDD entailment checks:           30
Number of SMT sat checks:          0
  trivial:                         0
  cached:                          0

Max ABE block size:                       5
Avg ABE block size:                                1.04 (sum: 56, count: 54, min: 0, max: 5)
Number of predicates discovered:          0

Time for post operator:                                0.067s
  Time for path formula creation:                      0.061s
Time for strengthen operator:                          0.003s
Time for prec operator:                                0.015s
  Time for abstraction:                  0.004s (Max:     0.001s, Count: 54)
    Solving time:                        0.000s (Max:     0.000s)
    Model enumeration time:              0.000s
    Time for BDD construction:           0.000s (Max:     0.000s)
Time for coverage checks:                              0.005s
  Time for BDD entailment checks:                      0.005s
Total time for SMT solver (w/o itp):     0.000s

Number of path formula cache hits:   107 (20%)

Inside post operator:                  
  Inside path formula creation:        
    Time for path formula computation:     0.053s

Total number of created targets for pointer analysis: 0


Number of BDD nodes:                               202
Size of BDD node table:                            524309
Size of BDD cache:                                 52433
Size of BDD node cleanup queue:                    0.00 (sum: 0, count: 85, min: 0, max: 0)
Time for BDD node cleanup:                             0.000s
Time for BDD garbage collection:                       0.000s (in 0 runs)

KeyValue statistics
-------------------
Init. function predicates:                         0
Init. global predicates:                           0
Init. location predicates:                         0

Invariant Generation statistics
-------------------------------

ValueAnalysisCPA statistics
---------------------------
Number of variables per state:                     1.62 (sum: 753, count: 466, min: 0, max: 6)
Number of global variables per state:              0.52 (sum: 242, count: 466, min: 0, max: 2)
Number of assumptions:                                   40
Number of deterministic assumptions:                      0
Level of Determinism:                              0%

ValueAnalysisPrecisionAdjustment statistics
-------------------------------------------
Number of abstraction computations:                     484
Total time for liveness abstraction:                   0.000s
Total time for abstraction computation:                0.000s
Total time for path thresholds:                        0.000s

ConstraintsStrengthenOperator statistics
----------------------------------------
Total time for strengthening by ConstraintsCPA:     0.000s
Replaced symbolic expressions: 0

AutomatonAnalysis (DataRace) statistics
---------------------------------------
Number of states:                                  1
Total time for successor computation:                  0.002s
Total time for strengthen operator:                    0.084s
Automaton transfers with branching:                0
Automaton transfer successors:                     1.00 (sum: 485, count: 485, min: 1, max: 1) [1 x 485]
Number of states with assumption transitions:      0

AutomatonAnalysis (svcompTerminatingFunctions) statistics
---------------------------------------------------------
Number of states:                                  1
Total time for successor computation:                  0.004s
Automaton transfers with branching:                0
Automaton transfer successors:                     1.00 (sum: 485, count: 485, min: 1, max: 1) [1 x 485]
Number of states with assumption transitions:      0

CPA algorithm statistics
------------------------
Number of iterations:            428
Max size of waitlist:            39
Average size of waitlist:        5
Number of computed successors:   485
Max successors for one state:    3
Number of times merged:          0
Number of times stopped:         19
Number of times breaked:         1

Total time for CPA algorithm:         0.350s (Max:     0.350s)
  Time for choose from waitlist:      0.000s
  Time for precision adjustment:      0.028s
  Time for transfer relation:         0.298s
  Time for merge operator:            0.005s
  Time for stop operator:             0.009s
  Time for adding to reached set:     0.005s

CPAchecker general statistics
-----------------------------
Number of program locations:                       415
Number of CFA edges (per node):                         399 (count: 415, min: 0, max: 2, avg: 0.96)
Number of relevant variables:                      12
Number of functions:                               13
Number of loops (and loop nodes):                         2 (sum: 11, min: 2, max: 9, avg: 5.50)
Size of reached set:             466
  Number of partitions:          461
    Avg size of partitions:      1
    Max size of partitions:      2 (with key [{main=N23 (before line 691) Function main called from node N17, stack depth 1 [53d13cd4], stack [main] @@ 0}])
  Number of target states:       1
  Size of final wait list:       39

Time for analysis setup:          0.915s
  Time for loading CPAs:          0.254s
  Time for loading parser:        0.129s
  Time for CFA construction:      0.502s
    Time for parsing file(s):     0.203s
    Time for AST to CFA:          0.151s
    Time for CFA sanity check:    0.000s
    Time for post-processing:     0.110s
      Time for function pointers resolving:            0.002s
        Function calls via function pointers:             0 (count: 1, min: 0, max: 0, avg: 0.00)
        Instrumented function pointer calls:              0 (count: 1, min: 0, max: 0, avg: 0.00)
        Function calls with function pointer arguments:        0 (count: 1, min: 0, max: 0, avg: 0.00)
        Instrumented function pointer arguments:          0 (count: 1, min: 0, max: 0, avg: 0.00)
      Time for classifying variables:                  0.046s
        Time for collecting variables:                 0.025s
        Time for solving dependencies:                 0.001s
        Time for building hierarchy:                   0.000s
        Time for building classification:              0.020s
        Time for exporting data:                       0.000s
Time for Analysis:                0.350s
CPU time for analysis:            1.110s
Time for analyzing result:        0.002s
Total time for CPAchecker:        1.266s
Total CPU time for CPAchecker:    3.690s
Time for statistics:              0.034s

Time for Garbage Collector:       0.032s (in 5 runs)
Garbage Collector(s) used:    G1 Old Generation, G1 Young Generation

Verification result: FALSE. Property violation (no-data-race: data race in line 692) found by chosen configuration.
More details about the verification run can be found in the directory "./output".
