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/the_silver_searcher/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.8.1) started (CPAchecker.run, INFO)

Parsing CFA from file(s) "/mnt/goblint-svcomp/goblint-bench/bench/concrat/the_silver_searcher/main.c" (CPAchecker.parse, INFO)

line 5381: Dead code detected: __res = tolower((int )*(find + i)); (CFACreationUtils.addEdgeToCFA, INFO)

line 5388: Dead code detected: __res___0 = toupper((int )*(find + i)); (CFACreationUtils.addEdgeToCFA, INFO)

line 5417: Dead code detected: __res = tolower((int )*(s + i)); (CFACreationUtils.addEdgeToCFA, INFO)

line 5423: Dead code detected: __res___0 = tolower((int )*(s + (i + (size_t )pos))); (CFACreationUtils.addEdgeToCFA, INFO)

line 5454: Dead code detected: __res = tolower((int )*(s + (pos - (size_t const   )i))); (CFACreationUtils.addEdgeToCFA, INFO)

line 5460: Dead code detected: __res___0 = tolower((int )*(s + ((s_len - (size_t const   )i) - 1UL))); (CFACreationUtils.addEdgeToCFA, INFO)

line 5588: Dead code detected: __res = tolower((int )*(s + pos)); (CFACreationUtils.addEdgeToCFA, INFO)

line 5654: Dead code detected: __res = tolower((int )*(R + i)); (CFACreationUtils.addEdgeToCFA, INFO)

line 5681: Dead code detected: __res___0 = tolower((int )*(R___0 + i___0)); (CFACreationUtils.addEdgeToCFA, INFO)

line 6792: Dead code detected: __res = tolower((int )*c); (CFACreationUtils.addEdgeToCFA, INFO)

line 822: Function pointer *__compar with type int (*)(const void *, const void *) is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, WARNING)

line 1831: Function pointer *pcre_free with type void (*)(void *) is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, WARNING)

line 1833: Function pointer *pcre_free with type void (*)(void *) is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, WARNING)

line 1836: Function pointer *pcre_free with type void (*)(void *) is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, WARNING)

line 1839: Function pointer *pcre_free with type void (*)(void *) is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, WARNING)

line 1842: Function pointer *pcre_free with type void (*)(void *) is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, WARNING)

line 1845: Function pointer *pcre_free with type void (*)(void *) is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, 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)

line 5282: Ignoring parameters passed as varargs to function die: die("Memory allocation failed.") (PredicateCPA:CtoFormulaConverter.makeFunctionCall, WARNING)

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

Cannot get declaration of function __builtin_va_start, ignoring calls to it. (PredicateCPA:ExpressionToFormulaVisitor.visit, WARNING)

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

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

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

line 6159: Return type of function __builtin_va_end is void, but result is used as type int: __builtin_va_end(args); (PredicateCPA:CtoFormulaConverter.getReturnType, WARNING)

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

line 1154: Ignoring parameters passed as varargs to function ag_asprintf: ag_asprintf(&(ig->abs_path), "%s", dirname) (PredicateCPA:CtoFormulaConverter.makeFunctionCall, WARNING)

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

line 6146: Ignoring parameters passed as varargs to function die: die("vasprintf returned -1") (PredicateCPA:CtoFormulaConverter.makeFunctionCall, WARNING)

line 6148: Return type of function __builtin_va_end is void, but result is used as type int: __builtin_va_end(args); (PredicateCPA:CtoFormulaConverter.getReturnType, WARNING)

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

Error: line 1792: Unsupported feature (memset): memset((void *)(&opts), 0, 344UL) (line was originally memset((void *)(& opts), 0, sizeof(opts));) (ExpressionToFormulaVisitor.visit, SEVERE)


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

Max ABE block size:                       113
Avg ABE block size:                                17.44 (sum: 279, count: 16, min: 1, max: 113)
Number of predicates discovered:          0

Time for post operator:                                1.713s
  Time for path formula creation:                      1.709s
Time for strengthen operator:                          0.005s
Time for prec operator:                                0.006s
  Time for abstraction:                  0.001s (Max:     0.001s, Count: 16)
    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.000s
Total time for SMT solver (w/o itp):     0.000s

Number of path formula cache hits:   0 (0%)

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

Total number of created targets for pointer analysis: 0


Number of BDD nodes:                               202
Size of BDD node table:                            1048583
Size of BDD node cleanup queue:                    0.00 (sum: 0, count: 17, 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:                     5.53 (sum: 3866, count: 699, min: 0, max: 18)
Number of global variables per state:              4.17 (sum: 2918, count: 699, min: 0, max: 8)
Number of assumptions:                                   56
Number of deterministic assumptions:                      0
Level of Determinism:                              0%

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

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

CPA algorithm statistics
------------------------
Number of iterations:            699
Max size of waitlist:            2
Average size of waitlist:        1
Number of computed successors:   698
Max successors for one state:    2
Number of times merged:          0
Number of times stopped:         0
Number of times breaked:         0

Total time for CPA algorithm:         1.959s (Max:     1.959s)
  Time for choose from waitlist:      0.001s
  Time for precision adjustment:      0.030s
  Time for transfer relation:         1.909s
  Time for stop operator:             0.003s
  Time for adding to reached set:     0.005s

CPAchecker general statistics
-----------------------------
Number of program locations:                       33831
Number of CFA edges (per node):                       39350 (count: 33831, min: 0, max: 68, avg: 1.16)
Number of relevant variables:                      5184
Number of functions:                               727
Number of loops (and loop nodes):                       455 (sum: 12683, min: 3, max: 313, avg: 27.87)
Size of reached set:             699
  Number of partitions:          699
    Avg size of partitions:      1
    Max size of partitions:      1
  Number of target states:       0
  Size of final wait list:       1

Time for analysis setup:          2.808s
  Time for loading CPAs:          0.538s
  Time for loading parser:        0.130s
  Time for CFA construction:      2.096s
    Time for parsing file(s):     0.330s
    Time for AST to CFA:          0.506s
    Time for CFA sanity check:    0.000s
    Time for post-processing:     1.182s
      Time for function pointers resolving:            0.012s
        Function calls via function pointers:             8 (count: 1, min: 8, max: 8, avg: 8.00)
        Instrumented function pointer calls:              1 (count: 1, min: 1, max: 1, avg: 1.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.712s
        Time for collecting variables:                 0.455s
        Time for solving dependencies:                 0.024s
        Time for building hierarchy:                   0.007s
        Time for building classification:              0.223s
        Time for exporting data:                       0.000s
Time for Analysis:                1.960s
CPU time for analysis:            6.230s
Total time for CPAchecker:        4.770s
Total CPU time for CPAchecker:   17.900s
Time for statistics:              0.045s

Time for Garbage Collector:       0.124s (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".
