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/lmdb/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/lmdb/main.c" (CPAchecker.parse, INFO)

line 10226: Dereferencing of non-pointer type MDB_IDL  in expression *tmp___0 (ASTConverter.convert, WARNING)

line 10227: Dereferencing of non-pointer type MDB_IDL  in expression *ids (ASTConverter.convert, WARNING)

line 10252: Dereferencing of non-pointer type MDB_IDL  in expression *ids (ASTConverter.convert, WARNING)

line 10258: Dereferencing of non-pointer type MDB_IDL  in expression *tmp (ASTConverter.convert, WARNING)

line 10273: Dereferencing of non-pointer type MDB_IDL  in expression *idn (ASTConverter.convert, WARNING)

line 10280: Dereferencing of non-pointer type MDB_IDL  in expression *tmp___0 (ASTConverter.convert, WARNING)

line 10303: Dereferencing of non-pointer type MDB_IDL  in expression *tmp___0 (ASTConverter.convert, WARNING)

line 769: Function pointer *(env->me_assert_func) with type MDB_assert_func * is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, WARNING)

line 9987: Function pointer *func with type MDB_msg_func * is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, WARNING)

line 9974: Function pointer *func with type MDB_msg_func * is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, WARNING)

line 9979: Function pointer *func with type MDB_msg_func * is called, but no possible target functions were found. (CFunctionPointerResolver.getTargets, WARNING)

line 9956: Function pointer *func with type MDB_msg_func * 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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Error: line 3705: Unsupported feature (memset): memset((void *)(&lock_info), 0, 32UL) (line was originally memset((void *)(& lock_info), 0, sizeof(lock_info));) (ExpressionToFormulaVisitor.visit, SEVERE)


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

Max ABE block size:                       61
Avg ABE block size:                                11.49 (sum: 14757, count: 1284, min: 1, max: 61)
Number of predicates discovered:          0

Time for post operator:                               20.976s
  Time for path formula creation:                     20.952s
Time for strengthen operator:                          0.027s
Time for prec operator:                                0.106s
  Time for abstraction:                  0.021s (Max:     0.001s, Count: 1284)
    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:                               6.418s
Time for coverage checks:                              0.017s
  Time for BDD entailment checks:                      0.011s
Total time for SMT solver (w/o itp):     0.000s

Number of path formula cache hits:   451 (3%)

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

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: 37685, 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:                     37.79 (sum: 375556, count: 9939, min: 0, max: 45)
Number of global variables per state:              0.00 (sum: 0, count: 9939, min: 0, max: 0)
Number of assumptions:                                 4892
Number of deterministic assumptions:                      0
Level of Determinism:                              0%

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

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

CPA algorithm statistics
------------------------
Number of iterations:            11494
Max size of waitlist:            286
Average size of waitlist:        140
Number of computed successors:   12500
Max successors for one state:    2
Number of times merged:          2030
Number of times stopped:         2562
Number of times breaked:         0

Total time for CPA algorithm:        29.108s (Max:    29.108s)
  Time for choose from waitlist:      0.013s
  Time for precision adjustment:      0.178s
  Time for transfer relation:        22.172s
  Time for merge operator:            6.582s
  Time for stop operator:             0.072s
  Time for adding to reached set:     0.025s

CPAchecker general statistics
-----------------------------
Number of program locations:                       58212
Number of CFA edges (per node):                       69223 (count: 58212, min: 0, max: 32, avg: 1.19)
Number of relevant variables:                      11630
Number of functions:                               949
Number of loops (and loop nodes):                       820 (sum: 18932, min: 3, max: 359, avg: 23.09)
Size of reached set:             9939
  Number of partitions:          7970
    Avg size of partitions:      1
    Max size of partitions:      52 (with key [{main=N2716 (entry of function mdb_env_map in lines 3299-3342) Function mdb_env_map called from node N2785, stack depth 3 [7865c28], stack [main, mdb_env_set_mapsize, mdb_env_map] @@ 0}])
  Number of target states:       0
  Size of final wait list:       278

Time for analysis setup:          4.028s
  Time for loading CPAs:          0.712s
  Time for loading parser:        0.133s
  Time for CFA construction:      3.132s
    Time for parsing file(s):     0.365s
    Time for AST to CFA:          0.582s
    Time for CFA sanity check:    0.001s
    Time for post-processing:     2.082s
      Time for function pointers resolving:            0.017s
        Function calls via function pointers:            17 (count: 1, min: 17, max: 17, avg: 17.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:                  1.136s
        Time for collecting variables:                 0.730s
        Time for solving dependencies:                 0.039s
        Time for building hierarchy:                   0.012s
        Time for building classification:              0.349s
        Time for exporting data:                       0.000s
Time for Analysis:               29.109s
CPU time for analysis:           45.620s
Total time for CPAchecker:       33.138s
Total CPU time for CPAchecker:   61.980s
Time for statistics:              0.081s

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