java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/AbstractInterpretationInline.xml -s ../../../trunk/examples/settings/ai/array-bench/reach_32bit_compound_exp_cong.epf -i ../../../trunk/examples/programs/abstractInterpretation/regression/open/eq/42_basic_memleak_twomallocs_twofrees.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-b8c145f [2019-08-05 12:18:53,581 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-08-05 12:18:53,583 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-08-05 12:18:53,596 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-08-05 12:18:53,596 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-08-05 12:18:53,597 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-08-05 12:18:53,599 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-08-05 12:18:53,601 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-08-05 12:18:53,603 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-08-05 12:18:53,604 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-08-05 12:18:53,605 INFO L181 SettingsManager]: Resetting Symbolic Interpretation preferences to default values [2019-08-05 12:18:53,605 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-08-05 12:18:53,606 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-08-05 12:18:53,607 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-08-05 12:18:53,608 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-08-05 12:18:53,609 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-08-05 12:18:53,610 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-08-05 12:18:53,611 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-08-05 12:18:53,613 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-08-05 12:18:53,615 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-08-05 12:18:53,617 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-08-05 12:18:53,619 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-08-05 12:18:53,620 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-08-05 12:18:53,621 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-08-05 12:18:53,624 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-08-05 12:18:53,624 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-08-05 12:18:53,625 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-08-05 12:18:53,626 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-08-05 12:18:53,626 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-08-05 12:18:53,627 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-08-05 12:18:53,628 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-08-05 12:18:53,629 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-08-05 12:18:53,629 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-08-05 12:18:53,630 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-08-05 12:18:53,631 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-08-05 12:18:53,632 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-08-05 12:18:53,632 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-08-05 12:18:53,633 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-08-05 12:18:53,633 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-08-05 12:18:53,634 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-08-05 12:18:53,635 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-08-05 12:18:53,635 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/array-bench/reach_32bit_compound_exp_cong.epf [2019-08-05 12:18:53,649 INFO L113 SettingsManager]: Loading preferences was successful [2019-08-05 12:18:53,649 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-08-05 12:18:53,650 INFO L136 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2019-08-05 12:18:53,651 INFO L138 SettingsManager]: * Show backtranslation warnings=false [2019-08-05 12:18:53,651 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-08-05 12:18:53,651 INFO L138 SettingsManager]: * User list type=DISABLED [2019-08-05 12:18:53,651 INFO L138 SettingsManager]: * Inline calls to unimplemented procedures=true [2019-08-05 12:18:53,651 INFO L136 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-08-05 12:18:53,652 INFO L138 SettingsManager]: * Explicit value domain=true [2019-08-05 12:18:53,652 INFO L138 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-08-05 12:18:53,652 INFO L138 SettingsManager]: * Octagon Domain=false [2019-08-05 12:18:53,652 INFO L138 SettingsManager]: * Abstract domain=CompoundDomain [2019-08-05 12:18:53,652 INFO L138 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-08-05 12:18:53,653 INFO L138 SettingsManager]: * Interval Domain=false [2019-08-05 12:18:53,654 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-08-05 12:18:53,655 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-08-05 12:18:53,655 INFO L138 SettingsManager]: * Use SBE=true [2019-08-05 12:18:53,655 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-08-05 12:18:53,655 INFO L138 SettingsManager]: * sizeof long=4 [2019-08-05 12:18:53,656 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-08-05 12:18:53,656 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-08-05 12:18:53,657 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-08-05 12:18:53,657 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2019-08-05 12:18:53,657 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-08-05 12:18:53,657 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2019-08-05 12:18:53,657 INFO L138 SettingsManager]: * sizeof long double=12 [2019-08-05 12:18:53,658 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-08-05 12:18:53,658 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2019-08-05 12:18:53,658 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-08-05 12:18:53,658 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-08-05 12:18:53,658 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2019-08-05 12:18:53,659 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-08-05 12:18:53,659 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-08-05 12:18:53,659 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-08-05 12:18:53,660 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2019-08-05 12:18:53,660 INFO L138 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-08-05 12:18:53,660 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-08-05 12:18:53,660 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2019-08-05 12:18:53,660 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2019-08-05 12:18:53,661 INFO L138 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2019-08-05 12:18:53,714 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-08-05 12:18:53,731 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-08-05 12:18:53,736 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-08-05 12:18:53,739 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-08-05 12:18:53,740 INFO L275 PluginConnector]: Boogie PL CUP Parser initialized [2019-08-05 12:18:53,741 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/abstractInterpretation/regression/open/eq/42_basic_memleak_twomallocs_twofrees.bpl [2019-08-05 12:18:53,741 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/abstractInterpretation/regression/open/eq/42_basic_memleak_twomallocs_twofrees.bpl' [2019-08-05 12:18:53,782 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-08-05 12:18:53,784 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-08-05 12:18:53,784 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-08-05 12:18:53,784 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-08-05 12:18:53,785 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-08-05 12:18:53,803 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:18:53" (1/1) ... [2019-08-05 12:18:53,815 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:18:53" (1/1) ... [2019-08-05 12:18:53,823 WARN L165 Inliner]: Program contained no entry procedure! [2019-08-05 12:18:53,823 WARN L168 Inliner]: Missing entry procedures: [ULTIMATE.start] [2019-08-05 12:18:53,824 WARN L175 Inliner]: Fallback enabled. All procedures will be processed. [2019-08-05 12:18:53,841 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-08-05 12:18:53,842 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-08-05 12:18:53,842 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-08-05 12:18:53,842 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-08-05 12:18:53,854 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:18:53" (1/1) ... [2019-08-05 12:18:53,854 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:18:53" (1/1) ... [2019-08-05 12:18:53,855 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:18:53" (1/1) ... [2019-08-05 12:18:53,856 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:18:53" (1/1) ... [2019-08-05 12:18:53,858 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:18:53" (1/1) ... [2019-08-05 12:18:53,859 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:18:53" (1/1) ... [2019-08-05 12:18:53,861 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:18:53" (1/1) ... [2019-08-05 12:18:53,862 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-08-05 12:18:53,863 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-08-05 12:18:53,863 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-08-05 12:18:53,863 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-08-05 12:18:53,865 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:18:53" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-08-05 12:18:53,940 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2019-08-05 12:18:53,941 INFO L130 BoogieDeclarations]: Found specification of procedure main [2019-08-05 12:18:53,941 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2019-08-05 12:18:53,941 INFO L130 BoogieDeclarations]: Found specification of procedure freemem [2019-08-05 12:18:54,151 INFO L275 CfgBuilder]: Using library mode [2019-08-05 12:18:54,151 INFO L283 CfgBuilder]: Removed 8 assume(true) statements. [2019-08-05 12:18:54,152 INFO L202 PluginConnector]: Adding new model 42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:18:54 BoogieIcfgContainer [2019-08-05 12:18:54,152 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-08-05 12:18:54,153 INFO L113 PluginConnector]: ------------------------Abstract Interpretation---------------------------- [2019-08-05 12:18:54,153 INFO L271 PluginConnector]: Initializing Abstract Interpretation... [2019-08-05 12:18:54,154 INFO L275 PluginConnector]: Abstract Interpretation initialized [2019-08-05 12:18:54,156 INFO L185 PluginConnector]: Executing the observer AbstractInterpretationRcfgObserver from plugin Abstract Interpretation for "42_basic_memleak_twomallocs_twofrees.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:18:54" (1/1) ... [2019-08-05 12:18:54,195 INFO L101 FixpointEngine]: Starting fixpoint engine with domain CompoundDomain (maxUnwinding=3, maxParallelStates=2) [2019-08-05 12:18:54,270 INFO L263 AbstractInterpreter]: Some error location(s) were reachable [2019-08-05 12:18:54,292 INFO L272 AbstractInterpreter]: Visited 4 different actions 4 times. Never merged. Never widened. Performed 34 root evaluator evaluations with a maximum evaluation depth of 2. Performed 34 inverse root evaluator evaluations with a maximum inverse evaluation depth of 2. Never found a fixpoint. Largest state had 0 variables. [2019-08-05 12:18:54,292 INFO L132 PluginConnector]: ------------------------ END Abstract Interpretation---------------------------- [2019-08-05 12:18:54,296 INFO L168 Benchmark]: Toolchain (without parser) took 511.11 ms. Allocated memory is still 140.5 MB. Free memory was 106.5 MB in the beginning and 88.6 MB in the end (delta: 17.9 MB). Peak memory consumption was 17.9 MB. Max. memory is 7.1 GB. [2019-08-05 12:18:54,300 INFO L168 Benchmark]: Boogie PL CUP Parser took 0.24 ms. Allocated memory is still 140.5 MB. Free memory was 107.7 MB in the beginning and 107.5 MB in the end (delta: 209.7 kB). Peak memory consumption was 209.7 kB. Max. memory is 7.1 GB. [2019-08-05 12:18:54,301 INFO L168 Benchmark]: Boogie Procedure Inliner took 57.16 ms. Allocated memory is still 140.5 MB. Free memory was 106.5 MB in the beginning and 104.2 MB in the end (delta: 2.4 MB). Peak memory consumption was 2.4 MB. Max. memory is 7.1 GB. [2019-08-05 12:18:54,302 INFO L168 Benchmark]: Boogie Preprocessor took 20.68 ms. Allocated memory is still 140.5 MB. Free memory was 104.2 MB in the beginning and 103.1 MB in the end (delta: 1.0 MB). Peak memory consumption was 1.0 MB. Max. memory is 7.1 GB. [2019-08-05 12:18:54,304 INFO L168 Benchmark]: RCFGBuilder took 289.50 ms. Allocated memory is still 140.5 MB. Free memory was 102.9 MB in the beginning and 94.0 MB in the end (delta: 8.9 MB). Peak memory consumption was 8.9 MB. Max. memory is 7.1 GB. [2019-08-05 12:18:54,305 INFO L168 Benchmark]: Abstract Interpretation took 139.37 ms. Allocated memory is still 140.5 MB. Free memory was 94.0 MB in the beginning and 88.6 MB in the end (delta: 5.4 MB). Peak memory consumption was 5.4 MB. Max. memory is 7.1 GB. [2019-08-05 12:18:54,313 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Boogie PL CUP Parser took 0.24 ms. Allocated memory is still 140.5 MB. Free memory was 107.7 MB in the beginning and 107.5 MB in the end (delta: 209.7 kB). Peak memory consumption was 209.7 kB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 57.16 ms. Allocated memory is still 140.5 MB. Free memory was 106.5 MB in the beginning and 104.2 MB in the end (delta: 2.4 MB). Peak memory consumption was 2.4 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 20.68 ms. Allocated memory is still 140.5 MB. Free memory was 104.2 MB in the beginning and 103.1 MB in the end (delta: 1.0 MB). Peak memory consumption was 1.0 MB. Max. memory is 7.1 GB. * RCFGBuilder took 289.50 ms. Allocated memory is still 140.5 MB. Free memory was 102.9 MB in the beginning and 94.0 MB in the end (delta: 8.9 MB). Peak memory consumption was 8.9 MB. Max. memory is 7.1 GB. * Abstract Interpretation took 139.37 ms. Allocated memory is still 140.5 MB. Free memory was 94.0 MB in the beginning and 88.6 MB in the end (delta: 5.4 MB). Peak memory consumption was 5.4 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2: - UnprovableResult [Line: 24]: Unable to prove that assertion always holds Unable to prove that assertion always holds Reason: abstract domain could reach this error location. Possible FailurePath: [L16] old_valid := valid; [L27-L28] modifies valid; [L27-L29] ensures old(valid)[res] == false; [L27-L30] ensures valid == old(valid)[res := true]; [L27-L28] modifies valid; [L27-L29] ensures old(valid)[res] == false; [L27-L30] ensures valid == old(valid)[res := true]; [L32-L33] modifies valid; [L32-L34] ensures valid == old(valid)[p := false]; [L32-L33] modifies valid; [L32-L34] ensures valid == old(valid)[p := false]; [L24] assert valid == old_valid; RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request...