scripts/cpa.sh -svcomp24 -heap 10000M -benchmark -timelimit '900 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 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.3 (OpenJDK 64-Bit Server VM 17.0.9) 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.10 (9293adc746be) (May 31 2023 12:38:06, gmp 6.2.0, gcc 7.5.0, 64-bit, reentrant) and JFactory 1.21. (PredicateCPA:PredicateCPA.<init>, INFO)

Starting analysis ... (CPAchecker.runAlgorithm, 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)

line 4073: Ignoring assignment to array type (char)[64UL] from other type signed int (PredicateCPA:AssignmentHandler.generatePartialAssignmentsForArrayType, WARNING)

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

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

Error: line 3705: Unrecognized C code (Memory assignment function called but their handling is disabled. Set cpa.predicate.enableMemoryAssignmentFunctions=true to enable.): memset((void *)(&lock_info), 0, 32UL) (CExpressionVisitorWithPointerAliasing.visit, SEVERE)


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

Max ABE block size:                       61
Avg ABE block size:                                10.57 (sum: 12114, count: 1146, min: 1, max: 61)
Number of predicates discovered:          0

Time for post operator:                               21.344s
  Time for path formula creation:                     21.319s
Time for strengthen operator:                          0.029s
Time for prec operator:                                0.070s
  Time for abstraction:                  0.009s (Max:     0.001s, Count: 1146)
    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.119s
Time for coverage checks:                              0.018s
  Time for BDD entailment checks:                      0.017s
Total time for SMT solver (w/o itp):     0.000s

Number of path formula cache hits:   2731 (22%)

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

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: 32504, min: 0, max: 0)
Time for BDD node cleanup:                             0.001s
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.34 (sum: 321188, count: 8601, min: 0, max: 45)
Number of global variables per state:              0.00 (sum: 0, count: 8601, min: 0, max: 0)
Number of assumptions:                                 4558
Number of deterministic assumptions:                      0
Level of Determinism:                              0%

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

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

CPA algorithm statistics
------------------------
Number of iterations:            9794
Max size of waitlist:            239
Average size of waitlist:        115
Number of computed successors:   10708
Max successors for one state:    2
Number of times merged:          1649
Number of times stopped:         2108
Number of times breaked:         0

Total time for CPA algorithm:        23.094s (Max:    23.094s)
  Time for choose from waitlist:      0.016s
  Time for precision adjustment:      0.144s
  Time for transfer relation:        22.508s
  Time for merge operator:            0.250s
  Time for stop operator:             0.064s
  Time for adding to reached set:     0.030s

CPAchecker general statistics
-----------------------------
Number of program locations:                       54906
Number of CFA edges (per node):                       65917 (count: 54906, min: 0, max: 32, avg: 1.20)
Number of relevant variables:                      8336
Number of functions:                               949
Number of loops (and loop nodes):                       823 (sum: 17687, min: 1, max: 321, avg: 21.49)
Size of reached set:             8601
  Number of partitions:          6917
    Avg size of partitions:      1
    Max size of partitions:      52 (with key [{main=N2632 (entry of function mdb_env_map in lines 3299-3342) Function mdb_env_map called from node N2694, stack depth 3 [19705a91], stack [main, mdb_env_set_mapsize, mdb_env_map] @@ 0}])
  Number of target states:       0
  Size of final wait list:       239

Time for analysis setup:          4.155s
  Time for loading CPAs:          0.807s
  Time for loading parser:        0.141s
  Time for CFA construction:      3.178s
    Time for parsing file(s):     0.344s
    Time for AST to CFA:          0.573s
    Time for CFA sanity check:    0.000s
    Time for post-processing:     2.142s
    Time for loop structure:      0.211s
    Time for AST structure:       0.000s
      Time for function pointers resolving:            0.015s
        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.236s
        Time for collecting variables:                 0.874s
        Time for solving dependencies:                 0.029s
        Time for building hierarchy:                   0.008s
        Time for building classification:              0.321s
        Time for exporting data:                       0.000s
Time for Analysis:               23.096s
CPU time for analysis:           33.090s
Total time for CPAchecker:       27.252s
Total CPU time for CPAchecker:   46.770s
Time for statistics:              0.092s

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