scripts/cpa.sh -svcomp23 -heap 20000M -benchmark -timelimit '7200 s' -stats -spec /mnt/goblint-svcomp/goblint-bench/bench/concrat/properties/no-data-race.prp -64 /mnt/goblint-svcomp/goblint-bench/bench/concrat/Remotery/main.c


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


Running CPAchecker with Java heap of size 20000M.
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 7200s (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/Remotery/main.c" (CPAchecker.parse, INFO)

Undefined function __sync_bool_compare_and_swap found, first called in line 1114 (CheckBindingVisitor.visit, WARNING)

Undefined function __sync_fetch_and_add found, first called in line 1144 (CheckBindingVisitor.visit, WARNING)

lines 6878-6879: Dead code detected: __assert_fail("sizeof(MessageID) == sizeof(rmtU32)", "lib/Remotery.c", 7037U,
                  "_rmt_CreateGlobalInstance"); (CFACreationUtils.addEdgeToCFA, INFO)

Inline assembler ignored, analysis is probably unsound! (CFABuilder.createCFA, WARNING)

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 signal to be a pure function. (PredicateCPA:ExpressionToFormulaVisitor.visit, INFO)

line 834: Ignoring function call through function pointer *(g_Settings.malloc): tmp = (*(g_Settings.malloc))(g_Settings.mm_context, size); (PredicateCPA:ExpressionToFormulaVisitor.visit, WARNING)

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

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

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

Assuming external function pthread_self to be a constant function. (PredicateCPA:ExpressionToFormulaVisitor.visit, INFO)

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

line 852: Ignoring function call through function pointer *(g_Settings.free): (*(g_Settings.free))(g_Settings.mm_context, ptr); (PredicateCPA:ExpressionToFormulaVisitor.visit, WARNING)

line 1961: Ignoring function call through function pointer *(allocator->destructor): (*(allocator->destructor))(__CPAchecker_TMP_3); (PredicateCPA:ExpressionToFormulaVisitor.visit, WARNING)

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

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

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

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

Error: line 1897: Unrecognized C code (unsupported thread join access): thread->handle (ThreadingTransferRelation.extractParamName, SEVERE)


PredicateCPA statistics
-----------------------
Number of abstractions:            305 (15% of all post computations)
  Times abstraction was reused:    0
  Because of function entry/exit:  293 (96%)
  Because of loop head:            12 (4%)
  Because of join nodes:           0 (0%)
  Because of threshold:            0 (0%)
  Because of target state:         0 (0%)
  Times precision was empty:       305 (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:         331
  BDD entailment checks:           297
Number of SMT sat checks:          0
  trivial:                         0
  cached:                          0

Max ABE block size:                       39
Avg ABE block size:                                3.36 (sum: 1026, count: 305, min: 0, max: 39)
Number of predicates discovered:          0

Time for post operator:                                0.307s
  Time for path formula creation:                      0.301s
Time for strengthen operator:                          0.018s
Time for prec operator:                                0.036s
  Time for abstraction:                  0.005s (Max:     0.001s, Count: 305)
    Solving time:                        0.000s (Max:     0.000s)
    Model enumeration time:              0.000s
    Time for BDD construction:           0.000s (Max:     0.000s)
Time for merge operator:                               0.010s
Time for coverage checks:                              0.006s
  Time for BDD entailment checks:                      0.006s
Total time for SMT solver (w/o itp):     0.000s

Number of path formula cache hits:   11 (1%)

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

Total number of created targets for pointer analysis: 0


Number of BDD nodes:                               202
Size of BDD node table:                            1048583
Size of BDD cache:                                 104869
Size of BDD node cleanup queue:                    0.00 (sum: 0, count: 603, min: 0, max: 0)
Time for BDD node cleanup:                             0.002s
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:                     9.24 (sum: 17632, count: 1908, min: 0, max: 17)
Number of global variables per state:              5.84 (sum: 11146, count: 1908, min: 0, max: 7)
Number of assumptions:                                  450
Number of deterministic assumptions:                      0
Level of Determinism:                              0%

ValueAnalysisPrecisionAdjustment statistics
-------------------------------------------
Number of abstraction computations:                    1948
Total time for liveness abstraction:                   0.000s
Total time for abstraction computation:                0.004s
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.006s
Total time for strengthen operator:                    0.128s
Automaton transfers with branching:                0
Automaton transfer successors:                     1.00 (sum: 2020, count: 2020, min: 1, max: 1) [1 x 2020]
Number of states with assumption transitions:      0

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

CPA algorithm statistics
------------------------
Number of iterations:            1833
Max size of waitlist:            84
Average size of waitlist:        30
Number of computed successors:   1948
Max successors for one state:    2
Number of times merged:          5
Number of times stopped:         41
Number of times breaked:         0

Total time for CPA algorithm:         0.808s (Max:     0.808s)
  Time for choose from waitlist:      0.001s
  Time for precision adjustment:      0.066s
  Time for transfer relation:         0.671s
  Time for merge operator:            0.022s
  Time for stop operator:             0.009s
  Time for adding to reached set:     0.013s

CPAchecker general statistics
-----------------------------
Number of program locations:                       34985
Number of CFA edges (per node):                       41966 (count: 34985, min: 0, max: 46, avg: 1.20)
Number of relevant variables:                      9326
Number of functions:                               1525
Number of loops (and loop nodes):                       439 (sum: 7013, min: 4, max: 112, avg: 15.97)
Size of reached set:             1908
  Number of partitions:          1830
    Avg size of partitions:      1
    Max size of partitions:      5 (with key [{main=N215 (entry of function tlsFree in lines 964-975) Function tlsFree called from node N5702, stack depth 4 [78eab491], stack [main, _rmt_CreateGlobalInstance, Remotery_Destructor, tlsFree] @@ 0}])
  Number of target states:       0
  Size of final wait list:       81

Time for analysis setup:          2.789s
  Time for loading CPAs:          0.512s
  Time for loading parser:        0.121s
  Time for CFA construction:      2.115s
    Time for parsing file(s):     0.325s
    Time for AST to CFA:          0.486s
    Time for CFA sanity check:    0.002s
    Time for post-processing:     1.223s
      Time for function pointers resolving:            0.010s
        Function calls via function pointers:            12 (count: 1, min: 12, max: 12, avg: 12.00)
        Instrumented function pointer calls:             12 (count: 1, min: 12, max: 12, avg: 12.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.718s
        Time for collecting variables:                 0.444s
        Time for solving dependencies:                 0.023s
        Time for building hierarchy:                   0.008s
        Time for building classification:              0.238s
        Time for exporting data:                       0.000s
Time for Analysis:                0.810s
CPU time for analysis:            3.490s
Total time for CPAchecker:        3.600s
Total CPU time for CPAchecker:   15.410s
Time for statistics:              0.056s

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

Verification result: UNKNOWN, incomplete analysis.
More details about the verification run can be found in the directory "./output".
