java -ea -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/AutomizerBplInline.xml -s ../../../trunk/examples/settings/ai/array-bench/reach_32bit_array_oct.epf -i ../../../trunk/examples/programs/heapseparator/speedup-poc-dd-5-limited.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-a9d37a5-m [2019-02-28 13:48:14,712 INFO L170 SettingsManager]: Resetting all preferences to default values... [2019-02-28 13:48:14,715 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2019-02-28 13:48:14,727 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-02-28 13:48:14,727 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-02-28 13:48:14,728 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-02-28 13:48:14,730 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-02-28 13:48:14,731 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2019-02-28 13:48:14,733 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-02-28 13:48:14,734 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-02-28 13:48:14,735 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-02-28 13:48:14,735 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-02-28 13:48:14,736 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-02-28 13:48:14,737 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-02-28 13:48:14,738 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-02-28 13:48:14,739 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-02-28 13:48:14,739 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-02-28 13:48:14,743 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-02-28 13:48:14,745 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2019-02-28 13:48:14,747 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-02-28 13:48:14,748 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-02-28 13:48:14,749 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-02-28 13:48:14,752 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-02-28 13:48:14,752 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-02-28 13:48:14,752 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-02-28 13:48:14,753 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-02-28 13:48:14,754 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-02-28 13:48:14,755 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-02-28 13:48:14,756 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2019-02-28 13:48:14,757 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-02-28 13:48:14,757 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2019-02-28 13:48:14,758 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-02-28 13:48:14,758 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-02-28 13:48:14,758 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2019-02-28 13:48:14,759 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2019-02-28 13:48:14,760 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2019-02-28 13:48:14,760 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/array-bench/reach_32bit_array_oct.epf [2019-02-28 13:48:14,779 INFO L110 SettingsManager]: Loading preferences was successful [2019-02-28 13:48:14,779 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2019-02-28 13:48:14,782 INFO L131 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2019-02-28 13:48:14,782 INFO L133 SettingsManager]: * Show backtranslation warnings=false [2019-02-28 13:48:14,782 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-02-28 13:48:14,783 INFO L133 SettingsManager]: * User list type=DISABLED [2019-02-28 13:48:14,783 INFO L133 SettingsManager]: * Inline calls to unimplemented procedures=true [2019-02-28 13:48:14,783 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-02-28 13:48:14,783 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-02-28 13:48:14,783 INFO L133 SettingsManager]: * Underlying domain=OctagonDomain [2019-02-28 13:48:14,784 INFO L133 SettingsManager]: * Abstract domain=ArrayDomain [2019-02-28 13:48:14,787 INFO L133 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-02-28 13:48:14,787 INFO L133 SettingsManager]: * Interval Domain=false [2019-02-28 13:48:14,788 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-02-28 13:48:14,788 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2019-02-28 13:48:14,788 INFO L133 SettingsManager]: * Use SBE=true [2019-02-28 13:48:14,788 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-02-28 13:48:14,789 INFO L133 SettingsManager]: * sizeof long=4 [2019-02-28 13:48:14,790 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2019-02-28 13:48:14,791 INFO L133 SettingsManager]: * sizeof POINTER=4 [2019-02-28 13:48:14,791 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2019-02-28 13:48:14,791 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2019-02-28 13:48:14,791 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-02-28 13:48:14,791 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2019-02-28 13:48:14,792 INFO L133 SettingsManager]: * sizeof long double=12 [2019-02-28 13:48:14,792 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2019-02-28 13:48:14,792 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2019-02-28 13:48:14,792 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-02-28 13:48:14,793 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-02-28 13:48:14,793 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2019-02-28 13:48:14,793 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:16092 -smt2 -in -t:200000 [2019-02-28 13:48:14,793 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-02-28 13:48:14,793 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-02-28 13:48:14,794 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2019-02-28 13:48:14,794 INFO L133 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-02-28 13:48:14,794 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-02-28 13:48:14,795 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:16092 -smt2 -in [2019-02-28 13:48:14,795 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2019-02-28 13:48:14,795 INFO L133 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2019-02-28 13:48:14,833 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-02-28 13:48:14,843 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-02-28 13:48:14,846 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-02-28 13:48:14,847 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-02-28 13:48:14,848 INFO L276 PluginConnector]: Boogie PL CUP Parser initialized [2019-02-28 13:48:14,849 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/heapseparator/speedup-poc-dd-5-limited.bpl [2019-02-28 13:48:14,849 INFO L111 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/heapseparator/speedup-poc-dd-5-limited.bpl' [2019-02-28 13:48:14,888 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-02-28 13:48:14,889 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-02-28 13:48:14,890 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-02-28 13:48:14,890 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-02-28 13:48:14,890 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2019-02-28 13:48:14,906 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (1/1) ... [2019-02-28 13:48:14,918 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (1/1) ... [2019-02-28 13:48:14,945 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-02-28 13:48:14,946 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-02-28 13:48:14,946 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-02-28 13:48:14,946 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2019-02-28 13:48:14,957 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (1/1) ... [2019-02-28 13:48:14,957 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (1/1) ... [2019-02-28 13:48:14,959 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (1/1) ... [2019-02-28 13:48:14,959 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (1/1) ... [2019-02-28 13:48:14,963 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (1/1) ... [2019-02-28 13:48:14,967 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (1/1) ... [2019-02-28 13:48:14,968 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (1/1) ... [2019-02-28 13:48:14,970 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-02-28 13:48:14,970 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-02-28 13:48:14,970 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-02-28 13:48:14,970 INFO L276 PluginConnector]: RCFGBuilder initialized [2019-02-28 13:48:14,971 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (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:16092 -smt2 -in -t:200000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:16092 -smt2 -in -t:200000 [2019-02-28 13:48:15,035 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-02-28 13:48:15,035 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-02-28 13:48:15,670 INFO L281 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-02-28 13:48:15,672 INFO L286 CfgBuilder]: Removed 13 assue(true) statements. [2019-02-28 13:48:15,675 INFO L202 PluginConnector]: Adding new model speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.02 01:48:15 BoogieIcfgContainer [2019-02-28 13:48:15,675 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-02-28 13:48:15,676 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2019-02-28 13:48:15,676 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2019-02-28 13:48:15,679 INFO L276 PluginConnector]: TraceAbstraction initialized [2019-02-28 13:48:15,679 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 28.02 01:48:14" (1/2) ... [2019-02-28 13:48:15,680 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7f6f8096 and model type speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.02 01:48:15, skipping insertion in model container [2019-02-28 13:48:15,681 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "speedup-poc-dd-5-limited.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.02 01:48:15" (2/2) ... [2019-02-28 13:48:15,683 INFO L112 eAbstractionObserver]: Analyzing ICFG speedup-poc-dd-5-limited.bpl [2019-02-28 13:48:15,693 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2019-02-28 13:48:15,700 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 5 error locations. [2019-02-28 13:48:15,711 INFO L257 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2019-02-28 13:48:15,740 INFO L382 AbstractCegarLoop]: Interprodecural is true [2019-02-28 13:48:15,741 INFO L383 AbstractCegarLoop]: Hoare is true [2019-02-28 13:48:15,741 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2019-02-28 13:48:15,741 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2019-02-28 13:48:15,741 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-02-28 13:48:15,741 INFO L387 AbstractCegarLoop]: Difference is false [2019-02-28 13:48:15,741 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-02-28 13:48:15,742 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2019-02-28 13:48:15,757 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states. [2019-02-28 13:48:15,762 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2019-02-28 13:48:15,763 INFO L394 BasicCegarLoop]: Found error trace [2019-02-28 13:48:15,764 INFO L402 BasicCegarLoop]: trace histogram [1, 1] [2019-02-28 13:48:15,766 INFO L423 AbstractCegarLoop]: === Iteration 1 === [ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT, ULTIMATE.startErr4ASSERT_VIOLATIONASSERT]=== [2019-02-28 13:48:15,772 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:48:15,773 INFO L82 PathProgramCache]: Analyzing trace with hash 984, now seen corresponding path program 1 times [2019-02-28 13:48:15,775 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-28 13:48:15,819 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:48:15,819 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-28 13:48:15,819 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:48:15,820 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-28 13:48:15,872 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-28 13:48:15,993 INFO L273 TraceCheckUtils]: 0: Hoare triple {16#true} havoc main_p1, main_p2, main_p3, main_p4, main_p5;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p1 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p2 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p3 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p4 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p5 := malloc_ptr;assume main_p1 < main_p2;assume main_p2 < main_p3;assume main_p3 < main_p4;assume main_p4 < main_p5;#memory_int := #memory_int[main_p1 := 0];#memory_int := #memory_int[main_p2 := 0];#memory_int := #memory_int[main_p3 := 0];#memory_int := #memory_int[main_p4 := 0];#memory_int := #memory_int[main_p5 := 0]; {18#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} is VALID [2019-02-28 13:48:16,011 INFO L273 TraceCheckUtils]: 1: Hoare triple {18#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} assume !(#memory_int[main_p1] >= 0); {17#false} is VALID [2019-02-28 13:48:16,013 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-02-28 13:48:16,015 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-02-28 13:48:16,016 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2019-02-28 13:48:16,016 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-28 13:48:16,021 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 2 [2019-02-28 13:48:16,023 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-28 13:48:16,025 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-28 13:48:16,041 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 2 edges. 2 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-28 13:48:16,041 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-28 13:48:16,048 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-28 13:48:16,049 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:48:16,051 INFO L87 Difference]: Start difference. First operand 13 states. Second operand 3 states. [2019-02-28 13:48:16,449 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:48:16,450 INFO L93 Difference]: Finished difference Result 25 states and 33 transitions. [2019-02-28 13:48:16,450 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-28 13:48:16,450 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 2 [2019-02-28 13:48:16,450 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-28 13:48:16,451 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:48:16,455 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 33 transitions. [2019-02-28 13:48:16,455 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:48:16,458 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 33 transitions. [2019-02-28 13:48:16,458 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 33 transitions. [2019-02-28 13:48:16,646 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 33 edges. 33 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-28 13:48:16,657 INFO L225 Difference]: With dead ends: 25 [2019-02-28 13:48:16,657 INFO L226 Difference]: Without dead ends: 20 [2019-02-28 13:48:16,660 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:48:16,679 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 20 states. [2019-02-28 13:48:16,731 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 20 to 12. [2019-02-28 13:48:16,732 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-28 13:48:16,732 INFO L82 GeneralOperation]: Start isEquivalent. First operand 20 states. Second operand 12 states. [2019-02-28 13:48:16,733 INFO L74 IsIncluded]: Start isIncluded. First operand 20 states. Second operand 12 states. [2019-02-28 13:48:16,733 INFO L87 Difference]: Start difference. First operand 20 states. Second operand 12 states. [2019-02-28 13:48:16,738 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:48:16,738 INFO L93 Difference]: Finished difference Result 20 states and 28 transitions. [2019-02-28 13:48:16,738 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 28 transitions. [2019-02-28 13:48:16,739 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:48:16,739 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:48:16,739 INFO L74 IsIncluded]: Start isIncluded. First operand 12 states. Second operand 20 states. [2019-02-28 13:48:16,739 INFO L87 Difference]: Start difference. First operand 12 states. Second operand 20 states. [2019-02-28 13:48:16,742 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:48:16,743 INFO L93 Difference]: Finished difference Result 20 states and 28 transitions. [2019-02-28 13:48:16,743 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 28 transitions. [2019-02-28 13:48:16,743 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:48:16,743 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:48:16,744 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-28 13:48:16,744 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-28 13:48:16,744 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2019-02-28 13:48:16,746 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 21 transitions. [2019-02-28 13:48:16,748 INFO L78 Accepts]: Start accepts. Automaton has 12 states and 21 transitions. Word has length 2 [2019-02-28 13:48:16,748 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-28 13:48:16,748 INFO L480 AbstractCegarLoop]: Abstraction has 12 states and 21 transitions. [2019-02-28 13:48:16,748 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-28 13:48:16,749 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 21 transitions. [2019-02-28 13:48:16,749 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-02-28 13:48:16,749 INFO L394 BasicCegarLoop]: Found error trace [2019-02-28 13:48:16,749 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-02-28 13:48:16,750 INFO L423 AbstractCegarLoop]: === Iteration 2 === [ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT, ULTIMATE.startErr4ASSERT_VIOLATIONASSERT]=== [2019-02-28 13:48:16,750 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:48:16,750 INFO L82 PathProgramCache]: Analyzing trace with hash 30372, now seen corresponding path program 1 times [2019-02-28 13:48:16,751 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-28 13:48:16,752 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:48:16,752 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-28 13:48:16,752 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:48:16,752 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-28 13:48:16,787 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-28 13:48:17,168 WARN L181 SmtUtils]: Spent 140.00 ms on a formula simplification. DAG size of input: 19 DAG size of output: 13 [2019-02-28 13:48:17,226 INFO L273 TraceCheckUtils]: 0: Hoare triple {102#true} havoc main_p1, main_p2, main_p3, main_p4, main_p5;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p1 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p2 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p3 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p4 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p5 := malloc_ptr;assume main_p1 < main_p2;assume main_p2 < main_p3;assume main_p3 < main_p4;assume main_p4 < main_p5;#memory_int := #memory_int[main_p1 := 0];#memory_int := #memory_int[main_p2 := 0];#memory_int := #memory_int[main_p3 := 0];#memory_int := #memory_int[main_p4 := 0];#memory_int := #memory_int[main_p5 := 0]; {104#(and (= 0 (select (store |#memory_int| ULTIMATE.start_main_p4 (+ (select |#memory_int| ULTIMATE.start_main_p4) (- 1))) ULTIMATE.start_main_p1)) (not (= ULTIMATE.start_main_p1 ULTIMATE.start_main_p4)))} is VALID [2019-02-28 13:48:17,227 INFO L273 TraceCheckUtils]: 1: Hoare triple {104#(and (= 0 (select (store |#memory_int| ULTIMATE.start_main_p4 (+ (select |#memory_int| ULTIMATE.start_main_p4) (- 1))) ULTIMATE.start_main_p1)) (not (= ULTIMATE.start_main_p1 ULTIMATE.start_main_p4)))} #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; {105#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} is VALID [2019-02-28 13:48:17,240 INFO L273 TraceCheckUtils]: 2: Hoare triple {105#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} assume !(#memory_int[main_p1] >= 0); {103#false} is VALID [2019-02-28 13:48:17,241 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-02-28 13:48:17,241 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-28 13:48:17,241 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-28 13:48:17,243 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 4 with the following transitions: [2019-02-28 13:48:17,245 INFO L207 CegarAbsIntRunner]: [0], [18], [23] [2019-02-28 13:48:17,315 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-28 13:48:17,316 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-28 13:55:22,582 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-28 13:55:22,583 INFO L272 AbstractInterpreter]: Visited 3 different actions 13 times. Merged at 1 different actions 5 times. Widened at 1 different actions 1 times. Found 1 fixpoints after 1 different actions. Largest state had 0 variables. [2019-02-28 13:55:22,588 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:55:22,589 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-28 13:55:32,313 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-28 13:55:49,858 INFO L420 sIntCurrentIteration]: We unified 2 AI predicates to 2 [2019-02-28 13:55:59,759 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-28 13:55:59,760 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-28 13:55:59,760 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [2] total 3 [2019-02-28 13:55:59,761 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-28 13:55:59,763 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-28 13:55:59,764 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-28 13:55:59,764 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-28 13:56:06,414 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 3 edges. 3 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-28 13:56:06,414 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-28 13:56:06,415 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-28 13:56:06,415 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:56:06,415 INFO L87 Difference]: Start difference. First operand 12 states and 21 transitions. Second operand 3 states. [2019-02-28 13:56:10,816 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:56:10,817 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:56:10,818 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:56:10,819 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:56:10,820 WARN L224 ngHoareTripleChecker]: Pre: {126#(forall ((v_idx_1016 Int) (v_idx_1024 Int) (v_idx_1012 Int) (v_idx_1022 Int) (v_idx_1020 Int) (v_idx_1009 Int) (v_idx_1018 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1024) (= (select |c_#memory_int| v_idx_1024) 0) (< v_idx_1024 c_ULTIMATE.start_main_p5)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (= 0 (select |c_#memory_int| v_idx_1018)) (< v_idx_1018 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1018)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_1009 c_ULTIMATE.start_main_p5) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1009)) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1009)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1016) (< v_idx_1016 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_1016))) (or (< v_idx_1012 c_ULTIMATE.start_main_p5) (= 1 (select |c_#valid| v_idx_1012)) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1012)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (< v_idx_1022 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_1022)) 0) (<= (select |c_#memory_int| v_idx_1022) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1022)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (or (< v_idx_1020 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1020) (= (select |c_#memory_int| v_idx_1020) 0)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:56:10,820 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:56:10,821 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:56:10,821 WARN L230 ngHoareTripleChecker]: Post: {127#false} [2019-02-28 13:56:10,821 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:56:12,829 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:56:12,830 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:56:13,201 WARN L270 ngHoareTripleChecker]: Pre: {126#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_1020 Int)) (or (< v_idx_1020 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1020) (= (select |#memory_int| v_idx_1020) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (forall ((v_idx_1009 Int)) (or (< v_idx_1009 ULTIMATE.start_main_p5) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1009)) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1009))) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (forall ((v_idx_1022 Int)) (or (< v_idx_1022 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_idx_1022)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1022))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_1012 Int)) (or (< v_idx_1012 ULTIMATE.start_main_p5) (= 1 (select |#valid| v_idx_1012)) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1012))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_1018 Int)) (or (= 0 (select |#memory_int| v_idx_1018)) (< v_idx_1018 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1018))) (forall ((v_idx_1016 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1016) (< v_idx_1016 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_1016)))) (forall ((v_prenex_1 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_1) (< v_prenex_1 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_1) 0))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_idx_1024 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1024) (= (select |#memory_int| v_idx_1024) 0) (< v_idx_1024 ULTIMATE.start_main_p5))) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:56:13,202 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:56:13,203 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:56:13,207 WARN L276 ngHoareTripleChecker]: Post: {127#false} [2019-02-28 13:56:13,208 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:56:13,208 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:56:13,211 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], [old(#memory_int)] -> [-inf_0] v_2828 [inf_0], [old(#valid)] -> [-inf_0] v_2827 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 32 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:56:13,211 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) (#memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1];) [2019-02-28 13:56:13,212 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:56:13,212 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:56:24,018 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:56:24,019 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:56:24,019 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:56:24,020 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:56:24,020 WARN L224 ngHoareTripleChecker]: Pre: {130#(forall ((v_idx_1037 Int) (v_idx_1035 Int) (v_idx_1043 Int) (v_idx_1031 Int) (v_idx_1041 Int) (v_idx_1039 Int) (v_idx_1028 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1031) (< v_idx_1031 c_ULTIMATE.start_main_p5) (= (select |c_#valid| v_idx_1031) 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (< v_idx_1037 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1037) (= 0 (select |c_#memory_int| v_idx_1037))) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (or (< v_idx_1043 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1043) (= (select |c_#memory_int| v_idx_1043) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1039) (< v_idx_1039 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_1039) 0)) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1028) 0) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1028) (< v_idx_1028 c_ULTIMATE.start_main_p5)) (or (< v_idx_1041 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_1041) 0) (<= (* 2 (select |c_#memory_int| v_idx_1041)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1041)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1035) (< v_idx_1035 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_1035))) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:56:24,020 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p5 := #memory_int[main_p5] + 1]; [2019-02-28 13:56:24,020 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p5 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p5) 1))) [2019-02-28 13:56:24,021 WARN L230 ngHoareTripleChecker]: Post: {131#false} [2019-02-28 13:56:24,021 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:56:25,527 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:56:25,528 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:56:26,160 WARN L270 ngHoareTripleChecker]: Pre: {130#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_1039 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_1039) (< v_idx_1039 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_1039) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1041 Int)) (or (<= (* 2 (select |#memory_int| v_idx_1041)) 0) (< v_idx_1041 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1041))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_1031 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1031) (< v_idx_1031 ULTIMATE.start_main_p5) (= (select |#valid| v_idx_1031) 1))) (forall ((v_idx_1037 Int)) (or (< v_idx_1037 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1037) (= 0 (select |#memory_int| v_idx_1037)))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1035 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1035) (< v_idx_1035 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_1035)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_1043 Int)) (or (< v_idx_1043 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1043) (= (select |#memory_int| v_idx_1043) 0))) (forall ((v_idx_1028 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1028) 0) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1028) (< v_idx_1028 ULTIMATE.start_main_p5))) (forall ((v_prenex_2 Int)) (or (<= (select |#memory_int| v_prenex_2) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_2) (< v_prenex_2 ULTIMATE.start_main_p4))))} [2019-02-28 13:56:26,160 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p5 := #memory_int[main_p5] + 1]; [2019-02-28 13:56:26,161 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p5 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p5) 1))) [2019-02-28 13:56:26,163 WARN L276 ngHoareTripleChecker]: Post: {131#false} [2019-02-28 13:56:26,163 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:56:26,163 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:56:26,166 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], [old(#memory_int)] -> [-inf_0] v_2833 [inf_0], [old(#valid)] -> [-inf_0] v_2832 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 32 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:56:26,166 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p5 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p5) 1))) (#memory_int := #memory_int[main_p5 := #memory_int[main_p5] + 1];) [2019-02-28 13:56:26,167 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:56:26,167 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:56:59,727 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:56:59,727 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:56:59,728 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:56:59,729 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:56:59,729 WARN L224 ngHoareTripleChecker]: Pre: {136#(forall ((v_idx_1158 Int) (v_idx_1166 Int) (v_idx_1154 Int) (v_idx_1164 Int) (v_idx_1162 Int) (v_idx_1151 Int) (v_idx_1160 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (or (< v_idx_1162 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_1162) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1162)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (< v_idx_1164 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1164) (and (<= (select |c_#memory_int| v_idx_1164) 0) (<= (* 2 (select |c_#memory_int| v_idx_1164)) 0))) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (or (< v_idx_1160 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_1160) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1160)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= (select |c_#memory_int| v_idx_1166) 0) (< v_idx_1166 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1166)) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (= (select |c_#valid| v_idx_1154) 1) (< v_idx_1154 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1154)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (or (< v_idx_1158 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_1158)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1158)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1151)) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1151) (< v_idx_1151 c_ULTIMATE.start_main_p5))))} [2019-02-28 13:56:59,729 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:56:59,729 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:56:59,729 WARN L230 ngHoareTripleChecker]: Post: {137#false} [2019-02-28 13:56:59,730 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:57:01,298 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:57:01,298 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:57:01,482 WARN L270 ngHoareTripleChecker]: Pre: {136#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1166 Int)) (or (= (select |#memory_int| v_idx_1166) 0) (< v_idx_1166 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1166))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (forall ((v_idx_1151 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1151)) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1151) (< v_idx_1151 ULTIMATE.start_main_p5))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_1160 Int)) (or (< v_idx_1160 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_1160) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1160))) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1154 Int)) (or (= (select |#valid| v_idx_1154) 1) (< v_idx_1154 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1154))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_1158 Int)) (or (< v_idx_1158 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_1158)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1158))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_prenex_3 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_3)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_3) (< v_prenex_3 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1164 Int)) (or (<= (select |#memory_int| v_idx_1164) 0) (< v_idx_1164 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1164))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_1162 Int)) (or (< v_idx_1162 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_1162) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1162))))} [2019-02-28 13:57:01,482 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:57:01,483 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:57:01,484 WARN L276 ngHoareTripleChecker]: Post: {137#false} [2019-02-28 13:57:01,484 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:57:01,485 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:57:01,486 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], [old(#memory_int)] -> [-inf_0] v_2877 [inf_0], [old(#valid)] -> [-inf_0] v_2876 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 32 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:57:01,487 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) (#memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1];) [2019-02-28 13:57:01,487 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:57:01,487 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:57:22,714 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:57:22,714 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:57:22,715 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:57:22,715 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:57:22,715 WARN L224 ngHoareTripleChecker]: Pre: {140#(forall ((v_idx_1289 Int) (v_idx_1277 Int) (v_idx_1287 Int) (v_idx_1285 Int) (v_idx_1274 Int) (v_idx_1283 Int) (v_idx_1281 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1285) (= 0 (select |c_#memory_int| v_idx_1285)) (< v_idx_1285 c_ULTIMATE.start_main_p3)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1281) (= (select |c_#memory_int| v_idx_1281) 0) (< v_idx_1281 c_ULTIMATE.start_main_p1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (and (<= (select |c_#memory_int| v_idx_1287) 0) (<= (* 2 (select |c_#memory_int| v_idx_1287)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1287) (< v_idx_1287 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1277) (< v_idx_1277 c_ULTIMATE.start_main_p5) (= (select |c_#valid| v_idx_1277) 1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_1289)) (< v_idx_1289 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1289)) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1274) (< v_idx_1274 c_ULTIMATE.start_main_p5) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1274))) (or (< v_idx_1283 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_1283)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1283)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:57:22,715 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:57:22,715 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:57:22,716 WARN L230 ngHoareTripleChecker]: Post: {141#false} [2019-02-28 13:57:22,716 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:57:24,512 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:57:24,513 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:57:24,684 WARN L270 ngHoareTripleChecker]: Pre: {140#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1281 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1281) (= (select |#memory_int| v_idx_1281) 0) (< v_idx_1281 ULTIMATE.start_main_p1))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (forall ((v_idx_1289 Int)) (or (= 0 (select |#memory_int| v_idx_1289)) (< v_idx_1289 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1289))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (forall ((v_prenex_4 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_4)) 0) (< v_prenex_4 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_4))) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1287 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1287) (<= (select |#memory_int| v_idx_1287) 0) (< v_idx_1287 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_1283 Int)) (or (< v_idx_1283 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_1283)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1283))) (forall ((v_idx_1274 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1274) (< v_idx_1274 ULTIMATE.start_main_p5) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1274)))) (forall ((v_idx_1277 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1277) (< v_idx_1277 ULTIMATE.start_main_p5) (= (select |#valid| v_idx_1277) 1))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1285 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_1285) (= 0 (select |#memory_int| v_idx_1285)) (< v_idx_1285 ULTIMATE.start_main_p3))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:57:24,685 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:57:24,685 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:57:24,686 WARN L276 ngHoareTripleChecker]: Post: {141#false} [2019-02-28 13:57:24,686 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:57:24,686 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:57:24,688 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], [old(#memory_int)] -> [-inf_0] v_2921 [inf_0], [old(#valid)] -> [-inf_0] v_2920 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 32 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:57:24,688 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-28 13:57:24,688 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:57:24,688 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:57:35,267 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:57:35,267 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:57:35,268 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:57:35,268 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:57:35,269 WARN L224 ngHoareTripleChecker]: Pre: {143#(forall ((v_idx_1302 Int) (v_idx_1300 Int) (v_idx_1296 Int) (v_idx_1293 Int) (v_idx_1308 Int) (v_idx_1306 Int) (v_idx_1304 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (< v_idx_1293 c_ULTIMATE.start_main_p5) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1293) 0) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1293)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1296) (< v_idx_1296 c_ULTIMATE.start_main_p5) (= 1 (select |c_#valid| v_idx_1296))) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (< v_idx_1306 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_1306) 0) (<= (* 2 (select |c_#memory_int| v_idx_1306)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1306)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1300) (= 0 (select |c_#memory_int| v_idx_1300)) (< v_idx_1300 c_ULTIMATE.start_main_p1)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_1308 c_ULTIMATE.start_main_p5) (= 0 (select |c_#memory_int| v_idx_1308)) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1308)) (or (< v_idx_1302 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_1302)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1302)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1304) (= 0 (select |c_#memory_int| v_idx_1304)) (< v_idx_1304 c_ULTIMATE.start_main_p3))))} [2019-02-28 13:57:35,269 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:57:35,269 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:57:35,269 WARN L230 ngHoareTripleChecker]: Post: {144#false} [2019-02-28 13:57:35,269 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:57:36,582 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:57:36,583 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:57:36,761 WARN L270 ngHoareTripleChecker]: Pre: {143#(and (forall ((v_idx_1293 Int)) (or (< v_idx_1293 ULTIMATE.start_main_p5) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1293) 0) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1293))) (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (forall ((v_idx_1308 Int)) (or (< v_idx_1308 ULTIMATE.start_main_p5) (= 0 (select |#memory_int| v_idx_1308)) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1308))) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (forall ((v_idx_1306 Int)) (or (<= (select |#memory_int| v_idx_1306) 0) (< v_idx_1306 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1306))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (forall ((v_idx_1302 Int)) (or (< v_idx_1302 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_1302)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1302))) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1300 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1300) (= 0 (select |#memory_int| v_idx_1300)) (< v_idx_1300 ULTIMATE.start_main_p1))) (forall ((v_prenex_5 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_5) (<= (* 2 (select |#memory_int| v_prenex_5)) 0) (< v_prenex_5 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_1296 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1296) (< v_idx_1296 ULTIMATE.start_main_p5) (= 1 (select |#valid| v_idx_1296)))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1304 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_1304) (= 0 (select |#memory_int| v_idx_1304)) (< v_idx_1304 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:57:36,762 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:57:36,762 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:57:36,764 WARN L276 ngHoareTripleChecker]: Post: {144#false} [2019-02-28 13:57:36,764 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:57:36,764 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:57:36,767 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], [old(#memory_int)] -> [-inf_0] v_2926 [inf_0], [old(#valid)] -> [-inf_0] v_2925 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 32 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:57:36,767 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) (#memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1];) [2019-02-28 13:57:36,767 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:57:36,768 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:58:13,534 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:58:13,535 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:58:13,535 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:58:13,535 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:58:13,535 WARN L224 ngHoareTripleChecker]: Pre: {147#(forall ((v_idx_1423 Int) (v_idx_1431 Int) (v_idx_1419 Int) (v_idx_1429 Int) (v_idx_1416 Int) (v_idx_1427 Int) (v_idx_1425 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1416) 0) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1416) (< v_idx_1416 c_ULTIMATE.start_main_p5)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1419) (< v_idx_1419 c_ULTIMATE.start_main_p5) (= (select |c_#valid| v_idx_1419) 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1425) (= 0 (select |c_#memory_int| v_idx_1425)) (< v_idx_1425 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_#memory_int| v_idx_1431)) (< v_idx_1431 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1431)) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1423) (= (select |c_#memory_int| v_idx_1423) 0) (< v_idx_1423 c_ULTIMATE.start_main_p1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_1429 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_1429)) 0) (<= (select |c_#memory_int| v_idx_1429) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1429)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (or (< v_idx_1427 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_1427)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1427)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:58:13,535 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:58:13,536 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:58:13,536 WARN L230 ngHoareTripleChecker]: Post: {148#false} [2019-02-28 13:58:13,536 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:58:14,882 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:58:14,882 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:58:15,052 WARN L270 ngHoareTripleChecker]: Pre: {147#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1427 Int)) (or (< v_idx_1427 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_1427)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1427))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_1431 Int)) (or (= 0 (select |#memory_int| v_idx_1431)) (< v_idx_1431 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1431))) (forall ((v_idx_1419 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1419) (< v_idx_1419 ULTIMATE.start_main_p5) (= (select |#valid| v_idx_1419) 1))) (forall ((v_idx_1416 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1416) 0) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1416) (< v_idx_1416 ULTIMATE.start_main_p5))) (forall ((v_idx_1429 Int)) (or (< v_idx_1429 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1429) (<= (* 2 (select |#memory_int| v_idx_1429)) 0))) (forall ((v_idx_1423 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1423) (= (select |#memory_int| v_idx_1423) 0) (< v_idx_1423 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_idx_1425 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_1425) (= 0 (select |#memory_int| v_idx_1425)) (< v_idx_1425 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (forall ((v_prenex_6 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_6) (< v_prenex_6 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_6) 0))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:58:15,053 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:58:15,053 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:58:15,056 WARN L276 ngHoareTripleChecker]: Post: {148#false} [2019-02-28 13:58:15,056 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:58:15,056 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:58:15,057 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], [old(#memory_int)] -> [-inf_0] v_2970 [inf_0], [old(#valid)] -> [-inf_0] v_2969 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 32 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:58:15,058 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) (#memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1];) [2019-02-28 13:58:15,058 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:58:15,058 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:58:27,662 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:58:27,663 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:58:27,663 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:58:27,663 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:58:27,663 WARN L224 ngHoareTripleChecker]: Pre: {152#true} [2019-02-28 13:58:27,664 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:58:27,664 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:58:27,664 WARN L230 ngHoareTripleChecker]: Post: {153#(forall ((v_idx_1588 Int) (v_idx_1598 Int) (v_idx_1596 Int) (v_idx_1594 Int) (v_idx_1591 Int) (v_idx_1602 Int) (v_idx_1600 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (or (= 0 (select |c_#memory_int| v_idx_1596)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1596) (< v_idx_1596 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (= (select |c_#memory_int| v_idx_1602) 0) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1602) (< v_idx_1602 c_ULTIMATE.start_main_p5)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1598) (< v_idx_1598 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_1598))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1588) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1588)) (< v_idx_1588 c_ULTIMATE.start_main_p5)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1594) (= 0 (select |c_#memory_int| v_idx_1594)) (< v_idx_1594 c_ULTIMATE.start_main_p1)) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1591) (< v_idx_1591 c_ULTIMATE.start_main_p5) (= (select |c_#valid| v_idx_1591) 1)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (or (and (<= (select |c_#memory_int| v_idx_1600) 0) (<= (* 2 (select |c_#memory_int| v_idx_1600)) 0)) (< v_idx_1600 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1600)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:58:27,664 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:58:27,665 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:58:27,665 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:58:27,671 WARN L270 ngHoareTripleChecker]: Pre: {152#true} [2019-02-28 13:58:27,671 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:58:27,671 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:58:27,769 WARN L276 ngHoareTripleChecker]: Post: {153#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_7 Int)) (or (< v_prenex_7 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_7) (<= (* 2 (select |#memory_int| v_prenex_7)) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1596 Int)) (or (= 0 (select |#memory_int| v_idx_1596)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1596) (< v_idx_1596 ULTIMATE.start_main_p2))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_1600 Int)) (or (< v_idx_1600 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1600) (<= (select |#memory_int| v_idx_1600) 0))) (forall ((v_idx_1591 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1591) (< v_idx_1591 ULTIMATE.start_main_p5) (= (select |#valid| v_idx_1591) 1))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_1602 Int)) (or (= (select |#memory_int| v_idx_1602) 0) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1602) (< v_idx_1602 ULTIMATE.start_main_p5))) (forall ((v_idx_1594 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1594) (= 0 (select |#memory_int| v_idx_1594)) (< v_idx_1594 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1598 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_1598) (< v_idx_1598 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_1598)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1588 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1588) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1588)) (< v_idx_1588 ULTIMATE.start_main_p5))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:58:27,769 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:58:27,770 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:58:27,770 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_3016 [inf_0], [#valid] -> [-inf_0] v_3014 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_3013 [inf_0], [old(#memory_int)] -> [-inf_0] v_3017 [inf_0], [old(#valid)] -> [-inf_0] v_3015 [inf_0], }, Substate: {11 vars top, }}} [2019-02-28 13:58:27,770 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) (#memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1];) [2019-02-28 13:58:27,772 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 30 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:58:27,772 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:58:30,483 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:58:30,484 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:58:30,486 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:58:30,487 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:58:30,487 WARN L224 ngHoareTripleChecker]: Pre: {157#true} [2019-02-28 13:58:30,487 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:58:30,487 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:58:30,487 WARN L230 ngHoareTripleChecker]: Post: {158#(forall ((v_idx_1720 Int) (v_idx_1730 Int) (v_idx_1728 Int) (v_idx_1726 Int) (v_idx_1723 Int) (v_idx_1734 Int) (v_idx_1732 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1720) 0) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1720) (< v_idx_1720 c_ULTIMATE.start_main_p5)) (or (< v_idx_1730 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_1730)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1730)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (or (< v_idx_1728 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1728) (= (select |c_#memory_int| v_idx_1728) 0)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1723) (< v_idx_1723 c_ULTIMATE.start_main_p5) (= 1 (select |c_#valid| v_idx_1723))) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1726) (= (select |c_#memory_int| v_idx_1726) 0) (< v_idx_1726 c_ULTIMATE.start_main_p1)) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (or (< v_idx_1732 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1732) (and (<= (select |c_#memory_int| v_idx_1732) 0) (<= (* 2 (select |c_#memory_int| v_idx_1732)) 0))) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1734) (= (select |c_#memory_int| v_idx_1734) 0) (< v_idx_1734 c_ULTIMATE.start_main_p5)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:58:30,487 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:58:30,488 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:58:30,488 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:58:30,489 WARN L270 ngHoareTripleChecker]: Pre: {157#true} [2019-02-28 13:58:30,489 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:58:30,489 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:58:30,592 WARN L276 ngHoareTripleChecker]: Post: {158#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1720 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1720) 0) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1720) (< v_idx_1720 ULTIMATE.start_main_p5))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_1723 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1723) (< v_idx_1723 ULTIMATE.start_main_p5) (= 1 (select |#valid| v_idx_1723)))) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_1732 Int)) (or (<= (select |#memory_int| v_idx_1732) 0) (< v_idx_1732 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1732))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_idx_1726 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1726) (= (select |#memory_int| v_idx_1726) 0) (< v_idx_1726 ULTIMATE.start_main_p1))) (forall ((v_prenex_8 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_8) (< v_prenex_8 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_8)) 0))) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (forall ((v_idx_1734 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1734) (= (select |#memory_int| v_idx_1734) 0) (< v_idx_1734 ULTIMATE.start_main_p5))) (forall ((v_idx_1728 Int)) (or (< v_idx_1728 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1728) (= (select |#memory_int| v_idx_1728) 0))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_1730 Int)) (or (< v_idx_1730 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_1730)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1730))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:58:30,592 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:58:30,593 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:58:30,593 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_3100 [inf_0], [#valid] -> [-inf_0] v_3098 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_3097 [inf_0], [old(#memory_int)] -> [-inf_0] v_3101 [inf_0], [old(#valid)] -> [-inf_0] v_3099 [inf_0], }, Substate: {11 vars top, }}} [2019-02-28 13:58:30,593 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-28 13:58:30,594 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 30 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:58:30,595 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:58:35,972 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:58:35,972 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:58:35,973 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:58:35,973 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:58:35,973 WARN L224 ngHoareTripleChecker]: Pre: {163#(forall ((v_idx_1763 Int) (v_idx_1771 Int) (v_idx_1759 Int) (v_idx_1769 Int) (v_idx_1756 Int) (v_idx_1767 Int) (v_idx_1765 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1756)) (< v_idx_1756 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1756)) (or (< v_idx_1763 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1763) (= (select |c_#memory_int| v_idx_1763) 0)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (or (= (select |c_#memory_int| v_idx_1771) 0) (< v_idx_1771 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1771)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1759) (= 1 (select |c_#valid| v_idx_1759)) (< v_idx_1759 c_ULTIMATE.start_main_p5)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_1767 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1767) (= (select |c_#memory_int| v_idx_1767) 0)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (= (select |c_#memory_int| v_idx_1765) 0) (< v_idx_1765 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1765)) (or (< v_idx_1769 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_1769)) 0) (<= (select |c_#memory_int| v_idx_1769) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1769)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:58:35,973 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:58:35,973 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:58:35,973 WARN L230 ngHoareTripleChecker]: Post: {164#false} [2019-02-28 13:58:35,974 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:58:37,877 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:58:37,877 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:58:38,059 WARN L270 ngHoareTripleChecker]: Pre: {163#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (forall ((v_idx_1765 Int)) (or (= (select |#memory_int| v_idx_1765) 0) (< v_idx_1765 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1765))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_1767 Int)) (or (< v_idx_1767 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1767) (= (select |#memory_int| v_idx_1767) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (forall ((v_idx_1769 Int)) (or (< v_idx_1769 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1769) (<= (select |#memory_int| v_idx_1769) 0))) (forall ((v_prenex_9 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_9)) 0) (< v_prenex_9 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_9))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_1759 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1759) (= 1 (select |#valid| v_idx_1759)) (< v_idx_1759 ULTIMATE.start_main_p5))) (forall ((v_idx_1771 Int)) (or (= (select |#memory_int| v_idx_1771) 0) (< v_idx_1771 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1771))) (forall ((v_idx_1756 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1756)) (< v_idx_1756 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1756))) (forall ((v_idx_1763 Int)) (or (< v_idx_1763 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1763) (= (select |#memory_int| v_idx_1763) 0))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:58:38,060 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:58:38,060 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:58:38,062 WARN L276 ngHoareTripleChecker]: Post: {164#false} [2019-02-28 13:58:38,062 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:58:38,062 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:58:38,064 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], [old(#memory_int)] -> [-inf_0] v_3145 [inf_0], [old(#valid)] -> [-inf_0] v_3144 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 32 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:58:38,065 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-28 13:58:38,065 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:58:38,065 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:58:46,103 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:58:46,103 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:58:46,103 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:58:46,103 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:58:46,103 WARN L224 ngHoareTripleChecker]: Pre: {166#true} [2019-02-28 13:58:46,104 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-28 13:58:46,104 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-28 13:58:46,104 WARN L230 ngHoareTripleChecker]: Post: {167#(forall ((v_idx_1830 Int) (v_idx_1838 Int) (v_idx_1827 Int) (v_idx_1836 Int) (v_idx_1824 Int) (v_idx_1834 Int) (v_idx_1832 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (< v_idx_1834 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1834) (= (select |c_#memory_int| v_idx_1834) 0)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (or (= (select |c_#memory_int| v_idx_1832) 0) (< v_idx_1832 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1832)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (or (and (<= (select |c_#memory_int| v_idx_1836) 0) (<= (* 2 (select |c_#memory_int| v_idx_1836)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1836) (< v_idx_1836 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_1824 c_ULTIMATE.start_main_p5) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1824)) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1824)) (or (< v_idx_1838 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1838) (= (select |c_#memory_int| v_idx_1838) 0)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (< v_idx_1830 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_1830) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1830)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (or (= (select |c_#valid| v_idx_1827) 1) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1827) (< v_idx_1827 c_ULTIMATE.start_main_p5)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:58:46,104 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:58:46,105 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:58:46,105 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:58:46,106 WARN L270 ngHoareTripleChecker]: Pre: {166#true} [2019-02-28 13:58:46,106 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-28 13:58:46,106 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-28 13:58:46,192 WARN L276 ngHoareTripleChecker]: Post: {167#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (forall ((v_idx_1838 Int)) (or (< v_idx_1838 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1838) (= (select |#memory_int| v_idx_1838) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1827 Int)) (or (= (select |#valid| v_idx_1827) 1) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1827) (< v_idx_1827 ULTIMATE.start_main_p5))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_prenex_10 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_10) (<= (select |#memory_int| v_prenex_10) 0) (< v_prenex_10 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_1824 Int)) (or (< v_idx_1824 ULTIMATE.start_main_p5) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1824)) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1824))) (forall ((v_idx_1830 Int)) (or (< v_idx_1830 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_1830) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1830))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (forall ((v_idx_1832 Int)) (or (= (select |#memory_int| v_idx_1832) 0) (< v_idx_1832 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1832))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (forall ((v_idx_1834 Int)) (or (< v_idx_1834 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1834) (= (select |#memory_int| v_idx_1834) 0))) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1836 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1836) (<= (* 2 (select |#memory_int| v_idx_1836)) 0) (< v_idx_1836 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:58:46,192 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:58:46,192 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:58:46,193 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_3152 [inf_0], [#valid] -> [-inf_0] v_3150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_3149 [inf_0], [old(#memory_int)] -> [-inf_0] v_3153 [inf_0], [old(#valid)] -> [-inf_0] v_3151 [inf_0], }, Substate: {11 vars top, }}} [2019-02-28 13:58:46,193 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) (assume !(#memory_int[main_p2] <= 0);) [2019-02-28 13:58:46,194 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 30 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:58:46,194 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:58:47,614 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:58:47,615 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:58:47,615 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:58:47,615 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:58:47,615 WARN L224 ngHoareTripleChecker]: Pre: {169#true} [2019-02-28 13:58:47,615 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:58:47,616 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:58:47,616 WARN L230 ngHoareTripleChecker]: Post: {170#(forall ((v_idx_1896 Int) (v_idx_1893 Int) (v_idx_1890 Int) (v_idx_1904 Int) (v_idx_1902 Int) (v_idx_1900 Int) (v_idx_1898 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_1896 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_1896)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1896)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (or (< v_idx_1890 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1890) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1890) 0)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (= 0 (select |c_#memory_int| v_idx_1900)) (< v_idx_1900 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1900)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1898) (< v_idx_1898 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_1898) 0)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (or (= 1 (select |c_#valid| v_idx_1893)) (< v_idx_1893 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1893)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1902) (< v_idx_1902 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_1902)) 0) (<= (select |c_#memory_int| v_idx_1902) 0))) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= (select |c_#memory_int| v_idx_1904) 0) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1904) (< v_idx_1904 c_ULTIMATE.start_main_p5))))} [2019-02-28 13:58:47,616 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:58:47,616 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:58:47,617 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:58:47,618 WARN L270 ngHoareTripleChecker]: Pre: {169#true} [2019-02-28 13:58:47,618 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:58:47,618 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:58:47,711 WARN L276 ngHoareTripleChecker]: Post: {170#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_1904 Int)) (or (= (select |#memory_int| v_idx_1904) 0) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1904) (< v_idx_1904 ULTIMATE.start_main_p5))) (forall ((v_idx_1893 Int)) (or (= 1 (select |#valid| v_idx_1893)) (< v_idx_1893 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1893))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1902 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1902) (< v_idx_1902 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_idx_1902)) 0))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_prenex_11 Int)) (or (<= (select |#memory_int| v_prenex_11) 0) (< v_prenex_11 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_11))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_idx_1898 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_1898) (< v_idx_1898 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_1898) 0))) (forall ((v_idx_1896 Int)) (or (< v_idx_1896 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_1896)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1896))) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_1890 Int)) (or (< v_idx_1890 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1890) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1890) 0))) (forall ((v_idx_1900 Int)) (or (= 0 (select |#memory_int| v_idx_1900)) (< v_idx_1900 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1900))))} [2019-02-28 13:58:47,711 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:58:47,712 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:58:47,712 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_3194 [inf_0], [#valid] -> [-inf_0] v_3192 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_3191 [inf_0], [old(#memory_int)] -> [-inf_0] v_3195 [inf_0], [old(#valid)] -> [-inf_0] v_3193 [inf_0], }, Substate: {11 vars top, }}} [2019-02-28 13:58:47,712 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-28 13:58:47,714 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 30 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:58:47,715 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:58:53,502 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:58:53,502 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:58:53,502 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:58:53,503 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:58:53,503 WARN L224 ngHoareTripleChecker]: Pre: {175#(forall ((v_idx_1929 Int) (v_idx_1939 Int) (v_idx_1937 Int) (v_idx_1926 Int) (v_idx_1935 Int) (v_idx_1933 Int) (v_idx_1941 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (or (< v_idx_1937 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1937) (= (select |c_#memory_int| v_idx_1937) 0)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (or (= 1 (select |c_#valid| v_idx_1929)) (< v_idx_1929 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1929)) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1939) (< v_idx_1939 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_1939)) 0) (<= (select |c_#memory_int| v_idx_1939) 0))) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (= (select |c_#memory_int| v_idx_1941) 0) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1941) (< v_idx_1941 c_ULTIMATE.start_main_p5)) (or (= (select |c_#memory_int| v_idx_1935) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1935) (< v_idx_1935 c_ULTIMATE.start_main_p2)) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1926) (< v_idx_1926 c_ULTIMATE.start_main_p5) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1926))) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (= (select |c_#memory_int| v_idx_1933) 0) (< v_idx_1933 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1933)) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:58:53,503 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:58:53,503 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:58:53,503 WARN L230 ngHoareTripleChecker]: Post: {176#false} [2019-02-28 13:58:53,503 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:58:54,856 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:58:54,856 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:58:55,038 WARN L270 ngHoareTripleChecker]: Pre: {175#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_1926 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1926) (< v_idx_1926 ULTIMATE.start_main_p5) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1926)))) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (forall ((v_idx_1929 Int)) (or (= 1 (select |#valid| v_idx_1929)) (< v_idx_1929 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1929))) (forall ((v_idx_1933 Int)) (or (= (select |#memory_int| v_idx_1933) 0) (< v_idx_1933 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1933))) (forall ((v_idx_1939 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1939) (<= (* 2 (select |#memory_int| v_idx_1939)) 0) (< v_idx_1939 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_prenex_12 Int)) (or (< v_prenex_12 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_12) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_12))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (forall ((v_idx_1937 Int)) (or (< v_idx_1937 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1937) (= (select |#memory_int| v_idx_1937) 0))) (forall ((v_idx_1935 Int)) (or (= (select |#memory_int| v_idx_1935) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1935) (< v_idx_1935 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_1941 Int)) (or (= (select |#memory_int| v_idx_1941) 0) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1941) (< v_idx_1941 ULTIMATE.start_main_p5))) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:58:55,038 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:58:55,038 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:58:55,040 WARN L276 ngHoareTripleChecker]: Post: {176#false} [2019-02-28 13:58:55,040 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:58:55,040 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:58:55,042 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], [old(#memory_int)] -> [-inf_0] v_3239 [inf_0], [old(#valid)] -> [-inf_0] v_3238 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 32 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:58:55,042 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-28 13:58:55,042 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:58:55,042 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:59:02,205 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:59:02,206 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:59:02,206 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:59:02,206 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:59:02,206 WARN L224 ngHoareTripleChecker]: Pre: {178#true} [2019-02-28 13:59:02,206 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-28 13:59:02,207 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-28 13:59:02,207 WARN L230 ngHoareTripleChecker]: Post: {179#(forall ((v_idx_2006 Int) (v_idx_1994 Int) (v_idx_2004 Int) (v_idx_2002 Int) (v_idx_2000 Int) (v_idx_1997 Int) (v_idx_2008 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (< v_idx_2004 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_2004) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2004)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (or (< v_idx_1997 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1997) (= (select |c_#valid| v_idx_1997) 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2000) (< v_idx_2000 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_2000))) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2002) (< v_idx_2002 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_2002) 0)) (or (and (<= (select |c_#memory_int| v_idx_2006) 0) (<= (* 2 (select |c_#memory_int| v_idx_2006)) 0)) (< v_idx_2006 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2006)) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2008) (< v_idx_2008 c_ULTIMATE.start_main_p5) (= 0 (select |c_#memory_int| v_idx_2008))) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1994)) (< v_idx_1994 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_1994)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:59:02,207 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:59:02,207 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:59:02,207 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:59:02,212 WARN L270 ngHoareTripleChecker]: Pre: {178#true} [2019-02-28 13:59:02,213 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-28 13:59:02,213 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-28 13:59:02,313 WARN L276 ngHoareTripleChecker]: Post: {179#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2006 Int)) (or (< v_idx_2006 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2006) (<= (* 2 (select |#memory_int| v_idx_2006)) 0))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (forall ((v_idx_2002 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_2002) (< v_idx_2002 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_2002) 0))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (forall ((v_idx_2004 Int)) (or (< v_idx_2004 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_2004) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_2004))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2008 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2008) (< v_idx_2008 ULTIMATE.start_main_p5) (= 0 (select |#memory_int| v_idx_2008)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_prenex_13 Int)) (or (< v_prenex_13 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_13) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_13))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_2000 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_2000) (< v_idx_2000 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_2000)))) (forall ((v_idx_1997 Int)) (or (< v_idx_1997 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1997) (= (select |#valid| v_idx_1997) 1))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1994 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1994)) (< v_idx_1994 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_1994))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:59:02,313 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:59:02,313 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:59:02,314 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_3246 [inf_0], [#valid] -> [-inf_0] v_3244 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_3243 [inf_0], [old(#memory_int)] -> [-inf_0] v_3247 [inf_0], [old(#valid)] -> [-inf_0] v_3245 [inf_0], }, Substate: {11 vars top, }}} [2019-02-28 13:59:02,314 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) (assume !(#memory_int[main_p3] >= 0);) [2019-02-28 13:59:02,316 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 30 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:59:02,316 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:59:03,939 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:59:03,939 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:59:03,940 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:59:03,940 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:59:03,941 WARN L224 ngHoareTripleChecker]: Pre: {181#true} [2019-02-28 13:59:03,941 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:59:03,941 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:59:03,941 WARN L230 ngHoareTripleChecker]: Post: {182#(forall ((v_idx_2068 Int) (v_idx_2066 Int) (v_idx_2074 Int) (v_idx_2063 Int) (v_idx_2072 Int) (v_idx_2060 Int) (v_idx_2070 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2066) (= (select |c_#memory_int| v_idx_2066) 0) (< v_idx_2066 c_ULTIMATE.start_main_p1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2068) (< v_idx_2068 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_2068))) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (and (<= (select |c_#memory_int| v_idx_2072) 0) (<= (* 2 (select |c_#memory_int| v_idx_2072)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2072) (< v_idx_2072 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (or (< v_idx_2060 c_ULTIMATE.start_main_p5) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2060) 0) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2060)) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (= (select |c_#memory_int| v_idx_2074) 0) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2074) (< v_idx_2074 c_ULTIMATE.start_main_p5)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2070) (< v_idx_2070 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_2070) 0)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2063) (< v_idx_2063 c_ULTIMATE.start_main_p5) (= (select |c_#valid| v_idx_2063) 1)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:59:03,942 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:59:03,942 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:59:03,942 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:59:03,943 WARN L270 ngHoareTripleChecker]: Pre: {181#true} [2019-02-28 13:59:03,943 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:59:03,943 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:59:04,037 WARN L276 ngHoareTripleChecker]: Post: {182#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (forall ((v_idx_2072 Int)) (or (<= (select |#memory_int| v_idx_2072) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2072) (< v_idx_2072 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_2070 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_2070) (< v_idx_2070 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_2070) 0))) (forall ((v_prenex_14 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_14) (<= (* 2 (select |#memory_int| v_prenex_14)) 0) (< v_prenex_14 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2074 Int)) (or (= (select |#memory_int| v_idx_2074) 0) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2074) (< v_idx_2074 ULTIMATE.start_main_p5))) (forall ((v_idx_2068 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_2068) (< v_idx_2068 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_2068)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_2066 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_2066) (= (select |#memory_int| v_idx_2066) 0) (< v_idx_2066 ULTIMATE.start_main_p1))) (forall ((v_idx_2060 Int)) (or (< v_idx_2060 ULTIMATE.start_main_p5) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_2060) 0) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2060))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_idx_2063 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2063) (< v_idx_2063 ULTIMATE.start_main_p5) (= (select |#valid| v_idx_2063) 1))) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:59:04,037 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:59:04,037 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:59:04,037 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_3288 [inf_0], [#valid] -> [-inf_0] v_3286 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_3285 [inf_0], [old(#memory_int)] -> [-inf_0] v_3289 [inf_0], [old(#valid)] -> [-inf_0] v_3287 [inf_0], }, Substate: {11 vars top, }}} [2019-02-28 13:59:04,037 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-28 13:59:04,039 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 30 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:59:04,039 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:59:09,391 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:59:09,392 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:59:09,392 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:59:09,392 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:59:09,392 WARN L224 ngHoareTripleChecker]: Pre: {187#(forall ((v_idx_2105 Int) (v_idx_2103 Int) (v_idx_2111 Int) (v_idx_2099 Int) (v_idx_2096 Int) (v_idx_2109 Int) (v_idx_2107 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (or (= 0 (select |c_#memory_int| v_idx_2111)) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2111) (< v_idx_2111 c_ULTIMATE.start_main_p5)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (< v_idx_2099 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2099) (= 1 (select |c_#valid| v_idx_2099))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (= (select |c_#memory_int| v_idx_2107) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2107) (< v_idx_2107 c_ULTIMATE.start_main_p3)) (or (and (<= (select |c_#memory_int| v_idx_2109) 0) (<= (* 2 (select |c_#memory_int| v_idx_2109)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2109) (< v_idx_2109 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2096) (< v_idx_2096 c_ULTIMATE.start_main_p5) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2096))) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (or (= 0 (select |c_#memory_int| v_idx_2105)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2105) (< v_idx_2105 c_ULTIMATE.start_main_p2)) (or (= (select |c_#memory_int| v_idx_2103) 0) (< v_idx_2103 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2103)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:59:09,392 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p4] <= 0; [2019-02-28 13:59:09,393 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0) [2019-02-28 13:59:09,393 WARN L230 ngHoareTripleChecker]: Post: {188#false} [2019-02-28 13:59:09,393 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:59:11,028 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:59:11,028 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:59:11,182 WARN L270 ngHoareTripleChecker]: Pre: {187#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_2103 Int)) (or (= (select |#memory_int| v_idx_2103) 0) (< v_idx_2103 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2103))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_2107 Int)) (or (= (select |#memory_int| v_idx_2107) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_2107) (< v_idx_2107 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_2109 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2109) (<= (* 2 (select |#memory_int| v_idx_2109)) 0) (< v_idx_2109 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (forall ((v_idx_2099 Int)) (or (< v_idx_2099 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2099) (= 1 (select |#valid| v_idx_2099)))) (forall ((v_idx_2111 Int)) (or (= 0 (select |#memory_int| v_idx_2111)) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2111) (< v_idx_2111 ULTIMATE.start_main_p5))) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2096 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2096) (< v_idx_2096 ULTIMATE.start_main_p5) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2096)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (forall ((v_prenex_15 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_15) (<= (select |#memory_int| v_prenex_15) 0) (< v_prenex_15 ULTIMATE.start_main_p4))) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_2105 Int)) (or (= 0 (select |#memory_int| v_idx_2105)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2105) (< v_idx_2105 ULTIMATE.start_main_p2))))} [2019-02-28 13:59:11,182 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p4] <= 0; [2019-02-28 13:59:11,182 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0) [2019-02-28 13:59:11,183 WARN L276 ngHoareTripleChecker]: Post: {188#false} [2019-02-28 13:59:11,183 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:59:11,183 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:59:11,185 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], [old(#memory_int)] -> [-inf_0] v_3333 [inf_0], [old(#valid)] -> [-inf_0] v_3332 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 32 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:59:11,185 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0) (assume #memory_int[main_p4] <= 0;) [2019-02-28 13:59:11,185 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:59:11,185 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:59:19,018 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:59:19,018 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:59:19,018 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:59:19,019 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:59:19,019 WARN L224 ngHoareTripleChecker]: Pre: {190#true} [2019-02-28 13:59:19,019 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-28 13:59:19,019 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-28 13:59:19,020 WARN L230 ngHoareTripleChecker]: Post: {191#(forall ((v_idx_2167 Int) (v_idx_2178 Int) (v_idx_2176 Int) (v_idx_2164 Int) (v_idx_2174 Int) (v_idx_2172 Int) (v_idx_2170 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_#memory_int| v_idx_2172)) (< v_idx_2172 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2172)) (or (< v_idx_2164 c_ULTIMATE.start_main_p5) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2164)) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2164)) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (< v_idx_2167 c_ULTIMATE.start_main_p5) (= 1 (select |c_#valid| v_idx_2167)) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2167)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2176) (and (<= (* 2 (select |c_#memory_int| v_idx_2176)) 0) (<= (select |c_#memory_int| v_idx_2176) 0)) (< v_idx_2176 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2174) (< v_idx_2174 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_2174) 0)) (or (< v_idx_2170 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_2170)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2170)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_2178 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2178) (= 0 (select |c_#memory_int| v_idx_2178)))))} [2019-02-28 13:59:19,020 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:59:19,020 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:59:19,020 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:59:19,023 WARN L270 ngHoareTripleChecker]: Pre: {190#true} [2019-02-28 13:59:19,023 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-28 13:59:19,023 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-28 13:59:19,117 WARN L276 ngHoareTripleChecker]: Post: {191#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_2176 Int)) (or (<= (select |#memory_int| v_idx_2176) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2176) (< v_idx_2176 ULTIMATE.start_main_p4))) (forall ((v_idx_2167 Int)) (or (< v_idx_2167 ULTIMATE.start_main_p5) (= 1 (select |#valid| v_idx_2167)) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2167))) (forall ((v_idx_2172 Int)) (or (= 0 (select |#memory_int| v_idx_2172)) (< v_idx_2172 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2172))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (forall ((v_idx_2170 Int)) (or (< v_idx_2170 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_2170)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2170))) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2164 Int)) (or (< v_idx_2164 ULTIMATE.start_main_p5) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2164)) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2164))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_prenex_16 Int)) (or (< v_prenex_16 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_16) (<= (* 2 (select |#memory_int| v_prenex_16)) 0))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_idx_2178 Int)) (or (< v_idx_2178 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2178) (= 0 (select |#memory_int| v_idx_2178)))) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (forall ((v_idx_2174 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_2174) (< v_idx_2174 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_2174) 0))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:59:19,117 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:59:19,117 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:59:19,117 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_3340 [inf_0], [#valid] -> [-inf_0] v_3338 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_3337 [inf_0], [old(#memory_int)] -> [-inf_0] v_3341 [inf_0], [old(#valid)] -> [-inf_0] v_3339 [inf_0], }, Substate: {11 vars top, }}} [2019-02-28 13:59:19,117 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) (assume !(#memory_int[main_p4] <= 0);) [2019-02-28 13:59:19,119 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 30 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:59:19,119 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:59:20,477 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:59:20,477 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:59:20,477 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:59:20,478 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:59:20,478 WARN L224 ngHoareTripleChecker]: Pre: {193#true} [2019-02-28 13:59:20,478 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p4] <= 0; [2019-02-28 13:59:20,478 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0) [2019-02-28 13:59:20,479 WARN L230 ngHoareTripleChecker]: Post: {194#(forall ((v_idx_2236 Int) (v_idx_2233 Int) (v_idx_2244 Int) (v_idx_2242 Int) (v_idx_2230 Int) (v_idx_2240 Int) (v_idx_2238 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_2230 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2230) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2230))) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (= (select |c_#valid| v_idx_2233) 1) (< v_idx_2233 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2233)) (or (< v_idx_2244 c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2244) (= (select |c_#memory_int| v_idx_2244) 0)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (or (= (select |c_#memory_int| v_idx_2238) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2238) (< v_idx_2238 c_ULTIMATE.start_main_p2)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (< v_idx_2242 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_2242) 0) (<= (* 2 (select |c_#memory_int| v_idx_2242)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2242)) (or (< v_idx_2240 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_2240)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2240)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2236) (= (select |c_#memory_int| v_idx_2236) 0) (< v_idx_2236 c_ULTIMATE.start_main_p1)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1))))} [2019-02-28 13:59:20,479 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:59:20,480 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:59:20,480 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:59:20,481 WARN L270 ngHoareTripleChecker]: Pre: {193#true} [2019-02-28 13:59:20,481 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p4] <= 0; [2019-02-28 13:59:20,481 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0) [2019-02-28 13:59:20,566 WARN L276 ngHoareTripleChecker]: Post: {194#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (forall ((v_idx_2240 Int)) (or (< v_idx_2240 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_2240)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_2240))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (forall ((v_idx_2236 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_2236) (= (select |#memory_int| v_idx_2236) 0) (< v_idx_2236 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2230 Int)) (or (< v_idx_2230 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2230) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2230)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_2233 Int)) (or (= (select |#valid| v_idx_2233) 1) (< v_idx_2233 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2233))) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (forall ((v_prenex_17 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_17) (<= (* 2 (select |#memory_int| v_prenex_17)) 0) (< v_prenex_17 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_2244 Int)) (or (< v_idx_2244 ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2244) (= (select |#memory_int| v_idx_2244) 0))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (forall ((v_idx_2242 Int)) (or (< v_idx_2242 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_idx_2242) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2242))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_2238 Int)) (or (= (select |#memory_int| v_idx_2238) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2238) (< v_idx_2238 ULTIMATE.start_main_p2))))} [2019-02-28 13:59:20,566 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:59:20,566 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:59:20,567 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_3382 [inf_0], [#valid] -> [-inf_0] v_3380 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_3379 [inf_0], [old(#memory_int)] -> [-inf_0] v_3383 [inf_0], [old(#valid)] -> [-inf_0] v_3381 [inf_0], }, Substate: {11 vars top, }}} [2019-02-28 13:59:20,567 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0) (assume #memory_int[main_p4] <= 0;) [2019-02-28 13:59:20,569 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 30 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:59:20,569 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:59:22,376 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:59:22,376 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:59:22,376 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:59:22,377 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:59:22,377 WARN L224 ngHoareTripleChecker]: Pre: {199#true} [2019-02-28 13:59:22,377 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p5] >= 0); [2019-02-28 13:59:22,377 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p5))) [2019-02-28 13:59:22,378 WARN L230 ngHoareTripleChecker]: Post: {200#(forall ((v_idx_2325 Int) (v_idx_2323 Int) (v_idx_2321 Int) (v_idx_2329 Int) (v_idx_2318 Int) (v_idx_2327 Int) (v_idx_2315 Int)) (and (<= (- c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p5) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p5) (- 4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (+ c_ULTIMATE.start_main_p4 1) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_main_p5) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_main_p5) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 4)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2323) (< v_idx_2323 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_2323) 0)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2315) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2315)) (< v_idx_2315 c_ULTIMATE.start_main_p5)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p3 2) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (- (- c_ULTIMATE.start_main_p5) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p5) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_2325)) (< v_idx_2325 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2325)) (or (< v_idx_2329 c_ULTIMATE.start_main_p5) (= 0 (select |c_#memory_int| v_idx_2329)) (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2329)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2327) (< v_idx_2327 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_2327) 0) (<= (* 2 (select |c_#memory_int| v_idx_2327)) 0))) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (or (< v_idx_2321 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_2321) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2321)) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_main_p5) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 4) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= c_ULTIMATE.start_main_p5 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p2 3) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_malloc_ptr 1) v_idx_2318) (= (select |c_#valid| v_idx_2318) 1) (< v_idx_2318 c_ULTIMATE.start_main_p5))))} [2019-02-28 13:59:22,378 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:59:22,378 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:59:22,379 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:59:22,397 WARN L270 ngHoareTripleChecker]: Pre: {199#true} [2019-02-28 13:59:22,397 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p5] >= 0); [2019-02-28 13:59:22,397 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p5))) [2019-02-28 13:59:22,515 WARN L276 ngHoareTripleChecker]: Post: {200#(and (<= (- ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p5) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2323 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_2323) (< v_idx_2323 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_2323) 0))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p5) (- 4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_2318 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2318) (= (select |#valid| v_idx_2318) 1) (< v_idx_2318 ULTIMATE.start_main_p5))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_18 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_18) (< v_prenex_18 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_18) 0))) (<= (+ ULTIMATE.start_main_p4 1) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_main_p5) (- 1)) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_main_p5) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 4)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p3 2) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p5) (- ULTIMATE.start_malloc_ptr)) 0) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p5) (- 2)) (forall ((v_idx_2327 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2327) (< v_idx_2327 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_idx_2327)) 0))) (forall ((v_idx_2329 Int)) (or (< v_idx_2329 ULTIMATE.start_main_p5) (= 0 (select |#memory_int| v_idx_2329)) (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2329))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_idx_2315 Int)) (or (<= (+ ULTIMATE.start_malloc_ptr 1) v_idx_2315) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2315)) (< v_idx_2315 ULTIMATE.start_main_p5))) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_main_p5) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 4) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2325 Int)) (or (= 0 (select |#memory_int| v_idx_2325)) (< v_idx_2325 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_2325))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 2)) (<= ULTIMATE.start_main_p5 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p2 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2321 Int)) (or (< v_idx_2321 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_2321) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2321))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (- 1)))} [2019-02-28 13:59:22,515 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:59:22,515 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:59:22,515 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_3429 [inf_0], [#valid] -> [-inf_0] v_3427 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_3426 [inf_0], [old(#memory_int)] -> [-inf_0] v_3430 [inf_0], [old(#valid)] -> [-inf_0] v_3428 [inf_0], }, Substate: {11 vars top, }}} [2019-02-28 13:59:22,516 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p5))) (assume !(#memory_int[main_p5] >= 0);) [2019-02-28 13:59:22,517 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1960 [b_146] v_1961 [b_147] v_1962 [b_148] v_1963 [b_149] v_1964 [b_150] v_1965 [b_151] v_1966 [b_152] v_1967 [b_153] v_1968 [b_154] v_1969 [b_155] v_1970 [inf_0], [#valid] -> [-inf_0] v_1957 [b_144] v_1958 [b_145] v_1959 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1953 [b_142] v_1954 [b_143] v_1955 [inf_0], }, Substate: {ints: {v_1963 = [0; 0]; v_1965 = [0; 0]; v_1958 = [1; 1]; v_1961 = [0; 0]; v_1969 = [0; 0]; v_1954 = [0; 0]; v_1967 = [-inf; 0]}, 30 vars top, relations: {ULTIMATE.start_malloc_ptr - b_147 = [3; inf]; b_144 - b_147 = [3; inf]; b_146 - b_147 = [-1; -1]; b_145 - b_147 = [4; inf]; b_143 - b_147 = [4; inf]; b_142 - b_147 = [3; inf]; ULTIMATE.start_main_p1 - b_147 = [-1; -1]; ULTIMATE.start_main_p2 - b_147 = [0; inf]; ULTIMATE.start_main_p3 - b_147 = [1; inf]; ULTIMATE.start_main_p4 - b_147 = [2; inf]; ULTIMATE.start_main_p5 - b_147 = [3; inf]; b_147 - b_150 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_150 = [2; inf]; b_144 - b_150 = [2; inf]; b_146 - b_150 = [-inf; -2]; b_148 - b_150 = [-inf; -1]; b_145 - b_150 = [3; inf]; b_143 - b_150 = [3; inf]; b_142 - b_150 = [2; inf]; ULTIMATE.start_main_p1 - b_150 = [-inf; -2]; ULTIMATE.start_main_p2 - b_150 = [-inf; -1]; b_149 - b_150 = [-inf; 0]; ULTIMATE.start_main_p3 - b_150 = [0; 0]; ULTIMATE.start_main_p4 - b_150 = [1; inf]; ULTIMATE.start_main_p5 - b_150 = [2; inf]; v_1958 + v_1963 = [1; 1]; v_1958 - v_1963 = [1; 1]; v_1961 + v_1963 = [0; 0]; v_1961 - v_1963 = [0; 0]; v_1954 + v_1963 = [0; 0]; v_1954 - v_1963 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p5 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_144 = [0; 0]; b_143 - b_144 = [1; 1]; b_142 - b_144 = [0; 0]; ULTIMATE.start_main_p1 - b_144 = [-inf; -4]; ULTIMATE.start_main_p2 - b_144 = [-inf; -3]; ULTIMATE.start_main_p3 - b_144 = [-inf; -2]; ULTIMATE.start_main_p4 - b_144 = [-inf; -1]; ULTIMATE.start_main_p5 - b_144 = [0; 0]; v_1963 + v_1965 = [0; 0]; v_1963 - v_1965 = [0; 0]; v_1958 + v_1965 = [1; 1]; v_1958 - v_1965 = [1; 1]; v_1961 + v_1965 = [0; 0]; v_1961 - v_1965 = [0; 0]; v_1954 + v_1965 = [0; 0]; v_1954 - v_1965 = [0; 0]; v_1954 + v_1958 = [1; 1]; v_1954 - v_1958 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_146 = [4; inf]; b_144 - b_146 = [4; inf]; b_145 - b_146 = [5; inf]; b_143 - b_146 = [5; inf]; b_142 - b_146 = [4; inf]; ULTIMATE.start_main_p1 - b_146 = [0; 0]; ULTIMATE.start_main_p2 - b_146 = [1; inf]; ULTIMATE.start_main_p3 - b_146 = [2; inf]; ULTIMATE.start_main_p4 - b_146 = [3; inf]; ULTIMATE.start_main_p5 - b_146 = [4; inf]; b_147 - b_151 = [-inf; -2]; b_150 - b_151 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_151 = [1; inf]; b_144 - b_151 = [1; inf]; b_146 - b_151 = [-inf; -3]; b_148 - b_151 = [-inf; -2]; b_145 - b_151 = [2; inf]; b_143 - b_151 = [2; inf]; b_142 - b_151 = [1; inf]; ULTIMATE.start_main_p1 - b_151 = [-inf; -3]; ULTIMATE.start_main_p2 - b_151 = [-inf; -2]; b_149 - b_151 = [-inf; -1]; ULTIMATE.start_main_p3 - b_151 = [-1; -1]; ULTIMATE.start_main_p4 - b_151 = [0; inf]; ULTIMATE.start_main_p5 - b_151 = [1; inf]; v_1958 + v_1961 = [1; 1]; v_1958 - v_1961 = [1; 1]; v_1954 + v_1961 = [0; 0]; v_1954 - v_1961 = [0; 0]; b_147 - b_148 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_148 = [3; inf]; b_144 - b_148 = [3; inf]; b_146 - b_148 = [-inf; -1]; b_145 - b_148 = [4; inf]; b_143 - b_148 = [4; inf]; b_142 - b_148 = [3; inf]; ULTIMATE.start_main_p1 - b_148 = [-inf; -1]; ULTIMATE.start_main_p2 - b_148 = [0; 0]; ULTIMATE.start_main_p3 - b_148 = [1; inf]; ULTIMATE.start_main_p4 - b_148 = [2; inf]; ULTIMATE.start_main_p5 - b_148 = [3; inf]; v_1963 + v_1969 = [0; 0]; v_1963 - v_1969 = [0; 0]; v_1965 + v_1969 = [0; 0]; v_1965 - v_1969 = [0; 0]; v_1958 + v_1969 = [1; 1]; v_1958 - v_1969 = [1; 1]; v_1961 + v_1969 = [0; 0]; v_1961 - v_1969 = [0; 0]; v_1954 + v_1969 = [0; 0]; v_1954 - v_1969 = [0; 0]; v_1967 + v_1969 = [-inf; 0]; v_1967 - v_1969 = [-inf; 0]; b_147 - b_154 = [-inf; -3]; b_150 - b_154 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_154 = [0; 0]; b_144 - b_154 = [0; 0]; b_146 - b_154 = [-inf; -4]; b_151 - b_154 = [-inf; -1]; b_148 - b_154 = [-inf; -3]; b_145 - b_154 = [1; 1]; b_153 - b_154 = [-inf; 0]; b_143 - b_154 = [1; 1]; b_152 - b_154 = [-inf; -1]; b_142 - b_154 = [0; 0]; ULTIMATE.start_main_p1 - b_154 = [-inf; -4]; ULTIMATE.start_main_p2 - b_154 = [-inf; -3]; b_149 - b_154 = [-inf; -2]; ULTIMATE.start_main_p3 - b_154 = [-inf; -2]; ULTIMATE.start_main_p4 - b_154 = [-inf; -1]; ULTIMATE.start_main_p5 - b_154 = [0; 0]; b_147 - b_155 = [-inf; -4]; b_150 - b_155 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_155 = [-1; -1]; b_144 - b_155 = [-1; -1]; b_146 - b_155 = [-inf; -5]; b_151 - b_155 = [-inf; -2]; b_148 - b_155 = [-inf; -4]; b_154 - b_155 = [-1; -1]; b_145 - b_155 = [0; 0]; b_153 - b_155 = [-inf; -1]; b_143 - b_155 = [0; 0]; b_152 - b_155 = [-inf; -2]; b_142 - b_155 = [-1; -1]; ULTIMATE.start_main_p1 - b_155 = [-inf; -5]; ULTIMATE.start_main_p2 - b_155 = [-inf; -4]; b_149 - b_155 = [-inf; -3]; ULTIMATE.start_main_p3 - b_155 = [-inf; -3]; ULTIMATE.start_main_p4 - b_155 = [-inf; -2]; ULTIMATE.start_main_p5 - b_155 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_145 = [-1; -1]; b_144 - b_145 = [-1; -1]; b_143 - b_145 = [0; 0]; b_142 - b_145 = [-1; -1]; ULTIMATE.start_main_p1 - b_145 = [-inf; -5]; ULTIMATE.start_main_p2 - b_145 = [-inf; -4]; ULTIMATE.start_main_p3 - b_145 = [-inf; -3]; ULTIMATE.start_main_p4 - b_145 = [-inf; -2]; ULTIMATE.start_main_p5 - b_145 = [-1; -1]; b_147 - b_153 = [-inf; -3]; b_150 - b_153 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_153 = [0; inf]; b_144 - b_153 = [0; inf]; b_146 - b_153 = [-inf; -4]; b_151 - b_153 = [-inf; -1]; b_148 - b_153 = [-inf; -3]; b_145 - b_153 = [1; inf]; b_143 - b_153 = [1; inf]; b_152 - b_153 = [-1; -1]; b_142 - b_153 = [0; inf]; ULTIMATE.start_main_p1 - b_153 = [-inf; -4]; ULTIMATE.start_main_p2 - b_153 = [-inf; -3]; b_149 - b_153 = [-inf; -2]; ULTIMATE.start_main_p3 - b_153 = [-inf; -2]; ULTIMATE.start_main_p4 - b_153 = [-1; -1]; ULTIMATE.start_main_p5 - b_153 = [0; inf]; ULTIMATE.start_malloc_ptr - b_143 = [-1; -1]; b_142 - b_143 = [-1; -1]; ULTIMATE.start_main_p1 - b_143 = [-inf; -5]; ULTIMATE.start_main_p2 - b_143 = [-inf; -4]; ULTIMATE.start_main_p3 - b_143 = [-inf; -3]; ULTIMATE.start_main_p4 - b_143 = [-inf; -2]; ULTIMATE.start_main_p5 - b_143 = [-1; -1]; b_147 - b_152 = [-inf; -2]; b_150 - b_152 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_152 = [1; inf]; b_144 - b_152 = [1; inf]; b_146 - b_152 = [-inf; -3]; b_151 - b_152 = [-inf; 0]; b_148 - b_152 = [-inf; -2]; b_145 - b_152 = [2; inf]; b_143 - b_152 = [2; inf]; b_142 - b_152 = [1; inf]; ULTIMATE.start_main_p1 - b_152 = [-inf; -3]; ULTIMATE.start_main_p2 - b_152 = [-inf; -2]; b_149 - b_152 = [-inf; -1]; ULTIMATE.start_main_p3 - b_152 = [-inf; -1]; ULTIMATE.start_main_p4 - b_152 = [0; 0]; ULTIMATE.start_main_p5 - b_152 = [1; inf]; ULTIMATE.start_malloc_ptr - b_142 = [0; 0]; ULTIMATE.start_main_p1 - b_142 = [-inf; -4]; ULTIMATE.start_main_p2 - b_142 = [-inf; -3]; ULTIMATE.start_main_p3 - b_142 = [-inf; -2]; ULTIMATE.start_main_p4 - b_142 = [-inf; -1]; ULTIMATE.start_main_p5 - b_142 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_147 - b_149 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_149 = [2; inf]; b_144 - b_149 = [2; inf]; b_146 - b_149 = [-inf; -2]; b_148 - b_149 = [-1; -1]; b_145 - b_149 = [3; inf]; b_143 - b_149 = [3; inf]; b_142 - b_149 = [2; inf]; ULTIMATE.start_main_p1 - b_149 = [-inf; -2]; ULTIMATE.start_main_p2 - b_149 = [-1; -1]; ULTIMATE.start_main_p3 - b_149 = [0; inf]; ULTIMATE.start_main_p4 - b_149 = [1; inf]; ULTIMATE.start_main_p5 - b_149 = [2; inf]; v_1963 + v_1967 = [-inf; 0]; v_1963 - v_1967 = [0; inf]; v_1965 + v_1967 = [-inf; 0]; v_1965 - v_1967 = [0; inf]; v_1958 + v_1967 = [-inf; 1]; v_1958 - v_1967 = [1; inf]; v_1961 + v_1967 = [-inf; 0]; v_1961 - v_1967 = [0; inf]; v_1954 + v_1967 = [-inf; 0]; v_1954 - v_1967 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p5 = [-inf; -4]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p5 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p5 = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_main_p5 = [-inf; -1]}, }}} [2019-02-28 13:59:22,517 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:59:22,536 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:59:22,537 INFO L93 Difference]: Finished difference Result 22 states and 35 transitions. [2019-02-28 13:59:22,537 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-28 13:59:22,537 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-28 13:59:22,537 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-28 13:59:22,537 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:59:22,538 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 29 transitions. [2019-02-28 13:59:22,539 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:59:22,540 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 29 transitions. [2019-02-28 13:59:22,540 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 29 transitions. [2019-02-28 13:59:25,610 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 29 edges. 29 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-28 13:59:25,612 INFO L225 Difference]: With dead ends: 22 [2019-02-28 13:59:25,612 INFO L226 Difference]: Without dead ends: 13 [2019-02-28 13:59:25,614 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 0 SyntacticMatches, 1 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 16.8s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:59:25,614 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states. [2019-02-28 13:59:25,638 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 12. [2019-02-28 13:59:25,639 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-28 13:59:25,639 INFO L82 GeneralOperation]: Start isEquivalent. First operand 13 states. Second operand 12 states. [2019-02-28 13:59:25,639 INFO L74 IsIncluded]: Start isIncluded. First operand 13 states. Second operand 12 states. [2019-02-28 13:59:25,639 INFO L87 Difference]: Start difference. First operand 13 states. Second operand 12 states. [2019-02-28 13:59:25,642 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:59:25,642 INFO L93 Difference]: Finished difference Result 13 states and 25 transitions. [2019-02-28 13:59:25,642 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 25 transitions. [2019-02-28 13:59:25,642 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:59:25,642 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:59:25,643 INFO L74 IsIncluded]: Start isIncluded. First operand 12 states. Second operand 13 states. [2019-02-28 13:59:25,643 INFO L87 Difference]: Start difference. First operand 12 states. Second operand 13 states. [2019-02-28 13:59:25,644 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:59:25,644 INFO L93 Difference]: Finished difference Result 13 states and 25 transitions. [2019-02-28 13:59:25,645 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 25 transitions. [2019-02-28 13:59:25,645 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:59:25,645 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:59:25,645 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-28 13:59:25,645 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-28 13:59:25,646 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2019-02-28 13:59:25,647 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 20 transitions. [2019-02-28 13:59:25,647 INFO L78 Accepts]: Start accepts. Automaton has 12 states and 20 transitions. Word has length 3 [2019-02-28 13:59:25,647 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-28 13:59:25,647 INFO L480 AbstractCegarLoop]: Abstraction has 12 states and 20 transitions. [2019-02-28 13:59:25,647 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-28 13:59:25,647 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 20 transitions. [2019-02-28 13:59:25,648 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-02-28 13:59:25,648 INFO L394 BasicCegarLoop]: Found error trace [2019-02-28 13:59:25,648 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-02-28 13:59:25,649 INFO L423 AbstractCegarLoop]: === Iteration 3 === [ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT, ULTIMATE.startErr4ASSERT_VIOLATIONASSERT]=== [2019-02-28 13:59:25,649 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:59:25,649 INFO L82 PathProgramCache]: Analyzing trace with hash 30434, now seen corresponding path program 1 times [2019-02-28 13:59:25,649 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-28 13:59:25,650 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:59:25,650 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-28 13:59:25,650 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:59:25,651 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-28 13:59:25,662 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-28 13:59:25,761 INFO L273 TraceCheckUtils]: 0: Hoare triple {244#true} havoc main_p1, main_p2, main_p3, main_p4, main_p5;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p1 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p2 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p3 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p4 := malloc_ptr;malloc_old_#valid := #valid;havoc malloc_ptr;havoc #valid;assume malloc_old_#valid[malloc_ptr] == 0;assume #valid == malloc_old_#valid[malloc_ptr := 1];main_p5 := malloc_ptr;assume main_p1 < main_p2;assume main_p2 < main_p3;assume main_p3 < main_p4;assume main_p4 < main_p5;#memory_int := #memory_int[main_p1 := 0];#memory_int := #memory_int[main_p2 := 0];#memory_int := #memory_int[main_p3 := 0];#memory_int := #memory_int[main_p4 := 0];#memory_int := #memory_int[main_p5 := 0]; {246#(and (not (= ULTIMATE.start_main_p1 ULTIMATE.start_main_p5)) (= 0 (select (store |#memory_int| ULTIMATE.start_main_p5 (+ (select |#memory_int| ULTIMATE.start_main_p5) 1)) ULTIMATE.start_main_p1)))} is VALID [2019-02-28 13:59:25,763 INFO L273 TraceCheckUtils]: 1: Hoare triple {246#(and (not (= ULTIMATE.start_main_p1 ULTIMATE.start_main_p5)) (= 0 (select (store |#memory_int| ULTIMATE.start_main_p5 (+ (select |#memory_int| ULTIMATE.start_main_p5) 1)) ULTIMATE.start_main_p1)))} #memory_int := #memory_int[main_p5 := #memory_int[main_p5] + 1]; {247#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} is VALID [2019-02-28 13:59:25,764 INFO L273 TraceCheckUtils]: 2: Hoare triple {247#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} assume !(#memory_int[main_p1] >= 0); {245#false} is VALID [2019-02-28 13:59:25,765 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-02-28 13:59:25,765 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-28 13:59:25,765 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-28 13:59:25,765 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 4 with the following transitions: [2019-02-28 13:59:25,766 INFO L207 CegarAbsIntRunner]: [0], [20], [23] [2019-02-28 13:59:25,769 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-28 13:59:25,769 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2)