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-4-limited.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-1de736e-m [2019-02-14 16:51:27,185 INFO L170 SettingsManager]: Resetting all preferences to default values... [2019-02-14 16:51:27,187 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2019-02-14 16:51:27,203 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-02-14 16:51:27,203 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-02-14 16:51:27,204 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-02-14 16:51:27,206 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-02-14 16:51:27,208 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2019-02-14 16:51:27,212 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-02-14 16:51:27,213 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-02-14 16:51:27,214 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-02-14 16:51:27,214 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-02-14 16:51:27,215 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-02-14 16:51:27,216 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-02-14 16:51:27,219 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-02-14 16:51:27,220 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-02-14 16:51:27,221 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-02-14 16:51:27,223 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-02-14 16:51:27,224 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2019-02-14 16:51:27,226 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-02-14 16:51:27,226 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-02-14 16:51:27,228 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-02-14 16:51:27,230 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-02-14 16:51:27,230 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-02-14 16:51:27,230 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-02-14 16:51:27,231 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-02-14 16:51:27,232 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-02-14 16:51:27,233 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-02-14 16:51:27,233 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2019-02-14 16:51:27,234 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-02-14 16:51:27,234 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2019-02-14 16:51:27,235 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-02-14 16:51:27,235 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-02-14 16:51:27,235 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2019-02-14 16:51:27,236 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2019-02-14 16:51:27,237 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2019-02-14 16:51:27,237 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-14 16:51:27,249 INFO L110 SettingsManager]: Loading preferences was successful [2019-02-14 16:51:27,250 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2019-02-14 16:51:27,250 INFO L131 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2019-02-14 16:51:27,251 INFO L133 SettingsManager]: * Show backtranslation warnings=false [2019-02-14 16:51:27,251 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-02-14 16:51:27,251 INFO L133 SettingsManager]: * User list type=DISABLED [2019-02-14 16:51:27,251 INFO L133 SettingsManager]: * Inline calls to unimplemented procedures=true [2019-02-14 16:51:27,251 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-02-14 16:51:27,252 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-02-14 16:51:27,252 INFO L133 SettingsManager]: * Underlying domain=OctagonDomain [2019-02-14 16:51:27,252 INFO L133 SettingsManager]: * Abstract domain=ArrayDomain [2019-02-14 16:51:27,252 INFO L133 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-02-14 16:51:27,252 INFO L133 SettingsManager]: * Interval Domain=false [2019-02-14 16:51:27,253 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-02-14 16:51:27,253 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2019-02-14 16:51:27,253 INFO L133 SettingsManager]: * Use SBE=true [2019-02-14 16:51:27,254 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-02-14 16:51:27,254 INFO L133 SettingsManager]: * sizeof long=4 [2019-02-14 16:51:27,254 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2019-02-14 16:51:27,254 INFO L133 SettingsManager]: * sizeof POINTER=4 [2019-02-14 16:51:27,254 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2019-02-14 16:51:27,255 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2019-02-14 16:51:27,255 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-02-14 16:51:27,255 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2019-02-14 16:51:27,255 INFO L133 SettingsManager]: * sizeof long double=12 [2019-02-14 16:51:27,255 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2019-02-14 16:51:27,256 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2019-02-14 16:51:27,256 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-02-14 16:51:27,256 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-02-14 16:51:27,256 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2019-02-14 16:51:27,256 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-02-14 16:51:27,258 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-02-14 16:51:27,258 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-02-14 16:51:27,258 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2019-02-14 16:51:27,258 INFO L133 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-02-14 16:51:27,258 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-02-14 16:51:27,259 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2019-02-14 16:51:27,259 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2019-02-14 16:51:27,259 INFO L133 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2019-02-14 16:51:27,289 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-02-14 16:51:27,299 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-02-14 16:51:27,303 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-02-14 16:51:27,304 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-02-14 16:51:27,304 INFO L276 PluginConnector]: Boogie PL CUP Parser initialized [2019-02-14 16:51:27,305 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/heapseparator/speedup-poc-dd-4-limited.bpl [2019-02-14 16:51:27,305 INFO L111 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/heapseparator/speedup-poc-dd-4-limited.bpl' [2019-02-14 16:51:27,347 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-02-14 16:51:27,349 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-02-14 16:51:27,350 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-02-14 16:51:27,350 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-02-14 16:51:27,350 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2019-02-14 16:51:27,367 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/1) ... [2019-02-14 16:51:27,381 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/1) ... [2019-02-14 16:51:27,409 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-02-14 16:51:27,410 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-02-14 16:51:27,410 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-02-14 16:51:27,410 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2019-02-14 16:51:27,421 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/1) ... [2019-02-14 16:51:27,421 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/1) ... [2019-02-14 16:51:27,423 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/1) ... [2019-02-14 16:51:27,423 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/1) ... [2019-02-14 16:51:27,426 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/1) ... [2019-02-14 16:51:27,430 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/1) ... [2019-02-14 16:51:27,431 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/1) ... [2019-02-14 16:51:27,433 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-02-14 16:51:27,434 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-02-14 16:51:27,434 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-02-14 16:51:27,434 INFO L276 PluginConnector]: RCFGBuilder initialized [2019-02-14 16:51:27,435 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-02-14 16:51:27,507 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-02-14 16:51:27,508 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-02-14 16:51:28,194 INFO L281 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-02-14 16:51:28,195 INFO L286 CfgBuilder]: Removed 11 assue(true) statements. [2019-02-14 16:51:28,196 INFO L202 PluginConnector]: Adding new model speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.02 04:51:28 BoogieIcfgContainer [2019-02-14 16:51:28,196 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-02-14 16:51:28,197 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2019-02-14 16:51:28,197 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2019-02-14 16:51:28,200 INFO L276 PluginConnector]: TraceAbstraction initialized [2019-02-14 16:51:28,201 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 14.02 04:51:27" (1/2) ... [2019-02-14 16:51:28,202 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@76ee2157 and model type speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 14.02 04:51:28, skipping insertion in model container [2019-02-14 16:51:28,202 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.02 04:51:28" (2/2) ... [2019-02-14 16:51:28,204 INFO L112 eAbstractionObserver]: Analyzing ICFG speedup-poc-dd-4-limited.bpl [2019-02-14 16:51:28,213 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2019-02-14 16:51:28,221 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 4 error locations. [2019-02-14 16:51:28,239 INFO L257 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2019-02-14 16:51:28,279 INFO L382 AbstractCegarLoop]: Interprodecural is true [2019-02-14 16:51:28,279 INFO L383 AbstractCegarLoop]: Hoare is true [2019-02-14 16:51:28,279 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2019-02-14 16:51:28,280 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2019-02-14 16:51:28,280 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-02-14 16:51:28,280 INFO L387 AbstractCegarLoop]: Difference is false [2019-02-14 16:51:28,280 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-02-14 16:51:28,280 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2019-02-14 16:51:28,303 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states. [2019-02-14 16:51:28,316 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2019-02-14 16:51:28,316 INFO L394 BasicCegarLoop]: Found error trace [2019-02-14 16:51:28,318 INFO L402 BasicCegarLoop]: trace histogram [1, 1] [2019-02-14 16:51:28,320 INFO L423 AbstractCegarLoop]: === Iteration 1 === [ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2019-02-14 16:51:28,326 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 16:51:28,326 INFO L82 PathProgramCache]: Analyzing trace with hash 980, now seen corresponding path program 1 times [2019-02-14 16:51:28,328 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-14 16:51:28,377 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:51:28,377 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-14 16:51:28,377 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:51:28,377 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-14 16:51:28,430 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-14 16:51:28,571 INFO L273 TraceCheckUtils]: 0: Hoare triple {14#true} havoc main_p1, main_p2, main_p3, main_p4;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;assume main_p1 < main_p2;assume main_p2 < main_p3;assume main_p3 < main_p4;#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]; {16#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} is VALID [2019-02-14 16:51:28,585 INFO L273 TraceCheckUtils]: 1: Hoare triple {16#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} assume !(#memory_int[main_p1] >= 0); {15#false} is VALID [2019-02-14 16:51:28,587 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-14 16:51:28,589 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-02-14 16:51:28,589 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2019-02-14 16:51:28,589 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-14 16:51:28,593 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 2 [2019-02-14 16:51:28,595 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-14 16:51:28,598 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-14 16:51:28,611 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-14 16:51:28,611 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-14 16:51:28,618 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-14 16:51:28,619 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 16:51:28,621 INFO L87 Difference]: Start difference. First operand 11 states. Second operand 3 states. [2019-02-14 16:51:28,928 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:51:28,928 INFO L93 Difference]: Finished difference Result 21 states and 27 transitions. [2019-02-14 16:51:28,929 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-14 16:51:28,929 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 2 [2019-02-14 16:51:28,929 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-14 16:51:28,931 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 16:51:28,935 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 27 transitions. [2019-02-14 16:51:28,938 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 16:51:28,943 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 27 transitions. [2019-02-14 16:51:28,944 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 27 transitions. [2019-02-14 16:51:29,176 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 27 edges. 27 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-14 16:51:29,185 INFO L225 Difference]: With dead ends: 21 [2019-02-14 16:51:29,186 INFO L226 Difference]: Without dead ends: 16 [2019-02-14 16:51:29,189 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-14 16:51:29,202 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states. [2019-02-14 16:51:29,218 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 10. [2019-02-14 16:51:29,219 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-14 16:51:29,219 INFO L82 GeneralOperation]: Start isEquivalent. First operand 16 states. Second operand 10 states. [2019-02-14 16:51:29,220 INFO L74 IsIncluded]: Start isIncluded. First operand 16 states. Second operand 10 states. [2019-02-14 16:51:29,220 INFO L87 Difference]: Start difference. First operand 16 states. Second operand 10 states. [2019-02-14 16:51:29,223 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:51:29,223 INFO L93 Difference]: Finished difference Result 16 states and 22 transitions. [2019-02-14 16:51:29,224 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 22 transitions. [2019-02-14 16:51:29,224 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 16:51:29,224 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 16:51:29,224 INFO L74 IsIncluded]: Start isIncluded. First operand 10 states. Second operand 16 states. [2019-02-14 16:51:29,225 INFO L87 Difference]: Start difference. First operand 10 states. Second operand 16 states. [2019-02-14 16:51:29,227 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:51:29,228 INFO L93 Difference]: Finished difference Result 16 states and 22 transitions. [2019-02-14 16:51:29,228 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 22 transitions. [2019-02-14 16:51:29,228 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 16:51:29,228 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 16:51:29,229 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-14 16:51:29,229 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-14 16:51:29,229 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2019-02-14 16:51:29,231 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 17 transitions. [2019-02-14 16:51:29,233 INFO L78 Accepts]: Start accepts. Automaton has 10 states and 17 transitions. Word has length 2 [2019-02-14 16:51:29,233 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-14 16:51:29,233 INFO L480 AbstractCegarLoop]: Abstraction has 10 states and 17 transitions. [2019-02-14 16:51:29,233 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-14 16:51:29,233 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 17 transitions. [2019-02-14 16:51:29,234 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-02-14 16:51:29,234 INFO L394 BasicCegarLoop]: Found error trace [2019-02-14 16:51:29,234 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-02-14 16:51:29,235 INFO L423 AbstractCegarLoop]: === Iteration 2 === [ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2019-02-14 16:51:29,235 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 16:51:29,235 INFO L82 PathProgramCache]: Analyzing trace with hash 30306, now seen corresponding path program 1 times [2019-02-14 16:51:29,235 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-14 16:51:29,236 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:51:29,237 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-14 16:51:29,237 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:51:29,237 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-14 16:51:29,250 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-14 16:51:29,409 INFO L273 TraceCheckUtils]: 0: Hoare triple {86#true} havoc main_p1, main_p2, main_p3, main_p4;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;assume main_p1 < main_p2;assume main_p2 < main_p3;assume main_p3 < main_p4;#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]; {88#(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-14 16:51:29,411 INFO L273 TraceCheckUtils]: 1: Hoare triple {88#(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]; {89#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} is VALID [2019-02-14 16:51:29,412 INFO L273 TraceCheckUtils]: 2: Hoare triple {89#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} assume !(#memory_int[main_p1] >= 0); {87#false} is VALID [2019-02-14 16:51:29,413 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-14 16:51:29,413 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-14 16:51:29,413 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-14 16:51:29,414 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 4 with the following transitions: [2019-02-14 16:51:29,416 INFO L207 CegarAbsIntRunner]: [0], [16], [19] [2019-02-14 16:51:29,466 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-14 16:51:29,466 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-14 16:52:38,694 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-14 16:52:38,697 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-14 16:52:38,701 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 16:52:38,701 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-14 16:52:43,804 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-14 16:52:45,338 INFO L420 sIntCurrentIteration]: We unified 2 AI predicates to 2 [2019-02-14 16:52:48,337 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-14 16:52:48,338 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-14 16:52:48,338 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [2] total 3 [2019-02-14 16:52:48,338 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-14 16:52:48,340 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-14 16:52:48,340 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-14 16:52:48,340 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-14 16:52:48,624 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-14 16:52:48,625 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-14 16:52:48,625 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-14 16:52:48,625 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 16:52:48,626 INFO L87 Difference]: Start difference. First operand 10 states and 17 transitions. Second operand 3 states. [2019-02-14 16:52:48,948 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:52:48,949 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:52:48,950 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:52:48,950 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:52:48,951 WARN L224 ngHoareTripleChecker]: Pre: {110#(forall ((v_idx_897 Int) (v_idx_895 Int) (v_idx_884 Int) (v_idx_887 Int) (v_idx_893 Int) (v_idx_891 Int)) (and (or (< v_idx_891 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_891) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_891)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_895 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_895) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_895)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (< v_idx_884 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_884)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_884)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_897 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_897) (and (<= (* 2 (select |c_#memory_int| v_idx_897)) 0) (<= (select |c_#memory_int| v_idx_897) 0))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_887) (< v_idx_887 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_887) 1)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_893) (< v_idx_893 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_893) 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:52:48,951 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 16:52:48,952 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-14 16:52:48,952 WARN L230 ngHoareTripleChecker]: Post: {111#false} [2019-02-14 16:52:48,952 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:52:48,958 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:52:48,959 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:52:49,194 WARN L270 ngHoareTripleChecker]: Pre: {110#(and (forall ((v_idx_887 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_887) (< v_idx_887 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_887) 1))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_891 Int)) (or (< v_idx_891 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_891) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_891))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_897 Int)) (or (<= (* 2 (select |#memory_int| v_idx_897)) 0) (< v_idx_897 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_897))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_893 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_893) (< v_idx_893 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_893) 0))) (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_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (forall ((v_idx_895 Int)) (or (< v_idx_895 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_895) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_895))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_884 Int)) (or (< v_idx_884 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_884)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_884))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:52:49,195 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 16:52:49,196 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-14 16:52:49,201 WARN L276 ngHoareTripleChecker]: Post: {111#false} [2019-02-14 16:52:49,202 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:52:49,202 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:52:49,205 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2323 [inf_0], [old(#valid)] -> [-inf_0] v_2322 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 28 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:52:49,205 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-14 16:52:49,206 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:52:49,206 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:52:50,459 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:52:50,460 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:52:50,460 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:52:50,461 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:52:50,461 WARN L224 ngHoareTripleChecker]: Pre: {114#(forall ((v_idx_901 Int) (v_idx_912 Int) (v_idx_910 Int) (v_idx_904 Int) (v_idx_914 Int) (v_idx_908 Int)) (and (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_910) (< v_idx_910 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_910) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_904 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_904) (= (select |c_#valid| v_idx_904) 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_914) (and (<= (select |c_#memory_int| v_idx_914) 0) (<= (* 2 (select |c_#memory_int| v_idx_914)) 0)) (< v_idx_914 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (< v_idx_901 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_901) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_901) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_912)) (< v_idx_912 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_912)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_908) (< v_idx_908 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_908) 0)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:52:50,461 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:52:50,461 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:52:50,462 WARN L230 ngHoareTripleChecker]: Post: {115#false} [2019-02-14 16:52:50,462 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:52:50,485 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:52:50,485 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:52:50,678 WARN L270 ngHoareTripleChecker]: Pre: {114#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_908 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_908) (< v_idx_908 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_908) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_914 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_914) (<= (* 2 (select |#memory_int| v_idx_914)) 0) (< v_idx_914 ULTIMATE.start_main_p4))) (forall ((v_idx_901 Int)) (or (< v_idx_901 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_901) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_901) 0))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_904 Int)) (or (< v_idx_904 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_904) (= (select |#valid| v_idx_904) 1))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_910 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_910) (< v_idx_910 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_910) 0))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (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))) (forall ((v_idx_912 Int)) (or (= 0 (select |#memory_int| v_idx_912)) (< v_idx_912 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_912))))} [2019-02-14 16:52:50,678 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:52:50,679 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:52:50,680 WARN L276 ngHoareTripleChecker]: Post: {115#false} [2019-02-14 16:52:50,681 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:52:50,681 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:52:50,682 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2328 [inf_0], [old(#valid)] -> [-inf_0] v_2327 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 28 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:52:50,683 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-14 16:52:50,683 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:52:50,683 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:52:51,354 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:52:51,354 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:52:51,355 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:52:51,355 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:52:51,355 WARN L224 ngHoareTripleChecker]: Pre: {117#(forall ((v_idx_931 Int) (v_idx_921 Int) (v_idx_927 Int) (v_idx_925 Int) (v_idx_918 Int) (v_idx_929 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (= (select |c_#memory_int| v_idx_925) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_925) (< v_idx_925 c_ULTIMATE.start_main_p1)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (and (<= (* 2 (select |c_#memory_int| v_idx_931)) 0) (<= (select |c_#memory_int| v_idx_931) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_931) (< v_idx_931 c_ULTIMATE.start_main_p4)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_918 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_918)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_918)) (or (= (select |c_#memory_int| v_idx_929) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_929) (< v_idx_929 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_921 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_921) (= (select |c_#valid| v_idx_921) 1)) (or (< v_idx_927 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_927)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_927)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:52:51,355 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:52:51,355 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-14 16:52:51,356 WARN L230 ngHoareTripleChecker]: Post: {118#false} [2019-02-14 16:52:51,356 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:52:51,361 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:52:51,362 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:52:51,469 WARN L270 ngHoareTripleChecker]: Pre: {117#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_925 Int)) (or (= (select |#memory_int| v_idx_925) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_925) (< v_idx_925 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_927 Int)) (or (< v_idx_927 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_927)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_927))) (forall ((v_idx_918 Int)) (or (< v_idx_918 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_918)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_918))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_prenex_3 Int)) (or (<= (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_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_921 Int)) (or (< v_idx_921 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_921) (= (select |#valid| v_idx_921) 1))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_931 Int)) (or (<= (* 2 (select |#memory_int| v_idx_931)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_931) (< v_idx_931 ULTIMATE.start_main_p4))) (forall ((v_idx_929 Int)) (or (= (select |#memory_int| v_idx_929) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_929) (< v_idx_929 ULTIMATE.start_main_p3))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:52:51,469 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:52:51,470 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-14 16:52:51,472 WARN L276 ngHoareTripleChecker]: Post: {118#false} [2019-02-14 16:52:51,472 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:52:51,472 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:52:51,474 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2333 [inf_0], [old(#valid)] -> [-inf_0] v_2332 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 28 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:52:51,474 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-14 16:52:51,474 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:52:51,474 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:52:54,947 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:52:54,947 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:52:54,948 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:52:54,948 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:52:54,948 WARN L224 ngHoareTripleChecker]: Pre: {123#(forall ((v_idx_1027 Int) (v_idx_1038 Int) (v_idx_1036 Int) (v_idx_1034 Int) (v_idx_1030 Int) (v_idx_1040 Int)) (and (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1027)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1027) (< v_idx_1027 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1034) (= 0 (select |c_#memory_int| v_idx_1034)) (< v_idx_1034 c_ULTIMATE.start_main_p1)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1038) (= (select |c_#memory_int| v_idx_1038) 0) (< v_idx_1038 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (< v_idx_1036 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1036) (= 0 (select |c_#memory_int| v_idx_1036))) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1030) (< v_idx_1030 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_1030))) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_1040 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_1040) 0) (<= (* 2 (select |c_#memory_int| v_idx_1040)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1040)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:52:54,948 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 16:52:54,948 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-14 16:52:54,949 WARN L230 ngHoareTripleChecker]: Post: {124#false} [2019-02-14 16:52:54,949 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:52:54,954 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:52:54,954 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:52:55,111 WARN L270 ngHoareTripleChecker]: Pre: {123#(and (forall ((v_idx_1040 Int)) (or (<= (select |#memory_int| v_idx_1040) 0) (< v_idx_1040 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1040))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_1027 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1027)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1027) (< v_idx_1027 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (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))) (forall ((v_idx_1030 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1030) (< v_idx_1030 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_1030)))) (forall ((v_idx_1036 Int)) (or (< v_idx_1036 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1036) (= 0 (select |#memory_int| v_idx_1036)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_1038 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_1038) (= (select |#memory_int| v_idx_1038) 0) (< v_idx_1038 ULTIMATE.start_main_p3))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1034 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1034) (= 0 (select |#memory_int| v_idx_1034)) (< v_idx_1034 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:52:55,112 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 16:52:55,112 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-14 16:52:55,121 WARN L276 ngHoareTripleChecker]: Post: {124#false} [2019-02-14 16:52:55,121 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:52:55,121 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:52:55,122 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2373 [inf_0], [old(#valid)] -> [-inf_0] v_2372 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 28 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:52:55,123 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-14 16:52:55,123 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:52:55,123 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:52:58,180 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:52:58,180 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:52:58,180 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:52:58,180 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:52:58,181 WARN L224 ngHoareTripleChecker]: Pre: {127#(forall ((v_idx_1147 Int) (v_idx_1136 Int) (v_idx_1145 Int) (v_idx_1143 Int) (v_idx_1139 Int) (v_idx_1149 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_1149 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_1149)) 0) (<= (select |c_#memory_int| v_idx_1149) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1149)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (< v_idx_1139 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1139) (= 1 (select |c_#valid| v_idx_1139))) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_1145 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1145) (= 0 (select |c_#memory_int| v_idx_1145))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (or (= 0 (select |c_#memory_int| v_idx_1147)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1147) (< v_idx_1147 c_ULTIMATE.start_main_p3)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_1136 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1136) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1136)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= (select |c_#memory_int| v_idx_1143) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1143) (< v_idx_1143 c_ULTIMATE.start_main_p1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:52:58,181 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 16:52:58,181 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-14 16:52:58,181 WARN L230 ngHoareTripleChecker]: Post: {128#false} [2019-02-14 16:52:58,181 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:52:58,187 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:52:58,187 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:52:58,278 WARN L270 ngHoareTripleChecker]: Pre: {127#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1149 Int)) (or (< v_idx_1149 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_idx_1149)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1149))) (forall ((v_prenex_5 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_5) (< v_prenex_5 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_5) 0))) (forall ((v_idx_1136 Int)) (or (< v_idx_1136 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1136) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1136))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1143 Int)) (or (= (select |#memory_int| v_idx_1143) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1143) (< v_idx_1143 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_1147 Int)) (or (= 0 (select |#memory_int| v_idx_1147)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1147) (< v_idx_1147 ULTIMATE.start_main_p3))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1139 Int)) (or (< v_idx_1139 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1139) (= 1 (select |#valid| v_idx_1139)))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1145 Int)) (or (< v_idx_1145 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1145) (= 0 (select |#memory_int| v_idx_1145)))))} [2019-02-14 16:52:58,279 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 16:52:58,279 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-14 16:52:58,280 WARN L276 ngHoareTripleChecker]: Post: {128#false} [2019-02-14 16:52:58,280 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:52:58,280 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:52:58,282 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2413 [inf_0], [old(#valid)] -> [-inf_0] v_2412 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 28 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:52:58,283 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-14 16:52:58,283 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:52:58,283 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:53:01,750 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:53:01,750 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:53:01,750 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:53:01,750 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:53:01,751 WARN L224 ngHoareTripleChecker]: Pre: {135#(forall ((v_idx_1269 Int) (v_idx_1265 Int) (v_idx_1275 Int) (v_idx_1262 Int) (v_idx_1273 Int) (v_idx_1271 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_1269)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1269) (< v_idx_1269 c_ULTIMATE.start_main_p1)) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1262) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1262) (< v_idx_1262 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_1271 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1271) (= 0 (select |c_#memory_int| v_idx_1271))) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_1273 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1273) (= (select |c_#memory_int| v_idx_1273) 0)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (and (<= (* 2 (select |c_#memory_int| v_idx_1275)) 0) (<= (select |c_#memory_int| v_idx_1275) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1275) (< v_idx_1275 c_ULTIMATE.start_main_p4)) (<= (+ 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (= 1 (select |c_#valid| v_idx_1265)) (< v_idx_1265 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1265)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:53:01,751 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:53:01,751 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:53:01,751 WARN L230 ngHoareTripleChecker]: Post: {136#false} [2019-02-14 16:53:01,751 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:53:01,773 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:53:01,774 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:53:01,844 WARN L270 ngHoareTripleChecker]: Pre: {135#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_1265 Int)) (or (= 1 (select |#valid| v_idx_1265)) (< v_idx_1265 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1265))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_1275 Int)) (or (<= (* 2 (select |#memory_int| v_idx_1275)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1275) (< v_idx_1275 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1273 Int)) (or (< v_idx_1273 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1273) (= (select |#memory_int| v_idx_1273) 0))) (forall ((v_idx_1271 Int)) (or (< v_idx_1271 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1271) (= 0 (select |#memory_int| v_idx_1271)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1269 Int)) (or (= 0 (select |#memory_int| v_idx_1269)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1269) (< v_idx_1269 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (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) (forall ((v_idx_1262 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1262) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1262) (< v_idx_1262 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:53:01,845 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:53:01,845 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:53:01,847 WARN L276 ngHoareTripleChecker]: Post: {136#false} [2019-02-14 16:53:01,848 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:53:01,848 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:53:01,849 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2458 [inf_0], [old(#valid)] -> [-inf_0] v_2457 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 28 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:53:01,849 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-14 16:53:01,849 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:53:01,849 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:53:03,148 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:53:03,148 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:53:03,148 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:53:03,148 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:53:03,149 WARN L224 ngHoareTripleChecker]: Pre: {138#true} [2019-02-14 16:53:03,149 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 16:53:03,149 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-14 16:53:03,149 WARN L230 ngHoareTripleChecker]: Post: {139#(forall ((v_idx_1324 Int) (v_idx_1334 Int) (v_idx_1332 Int) (v_idx_1330 Int) (v_idx_1327 Int) (v_idx_1336 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1324) 0) (< v_idx_1324 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1324)) (or (< v_idx_1334 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1334) (= 0 (select |c_#memory_int| v_idx_1334))) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= 1 (select |c_#valid| v_idx_1327)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1327) (< v_idx_1327 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1332) (= 0 (select |c_#memory_int| v_idx_1332)) (< v_idx_1332 c_ULTIMATE.start_main_p2)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_1330 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_1330)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1330)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (< v_idx_1336 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_1336)) 0) (<= (select |c_#memory_int| v_idx_1336) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1336)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:53:03,149 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:53:03,150 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:53:03,150 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:53:03,151 WARN L270 ngHoareTripleChecker]: Pre: {138#true} [2019-02-14 16:53:03,151 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 16:53:03,151 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-14 16:53:03,221 WARN L276 ngHoareTripleChecker]: Post: {139#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1330 Int)) (or (< v_idx_1330 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_1330)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1330))) (forall ((v_idx_1336 Int)) (or (<= (* 2 (select |#memory_int| v_idx_1336)) 0) (< v_idx_1336 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1336))) (forall ((v_idx_1324 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1324) 0) (< v_idx_1324 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1324))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_prenex_7 Int)) (or (<= (select |#memory_int| v_prenex_7) 0) (< v_prenex_7 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_7))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_1327 Int)) (or (= 1 (select |#valid| v_idx_1327)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1327) (< v_idx_1327 ULTIMATE.start_main_p4))) (forall ((v_idx_1332 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_1332) (= 0 (select |#memory_int| v_idx_1332)) (< v_idx_1332 ULTIMATE.start_main_p2))) (forall ((v_idx_1334 Int)) (or (< v_idx_1334 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1334) (= 0 (select |#memory_int| v_idx_1334)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:53:03,221 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:53:03,221 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:53:03,222 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2465 [inf_0], [#valid] -> [-inf_0] v_2463 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2462 [inf_0], [old(#memory_int)] -> [-inf_0] v_2466 [inf_0], [old(#valid)] -> [-inf_0] v_2464 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:53:03,222 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-14 16:53:03,224 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 26 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:53:03,224 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:53:05,591 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:53:05,591 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:53:05,593 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:53:05,593 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:53:05,593 WARN L224 ngHoareTripleChecker]: Pre: {143#true} [2019-02-14 16:53:05,593 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:53:05,594 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:53:05,594 WARN L230 ngHoareTripleChecker]: Post: {144#(forall ((v_idx_1456 Int) (v_idx_1444 Int) (v_idx_1454 Int) (v_idx_1452 Int) (v_idx_1450 Int) (v_idx_1447 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1454) (< v_idx_1454 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_1454) 0)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1444)) (< v_idx_1444 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1444)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (and (<= (* 2 (select |c_#memory_int| v_idx_1456)) 0) (<= (select |c_#memory_int| v_idx_1456) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1456) (< v_idx_1456 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1450) (= (select |c_#memory_int| v_idx_1450) 0) (< v_idx_1450 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_p2 2) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1452) (< v_idx_1452 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_1452) 0)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1447) (< v_idx_1447 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_1447) 1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:53:05,595 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:53:05,595 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:53:05,596 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:53:05,596 WARN L270 ngHoareTripleChecker]: Pre: {143#true} [2019-02-14 16:53:05,596 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:53:05,597 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:53:05,710 WARN L276 ngHoareTripleChecker]: Post: {144#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1444 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1444)) (< v_idx_1444 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1444))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1450 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1450) (= (select |#memory_int| v_idx_1450) 0) (< v_idx_1450 ULTIMATE.start_main_p1))) (forall ((v_idx_1452 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_1452) (< v_idx_1452 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_1452) 0))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_1456 Int)) (or (<= (select |#memory_int| v_idx_1456) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1456) (< v_idx_1456 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (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_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_1454 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_1454) (< v_idx_1454 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_1454) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_1447 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1447) (< v_idx_1447 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_1447) 1))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:53:05,710 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:53:05,711 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:53:05,711 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2541 [inf_0], [#valid] -> [-inf_0] v_2539 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2538 [inf_0], [old(#memory_int)] -> [-inf_0] v_2542 [inf_0], [old(#valid)] -> [-inf_0] v_2540 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:53:05,712 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-14 16:53:05,713 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 26 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:53:05,713 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:53:06,557 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:53:06,558 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:53:06,558 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:53:06,558 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:53:06,558 WARN L224 ngHoareTripleChecker]: Pre: {149#(forall ((v_idx_1489 Int) (v_idx_1476 Int) (v_idx_1487 Int) (v_idx_1485 Int) (v_idx_1483 Int) (v_idx_1479 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1476)) (< v_idx_1476 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1476)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1479) (= 1 (select |c_#valid| v_idx_1479)) (< v_idx_1479 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_1485 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1485) (= 0 (select |c_#memory_int| v_idx_1485))) (or (< v_idx_1487 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1487) (= (select |c_#memory_int| v_idx_1487) 0)) (or (and (<= (* 2 (select |c_#memory_int| v_idx_1489)) 0) (<= (select |c_#memory_int| v_idx_1489) 0)) (< v_idx_1489 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1489)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_#memory_int| v_idx_1483)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1483) (< v_idx_1483 c_ULTIMATE.start_main_p1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:53:06,559 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:53:06,559 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:53:06,559 WARN L230 ngHoareTripleChecker]: Post: {150#false} [2019-02-14 16:53:06,559 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:53:06,579 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:53:06,580 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:53:06,675 WARN L270 ngHoareTripleChecker]: Pre: {149#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1483 Int)) (or (= 0 (select |#memory_int| v_idx_1483)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1483) (< v_idx_1483 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_1487 Int)) (or (< v_idx_1487 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1487) (= (select |#memory_int| v_idx_1487) 0))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1479 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1479) (= 1 (select |#valid| v_idx_1479)) (< v_idx_1479 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_idx_1485 Int)) (or (< v_idx_1485 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1485) (= 0 (select |#memory_int| v_idx_1485)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_9 Int)) (or (< v_prenex_9 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_9) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_9))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_1476 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1476)) (< v_idx_1476 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1476))) (forall ((v_idx_1489 Int)) (or (< v_idx_1489 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_idx_1489)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1489))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:53:06,675 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:53:06,676 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:53:06,677 WARN L276 ngHoareTripleChecker]: Post: {150#false} [2019-02-14 16:53:06,677 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:53:06,677 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:53:06,679 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2582 [inf_0], [old(#valid)] -> [-inf_0] v_2581 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 28 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:53:06,680 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-14 16:53:06,680 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:53:06,680 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:53:07,836 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:53:07,837 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:53:07,837 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:53:07,837 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:53:07,838 WARN L224 ngHoareTripleChecker]: Pre: {152#true} [2019-02-14 16:53:07,838 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-14 16:53:07,838 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-14 16:53:07,839 WARN L230 ngHoareTripleChecker]: Post: {153#(forall ((v_idx_1544 Int) (v_idx_1541 Int) (v_idx_1550 Int) (v_idx_1538 Int) (v_idx_1548 Int) (v_idx_1546 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1541) (= 1 (select |c_#valid| v_idx_1541)) (< v_idx_1541 c_ULTIMATE.start_main_p4)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1538)) (< v_idx_1538 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1538)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1550) (and (<= (select |c_#memory_int| v_idx_1550) 0) (<= (* 2 (select |c_#memory_int| v_idx_1550)) 0)) (< v_idx_1550 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_1548 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1548) (= (select |c_#memory_int| v_idx_1548) 0)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (= 0 (select |c_#memory_int| v_idx_1546)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1546) (< v_idx_1546 c_ULTIMATE.start_main_p2)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= 0 (select |c_#memory_int| v_idx_1544)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1544) (< v_idx_1544 c_ULTIMATE.start_main_p1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:53:07,839 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:53:07,839 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:53:07,840 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:53:07,840 WARN L270 ngHoareTripleChecker]: Pre: {152#true} [2019-02-14 16:53:07,840 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-14 16:53:07,841 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-14 16:53:07,901 WARN L276 ngHoareTripleChecker]: Post: {153#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_1538 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1538)) (< v_idx_1538 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1538))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1546 Int)) (or (= 0 (select |#memory_int| v_idx_1546)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1546) (< v_idx_1546 ULTIMATE.start_main_p2))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_1541 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1541) (= 1 (select |#valid| v_idx_1541)) (< v_idx_1541 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1550 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1550) (<= (select |#memory_int| v_idx_1550) 0) (< v_idx_1550 ULTIMATE.start_main_p4))) (forall ((v_prenex_10 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_10)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_10) (< v_prenex_10 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_1548 Int)) (or (< v_idx_1548 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1548) (= (select |#memory_int| v_idx_1548) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_1544 Int)) (or (= 0 (select |#memory_int| v_idx_1544)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1544) (< v_idx_1544 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:53:07,901 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:53:07,901 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:53:07,902 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2589 [inf_0], [#valid] -> [-inf_0] v_2587 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2586 [inf_0], [old(#memory_int)] -> [-inf_0] v_2590 [inf_0], [old(#valid)] -> [-inf_0] v_2588 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:53:07,902 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) (assume !(#memory_int[main_p2] <= 0);) [2019-02-14 16:53:07,904 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 26 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:53:07,904 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:53:08,960 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:53:08,960 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:53:08,960 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:53:08,960 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:53:08,961 WARN L224 ngHoareTripleChecker]: Pre: {155#true} [2019-02-14 16:53:08,961 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:53:08,961 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:53:08,961 WARN L230 ngHoareTripleChecker]: Post: {156#(forall ((v_idx_1610 Int) (v_idx_1598 Int) (v_idx_1608 Int) (v_idx_1606 Int) (v_idx_1604 Int) (v_idx_1601 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1598) (< v_idx_1598 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1598))) (or (= 0 (select |c_#memory_int| v_idx_1608)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1608) (< v_idx_1608 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1604) (= (select |c_#memory_int| v_idx_1604) 0) (< v_idx_1604 c_ULTIMATE.start_main_p1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1601) (= 1 (select |c_#valid| v_idx_1601)) (< v_idx_1601 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1606) (= (select |c_#memory_int| v_idx_1606) 0) (< v_idx_1606 c_ULTIMATE.start_main_p2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1610) (and (<= (select |c_#memory_int| v_idx_1610) 0) (<= (* 2 (select |c_#memory_int| v_idx_1610)) 0)) (< v_idx_1610 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:53:08,962 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:53:08,962 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:53:08,962 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:53:08,963 WARN L270 ngHoareTripleChecker]: Pre: {155#true} [2019-02-14 16:53:08,963 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:53:08,964 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:53:09,034 WARN L276 ngHoareTripleChecker]: Post: {156#(and (forall ((v_idx_1601 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1601) (= 1 (select |#valid| v_idx_1601)) (< v_idx_1601 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_11 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_11)) 0) (< v_prenex_11 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_11))) (forall ((v_idx_1610 Int)) (or (<= (select |#memory_int| v_idx_1610) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1610) (< v_idx_1610 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_1604 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1604) (= (select |#memory_int| v_idx_1604) 0) (< v_idx_1604 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1606 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_1606) (= (select |#memory_int| v_idx_1606) 0) (< v_idx_1606 ULTIMATE.start_main_p2))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_1608 Int)) (or (= 0 (select |#memory_int| v_idx_1608)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1608) (< v_idx_1608 ULTIMATE.start_main_p3))) (forall ((v_idx_1598 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1598) (< v_idx_1598 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1598)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:53:09,034 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:53:09,034 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:53:09,035 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2627 [inf_0], [#valid] -> [-inf_0] v_2625 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2624 [inf_0], [old(#memory_int)] -> [-inf_0] v_2628 [inf_0], [old(#valid)] -> [-inf_0] v_2626 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:53:09,035 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-14 16:53:09,037 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 26 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:53:09,037 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:53:10,455 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:53:10,455 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:53:10,455 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:53:10,455 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:53:10,456 WARN L224 ngHoareTripleChecker]: Pre: {161#true} [2019-02-14 16:53:10,456 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-14 16:53:10,456 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-14 16:53:10,456 WARN L230 ngHoareTripleChecker]: Post: {162#(forall ((v_idx_1687 Int) (v_idx_1675 Int) (v_idx_1685 Int) (v_idx_1683 Int) (v_idx_1681 Int) (v_idx_1678 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (< v_idx_1685 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1685) (= (select |c_#memory_int| v_idx_1685) 0)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1683) (= (select |c_#memory_int| v_idx_1683) 0) (< v_idx_1683 c_ULTIMATE.start_main_p2)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_#memory_int| v_idx_1681)) (< v_idx_1681 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1681)) (or (and (<= (* 2 (select |c_#memory_int| v_idx_1687)) 0) (<= (select |c_#memory_int| v_idx_1687) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1687) (< v_idx_1687 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1678) (= 1 (select |c_#valid| v_idx_1678)) (< v_idx_1678 c_ULTIMATE.start_main_p4)) (<= (+ 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_1675 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1675) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1675))))} [2019-02-14 16:53:10,456 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:53:10,457 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:53:10,457 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:53:10,458 WARN L270 ngHoareTripleChecker]: Pre: {161#true} [2019-02-14 16:53:10,458 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-14 16:53:10,458 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-14 16:53:10,574 WARN L276 ngHoareTripleChecker]: Post: {162#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_1687 Int)) (or (<= (* 2 (select |#memory_int| v_idx_1687)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1687) (< v_idx_1687 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_1683 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_1683) (= (select |#memory_int| v_idx_1683) 0) (< v_idx_1683 ULTIMATE.start_main_p2))) (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_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_1675 Int)) (or (< v_idx_1675 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1675) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1675))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1685 Int)) (or (< v_idx_1685 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1685) (= (select |#memory_int| v_idx_1685) 0))) (forall ((v_idx_1681 Int)) (or (= 0 (select |#memory_int| v_idx_1681)) (< v_idx_1681 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1681))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1678 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1678) (= 1 (select |#valid| v_idx_1678)) (< v_idx_1678 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:53:10,574 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:53:10,574 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:53:10,575 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2670 [inf_0], [#valid] -> [-inf_0] v_2668 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2667 [inf_0], [old(#memory_int)] -> [-inf_0] v_2671 [inf_0], [old(#valid)] -> [-inf_0] v_2669 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:53:10,575 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) (assume !(#memory_int[main_p3] >= 0);) [2019-02-14 16:53:10,577 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 26 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:53:10,577 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:53:12,153 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:53:12,154 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:53:12,154 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:53:12,155 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:53:12,155 WARN L224 ngHoareTripleChecker]: Pre: {164#true} [2019-02-14 16:53:12,155 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:53:12,155 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:53:12,156 WARN L230 ngHoareTripleChecker]: Post: {165#(forall ((v_idx_1741 Int) (v_idx_1738 Int) (v_idx_1747 Int) (v_idx_1735 Int) (v_idx_1745 Int) (v_idx_1743 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1741) (< v_idx_1741 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_1741) 0)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_1738 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_1738) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1738)) (or (< v_idx_1743 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1743) (= (select |c_#memory_int| v_idx_1743) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1747) (and (<= (select |c_#memory_int| v_idx_1747) 0) (<= (* 2 (select |c_#memory_int| v_idx_1747)) 0)) (< v_idx_1747 c_ULTIMATE.start_main_p4)) (or (< v_idx_1745 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1745) (= (select |c_#memory_int| v_idx_1745) 0)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_1735 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1735) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1735) 0))))} [2019-02-14 16:53:12,156 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:53:12,157 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:53:12,157 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:53:12,158 WARN L270 ngHoareTripleChecker]: Pre: {164#true} [2019-02-14 16:53:12,158 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:53:12,158 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:53:12,245 WARN L276 ngHoareTripleChecker]: Post: {165#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_1741 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1741) (< v_idx_1741 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_1741) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1738 Int)) (or (< v_idx_1738 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_1738) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1738))) (forall ((v_idx_1747 Int)) (or (<= (* 2 (select |#memory_int| v_idx_1747)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1747) (< v_idx_1747 ULTIMATE.start_main_p4))) (forall ((v_idx_1745 Int)) (or (< v_idx_1745 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1745) (= (select |#memory_int| v_idx_1745) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_prenex_13 Int)) (or (<= (select |#memory_int| v_prenex_13) 0) (< v_prenex_13 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_13))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1735 Int)) (or (< v_idx_1735 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1735) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1735) 0))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1743 Int)) (or (< v_idx_1743 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1743) (= (select |#memory_int| v_idx_1743) 0))))} [2019-02-14 16:53:12,245 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:53:12,245 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:53:12,245 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2708 [inf_0], [#valid] -> [-inf_0] v_2706 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2705 [inf_0], [old(#memory_int)] -> [-inf_0] v_2709 [inf_0], [old(#valid)] -> [-inf_0] v_2707 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:53:12,246 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-14 16:53:12,247 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 26 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:53:12,247 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:53:13,608 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:53:13,609 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:53:13,616 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:53:13,616 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:53:13,616 WARN L224 ngHoareTripleChecker]: Pre: {167#true} [2019-02-14 16:53:13,617 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-14 16:53:13,617 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-14 16:53:13,617 WARN L230 ngHoareTripleChecker]: Post: {168#(forall ((v_idx_1795 Int) (v_idx_1807 Int) (v_idx_1805 Int) (v_idx_1803 Int) (v_idx_1801 Int) (v_idx_1798 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1798) (= (select |c_#valid| v_idx_1798) 1) (< v_idx_1798 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_1805 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1805) (= (select |c_#memory_int| v_idx_1805) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1795) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1795) (< v_idx_1795 c_ULTIMATE.start_main_p4)) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= (select |c_#memory_int| v_idx_1801) 0) (< v_idx_1801 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1801)) (or (< v_idx_1807 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1807) (and (<= (* 2 (select |c_#memory_int| v_idx_1807)) 0) (<= (select |c_#memory_int| v_idx_1807) 0))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_1803 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_1803)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1803)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:53:13,617 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:53:13,618 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:53:13,618 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:53:13,619 WARN L270 ngHoareTripleChecker]: Pre: {167#true} [2019-02-14 16:53:13,619 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-14 16:53:13,619 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-14 16:53:13,680 WARN L276 ngHoareTripleChecker]: Post: {168#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_1805 Int)) (or (< v_idx_1805 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1805) (= (select |#memory_int| v_idx_1805) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (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_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1807 Int)) (or (< v_idx_1807 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1807) (<= (select |#memory_int| v_idx_1807) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_1801 Int)) (or (= (select |#memory_int| v_idx_1801) 0) (< v_idx_1801 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1801))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_1798 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1798) (= (select |#valid| v_idx_1798) 1) (< v_idx_1798 ULTIMATE.start_main_p4))) (forall ((v_idx_1795 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1795) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1795) (< v_idx_1795 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_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_1803 Int)) (or (< v_idx_1803 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_1803)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1803))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:53:13,681 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:53:13,681 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:53:13,682 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2746 [inf_0], [#valid] -> [-inf_0] v_2744 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2743 [inf_0], [old(#memory_int)] -> [-inf_0] v_2747 [inf_0], [old(#valid)] -> [-inf_0] v_2745 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:53:13,682 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) (assume !(#memory_int[main_p4] <= 0);) [2019-02-14 16:53:13,683 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_116] v_1537 [b_117] v_1538 [b_118] v_1539 [b_119] v_1540 [b_120] v_1541 [b_121] v_1542 [b_122] v_1543 [b_123] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_114] v_1534 [b_115] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_112] v_1530 [b_113] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]; v_1537 = [0; 0]}, 26 vars top, relations: {v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_112 = [0; 0]; ULTIMATE.start_main_p1 - b_112 = [-inf; -3]; ULTIMATE.start_main_p2 - b_112 = [-inf; -2]; ULTIMATE.start_main_p3 - b_112 = [-inf; -1]; ULTIMATE.start_main_p4 - b_112 = [0; 0]; b_112 - b_119 = [1; inf]; b_116 - b_119 = [-inf; -2]; b_114 - b_119 = [1; inf]; ULTIMATE.start_malloc_ptr - b_119 = [1; inf]; b_118 - b_119 = [-1; -1]; b_115 - b_119 = [2; inf]; b_113 - b_119 = [2; inf]; ULTIMATE.start_main_p1 - b_119 = [-inf; -2]; ULTIMATE.start_main_p2 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [0; inf]; ULTIMATE.start_main_p4 - b_119 = [1; inf]; b_117 - b_119 = [-inf; -1]; b_112 - b_116 = [3; inf]; b_114 - b_116 = [3; inf]; ULTIMATE.start_malloc_ptr - b_116 = [3; inf]; b_115 - b_116 = [4; inf]; b_113 - b_116 = [4; inf]; ULTIMATE.start_main_p1 - b_116 = [0; 0]; ULTIMATE.start_main_p2 - b_116 = [1; inf]; ULTIMATE.start_main_p3 - b_116 = [2; inf]; ULTIMATE.start_main_p4 - b_116 = [3; inf]; b_112 - b_114 = [0; 0]; ULTIMATE.start_malloc_ptr - b_114 = [0; 0]; b_113 - b_114 = [1; 1]; ULTIMATE.start_main_p1 - b_114 = [-inf; -3]; ULTIMATE.start_main_p2 - b_114 = [-inf; -2]; ULTIMATE.start_main_p3 - b_114 = [-inf; -1]; ULTIMATE.start_main_p4 - b_114 = [0; 0]; v_1530 + v_1539 = [0; 0]; v_1530 - v_1539 = [0; 0]; v_1534 + v_1539 = [1; 1]; v_1534 - v_1539 = [1; 1]; v_1537 + v_1539 = [0; 0]; v_1537 - v_1539 = [0; 0]; v_1530 + v_1541 = [0; 0]; v_1530 - v_1541 = [0; 0]; v_1534 + v_1541 = [1; 1]; v_1534 - v_1541 = [1; 1]; v_1539 + v_1541 = [0; 0]; v_1539 - v_1541 = [0; 0]; v_1537 + v_1541 = [0; 0]; v_1537 - v_1541 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_112 - b_118 = [2; inf]; b_116 - b_118 = [-inf; -1]; b_114 - b_118 = [2; inf]; ULTIMATE.start_malloc_ptr - b_118 = [2; inf]; b_115 - b_118 = [3; inf]; b_113 - b_118 = [3; inf]; ULTIMATE.start_main_p1 - b_118 = [-inf; -1]; ULTIMATE.start_main_p2 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [1; inf]; ULTIMATE.start_main_p4 - b_118 = [2; inf]; b_117 - b_118 = [-inf; 0]; b_112 - b_115 = [-1; -1]; b_114 - b_115 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_115 = [-1; -1]; b_113 - b_115 = [0; 0]; ULTIMATE.start_main_p1 - b_115 = [-inf; -4]; ULTIMATE.start_main_p2 - b_115 = [-inf; -3]; ULTIMATE.start_main_p3 - b_115 = [-inf; -2]; ULTIMATE.start_main_p4 - b_115 = [-1; -1]; b_112 - b_120 = [1; inf]; b_119 - b_120 = [-inf; 0]; b_116 - b_120 = [-inf; -2]; b_114 - b_120 = [1; inf]; ULTIMATE.start_malloc_ptr - b_120 = [1; inf]; b_118 - b_120 = [-inf; -1]; b_115 - b_120 = [2; inf]; b_113 - b_120 = [2; inf]; ULTIMATE.start_main_p1 - b_120 = [-inf; -2]; ULTIMATE.start_main_p2 - b_120 = [-inf; -1]; ULTIMATE.start_main_p3 - b_120 = [0; 0]; ULTIMATE.start_main_p4 - b_120 = [1; inf]; b_117 - b_120 = [-inf; -1]; b_112 - b_113 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_113 = [-1; -1]; ULTIMATE.start_main_p1 - b_113 = [-inf; -4]; ULTIMATE.start_main_p2 - b_113 = [-inf; -3]; ULTIMATE.start_main_p3 - b_113 = [-inf; -2]; ULTIMATE.start_main_p4 - b_113 = [-1; -1]; v_1530 + v_1543 = [-inf; 0]; v_1530 - v_1543 = [0; inf]; v_1534 + v_1543 = [-inf; 1]; v_1534 - v_1543 = [1; inf]; v_1539 + v_1543 = [-inf; 0]; v_1539 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; v_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; b_112 - b_122 = [0; 0]; b_119 - b_122 = [-inf; -1]; b_116 - b_122 = [-inf; -3]; b_114 - b_122 = [0; 0]; ULTIMATE.start_malloc_ptr - b_122 = [0; 0]; b_118 - b_122 = [-inf; -2]; b_115 - b_122 = [1; 1]; b_120 - b_122 = [-inf; -1]; b_113 - b_122 = [1; 1]; b_121 - b_122 = [-inf; 0]; ULTIMATE.start_main_p1 - b_122 = [-inf; -3]; ULTIMATE.start_main_p2 - b_122 = [-inf; -2]; ULTIMATE.start_main_p3 - b_122 = [-inf; -1]; ULTIMATE.start_main_p4 - b_122 = [0; 0]; b_117 - b_122 = [-inf; -2]; v_1530 + v_1537 = [0; 0]; v_1530 - v_1537 = [0; 0]; v_1534 + v_1537 = [1; 1]; v_1534 - v_1537 = [1; 1]; b_112 - b_121 = [0; inf]; b_119 - b_121 = [-inf; -1]; b_116 - b_121 = [-inf; -3]; b_114 - b_121 = [0; inf]; ULTIMATE.start_malloc_ptr - b_121 = [0; inf]; b_118 - b_121 = [-inf; -2]; b_115 - b_121 = [1; inf]; b_120 - b_121 = [-1; -1]; b_113 - b_121 = [1; inf]; ULTIMATE.start_main_p1 - b_121 = [-inf; -3]; ULTIMATE.start_main_p2 - b_121 = [-inf; -2]; ULTIMATE.start_main_p3 - b_121 = [-1; -1]; ULTIMATE.start_main_p4 - b_121 = [0; inf]; b_117 - b_121 = [-inf; -2]; b_112 - b_123 = [-1; -1]; b_119 - b_123 = [-inf; -2]; b_116 - b_123 = [-inf; -4]; b_114 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [-1; -1]; b_118 - b_123 = [-inf; -3]; b_115 - b_123 = [0; 0]; b_120 - b_123 = [-inf; -2]; b_113 - b_123 = [0; 0]; b_122 - b_123 = [-1; -1]; b_121 - b_123 = [-inf; -1]; ULTIMATE.start_main_p1 - b_123 = [-inf; -4]; ULTIMATE.start_main_p2 - b_123 = [-inf; -3]; ULTIMATE.start_main_p3 - b_123 = [-inf; -2]; ULTIMATE.start_main_p4 - b_123 = [-1; -1]; b_117 - b_123 = [-inf; -3]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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]; b_112 - b_117 = [2; inf]; b_116 - b_117 = [-1; -1]; b_114 - b_117 = [2; inf]; ULTIMATE.start_malloc_ptr - b_117 = [2; inf]; b_115 - b_117 = [3; inf]; b_113 - b_117 = [3; inf]; ULTIMATE.start_main_p1 - b_117 = [-1; -1]; ULTIMATE.start_main_p2 - b_117 = [0; inf]; ULTIMATE.start_main_p3 - b_117 = [1; inf]; ULTIMATE.start_main_p4 - b_117 = [2; inf]}, }}} [2019-02-14 16:53:13,684 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:53:13,688 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:53:13,688 INFO L93 Difference]: Finished difference Result 18 states and 28 transitions. [2019-02-14 16:53:13,688 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-14 16:53:13,689 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-14 16:53:13,689 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-14 16:53:13,689 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 16:53:13,690 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-14 16:53:13,690 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 16:53:13,691 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-14 16:53:13,691 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 23 transitions. [2019-02-14 16:53:13,905 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 23 edges. 23 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-14 16:53:13,907 INFO L225 Difference]: With dead ends: 18 [2019-02-14 16:53:13,907 INFO L226 Difference]: Without dead ends: 11 [2019-02-14 16:53:13,908 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 0 SyntacticMatches, 1 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 1.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 16:53:13,908 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 11 states. [2019-02-14 16:53:13,926 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 11 to 10. [2019-02-14 16:53:13,926 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-14 16:53:13,926 INFO L82 GeneralOperation]: Start isEquivalent. First operand 11 states. Second operand 10 states. [2019-02-14 16:53:13,927 INFO L74 IsIncluded]: Start isIncluded. First operand 11 states. Second operand 10 states. [2019-02-14 16:53:13,927 INFO L87 Difference]: Start difference. First operand 11 states. Second operand 10 states. [2019-02-14 16:53:13,929 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:53:13,929 INFO L93 Difference]: Finished difference Result 11 states and 20 transitions. [2019-02-14 16:53:13,929 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 20 transitions. [2019-02-14 16:53:13,929 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 16:53:13,930 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 16:53:13,930 INFO L74 IsIncluded]: Start isIncluded. First operand 10 states. Second operand 11 states. [2019-02-14 16:53:13,930 INFO L87 Difference]: Start difference. First operand 10 states. Second operand 11 states. [2019-02-14 16:53:13,931 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:53:13,932 INFO L93 Difference]: Finished difference Result 11 states and 20 transitions. [2019-02-14 16:53:13,932 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 20 transitions. [2019-02-14 16:53:13,932 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 16:53:13,932 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 16:53:13,932 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-14 16:53:13,933 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-14 16:53:13,933 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2019-02-14 16:53:13,934 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 16 transitions. [2019-02-14 16:53:13,934 INFO L78 Accepts]: Start accepts. Automaton has 10 states and 16 transitions. Word has length 3 [2019-02-14 16:53:13,934 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-14 16:53:13,934 INFO L480 AbstractCegarLoop]: Abstraction has 10 states and 16 transitions. [2019-02-14 16:53:13,934 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-14 16:53:13,935 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 16 transitions. [2019-02-14 16:53:13,935 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-02-14 16:53:13,935 INFO L394 BasicCegarLoop]: Found error trace [2019-02-14 16:53:13,935 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-02-14 16:53:13,936 INFO L423 AbstractCegarLoop]: === Iteration 3 === [ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2019-02-14 16:53:13,936 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 16:53:13,936 INFO L82 PathProgramCache]: Analyzing trace with hash 29996, now seen corresponding path program 1 times [2019-02-14 16:53:13,936 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-14 16:53:13,937 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:53:13,937 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-14 16:53:13,938 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:53:13,938 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-14 16:53:13,951 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-14 16:53:14,000 INFO L273 TraceCheckUtils]: 0: Hoare triple {206#true} havoc main_p1, main_p2, main_p3, main_p4;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;assume main_p1 < main_p2;assume main_p2 < main_p3;assume main_p3 < main_p4;#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]; {208#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} is VALID [2019-02-14 16:53:14,004 INFO L273 TraceCheckUtils]: 1: Hoare triple {208#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; {209#(<= 1 (select |#memory_int| ULTIMATE.start_main_p1))} is VALID [2019-02-14 16:53:14,005 INFO L273 TraceCheckUtils]: 2: Hoare triple {209#(<= 1 (select |#memory_int| ULTIMATE.start_main_p1))} assume !(#memory_int[main_p1] >= 0); {207#false} is VALID [2019-02-14 16:53:14,005 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-14 16:53:14,005 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-14 16:53:14,006 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-14 16:53:14,006 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 4 with the following transitions: [2019-02-14 16:53:14,006 INFO L207 CegarAbsIntRunner]: [0], [6], [19] [2019-02-14 16:53:14,007 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-14 16:53:14,007 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-14 16:54:10,167 WARN L212 ngHoareTripleChecker]: Soundness check inconclusive for the following hoare triple [2019-02-14 16:54:10,168 WARN L217 ngHoareTripleChecker]: Expected: VALID Actual: UNKNOWN [2019-02-14 16:54:10,168 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:54:10,168 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:54:10,168 WARN L224 ngHoareTripleChecker]: Pre: {2147483601#(or (forall ((v_idx_2237 Int) (v_idx_2235 Int) (v_idx_2223 Int) (v_idx_2233 Int) (v_idx_2231 Int) (v_idx_2227 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (= (select |c_#memory_int| v_idx_2237) 0) (< v_idx_2237 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2237)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2227) (< v_idx_2227 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_2227) 1)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_2233 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_2233)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2233)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_2235 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2235) (= 0 (select |c_#memory_int| v_idx_2235))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2223)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2223) (< v_idx_2223 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_2231 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2231) (and (<= (select |c_#memory_int| v_idx_2231) 4) (<= 1 (select |c_#memory_int| v_idx_2231)) (<= (* 2 (select |c_#memory_int| v_idx_2231)) 8) (<= 2 (* 2 (select |c_#memory_int| v_idx_2231))))))) (forall ((v_idx_2215 Int) (v_idx_2213 Int) (v_idx_2210 Int) (v_idx_2219 Int) (v_idx_2206 Int) (v_idx_2217 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2210) (< v_idx_2210 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_2210))) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_2219 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2219) (= 0 (select |c_#memory_int| v_idx_2219))) (or (< v_idx_2206 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2206) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2206))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (= 0 (select |c_#memory_int| v_idx_2215)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2215) (< v_idx_2215 c_ULTIMATE.start_main_p2)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2217) (< v_idx_2217 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_2217) 0)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_2213 c_ULTIMATE.start_main_p1) (and (<= (* 2 (select |c_#memory_int| v_idx_2213)) 6) (<= (select |c_#memory_int| v_idx_2213) 3) (<= 0 (select |c_#memory_int| v_idx_2213)) (<= 0 (* 2 (select |c_#memory_int| v_idx_2213)))) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2213)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr))))} [2019-02-14 16:54:10,169 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:54:10,169 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-14 16:54:10,169 WARN L230 ngHoareTripleChecker]: Post: {2147483600#(or (forall ((v_idx_2248 Int) (v_idx_2244 Int) (v_idx_2254 Int) (v_idx_2252 Int) (v_idx_2240 Int) (v_idx_2250 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_2250)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2250) (< v_idx_2250 c_ULTIMATE.start_main_p2)) (or (= 0 (select |c_#memory_int| v_idx_2254)) (< v_idx_2254 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2254)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2244) (< v_idx_2244 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_2244) 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (or (and (<= (select |c_#memory_int| v_idx_2248) 4) (<= 1 (select |c_#memory_int| v_idx_2248)) (<= (* 2 (select |c_#memory_int| v_idx_2248)) 8) (<= 2 (* 2 (select |c_#memory_int| v_idx_2248)))) (< v_idx_2248 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2248)) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2240) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2240)) (< v_idx_2240 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2252) (< v_idx_2252 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_2252))) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr))) (forall ((v_idx_2269 Int) (v_idx_2257 Int) (v_idx_2267 Int) (v_idx_2265 Int) (v_idx_2261 Int) (v_idx_2271 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= (select |c_#memory_int| v_idx_2269) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2269) (< v_idx_2269 c_ULTIMATE.start_main_p3)) (or (< v_idx_2257 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2257)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2257)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (= (select |c_#memory_int| v_idx_2267) 0) (< v_idx_2267 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2267)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_2271)) (< v_idx_2271 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2271)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= 1 (select |c_#valid| v_idx_2261)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2261) (< v_idx_2261 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (and (<= 2 (select |c_#memory_int| v_idx_2265)) (<= (* 2 (select |c_#memory_int| v_idx_2265)) 10) (<= (select |c_#memory_int| v_idx_2265) 5) (<= 4 (* 2 (select |c_#memory_int| v_idx_2265)))) (< v_idx_2265 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2265)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr))))} [2019-02-14 16:54:10,169 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:54:10,196 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:54:10,196 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:54:11,069 WARN L181 SmtUtils]: Spent 870.00 ms on a formula simplification that was a NOOP. DAG size: 147 [2019-02-14 16:54:11,070 WARN L270 ngHoareTripleChecker]: Pre: {2147483601#(or (forall ((v_idx_2237 Int) (v_idx_2235 Int) (v_idx_2223 Int) (v_idx_2233 Int) (v_idx_2231 Int) (v_idx_2227 Int)) (and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (or (= (select |#memory_int| v_idx_2237) 0) (< v_idx_2237 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2237)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2227) (< v_idx_2227 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_2227) 1)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_2233 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_2233)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2233)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_2235 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_2235) (= 0 (select |#memory_int| v_idx_2235))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2223)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2223) (< v_idx_2223 ULTIMATE.start_main_p4)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (or (< v_idx_2231 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2231) (and (<= (select |#memory_int| v_idx_2231) 4) (<= 1 (select |#memory_int| v_idx_2231)) (<= (* 2 (select |#memory_int| v_idx_2231)) 8) (<= 2 (* 2 (select |#memory_int| v_idx_2231))))))) (forall ((v_idx_2215 Int) (v_idx_2213 Int) (v_idx_2210 Int) (v_idx_2219 Int) (v_idx_2206 Int) (v_idx_2217 Int)) (and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2210) (< v_idx_2210 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_2210))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_2219 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2219) (= 0 (select |#memory_int| v_idx_2219))) (or (< v_idx_2206 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2206) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2206))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (or (= 0 (select |#memory_int| v_idx_2215)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2215) (< v_idx_2215 ULTIMATE.start_main_p2)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_2217) (< v_idx_2217 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_2217) 0)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_2213 ULTIMATE.start_main_p1) (and (<= (* 2 (select |#memory_int| v_idx_2213)) 6) (<= (select |#memory_int| v_idx_2213) 3) (<= 0 (select |#memory_int| v_idx_2213)) (<= 0 (* 2 (select |#memory_int| v_idx_2213)))) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2213)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))))} [2019-02-14 16:54:11,070 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:54:11,070 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-14 16:54:11,723 WARN L181 SmtUtils]: Spent 652.00 ms on a formula simplification that was a NOOP. DAG size: 148 [2019-02-14 16:54:11,724 WARN L276 ngHoareTripleChecker]: Post: {2147483600#(or (forall ((v_idx_2248 Int) (v_idx_2244 Int) (v_idx_2254 Int) (v_idx_2252 Int) (v_idx_2240 Int) (v_idx_2250 Int)) (and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (or (= 0 (select |#memory_int| v_idx_2250)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2250) (< v_idx_2250 ULTIMATE.start_main_p2)) (or (= 0 (select |#memory_int| v_idx_2254)) (< v_idx_2254 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2254)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2244) (< v_idx_2244 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_2244) 1)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (or (and (<= (select |#memory_int| v_idx_2248) 4) (<= 1 (select |#memory_int| v_idx_2248)) (<= (* 2 (select |#memory_int| v_idx_2248)) 8) (<= 2 (* 2 (select |#memory_int| v_idx_2248)))) (< v_idx_2248 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2248)) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2240) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2240)) (< v_idx_2240 ULTIMATE.start_main_p4)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_2252) (< v_idx_2252 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_2252))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))) (forall ((v_idx_2269 Int) (v_idx_2257 Int) (v_idx_2267 Int) (v_idx_2265 Int) (v_idx_2261 Int) (v_idx_2271 Int)) (and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (or (= (select |#memory_int| v_idx_2269) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_2269) (< v_idx_2269 ULTIMATE.start_main_p3)) (or (< v_idx_2257 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2257)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2257)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (or (= (select |#memory_int| v_idx_2267) 0) (< v_idx_2267 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2267)) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (or (= 0 (select |#memory_int| v_idx_2271)) (< v_idx_2271 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2271)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (or (= 1 (select |#valid| v_idx_2261)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2261) (< v_idx_2261 ULTIMATE.start_main_p4)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (or (and (<= 2 (select |#memory_int| v_idx_2265)) (<= (* 2 (select |#memory_int| v_idx_2265)) 10) (<= (select |#memory_int| v_idx_2265) 5) (<= 4 (* 2 (select |#memory_int| v_idx_2265)))) (< v_idx_2265 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2265)) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))))} [2019-02-14 16:54:28,914 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-14 16:54:28,914 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-14 16:54:28,914 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 16:54:28,914 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-14 16:54:34,753 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-14 16:54:36,198 INFO L420 sIntCurrentIteration]: We unified 2 AI predicates to 2 [2019-02-14 16:54:39,698 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-14 16:54:39,699 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-14 16:54:39,699 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [2] total 3 [2019-02-14 16:54:39,699 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-14 16:54:39,699 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-14 16:54:39,700 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-14 16:54:39,700 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-14 16:54:39,854 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-14 16:54:39,854 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-14 16:54:39,854 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-14 16:54:39,854 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 16:54:39,855 INFO L87 Difference]: Start difference. First operand 10 states and 16 transitions. Second operand 3 states. [2019-02-14 16:54:40,461 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:54:40,461 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:54:40,462 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:54:40,462 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:54:40,462 WARN L224 ngHoareTripleChecker]: Pre: {230#(forall ((v_idx_2699 Int) (v_idx_2695 Int) (v_idx_2692 Int) (v_idx_2705 Int) (v_idx_2703 Int) (v_idx_2701 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (or (< v_idx_2692 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2692) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2692) 0)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2695) (= (select |c_#valid| v_idx_2695) 1) (< v_idx_2695 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2705) (< v_idx_2705 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_2705))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (and (<= 0 (* 2 (select |c_#memory_int| v_idx_2699))) (<= 0 (select |c_#memory_int| v_idx_2699))) (< v_idx_2699 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2699)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (< v_idx_2701 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2701) (= (select |c_#memory_int| v_idx_2701) 0)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_2703 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2703) (= 0 (select |c_#memory_int| v_idx_2703)))))} [2019-02-14 16:54:40,462 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 16:54:40,462 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-14 16:54:40,463 WARN L230 ngHoareTripleChecker]: Post: {231#false} [2019-02-14 16:54:40,463 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:54:40,484 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:54:40,484 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:54:40,598 WARN L270 ngHoareTripleChecker]: Pre: {230#(and (forall ((v_idx_2699 Int)) (or (<= 0 (* 2 (select |#memory_int| v_idx_2699))) (< v_idx_2699 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2699))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_prenex_15 Int)) (or (<= 0 (select |#memory_int| v_prenex_15)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_15) (< v_prenex_15 ULTIMATE.start_main_p1))) (forall ((v_idx_2703 Int)) (or (< v_idx_2703 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_2703) (= 0 (select |#memory_int| v_idx_2703)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_2695 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2695) (= (select |#valid| v_idx_2695) 1) (< v_idx_2695 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_2705 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2705) (< v_idx_2705 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_2705)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_2692 Int)) (or (< v_idx_2692 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2692) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_2692) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2701 Int)) (or (< v_idx_2701 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2701) (= (select |#memory_int| v_idx_2701) 0))))} [2019-02-14 16:54:40,599 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 16:54:40,599 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-14 16:54:40,600 WARN L276 ngHoareTripleChecker]: Post: {231#false} [2019-02-14 16:54:40,601 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:54:40,601 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:54:40,602 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], [old(#memory_int)] -> [-inf_0] v_2323 [inf_0], [old(#valid)] -> [-inf_0] v_2322 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:54:40,602 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-14 16:54:40,602 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:54:40,603 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:54:45,856 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:54:45,857 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:54:45,857 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:54:45,857 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:54:45,857 WARN L224 ngHoareTripleChecker]: Pre: {236#(forall ((v_idx_2808 Int) (v_idx_2804 Int) (v_idx_2814 Int) (v_idx_2812 Int) (v_idx_2801 Int) (v_idx_2810 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_2814 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_2814)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2814)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (< v_idx_2804 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2804) (= (select |c_#valid| v_idx_2804) 1)) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2808) (< v_idx_2808 c_ULTIMATE.start_main_p1) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_2808))) (<= 0 (select |c_#memory_int| v_idx_2808)))) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2812) (= 0 (select |c_#memory_int| v_idx_2812)) (< v_idx_2812 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= (select |c_#memory_int| v_idx_2810) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2810) (< v_idx_2810 c_ULTIMATE.start_main_p2)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2801) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2801)) (< v_idx_2801 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:54:45,857 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:54:45,858 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-14 16:54:45,858 WARN L230 ngHoareTripleChecker]: Post: {237#false} [2019-02-14 16:54:45,858 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:54:45,880 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:54:45,880 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:54:45,981 WARN L270 ngHoareTripleChecker]: Pre: {236#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_2801 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2801) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2801)) (< v_idx_2801 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_2814 Int)) (or (< v_idx_2814 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_2814)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2814))) (forall ((v_idx_2812 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_2812) (= 0 (select |#memory_int| v_idx_2812)) (< v_idx_2812 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_2808 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_2808) (< v_idx_2808 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_2808)))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_2810 Int)) (or (= (select |#memory_int| v_idx_2810) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2810) (< v_idx_2810 ULTIMATE.start_main_p2))) (forall ((v_idx_2804 Int)) (or (< v_idx_2804 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2804) (= (select |#valid| v_idx_2804) 1))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (forall ((v_prenex_16 Int)) (or (< v_prenex_16 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_16) (<= 0 (* 2 (select |#memory_int| v_prenex_16))))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:54:45,981 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:54:45,982 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-14 16:54:45,983 WARN L276 ngHoareTripleChecker]: Post: {237#false} [2019-02-14 16:54:45,983 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:54:45,983 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:54:45,985 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], [old(#memory_int)] -> [-inf_0] v_2363 [inf_0], [old(#valid)] -> [-inf_0] v_2362 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:54:45,985 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-14 16:54:45,986 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:54:45,986 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:54:46,711 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:54:46,711 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:54:46,712 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:54:46,712 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:54:46,712 WARN L224 ngHoareTripleChecker]: Pre: {240#(forall ((v_idx_2831 Int) (v_idx_2818 Int) (v_idx_2829 Int) (v_idx_2827 Int) (v_idx_2825 Int) (v_idx_2821 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_2825 c_ULTIMATE.start_main_p1) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_2825))) (<= 0 (select |c_#memory_int| v_idx_2825))) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2825)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2821) (< v_idx_2821 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_2821) 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= 0 (select |c_#memory_int| v_idx_2831)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2831) (< v_idx_2831 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2818)) (< v_idx_2818 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2818)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (= (select |c_#memory_int| v_idx_2829) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2829) (< v_idx_2829 c_ULTIMATE.start_main_p3)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= 0 (select |c_#memory_int| v_idx_2827)) (< v_idx_2827 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2827)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:54:46,712 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 16:54:46,712 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-14 16:54:46,713 WARN L230 ngHoareTripleChecker]: Post: {241#false} [2019-02-14 16:54:46,713 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:54:46,736 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:54:46,736 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:54:46,815 WARN L270 ngHoareTripleChecker]: Pre: {240#(and (forall ((v_prenex_17 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_17))) (< v_prenex_17 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_17))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_2829 Int)) (or (= (select |#memory_int| v_idx_2829) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_2829) (< v_idx_2829 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_2825 Int)) (or (< v_idx_2825 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_2825)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2825))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_2818 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2818)) (< v_idx_2818 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2818))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_2827 Int)) (or (= 0 (select |#memory_int| v_idx_2827)) (< v_idx_2827 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2827))) (forall ((v_idx_2831 Int)) (or (= 0 (select |#memory_int| v_idx_2831)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2831) (< v_idx_2831 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_2821 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2821) (< v_idx_2821 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_2821) 1))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:54:46,816 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 16:54:46,816 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-14 16:54:46,817 WARN L276 ngHoareTripleChecker]: Post: {241#false} [2019-02-14 16:54:46,817 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:54:46,818 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:54:46,819 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], [old(#memory_int)] -> [-inf_0] v_2368 [inf_0], [old(#valid)] -> [-inf_0] v_2367 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:54:46,819 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-14 16:54:46,819 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:54:46,820 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:54:50,924 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:54:50,924 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:54:50,924 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:54:50,925 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:54:50,925 WARN L224 ngHoareTripleChecker]: Pre: {246#(forall ((v_idx_2930 Int) (v_idx_2940 Int) (v_idx_2938 Int) (v_idx_2927 Int) (v_idx_2936 Int) (v_idx_2934 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2936) (< v_idx_2936 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_2936))) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2938) (< v_idx_2938 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_2938) 0)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (and (<= 0 (select |c_#memory_int| v_idx_2934)) (<= 0 (* 2 (select |c_#memory_int| v_idx_2934)))) (< v_idx_2934 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2934)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2927) (< v_idx_2927 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2927))) (<= (+ 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_2940 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2940) (= 0 (select |c_#memory_int| v_idx_2940))) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_2930 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2930) (= 1 (select |c_#valid| v_idx_2930))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:54:50,925 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 16:54:50,925 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-14 16:54:50,925 WARN L230 ngHoareTripleChecker]: Post: {247#false} [2019-02-14 16:54:50,925 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:54:50,950 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:54:50,950 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:54:51,057 WARN L270 ngHoareTripleChecker]: Pre: {246#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_2936 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_2936) (< v_idx_2936 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_2936)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_18 Int)) (or (<= 0 (select |#memory_int| v_prenex_18)) (< v_prenex_18 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_18))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_2927 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2927) (< v_idx_2927 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2927)))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_2934 Int)) (or (< v_idx_2934 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2934) (<= 0 (* 2 (select |#memory_int| v_idx_2934))))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_2938 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_2938) (< v_idx_2938 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_2938) 0))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (forall ((v_idx_2930 Int)) (or (< v_idx_2930 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2930) (= 1 (select |#valid| v_idx_2930)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_2940 Int)) (or (< v_idx_2940 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2940) (= 0 (select |#memory_int| v_idx_2940)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:54:51,057 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 16:54:51,057 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-14 16:54:51,058 WARN L276 ngHoareTripleChecker]: Post: {247#false} [2019-02-14 16:54:51,058 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:54:51,058 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:54:51,059 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], [old(#memory_int)] -> [-inf_0] v_2408 [inf_0], [old(#valid)] -> [-inf_0] v_2407 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:54:51,059 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-14 16:54:51,060 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:54:51,060 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:54:55,561 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:54:55,561 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:54:55,562 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:54:55,562 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:54:55,562 WARN L224 ngHoareTripleChecker]: Pre: {250#true} [2019-02-14 16:54:55,562 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:54:55,562 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-14 16:54:55,563 WARN L230 ngHoareTripleChecker]: Post: {251#(forall ((v_idx_3089 Int) (v_idx_3084 Int) (v_idx_3087 Int) (v_idx_3091 Int) (v_idx_3081 Int) (v_idx_3093 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3087))) (<= 0 (select |c_#memory_int| v_idx_3087))) (< v_idx_3087 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3087)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 1 (select |c_#valid| v_idx_3084)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3084) (< v_idx_3084 c_ULTIMATE.start_main_p4)) (or (= 0 (select |c_#memory_int| v_idx_3089)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3089) (< v_idx_3089 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_3081 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3081) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3081))) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3091) (< v_idx_3091 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_3091))) (or (= 0 (select |c_#memory_int| v_idx_3093)) (< v_idx_3093 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3093)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:54:55,563 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:54:55,563 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:54:55,564 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:54:55,565 WARN L270 ngHoareTripleChecker]: Pre: {250#true} [2019-02-14 16:54:55,565 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:54:55,565 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-14 16:54:55,650 WARN L276 ngHoareTripleChecker]: Post: {251#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_3089 Int)) (or (= 0 (select |#memory_int| v_idx_3089)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3089) (< v_idx_3089 ULTIMATE.start_main_p2))) (forall ((v_idx_3087 Int)) (or (<= 0 (select |#memory_int| v_idx_3087)) (< v_idx_3087 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3087))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_3084 Int)) (or (= 1 (select |#valid| v_idx_3084)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3084) (< v_idx_3084 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_prenex_19 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_19))) (< v_prenex_19 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_19))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_3081 Int)) (or (< v_idx_3081 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3081) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3081)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (forall ((v_idx_3093 Int)) (or (= 0 (select |#memory_int| v_idx_3093)) (< v_idx_3093 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3093))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_3091 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_3091) (< v_idx_3091 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_3091)))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:54:55,651 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:54:55,651 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:54:55,652 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2450 [inf_0], [#valid] -> [-inf_0] v_2448 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2447 [inf_0], [old(#memory_int)] -> [-inf_0] v_2451 [inf_0], [old(#valid)] -> [-inf_0] v_2449 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:54:55,652 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-14 16:54:55,653 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:54:55,654 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:54:56,342 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:54:56,342 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:54:56,342 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:54:56,342 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:54:56,343 WARN L224 ngHoareTripleChecker]: Pre: {253#(forall ((v_idx_3103 Int) (v_idx_3105 Int) (v_idx_3099 Int) (v_idx_3096 Int) (v_idx_3107 Int) (v_idx_3109 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3096) (< v_idx_3096 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3096))) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3103))) (<= 0 (select |c_#memory_int| v_idx_3103))) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3103) (< v_idx_3103 c_ULTIMATE.start_main_p1)) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_3105 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3105) (= 0 (select |c_#memory_int| v_idx_3105))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_3099 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_3099) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3099)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (= (select |c_#memory_int| v_idx_3109) 0) (< v_idx_3109 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3109)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (< v_idx_3107 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3107) (= (select |c_#memory_int| v_idx_3107) 0)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:54:56,343 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:54:56,343 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:54:56,343 WARN L230 ngHoareTripleChecker]: Post: {254#false} [2019-02-14 16:54:56,343 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:54:56,364 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:54:56,365 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:54:56,461 WARN L270 ngHoareTripleChecker]: Pre: {253#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_3109 Int)) (or (= (select |#memory_int| v_idx_3109) 0) (< v_idx_3109 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3109))) (forall ((v_idx_3105 Int)) (or (< v_idx_3105 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3105) (= 0 (select |#memory_int| v_idx_3105)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_3103 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_3103) (<= 0 (select |#memory_int| v_idx_3103)) (< v_idx_3103 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_3099 Int)) (or (< v_idx_3099 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_3099) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3099))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_3096 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3096) (< v_idx_3096 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3096)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_prenex_20 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_20) (<= 0 (* 2 (select |#memory_int| v_prenex_20))) (< v_prenex_20 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_3107 Int)) (or (< v_idx_3107 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3107) (= (select |#memory_int| v_idx_3107) 0))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:54:56,461 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:54:56,462 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:54:56,463 WARN L276 ngHoareTripleChecker]: Post: {254#false} [2019-02-14 16:54:56,463 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:54:56,464 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:54:56,465 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], [old(#memory_int)] -> [-inf_0] v_2486 [inf_0], [old(#valid)] -> [-inf_0] v_2485 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:54:56,466 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-14 16:54:56,466 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:54:56,466 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:54:59,827 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:54:59,828 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:54:59,828 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:54:59,828 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:54:59,829 WARN L224 ngHoareTripleChecker]: Pre: {259#true} [2019-02-14 16:54:59,829 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:54:59,829 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:54:59,829 WARN L230 ngHoareTripleChecker]: Post: {260#(forall ((v_idx_3224 Int) (v_idx_3226 Int) (v_idx_3221 Int) (v_idx_3230 Int) (v_idx_3228 Int) (v_idx_3218 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (= 0 (select |c_#memory_int| v_idx_3230)) (< v_idx_3230 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3230)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3224) (< v_idx_3224 c_ULTIMATE.start_main_p1) (and (<= 0 (select |c_#memory_int| v_idx_3224)) (<= 0 (* 2 (select |c_#memory_int| v_idx_3224))))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3221) (< v_idx_3221 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_3221))) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3218) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3218) 0) (< v_idx_3218 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (or (= 0 (select |c_#memory_int| v_idx_3226)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3226) (< v_idx_3226 c_ULTIMATE.start_main_p2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3228) (< v_idx_3228 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_3228) 0))))} [2019-02-14 16:54:59,830 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:54:59,830 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:54:59,830 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:54:59,834 WARN L270 ngHoareTripleChecker]: Pre: {259#true} [2019-02-14 16:54:59,834 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:54:59,834 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:54:59,939 WARN L276 ngHoareTripleChecker]: Post: {260#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_3226 Int)) (or (= 0 (select |#memory_int| v_idx_3226)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3226) (< v_idx_3226 ULTIMATE.start_main_p2))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_3228 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_3228) (< v_idx_3228 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_3228) 0))) (forall ((v_idx_3230 Int)) (or (= 0 (select |#memory_int| v_idx_3230)) (< v_idx_3230 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3230))) (forall ((v_idx_3224 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_3224) (< v_idx_3224 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_idx_3224))))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_prenex_21 Int)) (or (<= 0 (select |#memory_int| v_prenex_21)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_21) (< v_prenex_21 ULTIMATE.start_main_p1))) (forall ((v_idx_3218 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3218) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_3218) 0) (< v_idx_3218 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_3221 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3221) (< v_idx_3221 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_3221)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:54:59,939 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:54:59,939 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:54:59,940 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2531 [inf_0], [#valid] -> [-inf_0] v_2529 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2528 [inf_0], [old(#memory_int)] -> [-inf_0] v_2532 [inf_0], [old(#valid)] -> [-inf_0] v_2530 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:54:59,940 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-14 16:54:59,941 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:54:59,941 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:55:00,932 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:55:00,932 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:55:00,932 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:55:00,932 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:55:00,933 WARN L224 ngHoareTripleChecker]: Pre: {265#(forall ((v_idx_3257 Int) (v_idx_3259 Int) (v_idx_3253 Int) (v_idx_3250 Int) (v_idx_3261 Int) (v_idx_3263 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3257) (< v_idx_3257 c_ULTIMATE.start_main_p1) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3257))) (<= 0 (select |c_#memory_int| v_idx_3257)))) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3259) (< v_idx_3259 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_3259))) (or (< v_idx_3253 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_3253) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3253)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3250) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3250)) (< v_idx_3250 c_ULTIMATE.start_main_p4)) (or (= (select |c_#memory_int| v_idx_3263) 0) (< v_idx_3263 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3263)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_#memory_int| v_idx_3261)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3261) (< v_idx_3261 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:55:00,933 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:55:00,933 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:55:00,933 WARN L230 ngHoareTripleChecker]: Post: {266#false} [2019-02-14 16:55:00,933 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:55:00,957 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:55:00,957 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:55:01,094 WARN L270 ngHoareTripleChecker]: Pre: {265#(and (forall ((v_idx_3257 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_3257) (<= 0 (* 2 (select |#memory_int| v_idx_3257))) (< v_idx_3257 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_3263 Int)) (or (= (select |#memory_int| v_idx_3263) 0) (< v_idx_3263 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3263))) (forall ((v_idx_3250 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3250) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3250)) (< v_idx_3250 ULTIMATE.start_main_p4))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_3259 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_3259) (< v_idx_3259 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_3259)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_prenex_22 Int)) (or (< v_prenex_22 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_22)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_22))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_3253 Int)) (or (< v_idx_3253 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_3253) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3253))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_3261 Int)) (or (= 0 (select |#memory_int| v_idx_3261)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3261) (< v_idx_3261 ULTIMATE.start_main_p3))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:55:01,094 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:55:01,094 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:55:01,098 WARN L276 ngHoareTripleChecker]: Post: {266#false} [2019-02-14 16:55:01,098 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:55:01,098 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:55:01,099 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], [old(#memory_int)] -> [-inf_0] v_2572 [inf_0], [old(#valid)] -> [-inf_0] v_2571 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:55:01,099 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-14 16:55:01,099 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:55:01,100 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:55:03,305 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:55:03,305 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:55:03,305 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:55:03,306 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:55:03,306 WARN L224 ngHoareTripleChecker]: Pre: {268#true} [2019-02-14 16:55:03,306 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-14 16:55:03,306 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-14 16:55:03,306 WARN L230 ngHoareTripleChecker]: Post: {269#(forall ((v_idx_3312 Int) (v_idx_3324 Int) (v_idx_3315 Int) (v_idx_3320 Int) (v_idx_3322 Int) (v_idx_3318 Int)) (and (or (< v_idx_3322 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_3322) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3322)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_3312 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3312)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3312)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_3324 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3324) (= 0 (select |c_#memory_int| v_idx_3324))) (or (< v_idx_3318 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3318) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3318))) (<= 0 (select |c_#memory_int| v_idx_3318)))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_#memory_int| v_idx_3320)) (< v_idx_3320 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3320)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (= (select |c_#valid| v_idx_3315) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3315) (< v_idx_3315 c_ULTIMATE.start_main_p4))))} [2019-02-14 16:55:03,306 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:55:03,307 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:55:03,307 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:55:03,307 WARN L270 ngHoareTripleChecker]: Pre: {268#true} [2019-02-14 16:55:03,308 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-14 16:55:03,308 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-14 16:55:03,422 WARN L276 ngHoareTripleChecker]: Post: {269#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_3324 Int)) (or (< v_idx_3324 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3324) (= 0 (select |#memory_int| v_idx_3324)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_3312 Int)) (or (< v_idx_3312 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3312)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3312))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_prenex_23 Int)) (or (<= 0 (select |#memory_int| v_prenex_23)) (< v_prenex_23 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_23))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_3320 Int)) (or (= 0 (select |#memory_int| v_idx_3320)) (< v_idx_3320 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3320))) (forall ((v_idx_3322 Int)) (or (< v_idx_3322 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_3322) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3322))) (forall ((v_idx_3315 Int)) (or (= (select |#valid| v_idx_3315) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3315) (< v_idx_3315 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_3318 Int)) (or (< v_idx_3318 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_idx_3318))) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3318))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:55:03,422 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:55:03,422 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:55:03,422 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2579 [inf_0], [#valid] -> [-inf_0] v_2577 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2576 [inf_0], [old(#memory_int)] -> [-inf_0] v_2580 [inf_0], [old(#valid)] -> [-inf_0] v_2578 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:55:03,422 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) (assume !(#memory_int[main_p2] <= 0);) [2019-02-14 16:55:03,423 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:55:03,424 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:55:05,006 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:55:05,007 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:55:05,007 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:55:05,007 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:55:05,007 WARN L224 ngHoareTripleChecker]: Pre: {271#true} [2019-02-14 16:55:05,007 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:55:05,008 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:55:05,008 WARN L230 ngHoareTripleChecker]: Post: {272#(forall ((v_idx_3378 Int) (v_idx_3375 Int) (v_idx_3382 Int) (v_idx_3372 Int) (v_idx_3384 Int) (v_idx_3380 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3384) (< v_idx_3384 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_3384) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (or (= (select |c_#memory_int| v_idx_3380) 0) (< v_idx_3380 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3380)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_3375 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_3375) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3375)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3378) (and (<= 0 (select |c_#memory_int| v_idx_3378)) (<= 0 (* 2 (select |c_#memory_int| v_idx_3378)))) (< v_idx_3378 c_ULTIMATE.start_main_p1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3382) (< v_idx_3382 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_3382))) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (< v_idx_3372 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3372) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3372)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:55:05,008 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:55:05,009 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:55:05,009 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:55:05,010 WARN L270 ngHoareTripleChecker]: Pre: {271#true} [2019-02-14 16:55:05,010 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:55:05,010 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:55:05,091 WARN L276 ngHoareTripleChecker]: Post: {272#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_prenex_24 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_24) (< v_prenex_24 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_24))))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_3378 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_3378) (<= 0 (select |#memory_int| v_idx_3378)) (< v_idx_3378 ULTIMATE.start_main_p1))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_3384 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3384) (< v_idx_3384 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_3384) 0))) (forall ((v_idx_3380 Int)) (or (= (select |#memory_int| v_idx_3380) 0) (< v_idx_3380 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3380))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_3375 Int)) (or (< v_idx_3375 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_3375) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3375))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_3372 Int)) (or (< v_idx_3372 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_3372) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3372))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_3382 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_3382) (< v_idx_3382 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_3382)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:55:05,092 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:55:05,092 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:55:05,092 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2617 [inf_0], [#valid] -> [-inf_0] v_2615 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2614 [inf_0], [old(#memory_int)] -> [-inf_0] v_2618 [inf_0], [old(#valid)] -> [-inf_0] v_2616 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:55:05,092 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-14 16:55:05,093 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:55:05,093 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:55:05,932 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:55:05,932 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:55:05,933 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:55:05,933 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:55:05,933 WARN L224 ngHoareTripleChecker]: Pre: {277#(forall ((v_idx_3411 Int) (v_idx_3413 Int) (v_idx_3415 Int) (v_idx_3404 Int) (v_idx_3417 Int) (v_idx_3407 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3417) (= 0 (select |c_#memory_int| v_idx_3417)) (< v_idx_3417 c_ULTIMATE.start_main_p4)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= (select |c_#memory_int| v_idx_3415) 0) (< v_idx_3415 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3415)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_3413)) (< v_idx_3413 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3413)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3404) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3404) (< v_idx_3404 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3407) (= 1 (select |c_#valid| v_idx_3407)) (< v_idx_3407 c_ULTIMATE.start_main_p4)) (or (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3411))) (<= 0 (select |c_#memory_int| v_idx_3411))) (< v_idx_3411 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3411)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:55:05,933 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:55:05,933 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:55:05,933 WARN L230 ngHoareTripleChecker]: Post: {278#false} [2019-02-14 16:55:05,934 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:55:05,958 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:55:05,958 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:55:06,039 WARN L270 ngHoareTripleChecker]: Pre: {277#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_3411 Int)) (or (< v_idx_3411 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_3411)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3411))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_25 Int)) (or (< v_prenex_25 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_25))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_25))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (forall ((v_idx_3415 Int)) (or (= (select |#memory_int| v_idx_3415) 0) (< v_idx_3415 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3415))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_3407 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3407) (= 1 (select |#valid| v_idx_3407)) (< v_idx_3407 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_3417 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3417) (= 0 (select |#memory_int| v_idx_3417)) (< v_idx_3417 ULTIMATE.start_main_p4))) (forall ((v_idx_3404 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_3404) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3404) (< v_idx_3404 ULTIMATE.start_main_p4))) (forall ((v_idx_3413 Int)) (or (= 0 (select |#memory_int| v_idx_3413)) (< v_idx_3413 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3413))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:55:06,039 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:55:06,039 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:55:06,041 WARN L276 ngHoareTripleChecker]: Post: {278#false} [2019-02-14 16:55:06,041 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:55:06,041 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:55:06,043 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], [old(#memory_int)] -> [-inf_0] v_2658 [inf_0], [old(#valid)] -> [-inf_0] v_2657 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:55:06,043 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-14 16:55:06,043 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:55:06,043 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:55:07,502 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:55:07,502 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:55:07,502 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:55:07,502 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:55:07,502 WARN L224 ngHoareTripleChecker]: Pre: {280#true} [2019-02-14 16:55:07,503 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-14 16:55:07,503 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-14 16:55:07,503 WARN L230 ngHoareTripleChecker]: Post: {281#(forall ((v_idx_3466 Int) (v_idx_3478 Int) (v_idx_3469 Int) (v_idx_3474 Int) (v_idx_3476 Int) (v_idx_3472 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_3472 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3472) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3472))) (<= 0 (select |c_#memory_int| v_idx_3472)))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3478) (= 0 (select |c_#memory_int| v_idx_3478)) (< v_idx_3478 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3476) (< v_idx_3476 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_3476))) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3466) 0) (< v_idx_3466 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3466)) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3469) (< v_idx_3469 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_3469))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= 0 (select |c_#memory_int| v_idx_3474)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3474) (< v_idx_3474 c_ULTIMATE.start_main_p2)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:55:07,503 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:55:07,504 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:55:07,504 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:55:07,505 WARN L270 ngHoareTripleChecker]: Pre: {280#true} [2019-02-14 16:55:07,505 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-14 16:55:07,505 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-14 16:55:07,600 WARN L276 ngHoareTripleChecker]: Post: {281#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_26 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_26) (<= 0 (* 2 (select |#memory_int| v_prenex_26))) (< v_prenex_26 ULTIMATE.start_main_p1))) (forall ((v_idx_3469 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3469) (< v_idx_3469 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_3469)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_3472 Int)) (or (< v_idx_3472 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_3472)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3472))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_3466 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_3466) 0) (< v_idx_3466 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3466))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_3474 Int)) (or (= 0 (select |#memory_int| v_idx_3474)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3474) (< v_idx_3474 ULTIMATE.start_main_p2))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_3478 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3478) (= 0 (select |#memory_int| v_idx_3478)) (< v_idx_3478 ULTIMATE.start_main_p4))) (forall ((v_idx_3476 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_3476) (< v_idx_3476 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_3476)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:55:07,600 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:55:07,600 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:55:07,600 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2665 [inf_0], [#valid] -> [-inf_0] v_2663 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2662 [inf_0], [old(#memory_int)] -> [-inf_0] v_2666 [inf_0], [old(#valid)] -> [-inf_0] v_2664 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:55:07,601 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) (assume !(#memory_int[main_p3] >= 0);) [2019-02-14 16:55:07,602 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:55:07,602 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:55:09,919 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:55:09,919 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:55:09,919 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:55:09,919 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:55:09,920 WARN L224 ngHoareTripleChecker]: Pre: {283#true} [2019-02-14 16:55:09,920 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:55:09,920 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:55:09,920 WARN L230 ngHoareTripleChecker]: Post: {284#(forall ((v_idx_3532 Int) (v_idx_3534 Int) (v_idx_3529 Int) (v_idx_3536 Int) (v_idx_3526 Int) (v_idx_3538 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= (select |c_#memory_int| v_idx_3536) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3536) (< v_idx_3536 c_ULTIMATE.start_main_p3)) (or (< v_idx_3534 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_3534)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3534)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= (select |c_#valid| v_idx_3529) 1) (< v_idx_3529 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3529)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_3532 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3532) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3532))) (<= 0 (select |c_#memory_int| v_idx_3532)))) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3526) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3526)) (< v_idx_3526 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_3538 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3538) (= (select |c_#memory_int| v_idx_3538) 0)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:55:09,920 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:55:09,921 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:55:09,921 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:55:09,922 WARN L270 ngHoareTripleChecker]: Pre: {283#true} [2019-02-14 16:55:09,922 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:55:09,922 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:55:10,032 WARN L276 ngHoareTripleChecker]: Post: {284#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_3529 Int)) (or (= (select |#valid| v_idx_3529) 1) (< v_idx_3529 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3529))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_3536 Int)) (or (= (select |#memory_int| v_idx_3536) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3536) (< v_idx_3536 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_3532 Int)) (or (< v_idx_3532 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3532) (<= 0 (* 2 (select |#memory_int| v_idx_3532))))) (forall ((v_prenex_27 Int)) (or (< v_prenex_27 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_27) (<= 0 (select |#memory_int| v_prenex_27)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_3526 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3526) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3526)) (< v_idx_3526 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_3534 Int)) (or (< v_idx_3534 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_3534)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3534))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_3538 Int)) (or (< v_idx_3538 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3538) (= (select |#memory_int| v_idx_3538) 0))))} [2019-02-14 16:55:10,032 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:55:10,033 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:55:10,033 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2703 [inf_0], [#valid] -> [-inf_0] v_2701 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2700 [inf_0], [old(#memory_int)] -> [-inf_0] v_2704 [inf_0], [old(#valid)] -> [-inf_0] v_2702 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:55:10,033 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-14 16:55:10,034 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:55:10,034 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:55:12,094 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:55:12,094 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:55:12,094 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:55:12,095 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:55:12,095 WARN L224 ngHoareTripleChecker]: Pre: {289#true} [2019-02-14 16:55:12,095 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-14 16:55:12,095 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-14 16:55:12,096 WARN L230 ngHoareTripleChecker]: Post: {290#(forall ((v_idx_3611 Int) (v_idx_3606 Int) (v_idx_3609 Int) (v_idx_3613 Int) (v_idx_3603 Int) (v_idx_3615 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3615) (< v_idx_3615 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_3615) 0)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3603) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3603)) (< v_idx_3603 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3611) (< v_idx_3611 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_3611))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3609))) (<= 0 (select |c_#memory_int| v_idx_3609))) (< v_idx_3609 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3609)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3613) (< v_idx_3613 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_3613) 0)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (= 1 (select |c_#valid| v_idx_3606)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3606) (< v_idx_3606 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:55:12,096 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:55:12,101 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:55:12,102 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:55:12,105 WARN L270 ngHoareTripleChecker]: Pre: {289#true} [2019-02-14 16:55:12,105 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-14 16:55:12,105 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-14 16:55:12,242 WARN L276 ngHoareTripleChecker]: Post: {290#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_3611 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_3611) (< v_idx_3611 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_3611)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_3603 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3603) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3603)) (< v_idx_3603 ULTIMATE.start_main_p4))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_3613 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_3613) (< v_idx_3613 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_3613) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_3615 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3615) (< v_idx_3615 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_3615) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_3609 Int)) (or (< v_idx_3609 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3609) (<= 0 (select |#memory_int| v_idx_3609)))) (forall ((v_prenex_28 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_28))) (< v_prenex_28 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_28))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_3606 Int)) (or (= 1 (select |#valid| v_idx_3606)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3606) (< v_idx_3606 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_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:55:12,242 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:55:12,243 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:55:12,243 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2746 [inf_0], [#valid] -> [-inf_0] v_2744 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2743 [inf_0], [old(#memory_int)] -> [-inf_0] v_2747 [inf_0], [old(#valid)] -> [-inf_0] v_2745 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:55:12,243 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) (assume !(#memory_int[main_p4] <= 0);) [2019-02-14 16:55:12,244 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1569 [b_120] v_1570 [b_121] v_1571 [b_122] v_1572 [b_123] v_1573 [b_124] v_1574 [b_125] v_1575 [b_126] v_1576 [b_127] v_1577 [inf_0], [#valid] -> [-inf_0] v_1566 [b_118] v_1567 [b_119] v_1568 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1562 [b_116] v_1563 [b_117] v_1564 [inf_0], }, Substate: {ints: {v_1576 = [0; 0]; v_1570 = [0; inf]; v_1574 = [0; 0]; v_1567 = [1; 1]; v_1572 = [0; 0]; v_1563 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; b_116 - b_120 = [3; inf]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_117 - b_120 = [4; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; b_116 - b_122 = [2; inf]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_117 - b_122 = [3; inf]; b_121 - b_122 = [-inf; 0]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_116 - b_127 = [-1; -1]; b_120 - b_127 = [-inf; -4]; b_122 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_121 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; b_123 - b_127 = [-inf; -2]; b_118 - b_127 = [-1; -1]; b_124 - b_127 = [-inf; -2]; b_119 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_125 - b_127 = [-inf; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; v_1570 + v_1576 = [0; inf]; v_1570 - v_1576 = [0; inf]; v_1574 + v_1576 = [0; 0]; v_1574 - v_1576 = [0; 0]; v_1567 + v_1576 = [1; 1]; v_1567 - v_1576 = [1; 1]; v_1572 + v_1576 = [0; 0]; v_1572 - v_1576 = [0; 0]; v_1563 + v_1576 = [0; 0]; v_1563 - v_1576 = [0; 0]; v_1567 + v_1570 = [1; inf]; v_1567 - v_1570 = [-inf; 1]; v_1563 + v_1570 = [0; inf]; v_1563 - v_1570 = [-inf; 0]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; v_1570 + v_1574 = [0; inf]; v_1570 - v_1574 = [0; inf]; v_1567 + v_1574 = [1; 1]; v_1567 - v_1574 = [1; 1]; v_1572 + v_1574 = [0; 0]; v_1572 - v_1574 = [0; 0]; v_1563 + v_1574 = [0; 0]; v_1563 - v_1574 = [0; 0]; b_116 - b_121 = [2; inf]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_117 - b_121 = [3; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; b_116 - b_126 = [0; 0]; b_120 - b_126 = [-inf; -3]; b_122 - b_126 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_117 - b_126 = [1; 1]; b_121 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_118 - b_126 = [0; 0]; b_124 - b_126 = [-inf; -1]; b_119 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_125 - b_126 = [-inf; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_116 - b_123 = [1; inf]; b_120 - b_123 = [-inf; -2]; b_122 - b_123 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_117 - b_123 = [2; inf]; b_121 - b_123 = [-inf; -1]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; v_1563 + v_1567 = [1; 1]; v_1563 - v_1567 = [-1; -1]; b_116 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; b_116 - b_124 = [1; inf]; b_120 - b_124 = [-inf; -2]; b_122 - b_124 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_117 - b_124 = [2; inf]; b_121 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; b_118 - b_119 = [-1; -1]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1570 + v_1572 = [0; inf]; v_1570 - v_1572 = [0; inf]; v_1567 + v_1572 = [1; 1]; v_1567 - v_1572 = [1; 1]; v_1563 + v_1572 = [0; 0]; v_1563 - v_1572 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_116 - b_125 = [0; inf]; b_120 - b_125 = [-inf; -3]; b_122 - b_125 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_117 - b_125 = [1; inf]; b_121 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_118 - b_125 = [0; inf]; b_124 - b_125 = [-1; -1]; b_119 - b_125 = [1; inf]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [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]}, }}} [2019-02-14 16:55:12,244 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:55:12,248 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:55:12,248 INFO L93 Difference]: Finished difference Result 19 states and 31 transitions. [2019-02-14 16:55:12,248 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-14 16:55:12,248 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-14 16:55:12,248 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-14 16:55:12,248 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 16:55:12,249 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-14 16:55:12,249 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 16:55:12,250 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-14 16:55:12,250 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 23 transitions. [2019-02-14 16:55:12,451 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 23 edges. 23 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-14 16:55:12,452 INFO L225 Difference]: With dead ends: 19 [2019-02-14 16:55:12,452 INFO L226 Difference]: Without dead ends: 12 [2019-02-14 16:55:12,453 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 0 SyntacticMatches, 1 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 1.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 16:55:12,454 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 12 states. [2019-02-14 16:55:12,567 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 12 to 12. [2019-02-14 16:55:12,567 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-14 16:55:12,568 INFO L82 GeneralOperation]: Start isEquivalent. First operand 12 states. Second operand 12 states. [2019-02-14 16:55:12,568 INFO L74 IsIncluded]: Start isIncluded. First operand 12 states. Second operand 12 states. [2019-02-14 16:55:12,568 INFO L87 Difference]: Start difference. First operand 12 states. Second operand 12 states. [2019-02-14 16:55:12,570 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:55:12,570 INFO L93 Difference]: Finished difference Result 12 states and 24 transitions. [2019-02-14 16:55:12,570 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 24 transitions. [2019-02-14 16:55:12,571 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 16:55:12,571 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 16:55:12,571 INFO L74 IsIncluded]: Start isIncluded. First operand 12 states. Second operand 12 states. [2019-02-14 16:55:12,571 INFO L87 Difference]: Start difference. First operand 12 states. Second operand 12 states. [2019-02-14 16:55:12,573 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:55:12,573 INFO L93 Difference]: Finished difference Result 12 states and 24 transitions. [2019-02-14 16:55:12,573 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 24 transitions. [2019-02-14 16:55:12,573 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 16:55:12,573 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 16:55:12,574 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-14 16:55:12,574 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-14 16:55:12,574 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2019-02-14 16:55:12,575 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 24 transitions. [2019-02-14 16:55:12,575 INFO L78 Accepts]: Start accepts. Automaton has 12 states and 24 transitions. Word has length 3 [2019-02-14 16:55:12,575 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-14 16:55:12,576 INFO L480 AbstractCegarLoop]: Abstraction has 12 states and 24 transitions. [2019-02-14 16:55:12,576 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-14 16:55:12,576 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 24 transitions. [2019-02-14 16:55:12,576 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-02-14 16:55:12,576 INFO L394 BasicCegarLoop]: Found error trace [2019-02-14 16:55:12,576 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-02-14 16:55:12,576 INFO L423 AbstractCegarLoop]: === Iteration 4 === [ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2019-02-14 16:55:12,577 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 16:55:12,577 INFO L82 PathProgramCache]: Analyzing trace with hash 30120, now seen corresponding path program 1 times [2019-02-14 16:55:12,577 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-14 16:55:12,578 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:55:12,578 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-14 16:55:12,578 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:55:12,578 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-14 16:55:12,587 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-14 16:55:12,674 INFO L273 TraceCheckUtils]: 0: Hoare triple {334#true} havoc main_p1, main_p2, main_p3, main_p4;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;assume main_p1 < main_p2;assume main_p2 < main_p3;assume main_p3 < main_p4;#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]; {336#(and (not (= ULTIMATE.start_main_p2 ULTIMATE.start_main_p1)) (= 0 (select (store |#memory_int| ULTIMATE.start_main_p2 (+ (select |#memory_int| ULTIMATE.start_main_p2) (- 1))) ULTIMATE.start_main_p1)))} is VALID [2019-02-14 16:55:12,675 INFO L273 TraceCheckUtils]: 1: Hoare triple {336#(and (not (= ULTIMATE.start_main_p2 ULTIMATE.start_main_p1)) (= 0 (select (store |#memory_int| ULTIMATE.start_main_p2 (+ (select |#memory_int| ULTIMATE.start_main_p2) (- 1))) ULTIMATE.start_main_p1)))} #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; {337#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} is VALID [2019-02-14 16:55:12,676 INFO L273 TraceCheckUtils]: 2: Hoare triple {337#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} assume !(#memory_int[main_p1] >= 0); {335#false} is VALID [2019-02-14 16:55:12,676 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-14 16:55:12,676 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-14 16:55:12,676 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-14 16:55:12,676 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 4 with the following transitions: [2019-02-14 16:55:12,677 INFO L207 CegarAbsIntRunner]: [0], [10], [19] [2019-02-14 16:55:12,680 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-14 16:55:12,680 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-14 16:56:15,560 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-14 16:56:15,561 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-14 16:56:15,561 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 16:56:15,561 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-14 16:56:21,468 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-14 16:56:22,979 INFO L420 sIntCurrentIteration]: We unified 2 AI predicates to 2 [2019-02-14 16:56:26,901 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-14 16:56:26,902 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-14 16:56:26,902 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [2] total 3 [2019-02-14 16:56:26,902 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-14 16:56:26,902 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-14 16:56:26,902 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-14 16:56:26,902 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-14 16:56:27,001 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-14 16:56:27,001 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-14 16:56:27,001 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-14 16:56:27,001 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 16:56:27,002 INFO L87 Difference]: Start difference. First operand 12 states and 24 transitions. Second operand 3 states. [2019-02-14 16:56:27,529 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:27,529 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:27,529 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:27,529 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:27,530 WARN L224 ngHoareTripleChecker]: Pre: {358#(forall ((v_idx_4479 Int) (v_idx_4469 Int) (v_idx_4475 Int) (v_idx_4477 Int) (v_idx_4466 Int) (v_idx_4473 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (< v_idx_4479 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4479) (= (select |c_#memory_int| v_idx_4479) 0)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4469) (= 1 (select |c_#valid| v_idx_4469)) (< v_idx_4469 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (= (select |c_#memory_int| v_idx_4477) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4477) (< v_idx_4477 c_ULTIMATE.start_main_p3)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (< v_idx_4473 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4473) (= (select |c_#memory_int| v_idx_4473) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4475) (< v_idx_4475 c_ULTIMATE.start_main_p2) (and (<= (* 2 (select |c_#memory_int| v_idx_4475)) 0) (<= (select |c_#memory_int| v_idx_4475) 0))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4466)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4466) (< v_idx_4466 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:27,530 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 16:56:27,530 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-14 16:56:27,530 WARN L230 ngHoareTripleChecker]: Post: {359#false} [2019-02-14 16:56:27,530 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:27,552 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:27,552 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:27,639 WARN L270 ngHoareTripleChecker]: Pre: {358#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_4469 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4469) (= 1 (select |#valid| v_idx_4469)) (< v_idx_4469 ULTIMATE.start_main_p4))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_4477 Int)) (or (= (select |#memory_int| v_idx_4477) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_4477) (< v_idx_4477 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_4475 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_4475) (<= (select |#memory_int| v_idx_4475) 0) (< v_idx_4475 ULTIMATE.start_main_p2))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_4473 Int)) (or (< v_idx_4473 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_4473) (= (select |#memory_int| v_idx_4473) 0))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_4466 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_4466)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4466) (< v_idx_4466 ULTIMATE.start_main_p4))) (forall ((v_prenex_29 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_29)) 0) (< v_prenex_29 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_29))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_4479 Int)) (or (< v_idx_4479 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4479) (= (select |#memory_int| v_idx_4479) 0))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:27,639 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 16:56:27,640 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-14 16:56:27,641 WARN L276 ngHoareTripleChecker]: Post: {359#false} [2019-02-14 16:56:27,642 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:27,642 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:27,644 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], [old(#memory_int)] -> [-inf_0] v_2187 [inf_0], [old(#valid)] -> [-inf_0] v_2186 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:27,644 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-14 16:56:27,644 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:56:27,644 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:32,276 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:32,276 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:32,276 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:32,277 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:32,277 WARN L224 ngHoareTripleChecker]: Pre: {364#(forall ((v_idx_4588 Int) (v_idx_4578 Int) (v_idx_4584 Int) (v_idx_4575 Int) (v_idx_4586 Int) (v_idx_4582 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (and (<= (select |c_#memory_int| v_idx_4584) 0) (<= (* 2 (select |c_#memory_int| v_idx_4584)) 0)) (< v_idx_4584 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4584)) (or (< v_idx_4575 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4575)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4575)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4586) (< v_idx_4586 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_4586) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (< v_idx_4588 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4588) (= (select |c_#memory_int| v_idx_4588) 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_4578 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4578) (= (select |c_#valid| v_idx_4578) 1)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= (select |c_#memory_int| v_idx_4582) 0) (< v_idx_4582 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4582)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:32,277 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:56:32,277 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-14 16:56:32,277 WARN L230 ngHoareTripleChecker]: Post: {365#false} [2019-02-14 16:56:32,277 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:32,300 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:32,300 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:32,411 WARN L270 ngHoareTripleChecker]: Pre: {364#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_30 Int)) (or (<= (select |#memory_int| v_prenex_30) 0) (< v_prenex_30 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_30))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_4586 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_4586) (< v_idx_4586 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_4586) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_4578 Int)) (or (< v_idx_4578 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4578) (= (select |#valid| v_idx_4578) 1))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_4584 Int)) (or (< v_idx_4584 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_4584) (<= (* 2 (select |#memory_int| v_idx_4584)) 0))) (forall ((v_idx_4582 Int)) (or (= (select |#memory_int| v_idx_4582) 0) (< v_idx_4582 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_4582))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_4575 Int)) (or (< v_idx_4575 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_4575)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4575))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_4588 Int)) (or (< v_idx_4588 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4588) (= (select |#memory_int| v_idx_4588) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:32,412 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:56:32,412 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-14 16:56:32,420 WARN L276 ngHoareTripleChecker]: Post: {365#false} [2019-02-14 16:56:32,420 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:32,420 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:32,421 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], [old(#memory_int)] -> [-inf_0] v_2227 [inf_0], [old(#valid)] -> [-inf_0] v_2226 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:32,422 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-14 16:56:32,422 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:56:32,422 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:36,330 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:36,330 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:36,330 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:36,330 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:36,331 WARN L224 ngHoareTripleChecker]: Pre: {370#(forall ((v_idx_4687 Int) (v_idx_4695 Int) (v_idx_4684 Int) (v_idx_4697 Int) (v_idx_4691 Int) (v_idx_4693 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_4697 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_4697) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4697)) (or (= (select |c_#memory_int| v_idx_4695) 0) (< v_idx_4695 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4695)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= (select |c_#memory_int| v_idx_4691) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4691) (< v_idx_4691 c_ULTIMATE.start_main_p1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_4687 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4687) (= (select |c_#valid| v_idx_4687) 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_4684 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4684) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4684) 0)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (and (<= (* 2 (select |c_#memory_int| v_idx_4693)) 0) (<= (select |c_#memory_int| v_idx_4693) 0)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4693) (< v_idx_4693 c_ULTIMATE.start_main_p2)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:36,331 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 16:56:36,331 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-14 16:56:36,331 WARN L230 ngHoareTripleChecker]: Post: {371#false} [2019-02-14 16:56:36,331 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:36,353 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:36,353 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:36,436 WARN L270 ngHoareTripleChecker]: Pre: {370#(and (forall ((v_idx_4693 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_4693) (<= (* 2 (select |#memory_int| v_idx_4693)) 0) (< v_idx_4693 ULTIMATE.start_main_p2))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_4695 Int)) (or (= (select |#memory_int| v_idx_4695) 0) (< v_idx_4695 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_4695))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_31 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_prenex_31) (<= (select |#memory_int| v_prenex_31) 0) (< v_prenex_31 ULTIMATE.start_main_p2))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_4684 Int)) (or (< v_idx_4684 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4684) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_4684) 0))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_4691 Int)) (or (= (select |#memory_int| v_idx_4691) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_4691) (< v_idx_4691 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (forall ((v_idx_4697 Int)) (or (< v_idx_4697 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_4697) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4697))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_4687 Int)) (or (< v_idx_4687 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4687) (= (select |#valid| v_idx_4687) 1))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:36,436 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 16:56:36,436 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-14 16:56:36,438 WARN L276 ngHoareTripleChecker]: Post: {371#false} [2019-02-14 16:56:36,438 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:36,438 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:36,441 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], [old(#memory_int)] -> [-inf_0] v_2267 [inf_0], [old(#valid)] -> [-inf_0] v_2266 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:36,441 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-14 16:56:36,442 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:56:36,442 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:37,198 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:37,198 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:37,198 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:37,198 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:37,199 WARN L224 ngHoareTripleChecker]: Pre: {374#(forall ((v_idx_4710 Int) (v_idx_4701 Int) (v_idx_4712 Int) (v_idx_4708 Int) (v_idx_4714 Int) (v_idx_4704 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4701) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4701) 0) (< v_idx_4701 c_ULTIMATE.start_main_p4)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4708) (= (select |c_#memory_int| v_idx_4708) 0) (< v_idx_4708 c_ULTIMATE.start_main_p1)) (or (= 0 (select |c_#memory_int| v_idx_4712)) (< v_idx_4712 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4712)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4704) (= (select |c_#valid| v_idx_4704) 1) (< v_idx_4704 c_ULTIMATE.start_main_p4)) (or (and (<= (select |c_#memory_int| v_idx_4710) 0) (<= (* 2 (select |c_#memory_int| v_idx_4710)) 0)) (< v_idx_4710 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4710)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (= (select |c_#memory_int| v_idx_4714) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4714) (< v_idx_4714 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:37,199 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 16:56:37,199 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-14 16:56:37,199 WARN L230 ngHoareTripleChecker]: Post: {375#false} [2019-02-14 16:56:37,199 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:37,221 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:37,221 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:37,299 WARN L270 ngHoareTripleChecker]: Pre: {374#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_4708 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_4708) (= (select |#memory_int| v_idx_4708) 0) (< v_idx_4708 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_4710 Int)) (or (<= (select |#memory_int| v_idx_4710) 0) (< v_idx_4710 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_4710))) (forall ((v_idx_4701 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4701) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_4701) 0) (< v_idx_4701 ULTIMATE.start_main_p4))) (forall ((v_idx_4712 Int)) (or (= 0 (select |#memory_int| v_idx_4712)) (< v_idx_4712 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_4712))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_4714 Int)) (or (= (select |#memory_int| v_idx_4714) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4714) (< v_idx_4714 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_prenex_32 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_prenex_32) (< v_prenex_32 ULTIMATE.start_main_p2) (<= (* 2 (select |#memory_int| v_prenex_32)) 0))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_4704 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4704) (= (select |#valid| v_idx_4704) 1) (< v_idx_4704 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:37,299 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 16:56:37,300 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-14 16:56:37,301 WARN L276 ngHoareTripleChecker]: Post: {375#false} [2019-02-14 16:56:37,301 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:37,302 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:37,303 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], [old(#memory_int)] -> [-inf_0] v_2272 [inf_0], [old(#valid)] -> [-inf_0] v_2271 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:37,303 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-14 16:56:37,303 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:56:37,304 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:41,659 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:41,659 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:41,660 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:41,660 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:41,660 WARN L224 ngHoareTripleChecker]: Pre: {380#true} [2019-02-14 16:56:41,660 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 16:56:41,661 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-14 16:56:41,661 WARN L230 ngHoareTripleChecker]: Post: {381#(forall ((v_idx_4863 Int) (v_idx_4865 Int) (v_idx_4855 Int) (v_idx_4861 Int) (v_idx_4867 Int) (v_idx_4858 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4865) (= (select |c_#memory_int| v_idx_4865) 0) (< v_idx_4865 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4855)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4855) (< v_idx_4855 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4867) (= 0 (select |c_#memory_int| v_idx_4867)) (< v_idx_4867 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4863) (< v_idx_4863 c_ULTIMATE.start_main_p2) (and (<= (select |c_#memory_int| v_idx_4863) 0) (<= (* 2 (select |c_#memory_int| v_idx_4863)) 0))) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4858) (= (select |c_#valid| v_idx_4858) 1) (< v_idx_4858 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_4861 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_4861)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4861))))} [2019-02-14 16:56:41,661 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:41,662 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:41,662 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:41,665 WARN L270 ngHoareTripleChecker]: Pre: {380#true} [2019-02-14 16:56:41,665 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 16:56:41,665 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-14 16:56:41,839 WARN L276 ngHoareTripleChecker]: Post: {381#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_4855 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_4855)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4855) (< v_idx_4855 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_4858 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4858) (= (select |#valid| v_idx_4858) 1) (< v_idx_4858 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_4865 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_4865) (= (select |#memory_int| v_idx_4865) 0) (< v_idx_4865 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_4861 Int)) (or (< v_idx_4861 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_4861)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_4861))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_4863 Int)) (or (<= (select |#memory_int| v_idx_4863) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_4863) (< v_idx_4863 ULTIMATE.start_main_p2))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_4867 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4867) (= 0 (select |#memory_int| v_idx_4867)) (< v_idx_4867 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_33 Int)) (or (< v_prenex_33 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_33) (<= (* 2 (select |#memory_int| v_prenex_33)) 0))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:41,839 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:41,840 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:41,840 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2314 [inf_0], [#valid] -> [-inf_0] v_2312 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2311 [inf_0], [old(#memory_int)] -> [-inf_0] v_2315 [inf_0], [old(#valid)] -> [-inf_0] v_2313 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:56:41,840 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-14 16:56:41,842 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:41,842 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:42,481 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:42,481 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:42,482 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:42,482 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:42,482 WARN L224 ngHoareTripleChecker]: Pre: {383#(forall ((v_idx_4877 Int) (v_idx_4881 Int) (v_idx_4870 Int) (v_idx_4883 Int) (v_idx_4873 Int) (v_idx_4879 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_4873 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4873) (= (select |c_#valid| v_idx_4873) 1)) (or (= (select |c_#memory_int| v_idx_4883) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4883) (< v_idx_4883 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4877) (< v_idx_4877 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_4877))) (or (< v_idx_4879 c_ULTIMATE.start_main_p2) (and (<= (select |c_#memory_int| v_idx_4879) 0) (<= (* 2 (select |c_#memory_int| v_idx_4879)) 0)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4879)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (or (= 0 (select |c_#memory_int| v_idx_4881)) (< v_idx_4881 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4881)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4870) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4870) 0) (< v_idx_4870 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:42,482 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:56:42,482 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:56:42,482 WARN L230 ngHoareTripleChecker]: Post: {384#false} [2019-02-14 16:56:42,483 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:42,506 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:42,506 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:42,614 WARN L270 ngHoareTripleChecker]: Pre: {383#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_prenex_34 Int)) (or (<= (select |#memory_int| v_prenex_34) 0) (< v_prenex_34 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_34))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_4881 Int)) (or (= 0 (select |#memory_int| v_idx_4881)) (< v_idx_4881 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_4881))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_4877 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_4877) (< v_idx_4877 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_4877)))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_4873 Int)) (or (< v_idx_4873 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4873) (= (select |#valid| v_idx_4873) 1))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_4870 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4870) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_4870) 0) (< v_idx_4870 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_4879 Int)) (or (< v_idx_4879 ULTIMATE.start_main_p2) (<= (* 2 (select |#memory_int| v_idx_4879)) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_4879))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_4883 Int)) (or (= (select |#memory_int| v_idx_4883) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4883) (< v_idx_4883 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:42,614 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:56:42,615 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:56:42,616 WARN L276 ngHoareTripleChecker]: Post: {384#false} [2019-02-14 16:56:42,616 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:42,616 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:42,617 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], [old(#memory_int)] -> [-inf_0] v_2350 [inf_0], [old(#valid)] -> [-inf_0] v_2349 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:42,617 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-14 16:56:42,618 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:56:42,618 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:45,379 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:45,379 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:45,380 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:45,380 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:45,380 WARN L224 ngHoareTripleChecker]: Pre: {389#true} [2019-02-14 16:56:45,380 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:56:45,380 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:56:45,380 WARN L230 ngHoareTripleChecker]: Post: {390#(forall ((v_idx_4995 Int) (v_idx_4998 Int) (v_idx_5002 Int) (v_idx_4992 Int) (v_idx_5004 Int) (v_idx_5000 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4992)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4992) (< v_idx_4992 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4995) (= (select |c_#valid| v_idx_4995) 1) (< v_idx_4995 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4998) (< v_idx_4998 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_4998))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_5000 c_ULTIMATE.start_main_p2) (and (<= (select |c_#memory_int| v_idx_5000) 0) (<= (* 2 (select |c_#memory_int| v_idx_5000)) 0)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5000)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_5004)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5004) (< v_idx_5004 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_5002 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_5002) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5002)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:45,380 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:45,381 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:45,381 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:45,381 WARN L270 ngHoareTripleChecker]: Pre: {389#true} [2019-02-14 16:56:45,382 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:56:45,382 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:56:45,531 WARN L276 ngHoareTripleChecker]: Post: {390#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_35 Int)) (or (< v_prenex_35 ULTIMATE.start_main_p2) (<= (select |#memory_int| v_prenex_35) 0) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_35))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_4998 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_4998) (< v_idx_4998 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_4998)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_5000 Int)) (or (< v_idx_5000 ULTIMATE.start_main_p2) (<= (* 2 (select |#memory_int| v_idx_5000)) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_5000))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_4992 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_4992)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4992) (< v_idx_4992 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_5002 Int)) (or (< v_idx_5002 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_5002) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5002))) (forall ((v_idx_5004 Int)) (or (= 0 (select |#memory_int| v_idx_5004)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5004) (< v_idx_5004 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_4995 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4995) (= (select |#valid| v_idx_4995) 1) (< v_idx_4995 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:45,532 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:45,532 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:45,532 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2395 [inf_0], [#valid] -> [-inf_0] v_2393 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2392 [inf_0], [old(#memory_int)] -> [-inf_0] v_2396 [inf_0], [old(#valid)] -> [-inf_0] v_2394 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:56:45,532 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-14 16:56:45,534 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:45,534 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:46,380 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:46,381 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:46,381 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:46,381 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:46,381 WARN L224 ngHoareTripleChecker]: Pre: {395#(forall ((v_idx_5035 Int) (v_idx_5024 Int) (v_idx_5037 Int) (v_idx_5027 Int) (v_idx_5031 Int) (v_idx_5033 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (< v_idx_5035 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_5035)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5035)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5033) (< v_idx_5033 c_ULTIMATE.start_main_p2) (and (<= (select |c_#memory_int| v_idx_5033) 0) (<= (* 2 (select |c_#memory_int| v_idx_5033)) 0))) (or (= 0 (select |c_#memory_int| v_idx_5031)) (< v_idx_5031 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5031)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5037) (= 0 (select |c_#memory_int| v_idx_5037)) (< v_idx_5037 c_ULTIMATE.start_main_p4)) (or (< v_idx_5027 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_5027) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5027)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_5024 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5024) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5024))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:46,381 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:56:46,382 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:56:46,382 WARN L230 ngHoareTripleChecker]: Post: {396#false} [2019-02-14 16:56:46,382 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:46,403 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:46,404 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:46,502 WARN L270 ngHoareTripleChecker]: Pre: {395#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_5037 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5037) (= 0 (select |#memory_int| v_idx_5037)) (< v_idx_5037 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_5031 Int)) (or (= 0 (select |#memory_int| v_idx_5031)) (< v_idx_5031 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_5031))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_5027 Int)) (or (< v_idx_5027 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_5027) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5027))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_5024 Int)) (or (< v_idx_5024 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5024) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_5024)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_5033 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_5033) (< v_idx_5033 ULTIMATE.start_main_p2) (<= (* 2 (select |#memory_int| v_idx_5033)) 0))) (forall ((v_idx_5035 Int)) (or (< v_idx_5035 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_5035)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5035))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_36 Int)) (or (<= (select |#memory_int| v_prenex_36) 0) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_36) (< v_prenex_36 ULTIMATE.start_main_p2))))} [2019-02-14 16:56:46,503 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:56:46,503 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:56:46,504 WARN L276 ngHoareTripleChecker]: Post: {396#false} [2019-02-14 16:56:46,504 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:46,504 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:46,506 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], [old(#memory_int)] -> [-inf_0] v_2436 [inf_0], [old(#valid)] -> [-inf_0] v_2435 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:46,506 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-14 16:56:46,506 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:56:46,506 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:48,146 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:48,146 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:48,147 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:48,147 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:48,147 WARN L224 ngHoareTripleChecker]: Pre: {398#true} [2019-02-14 16:56:48,147 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-14 16:56:48,148 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-14 16:56:48,148 WARN L230 ngHoareTripleChecker]: Post: {399#(forall ((v_idx_5092 Int) (v_idx_5086 Int) (v_idx_5098 Int) (v_idx_5089 Int) (v_idx_5094 Int) (v_idx_5096 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5086)) (< v_idx_5086 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5086)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (< v_idx_5094 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5094) (and (<= (select |c_#memory_int| v_idx_5094) 0) (<= (* 2 (select |c_#memory_int| v_idx_5094)) 0))) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_5096 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5096) (= (select |c_#memory_int| v_idx_5096) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5089) (< v_idx_5089 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_5089) 1)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_5092 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5092) (= 0 (select |c_#memory_int| v_idx_5092))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_5098 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_5098) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5098)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:48,148 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:48,149 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:48,149 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:48,149 WARN L270 ngHoareTripleChecker]: Pre: {398#true} [2019-02-14 16:56:48,150 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-14 16:56:48,150 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-14 16:56:48,264 WARN L276 ngHoareTripleChecker]: Post: {399#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_5086 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_5086)) (< v_idx_5086 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5086))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_5089 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5089) (< v_idx_5089 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_5089) 1))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_5098 Int)) (or (< v_idx_5098 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_5098) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5098))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_5094 Int)) (or (< v_idx_5094 ULTIMATE.start_main_p2) (<= (select |#memory_int| v_idx_5094) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_5094))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_5092 Int)) (or (< v_idx_5092 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_5092) (= 0 (select |#memory_int| v_idx_5092)))) (forall ((v_prenex_37 Int)) (or (< v_prenex_37 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_37) (<= (* 2 (select |#memory_int| v_prenex_37)) 0))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_5096 Int)) (or (< v_idx_5096 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5096) (= (select |#memory_int| v_idx_5096) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:48,264 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:48,264 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:48,265 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2443 [inf_0], [#valid] -> [-inf_0] v_2441 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2440 [inf_0], [old(#memory_int)] -> [-inf_0] v_2444 [inf_0], [old(#valid)] -> [-inf_0] v_2442 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:56:48,265 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) (assume !(#memory_int[main_p2] <= 0);) [2019-02-14 16:56:48,266 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:48,266 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:49,726 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:49,727 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:49,727 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:49,727 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:49,727 WARN L224 ngHoareTripleChecker]: Pre: {401#true} [2019-02-14 16:56:49,727 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:56:49,727 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:56:49,728 WARN L230 ngHoareTripleChecker]: Post: {402#(forall ((v_idx_5149 Int) (v_idx_5156 Int) (v_idx_5146 Int) (v_idx_5158 Int) (v_idx_5152 Int) (v_idx_5154 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (< v_idx_5158 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5158) (= (select |c_#memory_int| v_idx_5158) 0)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5154) (< v_idx_5154 c_ULTIMATE.start_main_p2) (and (<= (select |c_#memory_int| v_idx_5154) 0) (<= (* 2 (select |c_#memory_int| v_idx_5154)) 0))) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_5152 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_5152)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5152)) (or (< v_idx_5149 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_5149) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5149)) (or (= 0 (select |c_#memory_int| v_idx_5156)) (< v_idx_5156 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5156)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5146) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5146) 0) (< v_idx_5146 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:49,728 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:49,728 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:49,728 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:49,729 WARN L270 ngHoareTripleChecker]: Pre: {401#true} [2019-02-14 16:56:49,729 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:56:49,729 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:56:49,860 WARN L276 ngHoareTripleChecker]: Post: {402#(and (forall ((v_idx_5149 Int)) (or (< v_idx_5149 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_5149) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5149))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_5158 Int)) (or (< v_idx_5158 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5158) (= (select |#memory_int| v_idx_5158) 0))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_5154 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_5154) (< v_idx_5154 ULTIMATE.start_main_p2) (<= (select |#memory_int| v_idx_5154) 0))) (forall ((v_idx_5156 Int)) (or (= 0 (select |#memory_int| v_idx_5156)) (< v_idx_5156 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5156))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_5146 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5146) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_5146) 0) (< v_idx_5146 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_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_prenex_38 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_38)) 0) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_38) (< v_prenex_38 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_5152 Int)) (or (< v_idx_5152 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_5152)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_5152))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:49,861 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:49,861 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:49,861 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2481 [inf_0], [#valid] -> [-inf_0] v_2479 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2478 [inf_0], [old(#memory_int)] -> [-inf_0] v_2482 [inf_0], [old(#valid)] -> [-inf_0] v_2480 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:56:49,861 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-14 16:56:49,863 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:49,863 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:50,653 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:50,653 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:50,653 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:50,654 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:50,654 WARN L224 ngHoareTripleChecker]: Pre: {407#(forall ((v_idx_5191 Int) (v_idx_5189 Int) (v_idx_5178 Int) (v_idx_5185 Int) (v_idx_5187 Int) (v_idx_5181 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_5187 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5187) (and (<= (select |c_#memory_int| v_idx_5187) 0) (<= (* 2 (select |c_#memory_int| v_idx_5187)) 0))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5189) (< v_idx_5189 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_5189))) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5181) (< v_idx_5181 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_5181) 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5178) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5178)) (< v_idx_5178 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= (select |c_#memory_int| v_idx_5191) 0) (< v_idx_5191 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5191)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5185) (= (select |c_#memory_int| v_idx_5185) 0) (< v_idx_5185 c_ULTIMATE.start_main_p1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:50,654 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:56:50,654 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:56:50,654 WARN L230 ngHoareTripleChecker]: Post: {408#false} [2019-02-14 16:56:50,654 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:50,676 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:50,676 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:50,801 WARN L270 ngHoareTripleChecker]: Pre: {407#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_5191 Int)) (or (= (select |#memory_int| v_idx_5191) 0) (< v_idx_5191 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5191))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_5187 Int)) (or (< v_idx_5187 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_5187) (<= (select |#memory_int| v_idx_5187) 0))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_5178 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5178) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_5178)) (< v_idx_5178 ULTIMATE.start_main_p4))) (forall ((v_idx_5189 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_5189) (< v_idx_5189 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_5189)))) (forall ((v_idx_5181 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5181) (< v_idx_5181 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_5181) 1))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_39 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_39)) 0) (< v_prenex_39 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_39))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_5185 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_5185) (= (select |#memory_int| v_idx_5185) 0) (< v_idx_5185 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:50,802 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:56:50,802 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:56:50,803 WARN L276 ngHoareTripleChecker]: Post: {408#false} [2019-02-14 16:56:50,803 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:50,804 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:50,805 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], [old(#memory_int)] -> [-inf_0] v_2522 [inf_0], [old(#valid)] -> [-inf_0] v_2521 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 28 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:50,805 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-14 16:56:50,805 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:56:50,805 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:52,244 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:52,245 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:52,245 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:52,245 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:52,246 WARN L224 ngHoareTripleChecker]: Pre: {410#true} [2019-02-14 16:56:52,246 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-14 16:56:52,246 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-14 16:56:52,246 WARN L230 ngHoareTripleChecker]: Post: {411#(forall ((v_idx_5248 Int) (v_idx_5246 Int) (v_idx_5240 Int) (v_idx_5252 Int) (v_idx_5243 Int) (v_idx_5250 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= (select |c_#memory_int| v_idx_5252) 0) (< v_idx_5252 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5252)) (or (and (<= (* 2 (select |c_#memory_int| v_idx_5248)) 0) (<= (select |c_#memory_int| v_idx_5248) 0)) (< v_idx_5248 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5248)) (or (< v_idx_5240 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5240) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5240) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_5250 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5250) (= (select |c_#memory_int| v_idx_5250) 0)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5243) (< v_idx_5243 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_5243) 1)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5246) (= 0 (select |c_#memory_int| v_idx_5246)) (< v_idx_5246 c_ULTIMATE.start_main_p1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:52,246 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:52,247 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:52,247 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:52,248 WARN L270 ngHoareTripleChecker]: Pre: {410#true} [2019-02-14 16:56:52,248 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-14 16:56:52,248 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-14 16:56:52,352 WARN L276 ngHoareTripleChecker]: Post: {411#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_5246 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_5246) (= 0 (select |#memory_int| v_idx_5246)) (< v_idx_5246 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_5243 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5243) (< v_idx_5243 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_5243) 1))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_5250 Int)) (or (< v_idx_5250 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5250) (= (select |#memory_int| v_idx_5250) 0))) (forall ((v_idx_5248 Int)) (or (<= (select |#memory_int| v_idx_5248) 0) (< v_idx_5248 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_5248))) (forall ((v_prenex_40 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_40)) 0) (< v_prenex_40 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_40))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_5252 Int)) (or (= (select |#memory_int| v_idx_5252) 0) (< v_idx_5252 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5252))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_5240 Int)) (or (< v_idx_5240 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5240) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_5240) 0))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:52,353 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:52,353 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:52,353 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2529 [inf_0], [#valid] -> [-inf_0] v_2527 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2526 [inf_0], [old(#memory_int)] -> [-inf_0] v_2530 [inf_0], [old(#valid)] -> [-inf_0] v_2528 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:56:52,353 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) (assume !(#memory_int[main_p3] >= 0);) [2019-02-14 16:56:52,355 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:52,355 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:53,664 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:53,665 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:53,665 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:53,665 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:53,665 WARN L224 ngHoareTripleChecker]: Pre: {413#true} [2019-02-14 16:56:53,665 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:56:53,665 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:56:53,666 WARN L230 ngHoareTripleChecker]: Post: {414#(forall ((v_idx_5303 Int) (v_idx_5306 Int) (v_idx_5300 Int) (v_idx_5310 Int) (v_idx_5312 Int) (v_idx_5308 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5308) (and (<= (select |c_#memory_int| v_idx_5308) 0) (<= (* 2 (select |c_#memory_int| v_idx_5308)) 0)) (< v_idx_5308 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_5306 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5306) (= 0 (select |c_#memory_int| v_idx_5306))) (or (= 1 (select |c_#valid| v_idx_5303)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5303) (< v_idx_5303 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5310) (= (select |c_#memory_int| v_idx_5310) 0) (< v_idx_5310 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_5300 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5300) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5300)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (= 0 (select |c_#memory_int| v_idx_5312)) (< v_idx_5312 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5312)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:56:53,666 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:53,666 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:53,667 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:53,668 WARN L270 ngHoareTripleChecker]: Pre: {413#true} [2019-02-14 16:56:53,668 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:56:53,668 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:56:53,770 WARN L276 ngHoareTripleChecker]: Post: {414#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_5300 Int)) (or (< v_idx_5300 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_5300) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5300))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_prenex_41 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_prenex_41) (< v_prenex_41 ULTIMATE.start_main_p2) (<= (select |#memory_int| v_prenex_41) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_5310 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_5310) (= (select |#memory_int| v_idx_5310) 0) (< v_idx_5310 ULTIMATE.start_main_p3))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_5312 Int)) (or (= 0 (select |#memory_int| v_idx_5312)) (< v_idx_5312 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5312))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_5303 Int)) (or (= 1 (select |#valid| v_idx_5303)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5303) (< v_idx_5303 ULTIMATE.start_main_p4))) (forall ((v_idx_5308 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_5308) (< v_idx_5308 ULTIMATE.start_main_p2) (<= (* 2 (select |#memory_int| v_idx_5308)) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_5306 Int)) (or (< v_idx_5306 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_5306) (= 0 (select |#memory_int| v_idx_5306)))))} [2019-02-14 16:56:53,770 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:53,770 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:53,771 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2567 [inf_0], [#valid] -> [-inf_0] v_2565 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2564 [inf_0], [old(#memory_int)] -> [-inf_0] v_2568 [inf_0], [old(#valid)] -> [-inf_0] v_2566 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:56:53,771 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-14 16:56:53,772 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:53,772 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:55,649 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:56:55,650 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:56:55,650 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:56:55,650 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:56:55,651 WARN L224 ngHoareTripleChecker]: Pre: {419#true} [2019-02-14 16:56:55,651 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-14 16:56:55,651 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-14 16:56:55,651 WARN L230 ngHoareTripleChecker]: Post: {420#(forall ((v_idx_5377 Int) (v_idx_5387 Int) (v_idx_5389 Int) (v_idx_5383 Int) (v_idx_5385 Int) (v_idx_5380 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (= 0 (select |c_#memory_int| v_idx_5389)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5389) (< v_idx_5389 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_5383 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_5383)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5383)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5377) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5377)) (< v_idx_5377 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 1 (select |c_#valid| v_idx_5380)) (< v_idx_5380 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5380)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_5387 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5387) (= 0 (select |c_#memory_int| v_idx_5387))) (or (< v_idx_5385 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5385) (and (<= (* 2 (select |c_#memory_int| v_idx_5385)) 0) (<= (select |c_#memory_int| v_idx_5385) 0)))))} [2019-02-14 16:56:55,652 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:56:55,652 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:56:55,652 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:56:55,654 WARN L270 ngHoareTripleChecker]: Pre: {419#true} [2019-02-14 16:56:55,654 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-14 16:56:55,654 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-14 16:56:55,804 WARN L276 ngHoareTripleChecker]: Post: {420#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_5383 Int)) (or (< v_idx_5383 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_5383)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_5383))) (forall ((v_idx_5385 Int)) (or (< v_idx_5385 ULTIMATE.start_main_p2) (<= (* 2 (select |#memory_int| v_idx_5385)) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_5385))) (forall ((v_idx_5387 Int)) (or (< v_idx_5387 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5387) (= 0 (select |#memory_int| v_idx_5387)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_5380 Int)) (or (= 1 (select |#valid| v_idx_5380)) (< v_idx_5380 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5380))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_5389 Int)) (or (= 0 (select |#memory_int| v_idx_5389)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5389) (< v_idx_5389 ULTIMATE.start_main_p4))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_5377 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5377) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_5377)) (< v_idx_5377 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_prenex_42 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_prenex_42) (<= (select |#memory_int| v_prenex_42) 0) (< v_prenex_42 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:56:55,804 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:56:55,805 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:56:55,805 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2610 [inf_0], [#valid] -> [-inf_0] v_2608 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2607 [inf_0], [old(#memory_int)] -> [-inf_0] v_2611 [inf_0], [old(#valid)] -> [-inf_0] v_2609 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:56:55,805 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) (assume !(#memory_int[main_p4] <= 0);) [2019-02-14 16:56:55,807 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1382 [b_132] v_1383 [b_133] v_1384 [b_134] v_1385 [b_135] v_1386 [b_136] v_1387 [b_137] v_1388 [b_138] v_1389 [b_139] v_1390 [inf_0], [#valid] -> [-inf_0] v_1379 [b_130] v_1380 [b_131] v_1381 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1375 [b_128] v_1376 [b_129] v_1377 [inf_0], }, Substate: {ints: {v_1383 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1385 = [-inf; 0]; v_1389 = [0; 0]; v_1387 = [0; 0]}, 26 vars top, relations: {ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_134 - b_135 = [-1; -1]; b_130 - b_135 = [1; inf]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [0; 0]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; ULTIMATE.start_malloc_ptr - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-inf; -4]; ULTIMATE.start_main_p2 - b_129 = [-inf; -3]; ULTIMATE.start_main_p3 - b_129 = [-inf; -2]; ULTIMATE.start_main_p4 - b_129 = [-1; -1]; b_128 - b_129 = [-1; -1]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; v_1383 + v_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; v_1376 + v_1385 = [-inf; 0]; v_1376 - v_1385 = [0; inf]; v_1380 + v_1385 = [-inf; 1]; v_1380 - v_1385 = [1; inf]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - v_1389 = [0; 0]; v_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1376 + v_1387 = [0; 0]; v_1376 - v_1387 = [0; 0]; v_1380 + v_1387 = [1; 1]; v_1380 - v_1387 = [1; 1]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_130 - b_134 = [2; inf]; b_131 - b_134 = [3; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_129 - b_138 = [1; 1]; b_134 - b_138 = [-inf; -2]; b_136 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_137 - b_138 = [-inf; 0]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_129 - b_136 = [2; inf]; b_134 - b_136 = [-inf; -1]; b_130 - b_136 = [1; inf]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_129 - b_130 = [1; 1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; ULTIMATE.start_main_p2 - b_130 = [-inf; -2]; ULTIMATE.start_main_p3 - b_130 = [-inf; -1]; ULTIMATE.start_main_p4 - b_130 = [0; 0]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; ULTIMATE.start_main_p2 - b_131 = [-inf; -3]; ULTIMATE.start_main_p3 - b_131 = [-inf; -2]; ULTIMATE.start_main_p4 - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_129 - b_139 = [0; 0]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_137 - b_139 = [-inf; -1]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_139 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_129 - b_137 = [1; inf]; b_134 - b_137 = [-inf; -2]; b_136 - b_137 = [-1; -1]; b_130 - b_137 = [0; inf]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_130 - b_133 = [2; inf]; b_131 - b_133 = [3; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; b_128 - b_133 = [2; 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_malloc_ptr - b_128 = [0; 0]; ULTIMATE.start_main_p1 - b_128 = [-inf; -3]; ULTIMATE.start_main_p2 - b_128 = [-inf; -2]; ULTIMATE.start_main_p3 - b_128 = [-inf; -1]; ULTIMATE.start_main_p4 - b_128 = [0; 0]}, }}} [2019-02-14 16:56:55,807 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:56:55,814 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:56:55,814 INFO L93 Difference]: Finished difference Result 20 states and 35 transitions. [2019-02-14 16:56:55,814 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-14 16:56:55,814 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-14 16:56:55,814 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-14 16:56:55,814 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 16:56:55,815 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-14 16:56:55,815 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 16:56:55,816 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-14 16:56:55,816 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 23 transitions. [2019-02-14 16:56:56,002 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 23 edges. 23 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-14 16:56:56,004 INFO L225 Difference]: With dead ends: 20 [2019-02-14 16:56:56,004 INFO L226 Difference]: Without dead ends: 13 [2019-02-14 16:56:56,005 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 0 SyntacticMatches, 1 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 1.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 16:56:56,005 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states. [2019-02-14 16:56:56,119 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 13. [2019-02-14 16:56:56,119 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-14 16:56:56,119 INFO L82 GeneralOperation]: Start isEquivalent. First operand 13 states. Second operand 13 states. [2019-02-14 16:56:56,120 INFO L74 IsIncluded]: Start isIncluded. First operand 13 states. Second operand 13 states. [2019-02-14 16:56:56,120 INFO L87 Difference]: Start difference. First operand 13 states. Second operand 13 states. [2019-02-14 16:56:56,123 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:56:56,123 INFO L93 Difference]: Finished difference Result 13 states and 28 transitions. [2019-02-14 16:56:56,123 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 28 transitions. [2019-02-14 16:56:56,124 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 16:56:56,124 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 16:56:56,124 INFO L74 IsIncluded]: Start isIncluded. First operand 13 states. Second operand 13 states. [2019-02-14 16:56:56,124 INFO L87 Difference]: Start difference. First operand 13 states. Second operand 13 states. [2019-02-14 16:56:56,126 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:56:56,126 INFO L93 Difference]: Finished difference Result 13 states and 28 transitions. [2019-02-14 16:56:56,126 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 28 transitions. [2019-02-14 16:56:56,126 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 16:56:56,126 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 16:56:56,126 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-14 16:56:56,126 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-14 16:56:56,126 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 13 states. [2019-02-14 16:56:56,127 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 28 transitions. [2019-02-14 16:56:56,128 INFO L78 Accepts]: Start accepts. Automaton has 13 states and 28 transitions. Word has length 3 [2019-02-14 16:56:56,128 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-14 16:56:56,128 INFO L480 AbstractCegarLoop]: Abstraction has 13 states and 28 transitions. [2019-02-14 16:56:56,128 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-14 16:56:56,128 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 28 transitions. [2019-02-14 16:56:56,128 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-02-14 16:56:56,128 INFO L394 BasicCegarLoop]: Found error trace [2019-02-14 16:56:56,128 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-02-14 16:56:56,129 INFO L423 AbstractCegarLoop]: === Iteration 5 === [ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2019-02-14 16:56:56,129 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 16:56:56,129 INFO L82 PathProgramCache]: Analyzing trace with hash 30244, now seen corresponding path program 1 times [2019-02-14 16:56:56,129 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-14 16:56:56,130 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:56:56,130 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-14 16:56:56,130 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:56:56,130 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-14 16:56:56,139 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-14 16:56:56,229 INFO L273 TraceCheckUtils]: 0: Hoare triple {468#true} havoc main_p1, main_p2, main_p3, main_p4;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;assume main_p1 < main_p2;assume main_p2 < main_p3;assume main_p3 < main_p4;#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]; {470#(and (= 0 (select (store |#memory_int| ULTIMATE.start_main_p3 (+ (select |#memory_int| ULTIMATE.start_main_p3) 1)) ULTIMATE.start_main_p1)) (not (= ULTIMATE.start_main_p3 ULTIMATE.start_main_p1)))} is VALID [2019-02-14 16:56:56,230 INFO L273 TraceCheckUtils]: 1: Hoare triple {470#(and (= 0 (select (store |#memory_int| ULTIMATE.start_main_p3 (+ (select |#memory_int| ULTIMATE.start_main_p3) 1)) ULTIMATE.start_main_p1)) (not (= ULTIMATE.start_main_p3 ULTIMATE.start_main_p1)))} #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; {471#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} is VALID [2019-02-14 16:56:56,231 INFO L273 TraceCheckUtils]: 2: Hoare triple {471#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} assume !(#memory_int[main_p1] >= 0); {469#false} is VALID [2019-02-14 16:56:56,232 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-14 16:56:56,232 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-14 16:56:56,232 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-14 16:56:56,232 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 4 with the following transitions: [2019-02-14 16:56:56,233 INFO L207 CegarAbsIntRunner]: [0], [14], [19] [2019-02-14 16:56:56,234 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-14 16:56:56,234 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-14 16:57:58,314 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-14 16:57:58,314 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-14 16:57:58,314 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 16:57:58,315 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-14 16:58:04,943 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-14 16:58:06,625 INFO L420 sIntCurrentIteration]: We unified 2 AI predicates to 2 [2019-02-14 16:58:09,775 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-14 16:58:09,775 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-14 16:58:09,775 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [2] total 3 [2019-02-14 16:58:09,775 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-14 16:58:09,775 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-14 16:58:09,776 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-14 16:58:09,776 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-14 16:58:09,892 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-14 16:58:09,893 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-14 16:58:09,893 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-14 16:58:09,893 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 16:58:09,893 INFO L87 Difference]: Start difference. First operand 13 states and 28 transitions. Second operand 3 states. [2019-02-14 16:58:10,498 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:10,498 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:10,498 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:10,499 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:10,499 WARN L224 ngHoareTripleChecker]: Pre: {492#(forall ((v_idx_6257 Int) (v_idx_6268 Int) (v_idx_6264 Int) (v_idx_6266 Int) (v_idx_6260 Int) (v_idx_6270 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6257)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6257) (< v_idx_6257 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6268) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_6268))) (<= 0 (select |c_#memory_int| v_idx_6268))) (< v_idx_6268 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_#memory_int| v_idx_6266)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6266) (< v_idx_6266 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (or (< v_idx_6260 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6260) (= (select |c_#valid| v_idx_6260) 1)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6264) (< v_idx_6264 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_6264))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_6270 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_6270) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6270))))} [2019-02-14 16:58:10,499 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 16:58:10,499 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-14 16:58:10,499 WARN L230 ngHoareTripleChecker]: Post: {493#false} [2019-02-14 16:58:10,499 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:10,521 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:10,521 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:10,617 WARN L270 ngHoareTripleChecker]: Pre: {492#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_43 Int)) (or (< v_prenex_43 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_43) (<= 0 (select |#memory_int| v_prenex_43)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6268 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_6268) (< v_idx_6268 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_6268))))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6257 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6257)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6257) (< v_idx_6257 ULTIMATE.start_main_p4))) (forall ((v_idx_6260 Int)) (or (< v_idx_6260 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6260) (= (select |#valid| v_idx_6260) 1))) (forall ((v_idx_6270 Int)) (or (< v_idx_6270 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_6270) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6270))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_6266 Int)) (or (= 0 (select |#memory_int| v_idx_6266)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6266) (< v_idx_6266 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_6264 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_6264) (< v_idx_6264 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_6264)))))} [2019-02-14 16:58:10,617 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 16:58:10,617 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-14 16:58:10,618 WARN L276 ngHoareTripleChecker]: Post: {493#false} [2019-02-14 16:58:10,618 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:10,618 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:10,620 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], [old(#memory_int)] -> [-inf_0] v_2136 [inf_0], [old(#valid)] -> [-inf_0] v_2135 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 28 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:10,620 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-14 16:58:10,620 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:58:10,620 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:15,665 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:15,665 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:15,665 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:15,665 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:15,666 WARN L224 ngHoareTripleChecker]: Pre: {498#(forall ((v_idx_6377 Int) (v_idx_6366 Int) (v_idx_6369 Int) (v_idx_6379 Int) (v_idx_6373 Int) (v_idx_6375 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6369) (= 1 (select |c_#valid| v_idx_6369)) (< v_idx_6369 c_ULTIMATE.start_main_p4)) (or (< v_idx_6373 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_6373) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6373)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (and (<= 0 (select |c_#memory_int| v_idx_6377)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6377)))) (< v_idx_6377 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6377)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (= (select |c_#memory_int| v_idx_6379) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6379) (< v_idx_6379 c_ULTIMATE.start_main_p4)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_6375 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_6375) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6375)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6366) 0) (< v_idx_6366 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6366)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:15,666 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:58:15,666 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-14 16:58:15,666 WARN L230 ngHoareTripleChecker]: Post: {499#false} [2019-02-14 16:58:15,666 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:15,687 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:15,688 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:15,771 WARN L270 ngHoareTripleChecker]: Pre: {498#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_6377 Int)) (or (< v_idx_6377 ULTIMATE.start_main_p3) (<= 0 (select |#memory_int| v_idx_6377)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6377))) (forall ((v_idx_6373 Int)) (or (< v_idx_6373 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_6373) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6373))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6369 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6369) (= 1 (select |#valid| v_idx_6369)) (< v_idx_6369 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_6375 Int)) (or (< v_idx_6375 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_6375) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6375))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_6379 Int)) (or (= (select |#memory_int| v_idx_6379) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6379) (< v_idx_6379 ULTIMATE.start_main_p4))) (forall ((v_prenex_44 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_44))) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_44) (< v_prenex_44 ULTIMATE.start_main_p3))) (forall ((v_idx_6366 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_6366) 0) (< v_idx_6366 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6366))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:58:15,771 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 16:58:15,771 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-14 16:58:15,790 WARN L276 ngHoareTripleChecker]: Post: {499#false} [2019-02-14 16:58:15,791 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:15,791 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:15,792 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], [old(#memory_int)] -> [-inf_0] v_2176 [inf_0], [old(#valid)] -> [-inf_0] v_2175 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 28 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:15,792 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-14 16:58:15,792 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:58:15,792 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:19,132 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:19,132 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:19,133 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:19,133 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:19,133 WARN L224 ngHoareTripleChecker]: Pre: {504#(forall ((v_idx_6488 Int) (v_idx_6478 Int) (v_idx_6484 Int) (v_idx_6486 Int) (v_idx_6475 Int) (v_idx_6482 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_6484 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6484) (= (select |c_#memory_int| v_idx_6484) 0)) (or (and (<= 0 (select |c_#memory_int| v_idx_6486)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6486)))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6486) (< v_idx_6486 c_ULTIMATE.start_main_p3)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6482) (= (select |c_#memory_int| v_idx_6482) 0) (< v_idx_6482 c_ULTIMATE.start_main_p1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (= 1 (select |c_#valid| v_idx_6478)) (< v_idx_6478 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6478)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6475) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6475)) (< v_idx_6475 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_6488 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_6488) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6488)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:19,133 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 16:58:19,133 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-14 16:58:19,133 WARN L230 ngHoareTripleChecker]: Post: {505#false} [2019-02-14 16:58:19,133 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:19,158 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:19,158 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:19,238 WARN L270 ngHoareTripleChecker]: Pre: {504#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_6478 Int)) (or (= 1 (select |#valid| v_idx_6478)) (< v_idx_6478 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6478))) (forall ((v_idx_6482 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_6482) (= (select |#memory_int| v_idx_6482) 0) (< v_idx_6482 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_6484 Int)) (or (< v_idx_6484 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6484) (= (select |#memory_int| v_idx_6484) 0))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6486 Int)) (or (<= 0 (select |#memory_int| v_idx_6486)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6486) (< v_idx_6486 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_6475 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6475) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6475)) (< v_idx_6475 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_45 Int)) (or (< v_prenex_45 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_45) (<= 0 (* 2 (select |#memory_int| v_prenex_45))))) (forall ((v_idx_6488 Int)) (or (< v_idx_6488 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_6488) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6488))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:58:19,239 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 16:58:19,239 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-14 16:58:19,240 WARN L276 ngHoareTripleChecker]: Post: {505#false} [2019-02-14 16:58:19,240 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:19,241 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:19,242 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], [old(#memory_int)] -> [-inf_0] v_2216 [inf_0], [old(#valid)] -> [-inf_0] v_2215 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 28 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:19,243 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-14 16:58:19,243 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:58:19,243 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:23,707 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:23,707 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:23,707 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:23,708 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:23,708 WARN L224 ngHoareTripleChecker]: Pre: {510#(forall ((v_idx_6587 Int) (v_idx_6597 Int) (v_idx_6593 Int) (v_idx_6584 Int) (v_idx_6595 Int) (v_idx_6591 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (= (select |c_#valid| v_idx_6587) 1) (< v_idx_6587 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6587)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (< v_idx_6593 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_6593)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6593)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_6584 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6584)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6584)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (or (< v_idx_6597 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6597) (= (select |c_#memory_int| v_idx_6597) 0)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6591) (< v_idx_6591 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_6591) 0)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (< v_idx_6595 c_ULTIMATE.start_main_p3) (and (<= 0 (select |c_#memory_int| v_idx_6595)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6595)))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6595)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:23,708 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 16:58:23,708 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-14 16:58:23,708 WARN L230 ngHoareTripleChecker]: Post: {511#false} [2019-02-14 16:58:23,708 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:23,729 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:23,730 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:23,821 WARN L270 ngHoareTripleChecker]: Pre: {510#(and (forall ((v_idx_6584 Int)) (or (< v_idx_6584 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6584)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6584))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_6587 Int)) (or (= (select |#valid| v_idx_6587) 1) (< v_idx_6587 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6587))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6593 Int)) (or (< v_idx_6593 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_6593)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6593))) (forall ((v_idx_6595 Int)) (or (< v_idx_6595 ULTIMATE.start_main_p3) (<= 0 (select |#memory_int| v_idx_6595)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6595))) (forall ((v_prenex_46 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_46))) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_46) (< v_prenex_46 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_6597 Int)) (or (< v_idx_6597 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6597) (= (select |#memory_int| v_idx_6597) 0))) (forall ((v_idx_6591 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_6591) (< v_idx_6591 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_6591) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:58:23,822 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 16:58:23,822 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-14 16:58:23,824 WARN L276 ngHoareTripleChecker]: Post: {511#false} [2019-02-14 16:58:23,824 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:23,824 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:23,825 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], [old(#memory_int)] -> [-inf_0] v_2256 [inf_0], [old(#valid)] -> [-inf_0] v_2255 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 28 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:23,825 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-14 16:58:23,825 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:58:23,826 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:25,232 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:25,232 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:25,233 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:25,233 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:25,233 WARN L224 ngHoareTripleChecker]: Pre: {516#true} [2019-02-14 16:58:25,233 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 16:58:25,234 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-14 16:58:25,234 WARN L230 ngHoareTripleChecker]: Post: {517#(forall ((v_idx_6646 Int) (v_idx_6656 Int) (v_idx_6658 Int) (v_idx_6652 Int) (v_idx_6654 Int) (v_idx_6649 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6656) (and (<= 0 (select |c_#memory_int| v_idx_6656)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6656)))) (< v_idx_6656 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6658) (= 0 (select |c_#memory_int| v_idx_6658)) (< v_idx_6658 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6646)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6646) (< v_idx_6646 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_6652 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_6652) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6652)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_6654 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_6654)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6654)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (= (select |c_#valid| v_idx_6649) 1) (< v_idx_6649 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6649)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:25,234 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:25,235 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:25,235 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:25,236 WARN L270 ngHoareTripleChecker]: Pre: {516#true} [2019-02-14 16:58:25,236 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 16:58:25,236 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-14 16:58:25,310 WARN L276 ngHoareTripleChecker]: Post: {517#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_6656 Int)) (or (<= 0 (* 2 (select |#memory_int| v_idx_6656))) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6656) (< v_idx_6656 ULTIMATE.start_main_p3))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6654 Int)) (or (< v_idx_6654 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_6654)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6654))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_6646 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6646)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6646) (< v_idx_6646 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_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6658 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6658) (= 0 (select |#memory_int| v_idx_6658)) (< v_idx_6658 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_6649 Int)) (or (= (select |#valid| v_idx_6649) 1) (< v_idx_6649 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6649))) (forall ((v_idx_6652 Int)) (or (< v_idx_6652 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_6652) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6652))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_47 Int)) (or (<= 0 (select |#memory_int| v_prenex_47)) (< v_prenex_47 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_47))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:58:25,311 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:25,311 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:25,311 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2263 [inf_0], [#valid] -> [-inf_0] v_2261 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2260 [inf_0], [old(#memory_int)] -> [-inf_0] v_2264 [inf_0], [old(#valid)] -> [-inf_0] v_2262 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:58:25,312 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-14 16:58:25,313 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 26 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:25,313 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:25,731 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:25,731 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:25,732 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:25,732 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:25,732 WARN L224 ngHoareTripleChecker]: Pre: {519#(forall ((v_idx_6668 Int) (v_idx_6664 Int) (v_idx_6674 Int) (v_idx_6670 Int) (v_idx_6672 Int) (v_idx_6661 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (< v_idx_6670 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_6670) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6670)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6664) (= 1 (select |c_#valid| v_idx_6664)) (< v_idx_6664 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (< v_idx_6674 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6674) (= (select |c_#memory_int| v_idx_6674) 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6672) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_6672))) (<= 0 (select |c_#memory_int| v_idx_6672))) (< v_idx_6672 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6668) (= (select |c_#memory_int| v_idx_6668) 0) (< v_idx_6668 c_ULTIMATE.start_main_p1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6661)) (< v_idx_6661 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6661)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:25,732 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:58:25,732 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:58:25,732 WARN L230 ngHoareTripleChecker]: Post: {520#false} [2019-02-14 16:58:25,733 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:25,742 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:25,742 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:25,838 WARN L270 ngHoareTripleChecker]: Pre: {519#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6661 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6661)) (< v_idx_6661 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6661))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_6668 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_6668) (= (select |#memory_int| v_idx_6668) 0) (< v_idx_6668 ULTIMATE.start_main_p1))) (forall ((v_idx_6672 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_6672) (< v_idx_6672 ULTIMATE.start_main_p3) (<= 0 (select |#memory_int| v_idx_6672)))) (forall ((v_prenex_48 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_prenex_48) (< v_prenex_48 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_prenex_48))))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_6664 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6664) (= 1 (select |#valid| v_idx_6664)) (< v_idx_6664 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_6670 Int)) (or (< v_idx_6670 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_6670) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6670))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_6674 Int)) (or (< v_idx_6674 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6674) (= (select |#memory_int| v_idx_6674) 0))))} [2019-02-14 16:58:25,838 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:58:25,838 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:58:25,840 WARN L276 ngHoareTripleChecker]: Post: {520#false} [2019-02-14 16:58:25,840 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:25,840 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:25,842 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], [old(#memory_int)] -> [-inf_0] v_2299 [inf_0], [old(#valid)] -> [-inf_0] v_2298 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 28 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:25,842 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-14 16:58:25,842 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:58:25,842 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:28,421 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:28,421 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:28,421 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:28,422 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:28,422 WARN L224 ngHoareTripleChecker]: Pre: {525#true} [2019-02-14 16:58:28,422 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:58:28,422 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:58:28,423 WARN L230 ngHoareTripleChecker]: Post: {526#(forall ((v_idx_6789 Int) (v_idx_6795 Int) (v_idx_6786 Int) (v_idx_6791 Int) (v_idx_6783 Int) (v_idx_6793 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (< v_idx_6789 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_6789)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6789)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6791) (< v_idx_6791 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_6791) 0)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (and (<= 0 (select |c_#memory_int| v_idx_6793)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6793)))) (< v_idx_6793 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6793)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_6783 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6783) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6783)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6795) (< v_idx_6795 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_6795) 0)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= 1 (select |c_#valid| v_idx_6786)) (< v_idx_6786 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6786)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:28,423 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:28,423 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:28,424 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:28,424 WARN L270 ngHoareTripleChecker]: Pre: {525#true} [2019-02-14 16:58:28,424 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 16:58:28,425 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 16:58:28,505 WARN L276 ngHoareTripleChecker]: Post: {526#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_6783 Int)) (or (< v_idx_6783 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_6783) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6783))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_49 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_49))) (< v_prenex_49 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_49))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_6795 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6795) (< v_idx_6795 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_6795) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6789 Int)) (or (< v_idx_6789 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_6789)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6789))) (forall ((v_idx_6793 Int)) (or (<= 0 (select |#memory_int| v_idx_6793)) (< v_idx_6793 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6793))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_6786 Int)) (or (= 1 (select |#valid| v_idx_6786)) (< v_idx_6786 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6786))) (forall ((v_idx_6791 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_6791) (< v_idx_6791 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_6791) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:58:28,505 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:28,505 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:28,506 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2344 [inf_0], [#valid] -> [-inf_0] v_2342 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2341 [inf_0], [old(#memory_int)] -> [-inf_0] v_2345 [inf_0], [old(#valid)] -> [-inf_0] v_2343 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:58:28,506 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-14 16:58:28,507 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 26 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:28,507 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:29,351 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:29,352 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:29,352 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:29,352 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:29,352 WARN L224 ngHoareTripleChecker]: Pre: {531#(forall ((v_idx_6822 Int) (v_idx_6824 Int) (v_idx_6818 Int) (v_idx_6826 Int) (v_idx_6815 Int) (v_idx_6828 Int)) (and (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6826) (< v_idx_6826 c_ULTIMATE.start_main_p3) (and (<= 0 (select |c_#memory_int| v_idx_6826)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6826))))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (= 1 (select |c_#valid| v_idx_6818)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6818) (< v_idx_6818 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (= 0 (select |c_#memory_int| v_idx_6822)) (< v_idx_6822 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6822)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_6828 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6828) (= (select |c_#memory_int| v_idx_6828) 0)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_6815 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6815) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6815) 0)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_6824 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6824) (= 0 (select |c_#memory_int| v_idx_6824))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:29,352 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:58:29,353 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:58:29,353 WARN L230 ngHoareTripleChecker]: Post: {532#false} [2019-02-14 16:58:29,353 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:29,377 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:29,377 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:29,469 WARN L270 ngHoareTripleChecker]: Pre: {531#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_6828 Int)) (or (< v_idx_6828 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6828) (= (select |#memory_int| v_idx_6828) 0))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_6826 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_6826) (< v_idx_6826 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_6826))))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_6822 Int)) (or (= 0 (select |#memory_int| v_idx_6822)) (< v_idx_6822 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6822))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_50 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_prenex_50) (< v_prenex_50 ULTIMATE.start_main_p3) (<= 0 (select |#memory_int| v_prenex_50)))) (forall ((v_idx_6824 Int)) (or (< v_idx_6824 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6824) (= 0 (select |#memory_int| v_idx_6824)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_6815 Int)) (or (< v_idx_6815 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6815) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_6815) 0))) (forall ((v_idx_6818 Int)) (or (= 1 (select |#valid| v_idx_6818)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6818) (< v_idx_6818 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:58:29,470 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:58:29,470 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:58:29,471 WARN L276 ngHoareTripleChecker]: Post: {532#false} [2019-02-14 16:58:29,471 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:29,471 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:29,472 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], [old(#memory_int)] -> [-inf_0] v_2385 [inf_0], [old(#valid)] -> [-inf_0] v_2384 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 28 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:29,473 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-14 16:58:29,473 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:58:29,473 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:30,742 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:30,742 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:30,743 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:30,743 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:30,743 WARN L224 ngHoareTripleChecker]: Pre: {534#true} [2019-02-14 16:58:30,743 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-14 16:58:30,743 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-14 16:58:30,743 WARN L230 ngHoareTripleChecker]: Post: {535#(forall ((v_idx_6877 Int) (v_idx_6887 Int) (v_idx_6889 Int) (v_idx_6883 Int) (v_idx_6885 Int) (v_idx_6880 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (and (<= 0 (select |c_#memory_int| v_idx_6887)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6887)))) (< v_idx_6887 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6887)) (or (= 0 (select |c_#memory_int| v_idx_6883)) (< v_idx_6883 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6883)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6877)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6877) (< v_idx_6877 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6880) (< v_idx_6880 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_6880))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6885) (= (select |c_#memory_int| v_idx_6885) 0) (< v_idx_6885 c_ULTIMATE.start_main_p2)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (= (select |c_#memory_int| v_idx_6889) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6889) (< v_idx_6889 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:30,744 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:30,744 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:30,744 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:30,745 WARN L270 ngHoareTripleChecker]: Pre: {534#true} [2019-02-14 16:58:30,745 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-14 16:58:30,745 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-14 16:58:30,814 WARN L276 ngHoareTripleChecker]: Post: {535#(and (forall ((v_prenex_51 Int)) (or (<= 0 (select |#memory_int| v_prenex_51)) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_51) (< v_prenex_51 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_6887 Int)) (or (< v_idx_6887 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_6887))) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6887))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_6889 Int)) (or (= (select |#memory_int| v_idx_6889) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6889) (< v_idx_6889 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_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6880 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6880) (< v_idx_6880 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_6880)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_6885 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_6885) (= (select |#memory_int| v_idx_6885) 0) (< v_idx_6885 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_6877 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6877)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6877) (< v_idx_6877 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_6883 Int)) (or (= 0 (select |#memory_int| v_idx_6883)) (< v_idx_6883 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6883))))} [2019-02-14 16:58:30,815 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:30,815 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:30,815 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2392 [inf_0], [#valid] -> [-inf_0] v_2390 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2389 [inf_0], [old(#memory_int)] -> [-inf_0] v_2393 [inf_0], [old(#valid)] -> [-inf_0] v_2391 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:58:30,816 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) (assume !(#memory_int[main_p2] <= 0);) [2019-02-14 16:58:30,818 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 26 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:30,818 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:31,977 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:31,977 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:31,978 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:31,978 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:31,978 WARN L224 ngHoareTripleChecker]: Pre: {537#true} [2019-02-14 16:58:31,978 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:58:31,978 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:58:31,978 WARN L230 ngHoareTripleChecker]: Post: {538#(forall ((v_idx_6943 Int) (v_idx_6945 Int) (v_idx_6940 Int) (v_idx_6947 Int) (v_idx_6949 Int) (v_idx_6937 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (and (<= 0 (select |c_#memory_int| v_idx_6947)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6947)))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6947) (< v_idx_6947 c_ULTIMATE.start_main_p3)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= (select |c_#memory_int| v_idx_6943) 0) (< v_idx_6943 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6943)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_6949 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6949) (= (select |c_#memory_int| v_idx_6949) 0)) (or (= (select |c_#valid| v_idx_6940) 1) (< v_idx_6940 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6940)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_6945 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6945) (= 0 (select |c_#memory_int| v_idx_6945))) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6937) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6937) 0) (< v_idx_6937 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:31,978 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:31,979 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:31,979 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:31,980 WARN L270 ngHoareTripleChecker]: Pre: {537#true} [2019-02-14 16:58:31,980 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 16:58:31,980 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 16:58:32,058 WARN L276 ngHoareTripleChecker]: Post: {538#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_6937 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6937) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_6937) 0) (< v_idx_6937 ULTIMATE.start_main_p4))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_6945 Int)) (or (< v_idx_6945 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6945) (= 0 (select |#memory_int| v_idx_6945)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_6940 Int)) (or (= (select |#valid| v_idx_6940) 1) (< v_idx_6940 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6940))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_6947 Int)) (or (<= 0 (select |#memory_int| v_idx_6947)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6947) (< v_idx_6947 ULTIMATE.start_main_p3))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6943 Int)) (or (= (select |#memory_int| v_idx_6943) 0) (< v_idx_6943 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6943))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_prenex_52 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_prenex_52) (< v_prenex_52 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_prenex_52))))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_6949 Int)) (or (< v_idx_6949 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6949) (= (select |#memory_int| v_idx_6949) 0))))} [2019-02-14 16:58:32,059 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:32,059 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:32,059 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2430 [inf_0], [#valid] -> [-inf_0] v_2428 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2427 [inf_0], [old(#memory_int)] -> [-inf_0] v_2431 [inf_0], [old(#valid)] -> [-inf_0] v_2429 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:58:32,060 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-14 16:58:32,061 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 26 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:32,061 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:33,820 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:33,821 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:33,821 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:33,821 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:33,821 WARN L224 ngHoareTripleChecker]: Pre: {543#(forall ((v_idx_6976 Int) (v_idx_6978 Int) (v_idx_6972 Int) (v_idx_6982 Int) (v_idx_6980 Int) (v_idx_6969 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (< v_idx_6972 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6972) (= 1 (select |c_#valid| v_idx_6972))) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6980) (and (<= 0 (select |c_#memory_int| v_idx_6980)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6980)))) (< v_idx_6980 c_ULTIMATE.start_main_p3)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6969) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6969)) (< v_idx_6969 c_ULTIMATE.start_main_p4)) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_6978 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_6978)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6978)) (or (= (select |c_#memory_int| v_idx_6982) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6982) (< v_idx_6982 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_6976 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_6976) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6976)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:33,822 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:58:33,822 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:58:33,822 WARN L230 ngHoareTripleChecker]: Post: {544#false} [2019-02-14 16:58:33,822 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:33,846 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:33,847 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:33,945 WARN L270 ngHoareTripleChecker]: Pre: {543#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_6980 Int)) (or (<= 0 (* 2 (select |#memory_int| v_idx_6980))) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6980) (< v_idx_6980 ULTIMATE.start_main_p3))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_53 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_prenex_53) (<= 0 (select |#memory_int| v_prenex_53)) (< v_prenex_53 ULTIMATE.start_main_p3))) (forall ((v_idx_6972 Int)) (or (< v_idx_6972 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6972) (= 1 (select |#valid| v_idx_6972)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_6969 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6969) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6969)) (< v_idx_6969 ULTIMATE.start_main_p4))) (forall ((v_idx_6978 Int)) (or (< v_idx_6978 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_6978)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6978))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6982 Int)) (or (= (select |#memory_int| v_idx_6982) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6982) (< v_idx_6982 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_6976 Int)) (or (< v_idx_6976 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_6976) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6976))))} [2019-02-14 16:58:33,946 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:58:33,946 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:58:33,947 WARN L276 ngHoareTripleChecker]: Post: {544#false} [2019-02-14 16:58:33,947 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:33,947 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:33,947 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], [old(#memory_int)] -> [-inf_0] v_2471 [inf_0], [old(#valid)] -> [-inf_0] v_2470 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 28 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:33,948 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-14 16:58:33,948 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 16:58:33,948 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:35,398 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:35,399 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:35,399 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:35,399 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:35,399 WARN L224 ngHoareTripleChecker]: Pre: {546#true} [2019-02-14 16:58:35,399 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-14 16:58:35,399 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-14 16:58:35,400 WARN L230 ngHoareTripleChecker]: Post: {547#(forall ((v_idx_7037 Int) (v_idx_7039 Int) (v_idx_7034 Int) (v_idx_7041 Int) (v_idx_7043 Int) (v_idx_7031 Int)) (and (or (< v_idx_7034 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7034) (= 1 (select |c_#valid| v_idx_7034))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (< v_idx_7041 c_ULTIMATE.start_main_p3) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_7041))) (<= 0 (select |c_#memory_int| v_idx_7041))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_7041)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (< v_idx_7037 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_7037) (= (select |c_#memory_int| v_idx_7037) 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_7039) (< v_idx_7039 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_7039) 0)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7043) (< v_idx_7043 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_7043) 0)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7031) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_7031) 0) (< v_idx_7031 c_ULTIMATE.start_main_p4))))} [2019-02-14 16:58:35,400 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:35,400 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:35,400 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:35,401 WARN L270 ngHoareTripleChecker]: Pre: {546#true} [2019-02-14 16:58:35,402 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-14 16:58:35,402 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-14 16:58:35,493 WARN L276 ngHoareTripleChecker]: Post: {547#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_7034 Int)) (or (< v_idx_7034 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_7034) (= 1 (select |#valid| v_idx_7034)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_7037 Int)) (or (< v_idx_7037 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_7037) (= (select |#memory_int| v_idx_7037) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_prenex_54 Int)) (or (< v_prenex_54 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_54) (<= 0 (select |#memory_int| v_prenex_54)))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_7031 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_7031) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_7031) 0) (< v_idx_7031 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_7041 Int)) (or (< v_idx_7041 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_7041))) (<= (+ ULTIMATE.start_main_p3 1) v_idx_7041))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_idx_7039 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_7039) (< v_idx_7039 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_7039) 0))) (forall ((v_idx_7043 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_7043) (< v_idx_7043 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_7043) 0))))} [2019-02-14 16:58:35,493 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:35,493 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:35,494 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2478 [inf_0], [#valid] -> [-inf_0] v_2476 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2475 [inf_0], [old(#memory_int)] -> [-inf_0] v_2479 [inf_0], [old(#valid)] -> [-inf_0] v_2477 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:58:35,494 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) (assume !(#memory_int[main_p3] >= 0);) [2019-02-14 16:58:35,494 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 26 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:35,494 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:36,638 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:36,638 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:36,639 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:36,639 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:36,639 WARN L224 ngHoareTripleChecker]: Pre: {549#true} [2019-02-14 16:58:36,640 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:58:36,640 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:58:36,640 WARN L230 ngHoareTripleChecker]: Post: {550#(forall ((v_idx_7091 Int) (v_idx_7094 Int) (v_idx_7103 Int) (v_idx_7099 Int) (v_idx_7101 Int) (v_idx_7097 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_7094 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7094) (= (select |c_#valid| v_idx_7094) 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7103) (< v_idx_7103 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_7103) 0)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_7091) 0) (< v_idx_7091 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7091)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (or (and (<= 0 (* 2 (select |c_#memory_int| v_idx_7101))) (<= 0 (select |c_#memory_int| v_idx_7101))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_7101) (< v_idx_7101 c_ULTIMATE.start_main_p3)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_7099 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_7099) (= 0 (select |c_#memory_int| v_idx_7099))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (= 0 (select |c_#memory_int| v_idx_7097)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_7097) (< v_idx_7097 c_ULTIMATE.start_main_p1))))} [2019-02-14 16:58:36,640 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:36,641 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:36,641 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:36,642 WARN L270 ngHoareTripleChecker]: Pre: {549#true} [2019-02-14 16:58:36,642 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 16:58:36,643 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 16:58:36,720 WARN L276 ngHoareTripleChecker]: Post: {550#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_7091 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_7091) 0) (< v_idx_7091 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_7091))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_7103 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_7103) (< v_idx_7103 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_7103) 0))) (forall ((v_idx_7101 Int)) (or (<= 0 (select |#memory_int| v_idx_7101)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_7101) (< v_idx_7101 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_7097 Int)) (or (= 0 (select |#memory_int| v_idx_7097)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_7097) (< v_idx_7097 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_7094 Int)) (or (< v_idx_7094 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_7094) (= (select |#valid| v_idx_7094) 1))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (forall ((v_prenex_55 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_55))) (< v_prenex_55 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_55))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_7099 Int)) (or (< v_idx_7099 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_7099) (= 0 (select |#memory_int| v_idx_7099)))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:58:36,721 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:36,721 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:36,721 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2516 [inf_0], [#valid] -> [-inf_0] v_2514 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2513 [inf_0], [old(#memory_int)] -> [-inf_0] v_2517 [inf_0], [old(#valid)] -> [-inf_0] v_2515 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:58:36,721 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-14 16:58:36,722 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 26 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:36,722 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:38,187 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 16:58:38,188 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 16:58:38,191 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 16:58:38,191 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 16:58:38,191 WARN L224 ngHoareTripleChecker]: Pre: {555#true} [2019-02-14 16:58:38,191 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-14 16:58:38,191 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-14 16:58:38,191 WARN L230 ngHoareTripleChecker]: Post: {556#(forall ((v_idx_7180 Int) (v_idx_7171 Int) (v_idx_7176 Int) (v_idx_7168 Int) (v_idx_7178 Int) (v_idx_7174 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_7178) (< v_idx_7178 c_ULTIMATE.start_main_p3) (and (<= 0 (select |c_#memory_int| v_idx_7178)) (<= 0 (* 2 (select |c_#memory_int| v_idx_7178))))) (or (< v_idx_7171 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_7171)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7171)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (or (< v_idx_7168 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7168) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_7168) 0)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_7180 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7180) (= 0 (select |c_#memory_int| v_idx_7180))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_7174) (< v_idx_7174 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_7174))) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (or (= 0 (select |c_#memory_int| v_idx_7176)) (< v_idx_7176 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_7176)) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 16:58:38,191 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 16:58:38,192 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 16:58:38,192 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 16:58:38,193 WARN L270 ngHoareTripleChecker]: Pre: {555#true} [2019-02-14 16:58:38,193 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-14 16:58:38,193 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-14 16:58:38,279 WARN L276 ngHoareTripleChecker]: Post: {556#(and (forall ((v_idx_7176 Int)) (or (= 0 (select |#memory_int| v_idx_7176)) (< v_idx_7176 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_7176))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_7174 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_7174) (< v_idx_7174 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_7174)))) (forall ((v_idx_7180 Int)) (or (< v_idx_7180 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_7180) (= 0 (select |#memory_int| v_idx_7180)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_7178 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_7178) (< v_idx_7178 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_7178))))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_7171 Int)) (or (< v_idx_7171 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_7171)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_7171))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_7168 Int)) (or (< v_idx_7168 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_7168) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_7168) 0))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_prenex_56 Int)) (or (< v_prenex_56 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_56) (<= 0 (select |#memory_int| v_prenex_56)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 16:58:38,279 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 16:58:38,280 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 16:58:38,280 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2559 [inf_0], [#valid] -> [-inf_0] v_2557 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2556 [inf_0], [old(#memory_int)] -> [-inf_0] v_2560 [inf_0], [old(#valid)] -> [-inf_0] v_2558 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 16:58:38,280 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) (assume !(#memory_int[main_p4] <= 0);) [2019-02-14 16:58:38,281 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1365 [b_120] v_1366 [b_121] v_1367 [b_122] v_1368 [b_123] v_1369 [b_124] v_1370 [b_125] v_1371 [b_126] v_1372 [b_127] v_1373 [inf_0], [#valid] -> [-inf_0] v_1362 [b_118] v_1363 [b_119] v_1364 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1358 [b_116] v_1359 [b_117] v_1360 [inf_0], }, Substate: {ints: {v_1359 = [0; 0]; v_1366 = [0; 0]; v_1370 = [0; inf]; v_1368 = [0; 0]; v_1372 = [0; 0]; v_1363 = [1; 1]}, 26 vars top, relations: {v_1359 + v_1366 = [0; 0]; v_1359 - v_1366 = [0; 0]; v_1363 + v_1366 = [1; 1]; v_1363 - v_1366 = [1; 1]; ULTIMATE.start_malloc_ptr - b_120 = [3; inf]; b_118 - b_120 = [3; inf]; b_119 - b_120 = [4; inf]; b_117 - b_120 = [4; inf]; ULTIMATE.start_main_p1 - b_120 = [0; 0]; ULTIMATE.start_main_p2 - b_120 = [1; inf]; b_116 - b_120 = [3; inf]; ULTIMATE.start_main_p3 - b_120 = [2; inf]; ULTIMATE.start_main_p4 - b_120 = [3; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; v_1359 + v_1370 = [0; inf]; v_1359 - v_1370 = [-inf; 0]; v_1366 + v_1370 = [0; inf]; v_1366 - v_1370 = [-inf; 0]; v_1368 + v_1370 = [0; inf]; v_1368 - v_1370 = [-inf; 0]; v_1363 + v_1370 = [1; inf]; v_1363 - v_1370 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_118 = [0; 0]; b_117 - b_118 = [1; 1]; ULTIMATE.start_main_p1 - b_118 = [-inf; -3]; ULTIMATE.start_main_p2 - b_118 = [-inf; -2]; b_116 - b_118 = [0; 0]; ULTIMATE.start_main_p3 - b_118 = [-inf; -1]; ULTIMATE.start_main_p4 - b_118 = [0; 0]; ULTIMATE.start_malloc_ptr - b_119 = [-1; -1]; b_118 - b_119 = [-1; -1]; b_117 - b_119 = [0; 0]; ULTIMATE.start_main_p1 - b_119 = [-inf; -4]; ULTIMATE.start_main_p2 - b_119 = [-inf; -3]; b_116 - b_119 = [-1; -1]; ULTIMATE.start_main_p3 - b_119 = [-inf; -2]; ULTIMATE.start_main_p4 - b_119 = [-1; -1]; v_1359 + v_1368 = [0; 0]; v_1359 - v_1368 = [0; 0]; v_1366 + v_1368 = [0; 0]; v_1366 - v_1368 = [0; 0]; v_1363 + v_1368 = [1; 1]; v_1363 - v_1368 = [1; 1]; b_120 - b_122 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_122 = [2; inf]; b_118 - b_122 = [2; inf]; b_119 - b_122 = [3; inf]; b_117 - b_122 = [3; inf]; ULTIMATE.start_main_p1 - b_122 = [-inf; -1]; ULTIMATE.start_main_p2 - b_122 = [0; 0]; b_116 - b_122 = [2; inf]; ULTIMATE.start_main_p3 - b_122 = [1; inf]; ULTIMATE.start_main_p4 - b_122 = [2; inf]; b_121 - b_122 = [-inf; 0]; b_120 - b_123 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_123 = [1; inf]; b_118 - b_123 = [1; inf]; b_119 - b_123 = [2; inf]; b_122 - b_123 = [-1; -1]; b_117 - b_123 = [2; inf]; ULTIMATE.start_main_p1 - b_123 = [-inf; -2]; ULTIMATE.start_main_p2 - b_123 = [-1; -1]; b_116 - b_123 = [1; inf]; ULTIMATE.start_main_p3 - b_123 = [0; inf]; ULTIMATE.start_main_p4 - b_123 = [1; inf]; b_121 - b_123 = [-inf; -1]; b_120 - b_125 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_125 = [0; inf]; b_118 - b_125 = [0; inf]; b_119 - b_125 = [1; inf]; b_122 - b_125 = [-inf; -2]; b_123 - b_125 = [-inf; -1]; b_117 - b_125 = [1; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -3]; ULTIMATE.start_main_p2 - b_125 = [-inf; -2]; b_116 - b_125 = [0; inf]; ULTIMATE.start_main_p3 - b_125 = [-1; -1]; ULTIMATE.start_main_p4 - b_125 = [0; inf]; b_121 - b_125 = [-inf; -2]; b_120 - b_126 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_118 - b_126 = [0; 0]; b_119 - b_126 = [1; 1]; b_122 - b_126 = [-inf; -2]; b_123 - b_126 = [-inf; -1]; b_125 - b_126 = [-inf; 0]; b_117 - b_126 = [1; 1]; b_124 - b_126 = [-inf; -1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; b_116 - b_126 = [0; 0]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [0; 0]; b_121 - b_126 = [-inf; -2]; b_120 - b_127 = [-inf; -4]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_118 - b_127 = [-1; -1]; b_119 - b_127 = [0; 0]; b_122 - b_127 = [-inf; -3]; b_123 - b_127 = [-inf; -2]; b_125 - b_127 = [-inf; -1]; b_126 - b_127 = [-1; -1]; b_117 - b_127 = [0; 0]; b_124 - b_127 = [-inf; -2]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_116 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; b_121 - b_127 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_117 = [-1; -1]; ULTIMATE.start_main_p1 - b_117 = [-inf; -4]; ULTIMATE.start_main_p2 - b_117 = [-inf; -3]; b_116 - b_117 = [-1; -1]; ULTIMATE.start_main_p3 - b_117 = [-inf; -2]; ULTIMATE.start_main_p4 - b_117 = [-1; -1]; b_120 - b_124 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_124 = [1; inf]; b_118 - b_124 = [1; inf]; b_119 - b_124 = [2; inf]; b_122 - b_124 = [-inf; -1]; b_123 - b_124 = [-inf; 0]; b_117 - b_124 = [2; inf]; ULTIMATE.start_main_p1 - b_124 = [-inf; -2]; ULTIMATE.start_main_p2 - b_124 = [-inf; -1]; b_116 - b_124 = [1; inf]; ULTIMATE.start_main_p3 - b_124 = [0; 0]; ULTIMATE.start_main_p4 - b_124 = [1; inf]; b_121 - b_124 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_116 = [0; 0]; ULTIMATE.start_main_p1 - b_116 = [-inf; -3]; ULTIMATE.start_main_p2 - b_116 = [-inf; -2]; ULTIMATE.start_main_p3 - b_116 = [-inf; -1]; ULTIMATE.start_main_p4 - b_116 = [0; 0]; 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]; v_1359 + v_1372 = [0; 0]; v_1359 - v_1372 = [0; 0]; v_1366 + v_1372 = [0; 0]; v_1366 - v_1372 = [0; 0]; v_1370 + v_1372 = [0; inf]; v_1370 - v_1372 = [0; inf]; v_1368 + v_1372 = [0; 0]; v_1368 - v_1372 = [0; 0]; v_1363 + v_1372 = [1; 1]; v_1363 - v_1372 = [1; 1]; b_120 - b_121 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_121 = [2; inf]; b_118 - b_121 = [2; inf]; b_119 - b_121 = [3; inf]; b_117 - b_121 = [3; inf]; ULTIMATE.start_main_p1 - b_121 = [-1; -1]; ULTIMATE.start_main_p2 - b_121 = [0; inf]; b_116 - b_121 = [2; inf]; ULTIMATE.start_main_p3 - b_121 = [1; inf]; ULTIMATE.start_main_p4 - b_121 = [2; inf]; v_1359 + v_1363 = [1; 1]; v_1359 - v_1363 = [-1; -1]}, }}} [2019-02-14 16:58:38,281 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 16:58:38,286 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:58:38,286 INFO L93 Difference]: Finished difference Result 21 states and 39 transitions. [2019-02-14 16:58:38,286 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-14 16:58:38,286 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-14 16:58:38,286 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-14 16:58:38,286 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 16:58:38,287 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-14 16:58:38,287 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 16:58:38,288 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-14 16:58:38,288 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 23 transitions. [2019-02-14 16:58:38,471 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 23 edges. 23 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-14 16:58:38,472 INFO L225 Difference]: With dead ends: 21 [2019-02-14 16:58:38,472 INFO L226 Difference]: Without dead ends: 14 [2019-02-14 16:58:38,472 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 0 SyntacticMatches, 1 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 1.1s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 16:58:38,473 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 14 states. [2019-02-14 16:58:38,619 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 14 to 14. [2019-02-14 16:58:38,620 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-14 16:58:38,620 INFO L82 GeneralOperation]: Start isEquivalent. First operand 14 states. Second operand 14 states. [2019-02-14 16:58:38,620 INFO L74 IsIncluded]: Start isIncluded. First operand 14 states. Second operand 14 states. [2019-02-14 16:58:38,621 INFO L87 Difference]: Start difference. First operand 14 states. Second operand 14 states. [2019-02-14 16:58:38,622 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:58:38,622 INFO L93 Difference]: Finished difference Result 14 states and 32 transitions. [2019-02-14 16:58:38,623 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 32 transitions. [2019-02-14 16:58:38,623 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 16:58:38,623 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 16:58:38,623 INFO L74 IsIncluded]: Start isIncluded. First operand 14 states. Second operand 14 states. [2019-02-14 16:58:38,623 INFO L87 Difference]: Start difference. First operand 14 states. Second operand 14 states. [2019-02-14 16:58:38,625 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 16:58:38,625 INFO L93 Difference]: Finished difference Result 14 states and 32 transitions. [2019-02-14 16:58:38,625 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 32 transitions. [2019-02-14 16:58:38,625 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 16:58:38,625 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 16:58:38,626 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-14 16:58:38,626 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-14 16:58:38,626 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 14 states. [2019-02-14 16:58:38,627 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 32 transitions. [2019-02-14 16:58:38,627 INFO L78 Accepts]: Start accepts. Automaton has 14 states and 32 transitions. Word has length 3 [2019-02-14 16:58:38,627 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-14 16:58:38,627 INFO L480 AbstractCegarLoop]: Abstraction has 14 states and 32 transitions. [2019-02-14 16:58:38,627 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-14 16:58:38,627 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 32 transitions. [2019-02-14 16:58:38,628 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2019-02-14 16:58:38,628 INFO L394 BasicCegarLoop]: Found error trace [2019-02-14 16:58:38,628 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1] [2019-02-14 16:58:38,628 INFO L423 AbstractCegarLoop]: === Iteration 6 === [ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2019-02-14 16:58:38,628 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 16:58:38,629 INFO L82 PathProgramCache]: Analyzing trace with hash 939102, now seen corresponding path program 1 times [2019-02-14 16:58:38,629 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-14 16:58:38,629 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:58:38,630 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-14 16:58:38,630 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 16:58:38,630 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-14 16:58:38,638 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-14 16:58:38,717 INFO L273 TraceCheckUtils]: 0: Hoare triple {608#true} havoc main_p1, main_p2, main_p3, main_p4;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;assume main_p1 < main_p2;assume main_p2 < main_p3;assume main_p3 < main_p4;#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]; {610#(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-14 16:58:38,718 INFO L273 TraceCheckUtils]: 1: Hoare triple {610#(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]; {611#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} is VALID [2019-02-14 16:58:38,719 INFO L273 TraceCheckUtils]: 2: Hoare triple {611#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; {612#(<= 0 (select |#memory_int| ULTIMATE.start_main_p1))} is VALID [2019-02-14 16:58:38,720 INFO L273 TraceCheckUtils]: 3: Hoare triple {612#(<= 0 (select |#memory_int| ULTIMATE.start_main_p1))} assume !(#memory_int[main_p1] >= 0); {609#false} is VALID [2019-02-14 16:58:38,720 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-02-14 16:58:38,720 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-14 16:58:38,721 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-14 16:58:38,721 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 5 with the following transitions: [2019-02-14 16:58:38,721 INFO L207 CegarAbsIntRunner]: [0], [6], [16], [19] [2019-02-14 16:58:38,723 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-14 16:58:38,723 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-14 17:00:56,748 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-14 17:00:56,749 INFO L272 AbstractInterpreter]: Visited 4 different actions 28 times. Merged at 2 different actions 8 times. Widened at 2 different actions 4 times. Found 10 fixpoints after 2 different actions. Largest state had 0 variables. [2019-02-14 17:00:56,749 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 17:00:56,749 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-14 17:01:04,422 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-14 17:01:06,106 INFO L420 sIntCurrentIteration]: We unified 3 AI predicates to 3 [2019-02-14 17:01:10,923 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-14 17:01:10,924 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-14 17:01:10,924 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [3] total 4 [2019-02-14 17:01:10,924 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-14 17:01:10,925 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 4 [2019-02-14 17:01:10,925 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-14 17:01:10,925 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-14 17:01:11,281 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 4 edges. 4 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-14 17:01:11,281 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-14 17:01:11,281 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-14 17:01:11,282 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 17:01:11,282 INFO L87 Difference]: Start difference. First operand 14 states and 32 transitions. Second operand 3 states. [2019-02-14 17:01:11,794 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:11,794 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:11,795 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:11,795 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:11,795 WARN L224 ngHoareTripleChecker]: Pre: {639#(forall ((v_idx_8942 Int) (v_idx_8940 Int) (v_idx_8946 Int) (v_idx_8936 Int) (v_idx_8944 Int) (v_idx_8933 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (< v_idx_8942 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_8942) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_8942)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (and (<= 0 (* 2 (select |c_#memory_int| v_idx_8940))) (<= 0 (select |c_#memory_int| v_idx_8940)) (or (< v_idx_8946 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_8946) (select |c_#memory_int| v_idx_8940)) (<= (select |c_#memory_int| v_idx_8946) 0) (<= (* 2 (select |c_#memory_int| v_idx_8946)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8946))) (and (< v_idx_8940 c_ULTIMATE.start_main_p1) (or (< v_idx_8946 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_8946) 0) (<= (* 2 (select |c_#memory_int| v_idx_8946)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8946))) (and (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_8940) (or (< v_idx_8946 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_8946) 0) (<= (* 2 (select |c_#memory_int| v_idx_8946)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8946)))) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_8944) (= 0 (select |c_#memory_int| v_idx_8944)) (< v_idx_8944 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8933) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_8933)) (< v_idx_8933 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8936) (< v_idx_8936 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_8936))) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:11,795 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 17:01:11,795 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-14 17:01:11,796 WARN L230 ngHoareTripleChecker]: Post: {640#false} [2019-02-14 17:01:11,796 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:11,802 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:11,803 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:12,100 WARN L270 ngHoareTripleChecker]: Pre: {639#(and (forall ((v_idx_8940 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_8940) (< v_idx_8940 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_8940)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_8933 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_8933) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_8933)) (< v_idx_8933 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (or (forall ((v_prenex_97 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_97) (<= (* 2 (select |#memory_int| v_prenex_97)) 0) (<= (select |#memory_int| v_prenex_97) 0) (< v_prenex_97 ULTIMATE.start_main_p4))) (forall ((v_prenex_96 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_96))))) (or (forall ((v_prenex_85 Int)) (or (< v_prenex_85 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_85) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_85) (<= (* 2 (select |#memory_int| v_prenex_85)) 0))) (forall ((v_prenex_84 Int)) (<= 0 (select |#memory_int| v_prenex_84)))) (forall ((v_idx_8944 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_8944) (= 0 (select |#memory_int| v_idx_8944)) (< v_idx_8944 ULTIMATE.start_main_p3))) (forall ((v_prenex_99 Int) (v_prenex_98 Int)) (or (<= (select |#memory_int| v_prenex_99) (select |#memory_int| v_prenex_98)) (< v_prenex_99 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_99) (<= (select |#memory_int| v_prenex_99) 0))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_8946 Int) (v_prenex_60 Int)) (or (< v_idx_8946 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_idx_8946) (select |#memory_int| v_prenex_60)) (< v_prenex_60 ULTIMATE.start_main_p1) (<= (* 2 (select |#memory_int| v_idx_8946)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_8946))) (or (forall ((v_prenex_63 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_63) (<= 0 (* 2 (select |#memory_int| v_prenex_63))))) (forall ((v_prenex_64 Int)) (or (< v_prenex_64 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_64)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_64)))) (or (forall ((v_prenex_72 Int)) (or (< v_prenex_72 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_72)))) (forall ((v_prenex_74 Int)) (or (< v_prenex_74 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_74)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_74)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (or (forall ((v_prenex_75 Int)) (<= 0 (select |#memory_int| v_prenex_75))) (forall ((v_prenex_76 Int)) (or (<= (select |#memory_int| v_prenex_76) 0) (< v_prenex_76 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_76)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_76)))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (or (forall ((v_prenex_86 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_86) (<= 0 (* 2 (select |#memory_int| v_prenex_86))))) (forall ((v_prenex_87 Int)) (or (<= (select |#memory_int| v_prenex_87) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_87) (< v_prenex_87 ULTIMATE.start_main_p4)))) (forall ((v_prenex_92 Int) (v_prenex_91 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_91) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_92) (<= (select |#memory_int| v_prenex_92) (select |#memory_int| v_prenex_91)) (<= (select |#memory_int| v_prenex_92) 0) (< v_prenex_92 ULTIMATE.start_main_p4))) (forall ((v_idx_8942 Int)) (or (< v_idx_8942 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_8942) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_8942))) (or (forall ((v_prenex_65 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_65)))) (forall ((v_prenex_66 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_66) (<= (select |#memory_int| v_prenex_66) 0) (< v_prenex_66 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_66)) 0)))) (or (forall ((v_prenex_67 Int)) (or (< v_prenex_67 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_67))))) (forall ((v_prenex_58 Int)) (or (< v_prenex_58 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_58) (<= (* 2 (select |#memory_int| v_prenex_58)) 0)))) (or (forall ((v_prenex_83 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_83) (< v_prenex_83 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_83)) 0))) (forall ((v_prenex_82 Int)) (or (<= 0 (select |#memory_int| v_prenex_82)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_82)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (or (forall ((v_prenex_95 Int)) (or (<= (select |#memory_int| v_prenex_95) 0) (< v_prenex_95 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_95))) (forall ((v_prenex_96 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_96))))) (or (forall ((v_prenex_101 Int)) (or (<= (select |#memory_int| v_prenex_101) 0) (< v_prenex_101 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_101))) (forall ((v_prenex_100 Int)) (or (<= 0 (select |#memory_int| v_prenex_100)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_100)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_8936 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_8936) (< v_idx_8936 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_8936)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_prenex_81 Int)) (or (<= (select |#memory_int| v_prenex_81) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_81) (< v_prenex_81 ULTIMATE.start_main_p4))) (forall ((v_prenex_78 Int) (v_prenex_79 Int)) (or (<= (select |#memory_int| v_prenex_79) (select |#memory_int| v_prenex_78)) (< v_prenex_79 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_79) (<= (* 2 (select |#memory_int| v_prenex_79)) 0) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_78))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_80 Int)) (or (<= (select |#memory_int| v_prenex_80) 0) (<= (* 2 (select |#memory_int| v_prenex_80)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_80) (< v_prenex_80 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_67 Int)) (or (< v_prenex_67 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_67))))) (forall ((v_prenex_68 Int)) (or (<= (select |#memory_int| v_prenex_68) 0) (< v_prenex_68 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_68)))) (or (forall ((v_prenex_57 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_57)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_57) (< v_prenex_57 ULTIMATE.start_main_p4))) (forall ((v_prenex_65 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_65))))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_prenex_90 Int) (v_prenex_89 Int)) (or (< v_prenex_90 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_90)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_90) (<= (select |#memory_int| v_prenex_90) (select |#memory_int| v_prenex_89)) (<= (select |#memory_int| v_prenex_90) 0))) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_69 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_69))) (< v_prenex_69 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_69))) (forall ((v_prenex_88 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_88)) 0) (< v_prenex_88 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_88))) (forall ((v_prenex_62 Int) (v_prenex_61 Int)) (or (<= (select |#memory_int| v_prenex_62) (select |#memory_int| v_prenex_61)) (<= (* 2 (select |#memory_int| v_prenex_62)) 0) (< v_prenex_62 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_62))) (or (forall ((v_prenex_72 Int)) (or (< v_prenex_72 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_72)))) (forall ((v_prenex_73 Int)) (or (<= (select |#memory_int| v_prenex_73) 0) (< v_prenex_73 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_73)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (or (forall ((v_prenex_59 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_59) (<= (select |#memory_int| v_prenex_59) 0) (< v_prenex_59 ULTIMATE.start_main_p4))) (forall ((v_prenex_84 Int)) (<= 0 (select |#memory_int| v_prenex_84)))) (forall ((v_prenex_94 Int) (v_prenex_93 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_94) (<= (select |#memory_int| v_prenex_94) (select |#memory_int| v_prenex_93)) (< v_prenex_93 ULTIMATE.start_main_p1) (< v_prenex_94 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_93))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_70 Int) (v_prenex_71 Int)) (or (< v_prenex_71 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_71) (select |#memory_int| v_prenex_70)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_71) (< v_prenex_70 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_71) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (or (forall ((v_prenex_77 Int)) (or (< v_prenex_77 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_77) (<= (* 2 (select |#memory_int| v_prenex_77)) 0))) (forall ((v_prenex_75 Int)) (<= 0 (select |#memory_int| v_prenex_75)))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:12,101 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 17:01:12,101 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-14 17:01:12,102 WARN L276 ngHoareTripleChecker]: Post: {640#false} [2019-02-14 17:01:12,102 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:12,102 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:12,103 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], [old(#memory_int)] -> [-inf_0] v_4826 [inf_0], [old(#valid)] -> [-inf_0] v_4825 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 28 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:12,103 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-14 17:01:12,103 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 17:01:12,103 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:12,869 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:12,869 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:12,869 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:12,869 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:12,870 WARN L224 ngHoareTripleChecker]: Pre: {643#(forall ((v_idx_8953 Int) (v_idx_8963 Int) (v_idx_8957 Int) (v_idx_8959 Int) (v_idx_8950 Int) (v_idx_8961 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_8953 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8953) (= 1 (select |c_#valid| v_idx_8953))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_8950)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8950) (< v_idx_8950 c_ULTIMATE.start_main_p4)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_8961) (< v_idx_8961 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_8961))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (and (or (and (<= (select |c_#memory_int| v_idx_8963) 0) (<= (* 2 (select |c_#memory_int| v_idx_8963)) 0)) (< v_idx_8963 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8963)) (< v_idx_8957 c_ULTIMATE.start_main_p1)) (and (or (and (<= (select |c_#memory_int| v_idx_8963) 0) (<= (* 2 (select |c_#memory_int| v_idx_8963)) 0)) (< v_idx_8963 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8963)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_8957)) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_8957))) (or (and (<= (select |c_#memory_int| v_idx_8963) (select |c_#memory_int| v_idx_8957)) (<= (select |c_#memory_int| v_idx_8963) 0) (<= (* 2 (select |c_#memory_int| v_idx_8963)) 0)) (< v_idx_8963 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8963)) (<= 0 (select |c_#memory_int| v_idx_8957)))) (or (= (select |c_#memory_int| v_idx_8959) 0) (< v_idx_8959 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_8959))))} [2019-02-14 17:01:12,870 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 17:01:12,870 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-14 17:01:12,870 WARN L230 ngHoareTripleChecker]: Post: {644#false} [2019-02-14 17:01:12,870 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:12,893 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:12,893 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:13,118 WARN L270 ngHoareTripleChecker]: Pre: {643#(and (or (forall ((v_prenex_105 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_105)))) (forall ((v_prenex_104 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_104) (<= (* 2 (select |#memory_int| v_prenex_104)) 0) (< v_prenex_104 ULTIMATE.start_main_p4)))) (forall ((v_prenex_110 Int) (v_prenex_111 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_111) (<= (* 2 (select |#memory_int| v_prenex_110)) 0) (< v_prenex_110 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_110) (<= (select |#memory_int| v_prenex_110) (select |#memory_int| v_prenex_111)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (or (forall ((v_idx_8957 Int)) (or (< v_idx_8957 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_8957)))) (forall ((v_idx_8963 Int)) (or (<= (* 2 (select |#memory_int| v_idx_8963)) 0) (< v_idx_8963 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_8963)))) (or (forall ((v_prenex_130 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_130)) 0) (< v_prenex_130 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_130))) (forall ((v_prenex_131 Int)) (<= 0 (select |#memory_int| v_prenex_131)))) (or (forall ((v_prenex_123 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_123)) 0) (< v_prenex_123 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_123))) (forall ((v_prenex_124 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_124))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_124)))) (forall ((v_prenex_116 Int) (v_prenex_115 Int)) (or (<= (select |#memory_int| v_prenex_115) (select |#memory_int| v_prenex_116)) (<= (select |#memory_int| v_prenex_115) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_115) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_116) (< v_prenex_115 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_142 Int)) (<= 0 (select |#memory_int| v_prenex_142))) (forall ((v_prenex_141 Int)) (or (< v_prenex_141 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_141) (<= (select |#memory_int| v_prenex_141) 0)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (or (forall ((v_prenex_106 Int)) (or (<= (select |#memory_int| v_prenex_106) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_106) (< v_prenex_106 ULTIMATE.start_main_p4))) (forall ((v_prenex_107 Int)) (or (<= 0 (select |#memory_int| v_prenex_107)) (< v_prenex_107 ULTIMATE.start_main_p1)))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_prenex_147 Int) (v_prenex_148 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_148) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_147) (< v_prenex_147 ULTIMATE.start_main_p4) (< v_prenex_148 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_147) (select |#memory_int| v_prenex_148)))) (or (forall ((v_prenex_119 Int)) (or (< v_prenex_119 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_119) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_119))) (forall ((v_prenex_120 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_120))))) (forall ((v_prenex_121 Int) (v_prenex_122 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_121) (<= (select |#memory_int| v_prenex_121) 0) (<= (select |#memory_int| v_prenex_121) (select |#memory_int| v_prenex_122)) (< v_prenex_121 ULTIMATE.start_main_p4))) (forall ((v_prenex_125 Int) (v_prenex_126 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_125)) 0) (<= (select |#memory_int| v_prenex_125) (select |#memory_int| v_prenex_126)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_125) (< v_prenex_125 ULTIMATE.start_main_p4))) (forall ((v_idx_8961 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_8961) (< v_idx_8961 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_8961)))) (forall ((v_prenex_103 Int)) (or (< v_prenex_103 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_103) (<= 0 (* 2 (select |#memory_int| v_prenex_103))))) (forall ((v_prenex_102 Int)) (or (<= (select |#memory_int| v_prenex_102) 0) (< v_prenex_102 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_102)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_102))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (or (forall ((v_prenex_128 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_128) (<= (* 2 (select |#memory_int| v_prenex_128)) 0) (<= (select |#memory_int| v_prenex_128) 0) (< v_prenex_128 ULTIMATE.start_main_p4))) (forall ((v_prenex_129 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_129))))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (or (forall ((v_prenex_144 Int)) (or (<= 0 (select |#memory_int| v_prenex_144)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_144))) (forall ((v_prenex_143 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_143) (< v_prenex_143 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_143)) 0)))) (forall ((v_idx_8953 Int)) (or (< v_idx_8953 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_8953) (= 1 (select |#valid| v_idx_8953)))) (or (forall ((v_prenex_137 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_137))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_137))) (forall ((v_prenex_136 Int)) (or (<= (select |#memory_int| v_prenex_136) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_136) (< v_prenex_136 ULTIMATE.start_main_p4)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (or (forall ((v_prenex_114 Int)) (or (< v_prenex_114 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_114))))) (forall ((v_prenex_113 Int)) (or (< v_prenex_113 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_113) (<= (select |#memory_int| v_prenex_113) 0)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (or (forall ((v_prenex_133 Int)) (<= 0 (select |#memory_int| v_prenex_133))) (forall ((v_prenex_132 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_132)) 0) (<= (select |#memory_int| v_prenex_132) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_132) (< v_prenex_132 ULTIMATE.start_main_p4)))) (forall ((v_prenex_145 Int) (v_prenex_146 Int)) (or (<= (select |#memory_int| v_prenex_145) (select |#memory_int| v_prenex_146)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_145) (<= (select |#memory_int| v_prenex_145) 0) (< v_prenex_146 ULTIMATE.start_main_p1) (< v_prenex_145 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_117 Int) (v_prenex_118 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_117)) 0) (< v_prenex_118 ULTIMATE.start_main_p1) (< v_prenex_117 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_117) (<= (select |#memory_int| v_prenex_117) (select |#memory_int| v_prenex_118)))) (forall ((v_prenex_109 Int) (v_prenex_108 Int)) (or (<= (select |#memory_int| v_prenex_108) 0) (<= (select |#memory_int| v_prenex_108) (select |#memory_int| v_prenex_109)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_108) (< v_prenex_108 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_108)) 0))) (forall ((v_prenex_112 Int)) (or (< v_prenex_112 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_112) (<= (select |#memory_int| v_prenex_112) 0))) (forall ((v_idx_8950 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_8950)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_8950) (< v_idx_8950 ULTIMATE.start_main_p4))) (forall ((v_prenex_140 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_140) (< v_prenex_140 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_140)))) (forall ((v_prenex_127 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_127)) 0) (< v_prenex_127 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_127))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (or (forall ((v_prenex_139 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_139))) (< v_prenex_139 ULTIMATE.start_main_p1))) (forall ((v_prenex_138 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_138) (< v_prenex_138 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_138)) 0)))) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_8959 Int)) (or (= (select |#memory_int| v_idx_8959) 0) (< v_idx_8959 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_8959))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (or (forall ((v_prenex_134 Int)) (or (<= (select |#memory_int| v_prenex_134) 0) (< v_prenex_134 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_134))) (forall ((v_prenex_135 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_135) (<= 0 (select |#memory_int| v_prenex_135))))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:13,118 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 17:01:13,119 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-14 17:01:13,120 WARN L276 ngHoareTripleChecker]: Post: {644#false} [2019-02-14 17:01:13,120 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:13,120 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:13,121 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], [old(#memory_int)] -> [-inf_0] v_4831 [inf_0], [old(#valid)] -> [-inf_0] v_4830 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 28 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:13,121 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-14 17:01:13,121 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 17:01:13,121 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:13,697 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:13,698 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:13,698 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:13,698 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:13,698 WARN L224 ngHoareTripleChecker]: Pre: {647#(forall ((v_idx_8976 Int) (v_idx_8974 Int) (v_idx_8978 Int) (v_idx_8967 Int) (v_idx_8980 Int) (v_idx_8970 Int)) (and (or (= 0 (select |c_#memory_int| v_idx_8978)) (< v_idx_8978 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_8978)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_8967 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_8967)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8967)) (or (= 1 (select |c_#valid| v_idx_8970)) (< v_idx_8970 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8970)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= 0 (select |c_#memory_int| v_idx_8976)) (< v_idx_8976 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_8976)) (<= (+ 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (and (or (and (<= 0 (select |c_#memory_int| v_idx_8974)) (<= 0 (* 2 (select |c_#memory_int| v_idx_8974)))) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_8974) (< v_idx_8974 c_ULTIMATE.start_main_p1)) (< v_idx_8980 c_ULTIMATE.start_main_p4)) (and (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_8980) (or (and (<= 0 (select |c_#memory_int| v_idx_8974)) (<= 0 (* 2 (select |c_#memory_int| v_idx_8974)))) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_8974) (< v_idx_8974 c_ULTIMATE.start_main_p1))) (and (<= (select |c_#memory_int| v_idx_8980) 0) (<= (* 2 (select |c_#memory_int| v_idx_8980)) 0) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_8974) (< v_idx_8974 c_ULTIMATE.start_main_p1) (and (<= (select |c_#memory_int| v_idx_8980) (select |c_#memory_int| v_idx_8974)) (<= 0 (select |c_#memory_int| v_idx_8974)) (<= 0 (* 2 (select |c_#memory_int| v_idx_8974))))))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:13,698 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 17:01:13,699 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-14 17:01:13,699 WARN L230 ngHoareTripleChecker]: Post: {648#false} [2019-02-14 17:01:13,699 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:13,718 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:13,718 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:14,147 WARN L270 ngHoareTripleChecker]: Pre: {647#(and (forall ((v_prenex_198 Int) (v_prenex_197 Int)) (or (< v_prenex_197 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_197) (select |#memory_int| v_prenex_198)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_198) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_197) (< v_prenex_198 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_178 Int)) (<= (select |#memory_int| v_prenex_178) 0)) (forall ((v_prenex_179 Int)) (or (<= 0 (select |#memory_int| v_prenex_179)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_179) (< v_prenex_179 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_179)))))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (or (forall ((v_idx_8974 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_8974) (< v_idx_8974 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_8974)) (<= 0 (* 2 (select |#memory_int| v_idx_8974))))) (forall ((v_idx_8980 Int)) (<= (select |#memory_int| v_idx_8980) 0))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (or (forall ((v_prenex_153 Int)) (<= (select |#memory_int| v_prenex_153) 0)) (forall ((v_prenex_152 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_152) (<= 0 (* 2 (select |#memory_int| v_prenex_152))) (< v_prenex_152 ULTIMATE.start_main_p1)))) (or (forall ((v_prenex_186 Int)) (or (< v_prenex_186 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_186) 0))) (forall ((v_prenex_187 Int)) (or (< v_prenex_187 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_187) (<= 0 (* 2 (select |#memory_int| v_prenex_187)))))) (or (forall ((v_prenex_154 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_154))) (< v_prenex_154 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_154))) (forall ((v_prenex_155 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_155) (<= (* 2 (select |#memory_int| v_prenex_155)) 0)))) (forall ((v_prenex_165 Int) (v_prenex_166 Int)) (or (< v_prenex_166 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_165) (<= 0 (* 2 (select |#memory_int| v_prenex_166))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_166) (<= (select |#memory_int| v_prenex_165) (select |#memory_int| v_prenex_166)))) (or (forall ((v_prenex_177 Int)) (or (<= 0 (select |#memory_int| v_prenex_177)) (< v_prenex_177 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_177))) (forall ((v_prenex_176 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_176) (<= (select |#memory_int| v_prenex_176) 0)))) (or (forall ((v_prenex_192 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_192) (<= 0 (* 2 (select |#memory_int| v_prenex_192))) (< v_prenex_192 ULTIMATE.start_main_p1))) (forall ((v_prenex_191 Int)) (or (<= (select |#memory_int| v_prenex_191) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_191)))) (or (forall ((v_prenex_168 Int)) (or (< v_prenex_168 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_168)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_168))) (forall ((v_prenex_167 Int)) (or (< v_prenex_167 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_167)) 0)))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_194 Int) (v_prenex_193 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_194) (<= (select |#memory_int| v_prenex_193) (select |#memory_int| v_prenex_194)) (< v_prenex_194 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_194))) (< v_prenex_193 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_8978 Int)) (or (= 0 (select |#memory_int| v_idx_8978)) (< v_idx_8978 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_8978))) (forall ((v_prenex_161 Int) (v_prenex_160 Int)) (or (< v_prenex_161 ULTIMATE.start_main_p4) (<= 0 (select |#memory_int| v_prenex_160)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_160) (<= (select |#memory_int| v_prenex_161) (select |#memory_int| v_prenex_160)) (< v_prenex_160 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_164 Int)) (<= (* 2 (select |#memory_int| v_prenex_164)) 0)) (forall ((v_prenex_163 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_163) (<= 0 (* 2 (select |#memory_int| v_prenex_163))) (< v_prenex_163 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_163))))) (or (forall ((v_prenex_183 Int)) (or (<= 0 (select |#memory_int| v_prenex_183)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_183) (< v_prenex_183 ULTIMATE.start_main_p1))) (forall ((v_prenex_182 Int)) (<= (select |#memory_int| v_prenex_182) 0))) (or (forall ((v_prenex_188 Int)) (<= (* 2 (select |#memory_int| v_prenex_188)) 0)) (forall ((v_prenex_189 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_189))) (<= 0 (select |#memory_int| v_prenex_189)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_189) (< v_prenex_189 ULTIMATE.start_main_p1)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_prenex_149 Int) (v_prenex_150 Int)) (or (<= 0 (select |#memory_int| v_prenex_149)) (< v_prenex_149 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_149) (<= (select |#memory_int| v_prenex_150) (select |#memory_int| v_prenex_149)))) (forall ((v_prenex_156 Int) (v_prenex_157 Int)) (or (<= (select |#memory_int| v_prenex_157) (select |#memory_int| v_prenex_156)) (<= 0 (* 2 (select |#memory_int| v_prenex_156))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_156) (< v_prenex_156 ULTIMATE.start_main_p1))) (forall ((v_idx_8970 Int)) (or (= 1 (select |#valid| v_idx_8970)) (< v_idx_8970 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_8970))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_8967 Int)) (or (< v_idx_8967 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_8967)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_8967))) (forall ((v_prenex_190 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_190) (< v_prenex_190 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_190)) 0))) (or (forall ((v_prenex_171 Int)) (or (<= 0 (select |#memory_int| v_prenex_171)) (< v_prenex_171 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_171))) (forall ((v_prenex_170 Int)) (or (<= (select |#memory_int| v_prenex_170) 0) (< v_prenex_170 ULTIMATE.start_main_p4)))) (forall ((v_prenex_172 Int) (v_prenex_173 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_173) (<= 0 (select |#memory_int| v_prenex_173)) (<= (select |#memory_int| v_prenex_172) (select |#memory_int| v_prenex_173)) (< v_prenex_173 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_173))))) (or (forall ((v_prenex_181 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_181))) (< v_prenex_181 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_181))) (forall ((v_prenex_180 Int)) (<= (* 2 (select |#memory_int| v_prenex_180)) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_prenex_162 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_162) (<= 0 (select |#memory_int| v_prenex_162)) (< v_prenex_162 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_162))))) (or (forall ((v_prenex_185 Int)) (or (< v_prenex_185 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_185) (<= 0 (* 2 (select |#memory_int| v_prenex_185))))) (forall ((v_prenex_184 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_184)) 0) (< v_prenex_184 ULTIMATE.start_main_p4)))) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (forall ((v_idx_8976 Int)) (or (= 0 (select |#memory_int| v_idx_8976)) (< v_idx_8976 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_8976))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (or (forall ((v_prenex_159 Int)) (<= (* 2 (select |#memory_int| v_prenex_159)) 0)) (forall ((v_prenex_158 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_158) (< v_prenex_158 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_158))))) (forall ((v_prenex_174 Int)) (or (< v_prenex_174 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_174)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_174))) (or (forall ((v_prenex_196 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_196) (< v_prenex_196 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_196)))) (forall ((v_prenex_195 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_195) (<= (* 2 (select |#memory_int| v_prenex_195)) 0)))) (forall ((v_prenex_169 Int)) (or (<= (select |#memory_int| v_prenex_169) 0) (< v_prenex_169 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_169))) (forall ((v_prenex_175 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_175))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_175) (< v_prenex_175 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_200 Int) (v_prenex_199 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_200) (<= 0 (select |#memory_int| v_prenex_200)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_199) (< v_prenex_200 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_199) (select |#memory_int| v_prenex_200)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_prenex_151 Int)) (or (< v_prenex_151 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_151)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_151) (<= 0 (* 2 (select |#memory_int| v_prenex_151))))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:14,147 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-14 17:01:14,148 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-14 17:01:14,149 WARN L276 ngHoareTripleChecker]: Post: {648#false} [2019-02-14 17:01:14,149 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:14,149 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:14,150 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], [old(#memory_int)] -> [-inf_0] v_4836 [inf_0], [old(#valid)] -> [-inf_0] v_4835 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 28 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:14,150 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-14 17:01:14,150 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 17:01:14,150 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:17,618 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:17,618 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:17,618 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:17,619 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:17,619 WARN L224 ngHoareTripleChecker]: Pre: {653#(forall ((v_idx_9085 Int) (v_idx_9083 Int) (v_idx_9089 Int) (v_idx_9076 Int) (v_idx_9087 Int) (v_idx_9079 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (< v_idx_9076 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9076) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9076) 0)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9085) (= 0 (select |c_#memory_int| v_idx_9085)) (< v_idx_9085 c_ULTIMATE.start_main_p2)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (and (< v_idx_9083 c_ULTIMATE.start_main_p1) (or (and (<= (select |c_#memory_int| v_idx_9089) 0) (<= (* 2 (select |c_#memory_int| v_idx_9089)) 0)) (< v_idx_9089 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9089))) (and (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9083) (or (and (<= (select |c_#memory_int| v_idx_9089) 0) (<= (* 2 (select |c_#memory_int| v_idx_9089)) 0)) (< v_idx_9089 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9089))) (and (<= 0 (select |c_#memory_int| v_idx_9083)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9083))) (or (< v_idx_9089 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9089) (and (<= (select |c_#memory_int| v_idx_9089) (select |c_#memory_int| v_idx_9083)) (<= (select |c_#memory_int| v_idx_9089) 0) (<= (* 2 (select |c_#memory_int| v_idx_9089)) 0))))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (or (= 0 (select |c_#memory_int| v_idx_9087)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9087) (< v_idx_9087 c_ULTIMATE.start_main_p3)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_9079 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_9079)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9079)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:17,619 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 17:01:17,619 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-14 17:01:17,619 WARN L230 ngHoareTripleChecker]: Post: {654#false} [2019-02-14 17:01:17,619 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:17,641 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:17,642 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:18,006 WARN L270 ngHoareTripleChecker]: Pre: {653#(and (forall ((v_idx_9079 Int)) (or (< v_idx_9079 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_9079)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9079))) (or (forall ((v_prenex_209 Int)) (<= 0 (select |#memory_int| v_prenex_209))) (forall ((v_prenex_208 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_208)) 0) (<= (select |#memory_int| v_prenex_208) 0) (< v_prenex_208 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_208)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_9083 Int) (v_idx_9089 Int)) (or (<= (select |#memory_int| v_idx_9089) (select |#memory_int| v_idx_9083)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_9083) (< v_idx_9089 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9089) (<= (* 2 (select |#memory_int| v_idx_9089)) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (or (forall ((v_prenex_231 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_231) (< v_prenex_231 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_231)) 0))) (forall ((v_prenex_230 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_230))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_230)))) (forall ((v_prenex_204 Int) (v_prenex_203 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_203) (<= (* 2 (select |#memory_int| v_prenex_203)) 0) (<= (select |#memory_int| v_prenex_203) (select |#memory_int| v_prenex_204)) (< v_prenex_203 ULTIMATE.start_main_p4))) (forall ((v_prenex_226 Int) (v_prenex_225 Int)) (or (<= (select |#memory_int| v_prenex_226) 0) (<= (select |#memory_int| v_prenex_226) (select |#memory_int| v_prenex_225)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_226) (< v_prenex_226 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_228 Int)) (or (<= 0 (select |#memory_int| v_prenex_228)) (< v_prenex_228 ULTIMATE.start_main_p1))) (forall ((v_prenex_229 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_229) (<= (select |#memory_int| v_prenex_229) 0) (< v_prenex_229 ULTIMATE.start_main_p4)))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (or (forall ((v_prenex_234 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_234)))) (forall ((v_prenex_235 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_235)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_235) (< v_prenex_235 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_235) 0)))) (or (forall ((v_prenex_223 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_223) (<= (* 2 (select |#memory_int| v_prenex_223)) 0) (< v_prenex_223 ULTIMATE.start_main_p4))) (forall ((v_prenex_222 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_222))))) (or (forall ((v_prenex_238 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_238) (< v_prenex_238 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_238) 0))) (forall ((v_prenex_239 Int)) (or (<= 0 (select |#memory_int| v_prenex_239)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_239)))) (forall ((v_prenex_205 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_205)) 0) (<= (select |#memory_int| v_prenex_205) 0) (< v_prenex_205 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_205))) (forall ((v_prenex_249 Int) (v_prenex_250 Int)) (or (< v_prenex_249 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_249) (select |#memory_int| v_prenex_250)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_250) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_249) (<= (select |#memory_int| v_prenex_249) 0))) (forall ((v_idx_9085 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_9085) (= 0 (select |#memory_int| v_idx_9085)) (< v_idx_9085 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (or (forall ((v_prenex_201 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_201))) (< v_prenex_201 ULTIMATE.start_main_p1))) (forall ((v_prenex_202 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_202)) 0) (< v_prenex_202 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_202)))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (or (forall ((v_prenex_236 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_236))) (< v_prenex_236 ULTIMATE.start_main_p1))) (forall ((v_prenex_237 Int)) (or (<= (select |#memory_int| v_prenex_237) 0) (< v_prenex_237 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_237)))) (or (forall ((v_prenex_210 Int)) (or (< v_prenex_210 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_210) (<= (* 2 (select |#memory_int| v_prenex_210)) 0) (<= (select |#memory_int| v_prenex_210) 0))) (forall ((v_prenex_211 Int)) (<= 0 (select |#memory_int| v_prenex_211)))) (forall ((v_prenex_216 Int) (v_prenex_217 Int)) (or (< v_prenex_217 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_217) 0) (<= (* 2 (select |#memory_int| v_prenex_217)) 0) (<= (select |#memory_int| v_prenex_217) (select |#memory_int| v_prenex_216)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_217))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_prenex_219 Int) (v_prenex_218 Int)) (or (<= (select |#memory_int| v_prenex_219) (select |#memory_int| v_prenex_218)) (< v_prenex_218 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_218) (< v_prenex_219 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_219))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (or (forall ((v_prenex_248 Int)) (or (<= 0 (select |#memory_int| v_prenex_248)) (< v_prenex_248 ULTIMATE.start_main_p1))) (forall ((v_prenex_247 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_247) (< v_prenex_247 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_247)) 0)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (or (forall ((v_prenex_242 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_242) (<= (* 2 (select |#memory_int| v_prenex_242)) 0) (< v_prenex_242 ULTIMATE.start_main_p4))) (forall ((v_prenex_243 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_243) (<= 0 (select |#memory_int| v_prenex_243))))) (or (forall ((v_prenex_240 Int)) (or (< v_prenex_240 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_240) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_240))) (forall ((v_prenex_241 Int)) (<= 0 (select |#memory_int| v_prenex_241)))) (or (forall ((v_prenex_206 Int)) (or (<= (select |#memory_int| v_prenex_206) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_206) (< v_prenex_206 ULTIMATE.start_main_p4))) (forall ((v_prenex_207 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_207))))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_233 Int) (v_prenex_232 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_233)) 0) (< v_prenex_233 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_233) (<= (select |#memory_int| v_prenex_233) (select |#memory_int| v_prenex_232)) (< v_prenex_232 ULTIMATE.start_main_p1))) (forall ((v_prenex_244 Int)) (or (< v_prenex_244 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_244) (<= 0 (* 2 (select |#memory_int| v_prenex_244))))) (forall ((v_prenex_227 Int)) (or (<= (select |#memory_int| v_prenex_227) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_227) (< v_prenex_227 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_227)) 0))) (forall ((v_prenex_215 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_215) (<= (select |#memory_int| v_prenex_215) 0) (< v_prenex_215 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_prenex_212 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_212) (< v_prenex_212 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_212)))) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (forall ((v_idx_9076 Int)) (or (< v_idx_9076 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9076) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_9076) 0))) (forall ((v_idx_9087 Int)) (or (= 0 (select |#memory_int| v_idx_9087)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9087) (< v_idx_9087 ULTIMATE.start_main_p3))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (or (forall ((v_prenex_221 Int)) (or (<= (select |#memory_int| v_prenex_221) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_221) (< v_prenex_221 ULTIMATE.start_main_p4))) (forall ((v_prenex_220 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_220))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_220)))) (forall ((v_prenex_224 Int)) (or (< v_prenex_224 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_224)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_224))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_prenex_251 Int) (v_prenex_252 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_251) (< v_prenex_252 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_251) 0) (<= (select |#memory_int| v_prenex_251) (select |#memory_int| v_prenex_252)) (< v_prenex_251 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_246 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_246)))) (forall ((v_prenex_245 Int)) (or (<= (select |#memory_int| v_prenex_245) 0) (<= (* 2 (select |#memory_int| v_prenex_245)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_245) (< v_prenex_245 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_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (or (forall ((v_prenex_213 Int)) (or (< v_prenex_213 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_213)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_213))) (forall ((v_prenex_214 Int)) (<= 0 (select |#memory_int| v_prenex_214)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:18,006 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-14 17:01:18,006 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-14 17:01:18,007 WARN L276 ngHoareTripleChecker]: Post: {654#false} [2019-02-14 17:01:18,007 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:18,008 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:18,008 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], [old(#memory_int)] -> [-inf_0] v_4876 [inf_0], [old(#valid)] -> [-inf_0] v_4875 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 28 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:18,008 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-14 17:01:18,008 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 17:01:18,008 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:22,151 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:22,151 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:22,151 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:22,151 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:22,152 WARN L224 ngHoareTripleChecker]: Pre: {663#true} [2019-02-14 17:01:22,152 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 17:01:22,152 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-14 17:01:22,152 WARN L230 ngHoareTripleChecker]: Post: {664#(forall ((v_idx_9238 Int) (v_idx_9242 Int) (v_idx_9240 Int) (v_idx_9230 Int) (v_idx_9236 Int) (v_idx_9233 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (and (or (and (<= 0 (select |c_#memory_int| v_idx_9236)) (<= (select |c_#memory_int| v_idx_9242) (select |c_#memory_int| v_idx_9236)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9236)))) (< v_idx_9236 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9236)) (<= (select |c_#memory_int| v_idx_9242) 0) (<= (* 2 (select |c_#memory_int| v_idx_9242)) 0)) (and (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9242) (or (< v_idx_9236 c_ULTIMATE.start_main_p1) (and (<= 0 (select |c_#memory_int| v_idx_9236)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9236)))) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9236))) (and (or (< v_idx_9236 c_ULTIMATE.start_main_p1) (and (<= 0 (select |c_#memory_int| v_idx_9236)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9236)))) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9236)) (< v_idx_9242 c_ULTIMATE.start_main_p4))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9233) (= 1 (select |c_#valid| v_idx_9233)) (< v_idx_9233 c_ULTIMATE.start_main_p4)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_9238 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9238) (= 0 (select |c_#memory_int| v_idx_9238))) (or (< v_idx_9240 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9240) (= 0 (select |c_#memory_int| v_idx_9240))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9230) (< v_idx_9230 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9230) 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:22,153 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:22,153 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:22,153 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:22,154 WARN L270 ngHoareTripleChecker]: Pre: {663#true} [2019-02-14 17:01:22,155 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-14 17:01:22,155 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-14 17:01:22,426 WARN L276 ngHoareTripleChecker]: Post: {664#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_9242 Int) (v_idx_9236 Int)) (or (<= 0 (select |#memory_int| v_idx_9236)) (< v_idx_9236 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_idx_9242) (select |#memory_int| v_idx_9236)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9242) (<= (+ ULTIMATE.start_main_p1 1) v_idx_9236))) (or (forall ((v_prenex_294 Int)) (or (< v_prenex_294 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_294) (<= 0 (* 2 (select |#memory_int| v_prenex_294))))) (forall ((v_prenex_295 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_295) (<= (* 2 (select |#memory_int| v_prenex_295)) 0)))) (forall ((v_prenex_272 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_272) (<= (* 2 (select |#memory_int| v_prenex_272)) 0) (< v_prenex_272 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_302 Int)) (or (< v_prenex_302 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_302)) 0))) (forall ((v_prenex_303 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_303) (< v_prenex_303 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_303))))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_prenex_299 Int) (v_prenex_298 Int)) (or (< v_prenex_299 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_298) (select |#memory_int| v_prenex_299)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_299) (< v_prenex_298 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_298))) (or (forall ((v_prenex_279 Int)) (<= (select |#memory_int| v_prenex_279) 0)) (forall ((v_prenex_277 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_277))) (<= 0 (select |#memory_int| v_prenex_277)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_277) (< v_prenex_277 ULTIMATE.start_main_p1)))) (or (forall ((v_prenex_278 Int)) (or (<= 0 (select |#memory_int| v_prenex_278)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_278) (< v_prenex_278 ULTIMATE.start_main_p1))) (forall ((v_prenex_279 Int)) (<= (select |#memory_int| v_prenex_279) 0))) (or (forall ((v_prenex_268 Int)) (or (<= (select |#memory_int| v_prenex_268) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_268))) (forall ((v_prenex_254 Int)) (or (< v_prenex_254 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_254) (<= 0 (* 2 (select |#memory_int| v_prenex_254)))))) (or (forall ((v_prenex_296 Int)) (or (<= 0 (select |#memory_int| v_prenex_296)) (< v_prenex_296 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_296))) (forall ((v_prenex_295 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_295) (<= (* 2 (select |#memory_int| v_prenex_295)) 0)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_262 Int) (v_prenex_261 Int)) (or (< v_prenex_262 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_262) (<= (select |#memory_int| v_prenex_261) (select |#memory_int| v_prenex_262)) (<= 0 (select |#memory_int| v_prenex_262)) (< v_prenex_261 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_prenex_301 Int)) (or (<= 0 (select |#memory_int| v_prenex_301)) (<= 0 (* 2 (select |#memory_int| v_prenex_301))) (< v_prenex_301 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_301))) (or (forall ((v_prenex_290 Int)) (or (< v_prenex_290 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_290)) 0))) (forall ((v_prenex_289 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_289) (<= 0 (* 2 (select |#memory_int| v_prenex_289))) (< v_prenex_289 ULTIMATE.start_main_p1)))) (forall ((v_prenex_297 Int)) (or (<= 0 (select |#memory_int| v_prenex_297)) (<= 0 (* 2 (select |#memory_int| v_prenex_297))) (< v_prenex_297 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_297))) (forall ((v_prenex_267 Int)) (or (<= (select |#memory_int| v_prenex_267) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_267) (< v_prenex_267 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (or (forall ((v_prenex_268 Int)) (or (<= (select |#memory_int| v_prenex_268) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_268))) (forall ((v_prenex_269 Int)) (or (<= 0 (select |#memory_int| v_prenex_269)) (< v_prenex_269 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_269)))) (forall ((v_prenex_263 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_263))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_263) (< v_prenex_263 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_285 Int)) (or (<= (select |#memory_int| v_prenex_285) 0) (< v_prenex_285 ULTIMATE.start_main_p4))) (forall ((v_prenex_284 Int)) (or (< v_prenex_284 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_284) (<= 0 (* 2 (select |#memory_int| v_prenex_284)))))) (forall ((v_prenex_282 Int) (v_prenex_283 Int)) (or (< v_prenex_282 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_282) (<= (select |#memory_int| v_prenex_283) (select |#memory_int| v_prenex_282)) (<= 0 (* 2 (select |#memory_int| v_prenex_282))))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (or (forall ((v_prenex_257 Int)) (or (< v_prenex_257 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_257))) (<= 0 (select |#memory_int| v_prenex_257)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_257))) (forall ((v_prenex_256 Int)) (<= (* 2 (select |#memory_int| v_prenex_256)) 0))) (forall ((v_idx_9230 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9230) (< v_idx_9230 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_9230) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_259 Int) (v_prenex_258 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_259) (<= (select |#memory_int| v_prenex_258) (select |#memory_int| v_prenex_259)) (<= 0 (select |#memory_int| v_prenex_259)) (< v_prenex_259 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_256 Int)) (<= (* 2 (select |#memory_int| v_prenex_256)) 0)) (forall ((v_prenex_253 Int)) (or (<= 0 (select |#memory_int| v_prenex_253)) (< v_prenex_253 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_253)))) (forall ((v_prenex_280 Int) (v_prenex_281 Int)) (or (<= (select |#memory_int| v_prenex_281) (select |#memory_int| v_prenex_280)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_280) (<= 0 (* 2 (select |#memory_int| v_prenex_280))) (< v_prenex_281 ULTIMATE.start_main_p4) (< v_prenex_280 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_287 Int)) (or (< v_prenex_287 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_287))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_287))) (forall ((v_prenex_288 Int)) (<= (select |#memory_int| v_prenex_288) 0))) (forall ((v_idx_9233 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9233) (= 1 (select |#valid| v_idx_9233)) (< v_idx_9233 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (or (forall ((v_prenex_271 Int)) (<= (* 2 (select |#memory_int| v_prenex_271)) 0)) (forall ((v_prenex_270 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_270) (<= 0 (* 2 (select |#memory_int| v_prenex_270))) (< v_prenex_270 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_270))))) (or (forall ((v_prenex_286 Int)) (or (<= 0 (select |#memory_int| v_prenex_286)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_286) (<= 0 (* 2 (select |#memory_int| v_prenex_286))) (< v_prenex_286 ULTIMATE.start_main_p1))) (forall ((v_prenex_288 Int)) (<= (select |#memory_int| v_prenex_288) 0))) (forall ((v_idx_9240 Int)) (or (< v_idx_9240 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9240) (= 0 (select |#memory_int| v_idx_9240)))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_293 Int)) (or (< v_prenex_293 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_293)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_293))) (forall ((v_prenex_260 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_260) (< v_prenex_260 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_260)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_prenex_266 Int) (v_prenex_265 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_265) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_266) (< v_prenex_266 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_265) (select |#memory_int| v_prenex_266)) (<= 0 (* 2 (select |#memory_int| v_prenex_266))))) (forall ((v_idx_9238 Int)) (or (< v_idx_9238 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_9238) (= 0 (select |#memory_int| v_idx_9238)))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_273 Int) (v_prenex_274 Int)) (or (<= 0 (select |#memory_int| v_prenex_273)) (<= 0 (* 2 (select |#memory_int| v_prenex_273))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_273) (<= (select |#memory_int| v_prenex_274) (select |#memory_int| v_prenex_273)) (< v_prenex_273 ULTIMATE.start_main_p1))) (forall ((v_prenex_275 Int) (v_prenex_276 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_275) (<= (select |#memory_int| v_prenex_276) (select |#memory_int| v_prenex_275)) (< v_prenex_275 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_275)) (<= 0 (* 2 (select |#memory_int| v_prenex_275))))) (or (forall ((v_prenex_255 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_255))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_255) (< v_prenex_255 ULTIMATE.start_main_p1))) (forall ((v_prenex_271 Int)) (<= (* 2 (select |#memory_int| v_prenex_271)) 0))) (or (forall ((v_prenex_291 Int)) (or (<= (select |#memory_int| v_prenex_291) 0) (< v_prenex_291 ULTIMATE.start_main_p4))) (forall ((v_prenex_292 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_292) (<= 0 (select |#memory_int| v_prenex_292)) (< v_prenex_292 ULTIMATE.start_main_p1)))) (forall ((v_prenex_300 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_300))) (<= 0 (select |#memory_int| v_prenex_300)) (< v_prenex_300 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_300))) (forall ((v_prenex_264 Int)) (or (<= 0 (select |#memory_int| v_prenex_264)) (< v_prenex_264 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_264) (<= 0 (* 2 (select |#memory_int| v_prenex_264))))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:22,426 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:22,427 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:22,427 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4918 [inf_0], [#valid] -> [-inf_0] v_4916 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4915 [inf_0], [old(#memory_int)] -> [-inf_0] v_4919 [inf_0], [old(#valid)] -> [-inf_0] v_4917 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 17:01:22,427 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-14 17:01:22,428 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 26 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:22,428 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:23,715 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:23,716 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:23,716 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:23,716 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:23,717 WARN L224 ngHoareTripleChecker]: Pre: {665#true} [2019-02-14 17:01:23,717 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 17:01:23,717 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-14 17:01:23,717 WARN L230 ngHoareTripleChecker]: Post: {666#(forall ((v_idx_9290 Int) (v_idx_9293 Int) (v_idx_9298 Int) (v_idx_9296 Int) (v_idx_9302 Int) (v_idx_9300 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (= 0 (select |c_#memory_int| v_idx_9298)) (< v_idx_9298 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9298)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_9293 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9293) (= (select |c_#valid| v_idx_9293) 1)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_#memory_int| v_idx_9300)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9300) (< v_idx_9300 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (and (< v_idx_9302 c_ULTIMATE.start_main_p4) (or (and (<= 0 (select |c_#memory_int| v_idx_9296)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9296)))) (< v_idx_9296 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9296))) (and (<= (* 2 (select |c_#memory_int| v_idx_9302)) 0) (<= (select |c_#memory_int| v_idx_9302) 0) (or (< v_idx_9296 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9296) (and (<= (select |c_#memory_int| v_idx_9302) (select |c_#memory_int| v_idx_9296)) (<= 0 (select |c_#memory_int| v_idx_9296)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9296)))))) (and (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9302) (or (and (<= 0 (select |c_#memory_int| v_idx_9296)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9296)))) (< v_idx_9296 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9296)))) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9290) (< v_idx_9290 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9290) 0)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:23,718 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:23,718 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:23,718 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:23,719 WARN L270 ngHoareTripleChecker]: Pre: {665#true} [2019-02-14 17:01:23,719 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-14 17:01:23,719 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-14 17:01:23,911 WARN L276 ngHoareTripleChecker]: Post: {666#(and (forall ((v_idx_9296 Int) (v_idx_9302 Int)) (or (<= (select |#memory_int| v_idx_9302) (select |#memory_int| v_idx_9296)) (<= 0 (select |#memory_int| v_idx_9296)) (< v_idx_9296 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_9296) (<= 0 (* 2 (select |#memory_int| v_idx_9296))))) (forall ((v_idx_9290 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9290) (< v_idx_9290 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_9290) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (or (forall ((v_prenex_317 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_317)) 0) (< v_prenex_317 ULTIMATE.start_main_p4))) (forall ((v_prenex_304 Int)) (or (< v_prenex_304 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_304)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_304)))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (or (forall ((v_prenex_306 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_306) (<= 0 (select |#memory_int| v_prenex_306)) (< v_prenex_306 ULTIMATE.start_main_p1))) (forall ((v_prenex_331 Int)) (<= (* 2 (select |#memory_int| v_prenex_331)) 0))) (forall ((v_idx_9298 Int)) (or (= 0 (select |#memory_int| v_idx_9298)) (< v_idx_9298 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_9298))) (or (forall ((v_prenex_324 Int)) (<= (* 2 (select |#memory_int| v_prenex_324)) 0)) (forall ((v_prenex_323 Int)) (or (< v_prenex_323 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_323) (<= 0 (* 2 (select |#memory_int| v_prenex_323))) (<= 0 (select |#memory_int| v_prenex_323))))) (forall ((v_prenex_336 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_336) (< v_prenex_336 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_336)))) (or (forall ((v_prenex_324 Int)) (<= (* 2 (select |#memory_int| v_prenex_324)) 0)) (forall ((v_prenex_305 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_305))) (< v_prenex_305 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_305)))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (or (forall ((v_prenex_330 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_330) (<= 0 (select |#memory_int| v_prenex_330)) (<= 0 (* 2 (select |#memory_int| v_prenex_330))) (< v_prenex_330 ULTIMATE.start_main_p1))) (forall ((v_prenex_331 Int)) (<= (* 2 (select |#memory_int| v_prenex_331)) 0))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_309 Int) (v_prenex_308 Int)) (or (<= 0 (select |#memory_int| v_prenex_308)) (< v_prenex_308 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_308))) (<= (select |#memory_int| v_prenex_309) (select |#memory_int| v_prenex_308)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_308))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (or (forall ((v_prenex_315 Int)) (or (<= (select |#memory_int| v_prenex_315) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_315))) (forall ((v_prenex_314 Int)) (or (< v_prenex_314 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_314)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_314)))) (forall ((v_prenex_345 Int) (v_prenex_344 Int)) (or (<= (select |#memory_int| v_prenex_345) (select |#memory_int| v_prenex_344)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_344) (< v_prenex_344 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_344))) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_345))) (or (forall ((v_prenex_322 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_322) (<= 0 (select |#memory_int| v_prenex_322)) (< v_prenex_322 ULTIMATE.start_main_p1))) (forall ((v_prenex_321 Int)) (or (< v_prenex_321 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_321) 0)))) (forall ((v_prenex_341 Int) (v_prenex_342 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_342) (< v_prenex_341 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_342) (select |#memory_int| v_prenex_341)) (<= 0 (select |#memory_int| v_prenex_341)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_341))) (forall ((v_prenex_347 Int) (v_prenex_346 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_346) (< v_prenex_347 ULTIMATE.start_main_p4) (< v_prenex_346 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_347) (select |#memory_int| v_prenex_346)) (<= 0 (select |#memory_int| v_prenex_346)))) (forall ((v_prenex_340 Int) (v_prenex_339 Int)) (or (< v_prenex_340 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_339) (<= (select |#memory_int| v_prenex_340) (select |#memory_int| v_prenex_339)) (<= 0 (* 2 (select |#memory_int| v_prenex_339))) (< v_prenex_339 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_332 Int)) (or (< v_prenex_332 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_332) (<= 0 (* 2 (select |#memory_int| v_prenex_332))))) (forall ((v_prenex_333 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_333) (<= (select |#memory_int| v_prenex_333) 0)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (or (forall ((v_prenex_327 Int)) (<= (select |#memory_int| v_prenex_327) 0)) (forall ((v_prenex_326 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_326) (< v_prenex_326 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_326)))))) (forall ((v_prenex_337 Int) (v_prenex_338 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_338) (< v_prenex_338 ULTIMATE.start_main_p4) (< v_prenex_337 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_337) (<= (select |#memory_int| v_prenex_338) (select |#memory_int| v_prenex_337)))) (or (forall ((v_prenex_327 Int)) (<= (select |#memory_int| v_prenex_327) 0)) (forall ((v_prenex_325 Int)) (or (<= 0 (select |#memory_int| v_prenex_325)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_325) (< v_prenex_325 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_325)))))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_9293 Int)) (or (< v_idx_9293 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9293) (= (select |#valid| v_idx_9293) 1))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (or (forall ((v_prenex_348 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_348))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_348) (<= 0 (select |#memory_int| v_prenex_348)) (< v_prenex_348 ULTIMATE.start_main_p1))) (forall ((v_prenex_350 Int)) (<= (select |#memory_int| v_prenex_350) 0))) (forall ((v_idx_9300 Int)) (or (= 0 (select |#memory_int| v_idx_9300)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9300) (< v_idx_9300 ULTIMATE.start_main_p3))) (or (forall ((v_prenex_335 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_335) (<= (* 2 (select |#memory_int| v_prenex_335)) 0))) (forall ((v_prenex_334 Int)) (or (< v_prenex_334 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_334) (<= 0 (select |#memory_int| v_prenex_334))))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_307 Int)) (or (< v_prenex_307 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_307))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_307) (<= 0 (select |#memory_int| v_prenex_307)))) (forall ((v_prenex_351 Int)) (or (< v_prenex_351 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_351))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_351))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (or (forall ((v_prenex_317 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_317)) 0) (< v_prenex_317 ULTIMATE.start_main_p4))) (forall ((v_prenex_316 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_316) (< v_prenex_316 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_316)))))) (or (forall ((v_prenex_319 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_319)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_319))) (forall ((v_prenex_318 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_318))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_318) (< v_prenex_318 ULTIMATE.start_main_p1)))) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (forall ((v_prenex_310 Int)) (or (<= 0 (select |#memory_int| v_prenex_310)) (<= 0 (* 2 (select |#memory_int| v_prenex_310))) (< v_prenex_310 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_310))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_343 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_343) (< v_prenex_343 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_343)) 0))) (forall ((v_prenex_329 Int) (v_prenex_328 Int)) (or (< v_prenex_328 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_328) (<= (select |#memory_int| v_prenex_329) (select |#memory_int| v_prenex_328)) (<= 0 (* 2 (select |#memory_int| v_prenex_328))))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (or (forall ((v_prenex_320 Int)) (or (< v_prenex_320 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_320))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_320))) (forall ((v_prenex_321 Int)) (or (< v_prenex_321 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_321) 0)))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_312 Int) (v_prenex_311 Int)) (or (<= (select |#memory_int| v_prenex_312) (select |#memory_int| v_prenex_311)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_311) (< v_prenex_311 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_311)))) (forall ((v_prenex_313 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_313) (< v_prenex_313 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_313) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (or (forall ((v_prenex_349 Int)) (or (<= 0 (select |#memory_int| v_prenex_349)) (< v_prenex_349 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_349))) (forall ((v_prenex_350 Int)) (<= (select |#memory_int| v_prenex_350) 0))))} [2019-02-14 17:01:23,912 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:23,912 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:23,912 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4956 [inf_0], [#valid] -> [-inf_0] v_4954 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4953 [inf_0], [old(#memory_int)] -> [-inf_0] v_4957 [inf_0], [old(#valid)] -> [-inf_0] v_4955 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 17:01:23,912 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-14 17:01:23,913 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 26 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:23,913 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:24,464 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:24,464 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:24,465 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:24,465 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:24,465 WARN L224 ngHoareTripleChecker]: Pre: {668#(forall ((v_idx_9316 Int) (v_idx_9305 Int) (v_idx_9314 Int) (v_idx_9318 Int) (v_idx_9308 Int) (v_idx_9312 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (= (select |c_#memory_int| v_idx_9316) 0) (< v_idx_9316 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9316)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (= (select |c_#valid| v_idx_9308) 1) (< v_idx_9308 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9308)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_9305 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9305) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9305)) (<= (+ 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (and (or (< v_idx_9318 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_9318) 0) (<= (* 2 (select |c_#memory_int| v_idx_9318)) 0) (<= (select |c_#memory_int| v_idx_9318) (select |c_#memory_int| v_idx_9312))) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9318)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9312))) (<= 0 (select |c_#memory_int| v_idx_9312))) (and (or (and (<= (select |c_#memory_int| v_idx_9318) 0) (<= (* 2 (select |c_#memory_int| v_idx_9318)) 0)) (< v_idx_9318 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9318)) (< v_idx_9312 c_ULTIMATE.start_main_p1)) (and (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9312) (or (and (<= (select |c_#memory_int| v_idx_9318) 0) (<= (* 2 (select |c_#memory_int| v_idx_9318)) 0)) (< v_idx_9318 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9318)))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (= 0 (select |c_#memory_int| v_idx_9314)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9314) (< v_idx_9314 c_ULTIMATE.start_main_p2))))} [2019-02-14 17:01:24,465 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 17:01:24,466 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 17:01:24,466 WARN L230 ngHoareTripleChecker]: Post: {669#false} [2019-02-14 17:01:24,466 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:24,489 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:24,490 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:24,874 WARN L270 ngHoareTripleChecker]: Pre: {668#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (or (forall ((v_prenex_355 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_355) (< v_prenex_355 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_355) 0))) (forall ((v_prenex_356 Int)) (or (< v_prenex_356 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_356)))))) (forall ((v_prenex_381 Int) (v_prenex_380 Int)) (or (< v_prenex_380 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_380) (select |#memory_int| v_prenex_381)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_380) (<= (* 2 (select |#memory_int| v_prenex_380)) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (or (forall ((v_idx_9312 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_9312) (<= 0 (select |#memory_int| v_idx_9312)))) (forall ((v_idx_9318 Int)) (or (<= (* 2 (select |#memory_int| v_idx_9318)) 0) (< v_idx_9318 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9318)))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_prenex_383 Int) (v_prenex_384 Int)) (or (< v_prenex_383 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_383) (select |#memory_int| v_prenex_384)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_383) (<= (select |#memory_int| v_prenex_383) 0) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_384))) (or (forall ((v_prenex_389 Int)) (or (< v_prenex_389 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_389) (<= (* 2 (select |#memory_int| v_prenex_389)) 0))) (forall ((v_prenex_388 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_388))))) (or (forall ((v_prenex_392 Int)) (<= 0 (select |#memory_int| v_prenex_392))) (forall ((v_prenex_391 Int)) (or (<= (select |#memory_int| v_prenex_391) 0) (<= (* 2 (select |#memory_int| v_prenex_391)) 0) (< v_prenex_391 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_391)))) (or (forall ((v_prenex_393 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_393) (<= (* 2 (select |#memory_int| v_prenex_393)) 0) (< v_prenex_393 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_393) 0))) (forall ((v_prenex_394 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_394))))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_prenex_396 Int)) (or (< v_prenex_396 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_396))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_396))) (forall ((v_idx_9316 Int)) (or (= (select |#memory_int| v_idx_9316) 0) (< v_idx_9316 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9316))) (or (forall ((v_prenex_395 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_395) (<= (select |#memory_int| v_prenex_395) 0) (< v_prenex_395 ULTIMATE.start_main_p4))) (forall ((v_prenex_394 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_394))))) (or (forall ((v_prenex_392 Int)) (<= 0 (select |#memory_int| v_prenex_392))) (forall ((v_prenex_354 Int)) (or (<= (select |#memory_int| v_prenex_354) 0) (< v_prenex_354 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_354)))) (forall ((v_prenex_378 Int) (v_prenex_379 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_378) (< v_prenex_378 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_378) (select |#memory_int| v_prenex_379)) (<= (select |#memory_int| v_prenex_378) 0))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (or (forall ((v_prenex_352 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_352) (<= (* 2 (select |#memory_int| v_prenex_352)) 0) (< v_prenex_352 ULTIMATE.start_main_p4))) (forall ((v_prenex_356 Int)) (or (< v_prenex_356 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_356)))))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_9308 Int)) (or (= (select |#valid| v_idx_9308) 1) (< v_idx_9308 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9308))) (forall ((v_prenex_365 Int)) (or (< v_prenex_365 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_365) (<= 0 (select |#memory_int| v_prenex_365)))) (or (forall ((v_prenex_361 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_361) (<= (select |#memory_int| v_prenex_361) 0) (<= (* 2 (select |#memory_int| v_prenex_361)) 0) (< v_prenex_361 ULTIMATE.start_main_p4))) (forall ((v_prenex_362 Int)) (<= 0 (select |#memory_int| v_prenex_362)))) (or (forall ((v_prenex_363 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_363) (<= (select |#memory_int| v_prenex_363) 0) (< v_prenex_363 ULTIMATE.start_main_p4))) (forall ((v_prenex_364 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_364) (<= 0 (select |#memory_int| v_prenex_364))))) (forall ((v_prenex_376 Int) (v_prenex_377 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_376) (<= (* 2 (select |#memory_int| v_prenex_376)) 0) (< v_prenex_376 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_376) 0) (<= (select |#memory_int| v_prenex_376) (select |#memory_int| v_prenex_377)))) (or (forall ((v_prenex_367 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_367) (<= (select |#memory_int| v_prenex_367) 0) (< v_prenex_367 ULTIMATE.start_main_p4))) (forall ((v_prenex_368 Int)) (or (< v_prenex_368 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_368))))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_prenex_359 Int) (v_prenex_360 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_359)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_359) (< v_prenex_359 ULTIMATE.start_main_p4) (< v_prenex_360 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_359) (select |#memory_int| v_prenex_360)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_prenex_366 Int)) (or (<= (select |#memory_int| v_prenex_366) 0) (< v_prenex_366 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_366)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_366))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_9305 Int)) (or (< v_idx_9305 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_9305) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9305))) (or (forall ((v_prenex_362 Int)) (<= 0 (select |#memory_int| v_prenex_362))) (forall ((v_prenex_353 Int)) (or (< v_prenex_353 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_353)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_353)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_370 Int) (v_prenex_371 Int)) (or (<= (select |#memory_int| v_prenex_370) 0) (<= (select |#memory_int| v_prenex_370) (select |#memory_int| v_prenex_371)) (< v_prenex_370 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_370) (< v_prenex_371 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_prenex_382 Int)) (or (< v_prenex_382 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_382) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_382))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_372 Int) (v_prenex_373 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_372) (< v_prenex_373 ULTIMATE.start_main_p1) (< v_prenex_372 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_372) (select |#memory_int| v_prenex_373)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_373))) (forall ((v_prenex_385 Int) (v_prenex_386 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_386) (<= (* 2 (select |#memory_int| v_prenex_385)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_385) (< v_prenex_385 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_385) (select |#memory_int| v_prenex_386)))) (or (forall ((v_prenex_375 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_375) (<= 0 (* 2 (select |#memory_int| v_prenex_375))))) (forall ((v_prenex_374 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_374)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_374) (< v_prenex_374 ULTIMATE.start_main_p4)))) (forall ((v_prenex_390 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_390) (<= (* 2 (select |#memory_int| v_prenex_390)) 0) (< v_prenex_390 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_368 Int)) (or (< v_prenex_368 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_368)))) (forall ((v_prenex_369 Int)) (or (< v_prenex_369 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_369)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_369)))) (or (forall ((v_prenex_388 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_388)))) (forall ((v_prenex_387 Int)) (or (<= (select |#memory_int| v_prenex_387) 0) (< v_prenex_387 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_387)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_387)))) (forall ((v_idx_9314 Int)) (or (= 0 (select |#memory_int| v_idx_9314)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_9314) (< v_idx_9314 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (or (forall ((v_prenex_358 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_358) (<= 0 (* 2 (select |#memory_int| v_prenex_358))))) (forall ((v_prenex_357 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_357) (< v_prenex_357 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_357) 0)))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:24,875 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 17:01:24,875 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 17:01:24,876 WARN L276 ngHoareTripleChecker]: Post: {669#false} [2019-02-14 17:01:24,876 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:24,876 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:24,876 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], [old(#memory_int)] -> [-inf_0] v_4992 [inf_0], [old(#valid)] -> [-inf_0] v_4991 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 28 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:24,876 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-14 17:01:24,877 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 17:01:24,877 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:27,007 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:27,007 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:27,008 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:27,008 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:27,008 WARN L224 ngHoareTripleChecker]: Pre: {674#true} [2019-02-14 17:01:27,008 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 17:01:27,009 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 17:01:27,009 WARN L230 ngHoareTripleChecker]: Post: {675#(forall ((v_idx_9437 Int) (v_idx_9427 Int) (v_idx_9435 Int) (v_idx_9439 Int) (v_idx_9430 Int) (v_idx_9433 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_9435)) (< v_idx_9435 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9435)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (and (<= 0 (select |c_#memory_int| v_idx_9433)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9439) (and (<= (select |c_#memory_int| v_idx_9439) 0) (<= (* 2 (select |c_#memory_int| v_idx_9439)) 0) (<= (select |c_#memory_int| v_idx_9439) (select |c_#memory_int| v_idx_9433))) (< v_idx_9439 c_ULTIMATE.start_main_p4)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9433)))) (and (< v_idx_9433 c_ULTIMATE.start_main_p1) (or (and (<= (select |c_#memory_int| v_idx_9439) 0) (<= (* 2 (select |c_#memory_int| v_idx_9439)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9439) (< v_idx_9439 c_ULTIMATE.start_main_p4))) (and (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9433) (or (and (<= (select |c_#memory_int| v_idx_9439) 0) (<= (* 2 (select |c_#memory_int| v_idx_9439)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9439) (< v_idx_9439 c_ULTIMATE.start_main_p4)))) (or (< v_idx_9437 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_9437)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9437)) (or (< v_idx_9430 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_9430)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9430)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9427) (< v_idx_9427 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9427) 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:27,009 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:27,010 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:27,010 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:27,010 WARN L270 ngHoareTripleChecker]: Pre: {674#true} [2019-02-14 17:01:27,011 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-14 17:01:27,011 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-14 17:01:27,271 WARN L276 ngHoareTripleChecker]: Post: {675#(and (forall ((v_prenex_426 Int)) (or (< v_prenex_426 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_426) (<= (select |#memory_int| v_prenex_426) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_414 Int) (v_prenex_415 Int)) (or (<= (select |#memory_int| v_prenex_414) (select |#memory_int| v_prenex_415)) (< v_prenex_414 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_414) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_414))) (or (forall ((v_prenex_434 Int)) (or (< v_prenex_434 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_434)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_434))) (forall ((v_prenex_433 Int)) (<= 0 (select |#memory_int| v_prenex_433)))) (or (forall ((v_idx_9439 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9439) (<= (* 2 (select |#memory_int| v_idx_9439)) 0) (< v_idx_9439 ULTIMATE.start_main_p4))) (forall ((v_idx_9433 Int)) (or (<= 0 (select |#memory_int| v_idx_9433)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_9433)))) (forall ((v_prenex_431 Int)) (or (< v_prenex_431 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_431)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_431) (<= (select |#memory_int| v_prenex_431) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (or (forall ((v_prenex_406 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_406) (<= (select |#memory_int| v_prenex_406) 0) (< v_prenex_406 ULTIMATE.start_main_p4))) (forall ((v_prenex_407 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_407) (<= 0 (select |#memory_int| v_prenex_407))))) (forall ((v_prenex_403 Int) (v_prenex_404 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_403) (<= (select |#memory_int| v_prenex_403) (select |#memory_int| v_prenex_404)) (< v_prenex_403 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_404) (<= (select |#memory_int| v_prenex_403) 0))) (forall ((v_idx_9430 Int)) (or (< v_idx_9430 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_9430)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9430))) (forall ((v_prenex_444 Int) (v_prenex_443 Int)) (or (<= (select |#memory_int| v_prenex_443) (select |#memory_int| v_prenex_444)) (< v_prenex_443 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_443) 0) (< v_prenex_444 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_443))) (or (forall ((v_prenex_432 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_432)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_432) (< v_prenex_432 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_432) 0))) (forall ((v_prenex_433 Int)) (<= 0 (select |#memory_int| v_prenex_433)))) (or (forall ((v_prenex_425 Int)) (<= 0 (select |#memory_int| v_prenex_425))) (forall ((v_prenex_424 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_424)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_424) (<= (select |#memory_int| v_prenex_424) 0) (< v_prenex_424 ULTIMATE.start_main_p4)))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (or (forall ((v_prenex_442 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_442) (< v_prenex_442 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_442)) 0))) (forall ((v_prenex_441 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_441))) (< v_prenex_441 ULTIMATE.start_main_p1)))) (or (forall ((v_prenex_430 Int)) (or (< v_prenex_430 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_430)))) (forall ((v_prenex_429 Int)) (or (< v_prenex_429 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_429) (<= (select |#memory_int| v_prenex_429) 0)))) (or (forall ((v_prenex_438 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_438) (< v_prenex_438 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_438) 0))) (forall ((v_prenex_439 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_439))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_439)))) (or (forall ((v_prenex_436 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_436)))) (forall ((v_prenex_437 Int)) (or (<= (select |#memory_int| v_prenex_437) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_437) (< v_prenex_437 ULTIMATE.start_main_p4)))) (or (forall ((v_prenex_398 Int)) (or (<= (select |#memory_int| v_prenex_398) 0) (< v_prenex_398 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_398))) (forall ((v_prenex_425 Int)) (<= 0 (select |#memory_int| v_prenex_425)))) (forall ((v_prenex_421 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_421) (< v_prenex_421 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_421)))) (or (forall ((v_prenex_436 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_436)))) (forall ((v_prenex_435 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_435) (< v_prenex_435 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_435)) 0) (<= (select |#memory_int| v_prenex_435) 0)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (or (forall ((v_prenex_440 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_440) (<= (select |#memory_int| v_prenex_440) 0) (< v_prenex_440 ULTIMATE.start_main_p4))) (forall ((v_prenex_441 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_441))) (< v_prenex_441 ULTIMATE.start_main_p1)))) (forall ((v_prenex_411 Int) (v_prenex_410 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_410) (<= (select |#memory_int| v_prenex_410) 0) (< v_prenex_410 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_410)) 0) (<= (select |#memory_int| v_prenex_410) (select |#memory_int| v_prenex_411)))) (forall ((v_prenex_413 Int) (v_prenex_412 Int)) (or (<= (select |#memory_int| v_prenex_412) (select |#memory_int| v_prenex_413)) (< v_prenex_412 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_412) (< v_prenex_413 ULTIMATE.start_main_p1) (<= (* 2 (select |#memory_int| v_prenex_412)) 0))) (forall ((v_idx_9435 Int)) (or (= 0 (select |#memory_int| v_idx_9435)) (< v_idx_9435 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_9435))) (forall ((v_prenex_408 Int) (v_prenex_409 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_409) (< v_prenex_408 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_408)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_408) (<= (select |#memory_int| v_prenex_408) (select |#memory_int| v_prenex_409)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_prenex_418 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_418) (<= 0 (* 2 (select |#memory_int| v_prenex_418))) (< v_prenex_418 ULTIMATE.start_main_p1))) (forall ((v_idx_9427 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9427) (< v_idx_9427 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_9427) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_417 Int) (v_prenex_416 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_416) (<= (select |#memory_int| v_prenex_416) 0) (<= (select |#memory_int| v_prenex_416) (select |#memory_int| v_prenex_417)) (< v_prenex_416 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_416)) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_prenex_420 Int) (v_prenex_419 Int)) (or (< v_prenex_420 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_419) (select |#memory_int| v_prenex_420)) (< v_prenex_419 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_419) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_420))) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (forall ((v_prenex_400 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_400)) 0) (<= (select |#memory_int| v_prenex_400) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_400) (< v_prenex_400 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_397 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_397) (< v_prenex_397 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_397)) 0))) (forall ((v_prenex_423 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_423))))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_9437 Int)) (or (< v_idx_9437 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_9437)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9437))) (or (forall ((v_prenex_430 Int)) (or (< v_prenex_430 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_430)))) (forall ((v_prenex_399 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_399)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_399) (< v_prenex_399 ULTIMATE.start_main_p4)))) (forall ((v_prenex_405 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_405)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_405) (< v_prenex_405 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (or (forall ((v_prenex_402 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_402) (<= 0 (* 2 (select |#memory_int| v_prenex_402))))) (forall ((v_prenex_401 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_401)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_401) (< v_prenex_401 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_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_428 Int) (v_prenex_427 Int)) (or (<= (select |#memory_int| v_prenex_427) (select |#memory_int| v_prenex_428)) (< v_prenex_427 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_427) (<= (* 2 (select |#memory_int| v_prenex_427)) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (or (forall ((v_prenex_423 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_423)))) (forall ((v_prenex_422 Int)) (or (< v_prenex_422 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_422) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_422) (<= (* 2 (select |#memory_int| v_prenex_422)) 0)))))} [2019-02-14 17:01:27,272 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:27,272 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:27,272 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_5037 [inf_0], [#valid] -> [-inf_0] v_5035 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_5034 [inf_0], [old(#memory_int)] -> [-inf_0] v_5038 [inf_0], [old(#valid)] -> [-inf_0] v_5036 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 17:01:27,272 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-14 17:01:27,273 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 26 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:27,273 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:27,946 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:27,946 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:27,946 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:27,946 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:27,947 WARN L224 ngHoareTripleChecker]: Pre: {680#(forall ((v_idx_9459 Int) (v_idx_9468 Int) (v_idx_9470 Int) (v_idx_9462 Int) (v_idx_9472 Int) (v_idx_9466 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9462) (< v_idx_9462 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_9462))) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (and (<= (select |c_#memory_int| v_idx_9472) 0) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9466) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9466))) (<= (select |c_#memory_int| v_idx_9472) (select |c_#memory_int| v_idx_9466)) (<= 0 (select |c_#memory_int| v_idx_9466))) (< v_idx_9466 c_ULTIMATE.start_main_p1)) (<= (* 2 (select |c_#memory_int| v_idx_9472)) 0)) (and (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9466) (< v_idx_9466 c_ULTIMATE.start_main_p1) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9466))) (<= 0 (select |c_#memory_int| v_idx_9466)))) (< v_idx_9472 c_ULTIMATE.start_main_p4)) (and (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9466) (< v_idx_9466 c_ULTIMATE.start_main_p1) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9466))) (<= 0 (select |c_#memory_int| v_idx_9466)))) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9472))) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9459) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9459) 0) (< v_idx_9459 c_ULTIMATE.start_main_p4)) (<= (+ 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_9468 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9468) (= 0 (select |c_#memory_int| v_idx_9468))) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9470) (= (select |c_#memory_int| v_idx_9470) 0) (< v_idx_9470 c_ULTIMATE.start_main_p3)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:27,947 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 17:01:27,947 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 17:01:27,947 WARN L230 ngHoareTripleChecker]: Post: {681#false} [2019-02-14 17:01:27,947 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:27,954 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:27,954 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:28,567 WARN L270 ngHoareTripleChecker]: Pre: {680#(and (forall ((v_idx_9472 Int) (v_idx_9466 Int)) (or (<= 0 (* 2 (select |#memory_int| v_idx_9466))) (<= (+ ULTIMATE.start_main_p1 1) v_idx_9466) (<= (select |#memory_int| v_idx_9472) (select |#memory_int| v_idx_9466)) (< v_idx_9466 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_472 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_472) (<= 0 (select |#memory_int| v_prenex_472)) (< v_prenex_472 ULTIMATE.start_main_p1))) (forall ((v_prenex_471 Int)) (<= (* 2 (select |#memory_int| v_prenex_471)) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_479 Int) (v_prenex_478 Int)) (or (< v_prenex_478 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_478) (select |#memory_int| v_prenex_479)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_479) (< v_prenex_479 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_479)))) (forall ((v_prenex_462 Int) (v_prenex_463 Int)) (or (<= (select |#memory_int| v_prenex_462) (select |#memory_int| v_prenex_463)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_462) (< v_prenex_463 ULTIMATE.start_main_p1) (< v_prenex_462 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_463))) (forall ((v_prenex_467 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_467) (<= 0 (* 2 (select |#memory_int| v_prenex_467))) (< v_prenex_467 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (or (forall ((v_prenex_449 Int)) (or (<= (select |#memory_int| v_prenex_449) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_449))) (forall ((v_prenex_450 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_450) (< v_prenex_450 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_450))))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (or (forall ((v_prenex_460 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_460) (< v_prenex_460 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_460)))) (forall ((v_prenex_459 Int)) (<= (select |#memory_int| v_prenex_459) 0))) (forall ((v_idx_9462 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9462) (< v_idx_9462 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_9462)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (or (forall ((v_prenex_461 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_461) (<= 0 (* 2 (select |#memory_int| v_prenex_461))) (< v_prenex_461 ULTIMATE.start_main_p1))) (forall ((v_prenex_459 Int)) (<= (select |#memory_int| v_prenex_459) 0))) (forall ((v_prenex_448 Int)) (or (< v_prenex_448 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_448) (<= (* 2 (select |#memory_int| v_prenex_448)) 0))) (or (forall ((v_prenex_473 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_473) (<= 0 (* 2 (select |#memory_int| v_prenex_473))) (< v_prenex_473 ULTIMATE.start_main_p1))) (forall ((v_prenex_471 Int)) (<= (* 2 (select |#memory_int| v_prenex_471)) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_9468 Int)) (or (< v_idx_9468 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_9468) (= 0 (select |#memory_int| v_idx_9468)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_9459 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9459) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_9459) 0) (< v_idx_9459 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_446 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_446) (<= (* 2 (select |#memory_int| v_prenex_446)) 0))) (forall ((v_prenex_445 Int)) (or (< v_prenex_445 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_445))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_445)))) (forall ((v_prenex_466 Int) (v_prenex_465 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_466))) (< v_prenex_466 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_466) (<= (select |#memory_int| v_prenex_465) (select |#memory_int| v_prenex_466)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_465))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (or (forall ((v_prenex_470 Int)) (or (< v_prenex_470 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_470) (<= 0 (* 2 (select |#memory_int| v_prenex_470))))) (forall ((v_prenex_468 Int)) (or (<= (select |#memory_int| v_prenex_468) 0) (< v_prenex_468 ULTIMATE.start_main_p4)))) (forall ((v_prenex_475 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_475) (<= (select |#memory_int| v_prenex_475) 0) (< v_prenex_475 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_449 Int)) (or (<= (select |#memory_int| v_prenex_449) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_449))) (forall ((v_prenex_451 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_451))) (< v_prenex_451 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_451)))) (forall ((v_prenex_464 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_464))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_464) (<= 0 (select |#memory_int| v_prenex_464)) (< v_prenex_464 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (or (forall ((v_prenex_468 Int)) (or (<= (select |#memory_int| v_prenex_468) 0) (< v_prenex_468 ULTIMATE.start_main_p4))) (forall ((v_prenex_469 Int)) (or (< v_prenex_469 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_469) (<= 0 (select |#memory_int| v_prenex_469))))) (forall ((v_prenex_477 Int) (v_prenex_476 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_477) (<= (select |#memory_int| v_prenex_476) (select |#memory_int| v_prenex_477)) (< v_prenex_477 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_477)))) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_457 Int) (v_prenex_458 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_458) (<= (select |#memory_int| v_prenex_457) (select |#memory_int| v_prenex_458)) (<= 0 (* 2 (select |#memory_int| v_prenex_458))) (< v_prenex_457 ULTIMATE.start_main_p4) (< v_prenex_458 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_447 Int)) (or (<= 0 (select |#memory_int| v_prenex_447)) (< v_prenex_447 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_447))) (forall ((v_prenex_446 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_446) (<= (* 2 (select |#memory_int| v_prenex_446)) 0)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (or (forall ((v_prenex_453 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_453) (< v_prenex_453 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_453)))) (forall ((v_prenex_452 Int)) (or (< v_prenex_452 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_452)) 0)))) (forall ((v_prenex_474 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_474) (<= 0 (select |#memory_int| v_prenex_474)) (< v_prenex_474 ULTIMATE.start_main_p1))) (forall ((v_prenex_455 Int) (v_prenex_456 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_455) (<= 0 (select |#memory_int| v_prenex_456)) (< v_prenex_456 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_455) (select |#memory_int| v_prenex_456)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_456))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (or (forall ((v_prenex_454 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_454) (<= 0 (* 2 (select |#memory_int| v_prenex_454))) (< v_prenex_454 ULTIMATE.start_main_p1))) (forall ((v_prenex_452 Int)) (or (< v_prenex_452 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_452)) 0)))) (forall ((v_idx_9470 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_9470) (= (select |#memory_int| v_idx_9470) 0) (< v_idx_9470 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:28,567 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 17:01:28,567 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 17:01:28,569 WARN L276 ngHoareTripleChecker]: Post: {681#false} [2019-02-14 17:01:28,569 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:28,569 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:28,570 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], [old(#memory_int)] -> [-inf_0] v_5078 [inf_0], [old(#valid)] -> [-inf_0] v_5077 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 28 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:28,570 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-14 17:01:28,570 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 17:01:28,570 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:29,919 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:29,919 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:29,919 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:29,920 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:29,920 WARN L224 ngHoareTripleChecker]: Pre: {683#true} [2019-02-14 17:01:29,920 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-14 17:01:29,920 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-14 17:01:29,921 WARN L230 ngHoareTripleChecker]: Post: {684#(forall ((v_idx_9524 Int) (v_idx_9529 Int) (v_idx_9527 Int) (v_idx_9521 Int) (v_idx_9533 Int) (v_idx_9531 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9521) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9521)) (< v_idx_9521 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9529) (= 0 (select |c_#memory_int| v_idx_9529)) (< v_idx_9529 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (or (and (<= (* 2 (select |c_#memory_int| v_idx_9533)) 0) (or (< v_idx_9527 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9527) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9527))) (<= (select |c_#memory_int| v_idx_9533) (select |c_#memory_int| v_idx_9527)) (<= 0 (select |c_#memory_int| v_idx_9527)))) (<= (select |c_#memory_int| v_idx_9533) 0)) (and (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9533) (or (< v_idx_9527 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9527) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9527))) (<= 0 (select |c_#memory_int| v_idx_9527))))) (and (< v_idx_9533 c_ULTIMATE.start_main_p4) (or (< v_idx_9527 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9527) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9527))) (<= 0 (select |c_#memory_int| v_idx_9527)))))) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_9531 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9531) (= (select |c_#memory_int| v_idx_9531) 0)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9524) (= (select |c_#valid| v_idx_9524) 1) (< v_idx_9524 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:29,921 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:29,921 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:29,922 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:29,922 WARN L270 ngHoareTripleChecker]: Pre: {683#true} [2019-02-14 17:01:29,923 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-14 17:01:29,923 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-14 17:01:30,197 WARN L276 ngHoareTripleChecker]: Post: {684#(and (or (forall ((v_prenex_504 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_504))) (< v_prenex_504 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_504))) (forall ((v_prenex_503 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_503) (<= (* 2 (select |#memory_int| v_prenex_503)) 0)))) (forall ((v_prenex_497 Int) (v_prenex_498 Int)) (or (< v_prenex_498 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_497) (select |#memory_int| v_prenex_498)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_498) (< v_prenex_497 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_497))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_9524 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9524) (= (select |#valid| v_idx_9524) 1) (< v_idx_9524 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (or (forall ((v_prenex_520 Int)) (<= (select |#memory_int| v_prenex_520) 0)) (forall ((v_prenex_522 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_522))) (<= 0 (select |#memory_int| v_prenex_522)) (< v_prenex_522 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_522)))) (forall ((v_prenex_512 Int) (v_prenex_511 Int)) (or (<= 0 (select |#memory_int| v_prenex_512)) (< v_prenex_512 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_512) (<= (select |#memory_int| v_prenex_511) (select |#memory_int| v_prenex_512)))) (or (forall ((v_prenex_482 Int)) (or (< v_prenex_482 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_482) (<= 0 (select |#memory_int| v_prenex_482)))) (forall ((v_prenex_503 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_503) (<= (* 2 (select |#memory_int| v_prenex_503)) 0)))) (or (forall ((v_idx_9533 Int)) (<= (* 2 (select |#memory_int| v_idx_9533)) 0)) (forall ((v_prenex_480 Int)) (or (< v_prenex_480 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_480) (<= 0 (select |#memory_int| v_prenex_480))))) (or (forall ((v_prenex_485 Int)) (<= (select |#memory_int| v_prenex_485) 0)) (forall ((v_prenex_484 Int)) (or (<= 0 (select |#memory_int| v_prenex_484)) (< v_prenex_484 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_484)))) (forall ((v_prenex_493 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_493) (<= (select |#memory_int| v_prenex_493) 0) (< v_prenex_493 ULTIMATE.start_main_p4))) (forall ((v_idx_9529 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_9529) (= 0 (select |#memory_int| v_idx_9529)) (< v_idx_9529 ULTIMATE.start_main_p2))) (or (forall ((v_prenex_502 Int)) (or (< v_prenex_502 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_502))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_502))) (forall ((v_prenex_501 Int)) (<= (* 2 (select |#memory_int| v_prenex_501)) 0))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (or (forall ((v_prenex_489 Int)) (or (< v_prenex_489 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_489) (<= 0 (select |#memory_int| v_prenex_489)))) (forall ((v_prenex_490 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_490)) 0) (< v_prenex_490 ULTIMATE.start_main_p4)))) (forall ((v_prenex_510 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_510) (< v_prenex_510 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_510))))) (or (forall ((v_prenex_514 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_514))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_514) (< v_prenex_514 ULTIMATE.start_main_p1))) (forall ((v_prenex_513 Int)) (or (< v_prenex_513 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_513)) 0)))) (or (forall ((v_prenex_524 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_524) (< v_prenex_524 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_524)))) (forall ((v_prenex_523 Int)) (or (< v_prenex_523 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_523) 0)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_515 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_515) (< v_prenex_515 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_515)))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (or (forall ((v_prenex_520 Int)) (<= (select |#memory_int| v_prenex_520) 0)) (forall ((v_prenex_521 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_521) (<= 0 (* 2 (select |#memory_int| v_prenex_521))) (< v_prenex_521 ULTIMATE.start_main_p1)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_9531 Int)) (or (< v_idx_9531 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9531) (= (select |#memory_int| v_idx_9531) 0))) (or (forall ((v_prenex_491 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_491))) (< v_prenex_491 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_491))) (forall ((v_prenex_492 Int)) (or (<= (select |#memory_int| v_prenex_492) 0) (< v_prenex_492 ULTIMATE.start_main_p4)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_prenex_496 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_496)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_496) (< v_prenex_496 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_prenex_499 Int) (v_prenex_500 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_500) (<= (select |#memory_int| v_prenex_499) (select |#memory_int| v_prenex_500)) (< v_prenex_500 ULTIMATE.start_main_p1) (< v_prenex_499 ULTIMATE.start_main_p4) (<= 0 (select |#memory_int| v_prenex_500)))) (or (forall ((v_prenex_481 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_481) (< v_prenex_481 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_481))) (<= 0 (select |#memory_int| v_prenex_481)))) (forall ((v_prenex_501 Int)) (<= (* 2 (select |#memory_int| v_prenex_501)) 0))) (forall ((v_prenex_495 Int) (v_prenex_494 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_495) (<= (select |#memory_int| v_prenex_495) (select |#memory_int| v_prenex_494)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_494) (<= 0 (* 2 (select |#memory_int| v_prenex_494))) (< v_prenex_494 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_485 Int)) (<= (select |#memory_int| v_prenex_485) 0)) (forall ((v_prenex_483 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_483) (<= 0 (* 2 (select |#memory_int| v_prenex_483))) (< v_prenex_483 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_483))))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_505 Int) (v_prenex_506 Int)) (or (< v_prenex_506 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_506) (<= 0 (* 2 (select |#memory_int| v_prenex_506))) (< v_prenex_505 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_505) (select |#memory_int| v_prenex_506)))) (or (forall ((v_prenex_507 Int)) (or (<= (select |#memory_int| v_prenex_507) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_507))) (forall ((v_prenex_508 Int)) (or (< v_prenex_508 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_508))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_508)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (forall ((v_prenex_518 Int) (v_prenex_519 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_519) (<= (select |#memory_int| v_prenex_518) (select |#memory_int| v_prenex_519)) (< v_prenex_519 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_519)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_518))) (or (forall ((v_prenex_507 Int)) (or (<= (select |#memory_int| v_prenex_507) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_507))) (forall ((v_prenex_509 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_509) (< v_prenex_509 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_509))))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_488 Int) (v_prenex_487 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_487))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_487) (<= (select |#memory_int| v_prenex_488) (select |#memory_int| v_prenex_487)) (< v_prenex_487 ULTIMATE.start_main_p1))) (forall ((v_idx_9521 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9521) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_9521)) (< v_idx_9521 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_prenex_486 Int)) (or (<= 0 (select |#memory_int| v_prenex_486)) (<= 0 (* 2 (select |#memory_int| v_prenex_486))) (< v_prenex_486 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_486))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_516 Int) (v_prenex_517 Int)) (or (<= (select |#memory_int| v_prenex_516) (select |#memory_int| v_prenex_517)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_517) (<= 0 (* 2 (select |#memory_int| v_prenex_517))) (<= 0 (select |#memory_int| v_prenex_517)) (< v_prenex_517 ULTIMATE.start_main_p1))) (or (forall ((v_idx_9527 Int)) (or (<= 0 (* 2 (select |#memory_int| v_idx_9527))) (< v_idx_9527 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_9527) (<= 0 (select |#memory_int| v_idx_9527)))) (forall ((v_idx_9533 Int)) (<= (* 2 (select |#memory_int| v_idx_9533)) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:30,197 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:30,197 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:30,197 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_5085 [inf_0], [#valid] -> [-inf_0] v_5083 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_5082 [inf_0], [old(#memory_int)] -> [-inf_0] v_5086 [inf_0], [old(#valid)] -> [-inf_0] v_5084 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 17:01:30,197 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) (assume !(#memory_int[main_p2] <= 0);) [2019-02-14 17:01:30,198 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 26 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:30,198 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:31,512 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:31,512 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:31,512 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:31,513 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:31,513 WARN L224 ngHoareTripleChecker]: Pre: {686#true} [2019-02-14 17:01:31,513 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 17:01:31,513 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 17:01:31,514 WARN L230 ngHoareTripleChecker]: Post: {687#(forall ((v_idx_9589 Int) (v_idx_9591 Int) (v_idx_9584 Int) (v_idx_9581 Int) (v_idx_9593 Int) (v_idx_9587 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (= (select |c_#memory_int| v_idx_9591) 0) (< v_idx_9591 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9591)) (or (and (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9593) (or (< v_idx_9587 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9587) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9587))) (<= 0 (select |c_#memory_int| v_idx_9587))))) (and (or (< v_idx_9587 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9587) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9587))) (<= 0 (select |c_#memory_int| v_idx_9587)))) (< v_idx_9593 c_ULTIMATE.start_main_p4)) (and (<= (* 2 (select |c_#memory_int| v_idx_9593)) 0) (<= (select |c_#memory_int| v_idx_9593) 0) (or (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9587))) (<= 0 (select |c_#memory_int| v_idx_9587)) (<= (select |c_#memory_int| v_idx_9593) (select |c_#memory_int| v_idx_9587))) (< v_idx_9587 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9587)))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_9589 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_9589)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9589)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9584) (= (select |c_#valid| v_idx_9584) 1) (< v_idx_9584 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9581) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9581) (< v_idx_9581 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:31,514 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:31,514 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:31,515 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:31,515 WARN L270 ngHoareTripleChecker]: Pre: {686#true} [2019-02-14 17:01:31,516 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-14 17:01:31,516 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-14 17:01:31,749 WARN L276 ngHoareTripleChecker]: Post: {687#(and (or (forall ((v_prenex_565 Int)) (or (< v_prenex_565 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_565)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_565))) (forall ((v_prenex_564 Int)) (or (< v_prenex_564 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_564)) 0)))) (forall ((v_idx_9593 Int) (v_idx_9587 Int)) (or (< v_idx_9587 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_9587)) (<= (select |#memory_int| v_idx_9593) (select |#memory_int| v_idx_9587)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_9587))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (forall ((v_prenex_535 Int) (v_prenex_536 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_536) (<= (select |#memory_int| v_prenex_535) (select |#memory_int| v_prenex_536)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_535) (< v_prenex_536 ULTIMATE.start_main_p1) (< v_prenex_535 ULTIMATE.start_main_p4))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_9591 Int)) (or (= (select |#memory_int| v_idx_9591) 0) (< v_idx_9591 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9591))) (forall ((v_prenex_527 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_527) (< v_prenex_527 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_527))))) (forall ((v_prenex_544 Int)) (or (<= (select |#memory_int| v_prenex_544) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_544) (< v_prenex_544 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_533 Int)) (<= (select |#memory_int| v_prenex_533) 0)) (forall ((v_prenex_534 Int)) (or (< v_prenex_534 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_534))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_534)))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (or (forall ((v_prenex_550 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_550))) (< v_prenex_550 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_550))) (forall ((v_prenex_549 Int)) (<= (* 2 (select |#memory_int| v_prenex_549)) 0))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_9581 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_9581) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9581) (< v_idx_9581 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_9584 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9584) (= (select |#valid| v_idx_9584) 1) (< v_idx_9584 ULTIMATE.start_main_p4))) (forall ((v_prenex_547 Int) (v_prenex_548 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_548) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_547) (< v_prenex_548 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_547) (select |#memory_int| v_prenex_548)) (<= 0 (select |#memory_int| v_prenex_548)))) (or (forall ((v_prenex_530 Int)) (or (<= 0 (select |#memory_int| v_prenex_530)) (< v_prenex_530 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_530))) (forall ((v_prenex_529 Int)) (or (<= (select |#memory_int| v_prenex_529) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_529)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_prenex_561 Int) (v_prenex_560 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_561) (<= 0 (* 2 (select |#memory_int| v_prenex_561))) (< v_prenex_561 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_560) (select |#memory_int| v_prenex_561)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_560))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_prenex_557 Int)) (or (<= 0 (select |#memory_int| v_prenex_557)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_557) (< v_prenex_557 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_546 Int)) (or (<= 0 (select |#memory_int| v_prenex_546)) (< v_prenex_546 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_546))) (forall ((v_prenex_545 Int)) (or (< v_prenex_545 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_545) 0)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (or (forall ((v_prenex_525 Int)) (<= (select |#memory_int| v_prenex_525) 0)) (forall ((v_prenex_526 Int)) (or (<= 0 (select |#memory_int| v_prenex_526)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_526) (< v_prenex_526 ULTIMATE.start_main_p1)))) (or (forall ((v_prenex_563 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_563) (<= 0 (* 2 (select |#memory_int| v_prenex_563))) (< v_prenex_563 ULTIMATE.start_main_p1))) (forall ((v_prenex_562 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_562) (<= (* 2 (select |#memory_int| v_prenex_562)) 0)))) (or (forall ((v_prenex_553 Int)) (or (<= (select |#memory_int| v_prenex_553) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_553))) (forall ((v_prenex_554 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_554))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_554) (< v_prenex_554 ULTIMATE.start_main_p1)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (forall ((v_prenex_558 Int) (v_prenex_559 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_559) (<= 0 (* 2 (select |#memory_int| v_prenex_559))) (<= (select |#memory_int| v_prenex_558) (select |#memory_int| v_prenex_559)) (< v_prenex_559 ULTIMATE.start_main_p1))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_556 Int) (v_prenex_555 Int)) (or (<= 0 (select |#memory_int| v_prenex_556)) (< v_prenex_555 ULTIMATE.start_main_p4) (< v_prenex_556 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_555) (select |#memory_int| v_prenex_556)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_556))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_idx_9589 Int)) (or (< v_idx_9589 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_9589)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_9589))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (or (forall ((v_prenex_538 Int)) (or (<= (select |#memory_int| v_prenex_538) 0) (< v_prenex_538 ULTIMATE.start_main_p4))) (forall ((v_prenex_539 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_539) (<= 0 (* 2 (select |#memory_int| v_prenex_539))) (< v_prenex_539 ULTIMATE.start_main_p1)))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_528 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_528)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_528) (< v_prenex_528 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_552 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_552))) (< v_prenex_552 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_552))) (forall ((v_prenex_551 Int)) (or (< v_prenex_551 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_551)) 0)))) (forall ((v_prenex_537 Int)) (or (<= 0 (select |#memory_int| v_prenex_537)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_537) (< v_prenex_537 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_537))))) (or (forall ((v_prenex_543 Int)) (or (< v_prenex_543 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_543)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_543))) (forall ((v_prenex_542 Int)) (<= (* 2 (select |#memory_int| v_prenex_542)) 0))) (or (forall ((v_prenex_532 Int)) (or (<= 0 (select |#memory_int| v_prenex_532)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_532) (< v_prenex_532 ULTIMATE.start_main_p1))) (forall ((v_prenex_531 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_531) (<= (* 2 (select |#memory_int| v_prenex_531)) 0)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_prenex_541 Int) (v_prenex_540 Int)) (or (<= (select |#memory_int| v_prenex_540) (select |#memory_int| v_prenex_541)) (< v_prenex_540 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_541) (< v_prenex_541 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_541))))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:31,749 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:31,749 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:31,750 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_5123 [inf_0], [#valid] -> [-inf_0] v_5121 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_5120 [inf_0], [old(#memory_int)] -> [-inf_0] v_5124 [inf_0], [old(#valid)] -> [-inf_0] v_5122 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 17:01:31,750 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-14 17:01:31,750 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 26 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:31,750 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:32,693 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:32,693 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:32,694 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:32,694 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:32,694 WARN L224 ngHoareTripleChecker]: Pre: {692#(forall ((v_idx_9613 Int) (v_idx_9624 Int) (v_idx_9622 Int) (v_idx_9626 Int) (v_idx_9616 Int) (v_idx_9620 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9622) (= 0 (select |c_#memory_int| v_idx_9622)) (< v_idx_9622 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9616) (= 1 (select |c_#valid| v_idx_9616)) (< v_idx_9616 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (< v_idx_9613 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9613) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9613)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_9624 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_9624)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9624)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (and (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9620) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9626) (< v_idx_9626 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_9626) 0) (<= (* 2 (select |c_#memory_int| v_idx_9626)) 0)))) (and (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9626) (< v_idx_9626 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_9626) 0) (<= (* 2 (select |c_#memory_int| v_idx_9626)) 0))) (< v_idx_9620 c_ULTIMATE.start_main_p1)) (and (<= 0 (select |c_#memory_int| v_idx_9620)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9620))) (or (and (<= (select |c_#memory_int| v_idx_9626) 0) (<= (* 2 (select |c_#memory_int| v_idx_9626)) 0) (<= (select |c_#memory_int| v_idx_9626) (select |c_#memory_int| v_idx_9620))) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9626) (< v_idx_9626 c_ULTIMATE.start_main_p4)))) (<= (+ 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:32,694 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 17:01:32,694 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 17:01:32,694 WARN L230 ngHoareTripleChecker]: Post: {693#false} [2019-02-14 17:01:32,694 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:32,704 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:32,704 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:32,850 WARN L270 ngHoareTripleChecker]: Pre: {692#(and (forall ((v_idx_9620 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_9620) (<= 0 (* 2 (select |#memory_int| v_idx_9620))) (< v_idx_9620 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_600 Int) (v_prenex_601 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_600)) 0) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_601) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_600) (< v_prenex_600 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_600) (select |#memory_int| v_prenex_601)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (or (forall ((v_prenex_572 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_572))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_572))) (forall ((v_prenex_571 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_571) (<= (select |#memory_int| v_prenex_571) 0) (< v_prenex_571 ULTIMATE.start_main_p4)))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (or (forall ((v_prenex_593 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_593)) 0) (< v_prenex_593 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_593))) (forall ((v_prenex_592 Int)) (or (<= 0 (select |#memory_int| v_prenex_592)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_592)))) (or (forall ((v_prenex_566 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_566) (<= (* 2 (select |#memory_int| v_prenex_566)) 0) (< v_prenex_566 ULTIMATE.start_main_p4))) (forall ((v_prenex_567 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_567))))) (forall ((v_idx_9616 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9616) (= 1 (select |#valid| v_idx_9616)) (< v_idx_9616 ULTIMATE.start_main_p4))) (forall ((v_prenex_579 Int) (v_prenex_580 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_579) (< v_prenex_579 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_579) 0) (< v_prenex_580 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_579) (select |#memory_int| v_prenex_580)))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (or (forall ((v_prenex_582 Int)) (or (<= 0 (select |#memory_int| v_prenex_582)) (< v_prenex_582 ULTIMATE.start_main_p1))) (forall ((v_prenex_583 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_583)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_583) (< v_prenex_583 ULTIMATE.start_main_p4)))) (forall ((v_prenex_576 Int) (v_prenex_575 Int)) (or (<= (select |#memory_int| v_prenex_575) 0) (< v_prenex_575 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_575) (<= (select |#memory_int| v_prenex_575) (select |#memory_int| v_prenex_576)))) (forall ((v_prenex_589 Int) (v_prenex_590 Int)) (or (<= (select |#memory_int| v_prenex_589) (select |#memory_int| v_prenex_590)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_590) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_589) (< v_prenex_589 ULTIMATE.start_main_p4) (< v_prenex_590 ULTIMATE.start_main_p1))) (or (forall ((v_prenex_570 Int)) (or (< v_prenex_570 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_570))))) (forall ((v_prenex_569 Int)) (or (< v_prenex_569 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_569) (<= (select |#memory_int| v_prenex_569) 0)))) (or (forall ((v_prenex_570 Int)) (or (< v_prenex_570 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_570))))) (forall ((v_prenex_568 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_568)) 0) (< v_prenex_568 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_568)))) (forall ((v_idx_9624 Int)) (or (< v_idx_9624 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_9624)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9624))) (forall ((v_prenex_598 Int) (v_prenex_597 Int)) (or (<= (select |#memory_int| v_prenex_597) (select |#memory_int| v_prenex_598)) (<= (* 2 (select |#memory_int| v_prenex_597)) 0) (< v_prenex_598 ULTIMATE.start_main_p1) (< v_prenex_597 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_597))) (forall ((v_prenex_577 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_577)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_577) (< v_prenex_577 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_577) 0))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (forall ((v_idx_9622 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_9622) (= 0 (select |#memory_int| v_idx_9622)) (< v_idx_9622 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_prenex_599 Int)) (or (<= (select |#memory_int| v_prenex_599) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_599) (< v_prenex_599 ULTIMATE.start_main_p4))) (forall ((v_prenex_585 Int) (v_prenex_584 Int)) (or (<= (select |#memory_int| v_prenex_584) (select |#memory_int| v_prenex_585)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_584) (<= (select |#memory_int| v_prenex_584) 0) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_585) (< v_prenex_584 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_9613 Int)) (or (< v_idx_9613 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_9613) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9613))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (or (forall ((v_prenex_587 Int)) (<= 0 (select |#memory_int| v_prenex_587))) (forall ((v_prenex_588 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_588) (<= (* 2 (select |#memory_int| v_prenex_588)) 0) (< v_prenex_588 ULTIMATE.start_main_p4)))) (or (forall ((v_prenex_582 Int)) (or (<= 0 (select |#memory_int| v_prenex_582)) (< v_prenex_582 ULTIMATE.start_main_p1))) (forall ((v_prenex_581 Int)) (or (<= (select |#memory_int| v_prenex_581) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_581) (< v_prenex_581 ULTIMATE.start_main_p4)))) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (or (forall ((v_prenex_591 Int)) (or (< v_prenex_591 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_591) (<= (select |#memory_int| v_prenex_591) 0))) (forall ((v_prenex_592 Int)) (or (<= 0 (select |#memory_int| v_prenex_592)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_592)))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_596 Int)) (or (< v_prenex_596 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_596) 0) (<= (* 2 (select |#memory_int| v_prenex_596)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_596))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_prenex_578 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_578) (< v_prenex_578 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_578)))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (or (forall ((v_prenex_573 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_573)) 0) (< v_prenex_573 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_573))) (forall ((v_prenex_572 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_572))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_572)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (or (forall ((v_prenex_587 Int)) (<= 0 (select |#memory_int| v_prenex_587))) (forall ((v_prenex_586 Int)) (or (<= (select |#memory_int| v_prenex_586) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_586) (< v_prenex_586 ULTIMATE.start_main_p4)))) (or (forall ((v_prenex_567 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_567)))) (forall ((v_idx_9626 Int)) (or (<= (select |#memory_int| v_idx_9626) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9626) (< v_idx_9626 ULTIMATE.start_main_p4)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_prenex_594 Int) (v_prenex_595 Int)) (or (< v_prenex_594 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_594)) 0) (<= (select |#memory_int| v_prenex_594) (select |#memory_int| v_prenex_595)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_594))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_574 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_574)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_574) (< v_prenex_574 ULTIMATE.start_main_p4))))} [2019-02-14 17:01:32,851 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 17:01:32,851 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 17:01:32,852 WARN L276 ngHoareTripleChecker]: Post: {693#false} [2019-02-14 17:01:32,852 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:32,852 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:32,853 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], [old(#memory_int)] -> [-inf_0] v_5164 [inf_0], [old(#valid)] -> [-inf_0] v_5163 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 28 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:32,853 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-14 17:01:32,853 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-14 17:01:32,853 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:33,906 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:33,907 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:33,907 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:33,907 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:33,908 WARN L224 ngHoareTripleChecker]: Pre: {695#true} [2019-02-14 17:01:33,908 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-14 17:01:33,908 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-14 17:01:33,908 WARN L230 ngHoareTripleChecker]: Post: {696#(forall ((v_idx_9678 Int) (v_idx_9683 Int) (v_idx_9681 Int) (v_idx_9675 Int) (v_idx_9687 Int) (v_idx_9685 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9683) (< v_idx_9683 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_9683) 0)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9678) (< v_idx_9678 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_9678) 1)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (and (< v_idx_9681 c_ULTIMATE.start_main_p1) (or (and (<= (* 2 (select |c_#memory_int| v_idx_9687)) 0) (<= (select |c_#memory_int| v_idx_9687) 0)) (< v_idx_9687 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9687))) (and (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9681) (or (and (<= (* 2 (select |c_#memory_int| v_idx_9687)) 0) (<= (select |c_#memory_int| v_idx_9687) 0)) (< v_idx_9687 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9687))) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9681))) (or (< v_idx_9687 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_9687)) 0) (<= (select |c_#memory_int| v_idx_9687) 0) (<= (select |c_#memory_int| v_idx_9687) (select |c_#memory_int| v_idx_9681))) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9687)) (<= 0 (select |c_#memory_int| v_idx_9681)))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (or (= 0 (select |c_#memory_int| v_idx_9685)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9685) (< v_idx_9685 c_ULTIMATE.start_main_p3)) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9675)) (< v_idx_9675 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9675)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:33,909 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:33,909 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:33,909 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:33,910 WARN L270 ngHoareTripleChecker]: Pre: {695#true} [2019-02-14 17:01:33,910 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-14 17:01:33,911 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-14 17:01:34,255 WARN L276 ngHoareTripleChecker]: Post: {696#(and (forall ((v_idx_9685 Int)) (or (= 0 (select |#memory_int| v_idx_9685)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9685) (< v_idx_9685 ULTIMATE.start_main_p3))) (forall ((v_prenex_628 Int) (v_prenex_629 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_629) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_628) (<= (select |#memory_int| v_prenex_629) (select |#memory_int| v_prenex_628)) (< v_prenex_629 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_629)) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (or (forall ((v_prenex_638 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_638) (<= (select |#memory_int| v_prenex_638) 0) (< v_prenex_638 ULTIMATE.start_main_p4))) (forall ((v_prenex_637 Int)) (or (< v_prenex_637 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_637)))))) (forall ((v_prenex_640 Int) (v_prenex_639 Int)) (or (< v_prenex_640 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_640) (select |#memory_int| v_prenex_639)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_640) (<= (* 2 (select |#memory_int| v_prenex_640)) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (or (forall ((v_prenex_603 Int)) (or (<= 0 (select |#memory_int| v_prenex_603)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_603))) (forall ((v_prenex_604 Int)) (or (<= (select |#memory_int| v_prenex_604) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_604) (< v_prenex_604 ULTIMATE.start_main_p4)))) (forall ((v_idx_9687 Int)) (or (< v_idx_9687 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9687) (<= (select |#memory_int| v_idx_9687) 0))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (or (forall ((v_prenex_648 Int)) (or (< v_prenex_648 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_648) (<= (* 2 (select |#memory_int| v_prenex_648)) 0))) (forall ((v_prenex_647 Int)) (or (< v_prenex_647 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_647))))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_prenex_616 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_616)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_616) (< v_prenex_616 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_645 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_645))) (< v_prenex_645 ULTIMATE.start_main_p1))) (forall ((v_prenex_646 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_646)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_646) (< v_prenex_646 ULTIMATE.start_main_p4)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (or (forall ((v_prenex_615 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_615)) 0) (< v_prenex_615 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_615) (<= (select |#memory_int| v_prenex_615) 0))) (forall ((v_prenex_614 Int)) (<= 0 (select |#memory_int| v_prenex_614)))) (or (forall ((v_prenex_620 Int)) (<= 0 (select |#memory_int| v_prenex_620))) (forall ((v_prenex_621 Int)) (or (< v_prenex_621 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_621) (<= (* 2 (select |#memory_int| v_prenex_621)) 0)))) (forall ((v_prenex_622 Int) (v_prenex_623 Int)) (or (<= (select |#memory_int| v_prenex_623) 0) (<= (* 2 (select |#memory_int| v_prenex_623)) 0) (<= (select |#memory_int| v_prenex_623) (select |#memory_int| v_prenex_622)) (< v_prenex_623 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_623))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (or (forall ((v_prenex_641 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_641) (<= 0 (select |#memory_int| v_prenex_641)))) (forall ((v_prenex_642 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_642)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_642) (< v_prenex_642 ULTIMATE.start_main_p4)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_prenex_608 Int) (v_prenex_607 Int)) (or (< v_prenex_607 ULTIMATE.start_main_p1) (<= (* 2 (select |#memory_int| v_prenex_608)) 0) (<= (select |#memory_int| v_prenex_608) (select |#memory_int| v_prenex_607)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_608) (< v_prenex_608 ULTIMATE.start_main_p4))) (forall ((v_prenex_609 Int)) (or (< v_prenex_609 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_609) (<= (select |#memory_int| v_prenex_609) 0) (<= (* 2 (select |#memory_int| v_prenex_609)) 0))) (forall ((v_idx_9678 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9678) (< v_idx_9678 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_9678) 1))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_9683 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_9683) (< v_idx_9683 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_9683) 0))) (or (forall ((v_prenex_636 Int)) (or (<= (select |#memory_int| v_prenex_636) 0) (< v_prenex_636 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_636))) (forall ((v_prenex_635 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_635))))) (or (forall ((v_prenex_617 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_617) (<= 0 (* 2 (select |#memory_int| v_prenex_617))))) (forall ((v_prenex_618 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_618)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_618) (< v_prenex_618 ULTIMATE.start_main_p4)))) (forall ((v_idx_9675 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_9675)) (< v_idx_9675 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9675))) (or (forall ((v_prenex_613 Int)) (or (< v_prenex_613 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_613) (<= (select |#memory_int| v_prenex_613) 0))) (forall ((v_prenex_612 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_612))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_612)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_prenex_633 Int) (v_prenex_632 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_633) (< v_prenex_633 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_633) 0) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_632) (<= (select |#memory_int| v_prenex_633) (select |#memory_int| v_prenex_632)))) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (or (forall ((v_prenex_610 Int)) (or (< v_prenex_610 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_610)))) (forall ((v_prenex_611 Int)) (or (<= (select |#memory_int| v_prenex_611) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_611) (< v_prenex_611 ULTIMATE.start_main_p4)))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (or (forall ((v_prenex_631 Int)) (or (< v_prenex_631 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_631) (<= (select |#memory_int| v_prenex_631) 0))) (forall ((v_prenex_630 Int)) (<= 0 (select |#memory_int| v_prenex_630)))) (or (forall ((v_prenex_627 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_627) (<= (* 2 (select |#memory_int| v_prenex_627)) 0) (< v_prenex_627 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_627) 0))) (forall ((v_prenex_626 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_626))))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_prenex_606 Int) (v_prenex_605 Int)) (or (< v_prenex_606 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_606) (select |#memory_int| v_prenex_605)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_606) (<= (select |#memory_int| v_prenex_606) 0))) (forall ((v_idx_9681 Int) (v_prenex_602 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_9681) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_602) (< v_idx_9681 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_602) (select |#memory_int| v_idx_9681)) (< v_prenex_602 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_643 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_643)))) (forall ((v_prenex_644 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_644) (< v_prenex_644 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_644)) 0)))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_prenex_634 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_634))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_634) (< v_prenex_634 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_619 Int)) (or (< v_prenex_619 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_619)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_619))) (forall ((v_prenex_624 Int) (v_prenex_625 Int)) (or (< v_prenex_624 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_625) 0) (< v_prenex_625 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_625) (select |#memory_int| v_prenex_624)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_625))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:34,255 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:34,255 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:34,256 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_5171 [inf_0], [#valid] -> [-inf_0] v_5169 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_5168 [inf_0], [old(#memory_int)] -> [-inf_0] v_5172 [inf_0], [old(#valid)] -> [-inf_0] v_5170 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 17:01:34,256 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) (assume !(#memory_int[main_p3] >= 0);) [2019-02-14 17:01:34,256 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 26 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:34,256 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:35,936 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:35,937 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:35,937 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:35,937 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:35,938 WARN L224 ngHoareTripleChecker]: Pre: {698#true} [2019-02-14 17:01:35,938 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 17:01:35,938 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 17:01:35,938 WARN L230 ngHoareTripleChecker]: Post: {699#(forall ((v_idx_9745 Int) (v_idx_9735 Int) (v_idx_9743 Int) (v_idx_9738 Int) (v_idx_9747 Int) (v_idx_9741 Int)) (and (or (and (< v_idx_9741 c_ULTIMATE.start_main_p1) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9747) (and (<= (* 2 (select |c_#memory_int| v_idx_9747)) 0) (<= (select |c_#memory_int| v_idx_9747) 0)) (< v_idx_9747 c_ULTIMATE.start_main_p4))) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_9741))) (<= 0 (select |c_#memory_int| v_idx_9741)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9747) (and (<= (* 2 (select |c_#memory_int| v_idx_9747)) 0) (<= (select |c_#memory_int| v_idx_9747) (select |c_#memory_int| v_idx_9741)) (<= (select |c_#memory_int| v_idx_9747) 0)) (< v_idx_9747 c_ULTIMATE.start_main_p4))) (and (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9747) (and (<= (* 2 (select |c_#memory_int| v_idx_9747)) 0) (<= (select |c_#memory_int| v_idx_9747) 0)) (< v_idx_9747 c_ULTIMATE.start_main_p4)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9741))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9735) 0) (< v_idx_9735 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9735)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_9745 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9745) (= (select |c_#memory_int| v_idx_9745) 0)) (or (< v_idx_9738 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9738) (= 1 (select |c_#valid| v_idx_9738))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9743) (< v_idx_9743 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_9743))) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-14 17:01:35,939 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:35,939 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:35,939 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:35,940 WARN L270 ngHoareTripleChecker]: Pre: {698#true} [2019-02-14 17:01:35,940 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-14 17:01:35,941 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-14 17:01:36,166 WARN L276 ngHoareTripleChecker]: Post: {699#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_9747 Int) (v_idx_9741 Int)) (or (<= (* 2 (select |#memory_int| v_idx_9747)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9747) (<= (select |#memory_int| v_idx_9747) (select |#memory_int| v_idx_9741)) (< v_idx_9747 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_idx_9747) 0))) (forall ((v_prenex_684 Int) (v_prenex_685 Int)) (or (<= (select |#memory_int| v_prenex_684) (select |#memory_int| v_prenex_685)) (<= (* 2 (select |#memory_int| v_prenex_684)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_684) (< v_prenex_684 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_685))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_prenex_690 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_690) (< v_prenex_690 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_prenex_690)))) (forall ((v_prenex_670 Int) (v_prenex_669 Int)) (or (<= (select |#memory_int| v_prenex_669) (select |#memory_int| v_prenex_670)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_669) (<= (select |#memory_int| v_prenex_669) 0) (< v_prenex_669 ULTIMATE.start_main_p4))) (or (forall ((v_prenex_672 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_672) (<= 0 (* 2 (select |#memory_int| v_prenex_672))))) (forall ((v_prenex_671 Int)) (or (<= (select |#memory_int| v_prenex_671) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_671) (< v_prenex_671 ULTIMATE.start_main_p4)))) (or (forall ((v_prenex_676 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_676) (<= 0 (* 2 (select |#memory_int| v_prenex_676))))) (forall ((v_prenex_675 Int)) (or (< v_prenex_675 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_675) (<= (* 2 (select |#memory_int| v_prenex_675)) 0)))) (forall ((v_prenex_694 Int)) (or (< v_prenex_694 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_694) (<= 0 (* 2 (select |#memory_int| v_prenex_694))))) (or (forall ((v_prenex_688 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_688) (< v_prenex_688 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_688) 0) (<= (* 2 (select |#memory_int| v_prenex_688)) 0))) (forall ((v_prenex_689 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_689))))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_prenex_658 Int)) (or (<= (select |#memory_int| v_prenex_658) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_658) (< v_prenex_658 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_658)) 0))) (or (forall ((v_prenex_663 Int)) (or (<= (select |#memory_int| v_prenex_663) 0) (< v_prenex_663 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_663))) (forall ((v_prenex_664 Int)) (or (<= 0 (select |#memory_int| v_prenex_664)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_664)))) (forall ((v_prenex_686 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_686)) 0) (< v_prenex_686 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_686) (<= (select |#memory_int| v_prenex_686) 0))) (forall ((v_prenex_693 Int) (v_prenex_692 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_692) (< v_prenex_693 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_692) (select |#memory_int| v_prenex_693)) (< v_prenex_692 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_693))) (or (forall ((v_prenex_677 Int)) (or (< v_prenex_677 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_677)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_677))) (forall ((v_prenex_678 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_678) (<= 0 (select |#memory_int| v_prenex_678))))) (forall ((v_prenex_695 Int) (v_prenex_696 Int)) (or (<= (select |#memory_int| v_prenex_695) 0) (< v_prenex_695 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_695) (select |#memory_int| v_prenex_696)) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_695) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_696))) (forall ((v_idx_9738 Int)) (or (< v_idx_9738 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9738) (= 1 (select |#valid| v_idx_9738)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (or (forall ((v_prenex_687 Int)) (or (< v_prenex_687 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_687) (<= (select |#memory_int| v_prenex_687) 0))) (forall ((v_prenex_689 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_689))))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_prenex_691 Int)) (or (< v_prenex_691 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_691) (<= (* 2 (select |#memory_int| v_prenex_691)) 0))) (or (forall ((v_prenex_683 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_683))) (< v_prenex_683 ULTIMATE.start_main_p1))) (forall ((v_prenex_681 Int)) (or (< v_prenex_681 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_681) (<= (select |#memory_int| v_prenex_681) 0)))) (forall ((v_prenex_656 Int) (v_prenex_657 Int)) (or (< v_prenex_656 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_656) (<= (select |#memory_int| v_prenex_656) 0) (<= (select |#memory_int| v_prenex_656) (select |#memory_int| v_prenex_657)) (< v_prenex_657 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (or (forall ((v_prenex_659 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_659) (<= (* 2 (select |#memory_int| v_prenex_659)) 0) (< v_prenex_659 ULTIMATE.start_main_p4))) (forall ((v_prenex_660 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_660))))) (or (forall ((v_prenex_651 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_651) (<= (select |#memory_int| v_prenex_651) 0) (< v_prenex_651 ULTIMATE.start_main_p4))) (forall ((v_prenex_680 Int)) (<= 0 (select |#memory_int| v_prenex_680)))) (or (forall ((v_prenex_660 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_660)))) (forall ((v_prenex_649 Int)) (or (< v_prenex_649 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_649) 0) (<= (* 2 (select |#memory_int| v_prenex_649)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_649)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (or (forall ((v_prenex_666 Int)) (or (< v_prenex_666 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_666) 0) (<= (* 2 (select |#memory_int| v_prenex_666)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_666))) (forall ((v_prenex_668 Int)) (<= 0 (select |#memory_int| v_prenex_668)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (or (forall ((v_prenex_679 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_679)) 0) (< v_prenex_679 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_679) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_679))) (forall ((v_prenex_680 Int)) (<= 0 (select |#memory_int| v_prenex_680)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (or (forall ((v_prenex_667 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_667) (< v_prenex_667 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_667)) 0))) (forall ((v_prenex_668 Int)) (<= 0 (select |#memory_int| v_prenex_668)))) (or (forall ((v_prenex_674 Int)) (or (<= 0 (select |#memory_int| v_prenex_674)) (< v_prenex_674 ULTIMATE.start_main_p1))) (forall ((v_prenex_673 Int)) (or (< v_prenex_673 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_673)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_673)))) (forall ((v_idx_9745 Int)) (or (< v_idx_9745 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9745) (= (select |#memory_int| v_idx_9745) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (forall ((v_prenex_662 Int) (v_prenex_661 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_661)) 0) (< v_prenex_661 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_661) (< v_prenex_662 ULTIMATE.start_main_p1) (<= (select |#memory_int| v_prenex_661) (select |#memory_int| v_prenex_662)))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_9735 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_9735) 0) (< v_idx_9735 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9735))) (or (forall ((v_prenex_683 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_683))) (< v_prenex_683 ULTIMATE.start_main_p1))) (forall ((v_prenex_682 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_682) (< v_prenex_682 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_682)) 0)))) (forall ((v_idx_9743 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_9743) (< v_idx_9743 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_9743)))) (forall ((v_prenex_655 Int) (v_prenex_654 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_654) (< v_prenex_654 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_654)) 0) (<= (select |#memory_int| v_prenex_654) (select |#memory_int| v_prenex_655)))) (forall ((v_prenex_665 Int)) (or (<= (select |#memory_int| v_prenex_665) 0) (< v_prenex_665 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_665))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (or (forall ((v_prenex_674 Int)) (or (<= 0 (select |#memory_int| v_prenex_674)) (< v_prenex_674 ULTIMATE.start_main_p1))) (forall ((v_prenex_650 Int)) (or (<= (select |#memory_int| v_prenex_650) 0) (< v_prenex_650 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_650)))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_653 Int) (v_prenex_652 Int)) (or (< v_prenex_652 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_652) (<= (select |#memory_int| v_prenex_652) (select |#memory_int| v_prenex_653)) (<= (select |#memory_int| v_prenex_652) 0) (<= (* 2 (select |#memory_int| v_prenex_652)) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:36,166 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:36,166 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:36,167 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_5209 [inf_0], [#valid] -> [-inf_0] v_5207 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_5206 [inf_0], [old(#memory_int)] -> [-inf_0] v_5210 [inf_0], [old(#valid)] -> [-inf_0] v_5208 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 17:01:36,167 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-14 17:01:36,167 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 26 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:36,167 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:37,549 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-14 17:01:37,549 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-14 17:01:37,550 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-14 17:01:37,550 WARN L223 ngHoareTripleChecker]: -- [2019-02-14 17:01:37,550 WARN L224 ngHoareTripleChecker]: Pre: {704#true} [2019-02-14 17:01:37,550 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-14 17:01:37,551 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-14 17:01:37,551 WARN L230 ngHoareTripleChecker]: Post: {705#(forall ((v_idx_9822 Int) (v_idx_9812 Int) (v_idx_9820 Int) (v_idx_9815 Int) (v_idx_9824 Int) (v_idx_9818 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9812) (< v_idx_9812 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_9812) 0)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (<= (+ 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_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (< v_idx_9822 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_9822) (= 0 (select |c_#memory_int| v_idx_9822))) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_9820 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_9820) (= 0 (select |c_#memory_int| v_idx_9820))) (<= (+ 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_p2 2) c_ULTIMATE.start_malloc_ptr) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (and (or (< v_idx_9824 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_9824)) 0) (<= (select |c_#memory_int| v_idx_9824) (select |c_#memory_int| v_idx_9818)) (<= (select |c_#memory_int| v_idx_9824) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9824)) (<= 0 (* 2 (select |c_#memory_int| v_idx_9818))) (<= 0 (select |c_#memory_int| v_idx_9818))) (and (< v_idx_9818 c_ULTIMATE.start_main_p1) (or (< v_idx_9824 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_9824)) 0) (<= (select |c_#memory_int| v_idx_9824) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9824))) (and (or (< v_idx_9824 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_9824)) 0) (<= (select |c_#memory_int| v_idx_9824) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9824)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_9818))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_9815 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_9815) (= 1 (select |c_#valid| v_idx_9815)))))} [2019-02-14 17:01:37,551 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-14 17:01:37,552 WARN L268 ngHoareTripleChecker]: -- [2019-02-14 17:01:37,552 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-14 17:01:37,553 WARN L270 ngHoareTripleChecker]: Pre: {704#true} [2019-02-14 17:01:37,553 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-14 17:01:37,553 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-14 17:01:37,824 WARN L276 ngHoareTripleChecker]: Post: {705#(and (forall ((v_idx_9812 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_9812) (< v_idx_9812 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_9812) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_703 Int) (v_prenex_704 Int)) (or (<= (select |#memory_int| v_prenex_703) (select |#memory_int| v_prenex_704)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_704) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_703) (< v_prenex_703 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_703)) 0))) (or (forall ((v_idx_9818 Int)) (or (<= 0 (select |#memory_int| v_idx_9818)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_9818))) (forall ((v_idx_9824 Int)) (or (< v_idx_9824 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9824) (<= (select |#memory_int| v_idx_9824) 0)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (or (forall ((v_prenex_708 Int)) (<= 0 (select |#memory_int| v_prenex_708))) (forall ((v_prenex_707 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_707)) 0) (<= (select |#memory_int| v_prenex_707) 0) (< v_prenex_707 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_707)))) (forall ((v_prenex_716 Int) (v_prenex_717 Int)) (or (< v_prenex_716 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_717) (<= (* 2 (select |#memory_int| v_prenex_717)) 0) (< v_prenex_717 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_717) (select |#memory_int| v_prenex_716)))) (or (forall ((v_prenex_706 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_706))) (< v_prenex_706 ULTIMATE.start_main_p1))) (forall ((v_prenex_697 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_697) (< v_prenex_697 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_697) 0)))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_9815 Int)) (or (< v_idx_9815 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_9815) (= 1 (select |#valid| v_idx_9815)))) (forall ((v_prenex_722 Int) (v_prenex_723 Int)) (or (< v_prenex_723 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_723) (<= (select |#memory_int| v_prenex_723) (select |#memory_int| v_prenex_722)) (<= (select |#memory_int| v_prenex_723) 0) (< v_prenex_722 ULTIMATE.start_main_p1))) (forall ((v_idx_9822 Int)) (or (< v_idx_9822 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_9822) (= 0 (select |#memory_int| v_idx_9822)))) (forall ((v_prenex_734 Int)) (or (< v_prenex_734 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_734) (<= (* 2 (select |#memory_int| v_prenex_734)) 0))) (<= (+ ULTIMATE.start_main_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (or (forall ((v_prenex_738 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_738)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_738) (< v_prenex_738 ULTIMATE.start_main_p4))) (forall ((v_prenex_737 Int)) (or (<= 0 (select |#memory_int| v_prenex_737)) (< v_prenex_737 ULTIMATE.start_main_p1)))) (or (forall ((v_prenex_711 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_711)))) (forall ((v_prenex_710 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_710)) 0) (< v_prenex_710 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_710)))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (or (forall ((v_prenex_708 Int)) (<= 0 (select |#memory_int| v_prenex_708))) (forall ((v_prenex_698 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_698) (< v_prenex_698 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_698)) 0)))) (or (forall ((v_prenex_709 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_709)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_709) (< v_prenex_709 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_709) 0))) (forall ((v_prenex_711 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_711))))) (forall ((v_idx_9820 Int)) (or (< v_idx_9820 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_9820) (= 0 (select |#memory_int| v_idx_9820)))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_prenex_741 Int)) (or (<= (select |#memory_int| v_prenex_741) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_741) (< v_prenex_741 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (or (forall ((v_prenex_712 Int)) (<= 0 (select |#memory_int| v_prenex_712))) (forall ((v_prenex_713 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_713) (<= (* 2 (select |#memory_int| v_prenex_713)) 0) (<= (select |#memory_int| v_prenex_713) 0) (< v_prenex_713 ULTIMATE.start_main_p4)))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_prenex_702 Int)) (or (< v_prenex_702 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_702) (<= 0 (* 2 (select |#memory_int| v_prenex_702))))) (or (forall ((v_prenex_737 Int)) (or (<= 0 (select |#memory_int| v_prenex_737)) (< v_prenex_737 ULTIMATE.start_main_p1))) (forall ((v_prenex_736 Int)) (or (<= (select |#memory_int| v_prenex_736) 0) (< v_prenex_736 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_736)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_prenex_740 Int) (v_prenex_739 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_740) (<= (select |#memory_int| v_prenex_740) 0) (< v_prenex_740 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_740) (select |#memory_int| v_prenex_739)) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_739))) (or (forall ((v_prenex_712 Int)) (<= 0 (select |#memory_int| v_prenex_712))) (forall ((v_prenex_699 Int)) (or (<= (select |#memory_int| v_prenex_699) 0) (< v_prenex_699 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_699)))) (forall ((v_prenex_700 Int) (v_prenex_701 Int)) (or (<= (select |#memory_int| v_prenex_700) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_700) (< v_prenex_700 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_700)) 0) (<= (select |#memory_int| v_prenex_700) (select |#memory_int| v_prenex_701)))) (forall ((v_prenex_718 Int) (v_prenex_719 Int)) (or (< v_prenex_719 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_719) (<= (* 2 (select |#memory_int| v_prenex_719)) 0) (<= (select |#memory_int| v_prenex_719) (select |#memory_int| v_prenex_718)))) (or (forall ((v_prenex_721 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_721) (<= (* 2 (select |#memory_int| v_prenex_721)) 0) (< v_prenex_721 ULTIMATE.start_main_p4))) (forall ((v_prenex_720 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_720))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_720)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (or (forall ((v_prenex_731 Int)) (or (< v_prenex_731 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_731) (<= (select |#memory_int| v_prenex_731) 0))) (forall ((v_prenex_732 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_732))))) (forall ((v_prenex_735 Int)) (or (< v_prenex_735 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_735) (<= 0 (select |#memory_int| v_prenex_735)))) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (or (forall ((v_prenex_706 Int)) (or (<= 0 (* 2 (select |#memory_int| v_prenex_706))) (< v_prenex_706 ULTIMATE.start_main_p1))) (forall ((v_prenex_705 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_705)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_705) (< v_prenex_705 ULTIMATE.start_main_p4)))) (or (forall ((v_prenex_725 Int)) (or (< v_prenex_725 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_725) (<= (select |#memory_int| v_prenex_725) 0))) (forall ((v_prenex_724 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_724) (<= 0 (* 2 (select |#memory_int| v_prenex_724)))))) (or (forall ((v_prenex_733 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_733) (<= (select |#memory_int| v_prenex_733) 0) (<= (* 2 (select |#memory_int| v_prenex_733)) 0) (< v_prenex_733 ULTIMATE.start_main_p4))) (forall ((v_prenex_732 Int)) (<= 0 (* 2 (select |#memory_int| v_prenex_732))))) (forall ((v_prenex_726 Int)) (or (< v_prenex_726 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_726) 0) (<= (* 2 (select |#memory_int| v_prenex_726)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_726))) (forall ((v_prenex_727 Int) (v_prenex_728 Int)) (or (< v_prenex_728 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_727) (<= (select |#memory_int| v_prenex_728) (select |#memory_int| v_prenex_727)) (< v_prenex_727 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_728))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (or (forall ((v_prenex_714 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_714) (<= 0 (select |#memory_int| v_prenex_714)))) (forall ((v_prenex_715 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_715) (<= (* 2 (select |#memory_int| v_prenex_715)) 0) (< v_prenex_715 ULTIMATE.start_main_p4)))) (forall ((v_prenex_730 Int) (v_prenex_729 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_730) (<= (select |#memory_int| v_prenex_730) 0) (<= (select |#memory_int| v_prenex_730) (select |#memory_int| v_prenex_729)) (< v_prenex_730 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-14 17:01:37,824 WARN L620 ntHoareTripleChecker]: -- [2019-02-14 17:01:37,824 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-14 17:01:37,824 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_5252 [inf_0], [#valid] -> [-inf_0] v_5250 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_5249 [inf_0], [old(#memory_int)] -> [-inf_0] v_5253 [inf_0], [old(#valid)] -> [-inf_0] v_5251 [inf_0], }, Substate: {10 vars top, }}} [2019-02-14 17:01:37,825 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) (assume !(#memory_int[main_p4] <= 0);) [2019-02-14 17:01:37,825 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_4151 [b_294] v_4152 [b_295] v_4153 [b_296] v_4154 [b_297] v_4155 [b_298] v_4156 [b_299] v_4157 [b_300] v_4158 [b_301] v_4159 [inf_0], [#valid] -> [-inf_0] v_4148 [b_292] v_4149 [b_293] v_4150 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4144 [b_290] v_4145 [b_291] v_4146 [inf_0], }, Substate: {ints: {v_4149 = [1; 1]; v_4154 = [0; 0]; v_4145 = [0; 0]; v_4158 = [-inf; 0]; v_4152 = [0; inf]; v_4156 = [0; 0]}, 26 vars top, relations: {b_292 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_296 = [2; inf]; b_295 - b_296 = [-inf; 0]; b_291 - b_296 = [3; inf]; b_290 - b_296 = [2; inf]; b_293 - b_296 = [3; inf]; ULTIMATE.start_main_p1 - b_296 = [-inf; -1]; ULTIMATE.start_main_p2 - b_296 = [0; 0]; b_294 - b_296 = [-inf; -1]; ULTIMATE.start_main_p3 - b_296 = [1; inf]; ULTIMATE.start_main_p4 - b_296 = [2; inf]; ULTIMATE.start_malloc_ptr - b_292 = [0; 0]; b_291 - b_292 = [1; 1]; b_290 - b_292 = [0; 0]; ULTIMATE.start_main_p1 - b_292 = [-inf; -3]; ULTIMATE.start_main_p2 - b_292 = [-inf; -2]; ULTIMATE.start_main_p3 - b_292 = [-inf; -1]; ULTIMATE.start_main_p4 - b_292 = [0; 0]; b_296 - b_300 = [-inf; -2]; b_292 - b_300 = [0; 0]; ULTIMATE.start_malloc_ptr - b_300 = [0; 0]; b_295 - b_300 = [-inf; -2]; b_298 - b_300 = [-inf; -1]; b_291 - b_300 = [1; 1]; b_290 - b_300 = [0; 0]; b_297 - b_300 = [-inf; -1]; b_293 - b_300 = [1; 1]; ULTIMATE.start_main_p1 - b_300 = [-inf; -3]; ULTIMATE.start_main_p2 - b_300 = [-inf; -2]; b_299 - b_300 = [-inf; 0]; b_294 - b_300 = [-inf; -3]; ULTIMATE.start_main_p3 - b_300 = [-inf; -1]; ULTIMATE.start_main_p4 - b_300 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; b_292 - b_295 = [2; inf]; ULTIMATE.start_malloc_ptr - b_295 = [2; inf]; b_291 - b_295 = [3; inf]; b_290 - b_295 = [2; inf]; b_293 - b_295 = [3; inf]; ULTIMATE.start_main_p1 - b_295 = [-1; -1]; ULTIMATE.start_main_p2 - b_295 = [0; inf]; b_294 - b_295 = [-1; -1]; ULTIMATE.start_main_p3 - b_295 = [1; inf]; ULTIMATE.start_main_p4 - b_295 = [2; inf]; b_296 - b_298 = [-inf; -1]; b_292 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_298 = [1; inf]; b_295 - b_298 = [-inf; -1]; b_291 - b_298 = [2; inf]; b_290 - b_298 = [1; inf]; b_297 - b_298 = [-inf; 0]; b_293 - b_298 = [2; inf]; ULTIMATE.start_main_p1 - b_298 = [-inf; -2]; ULTIMATE.start_main_p2 - b_298 = [-inf; -1]; b_294 - b_298 = [-inf; -2]; ULTIMATE.start_main_p3 - b_298 = [0; 0]; ULTIMATE.start_main_p4 - b_298 = [1; inf]; ULTIMATE.start_malloc_ptr - b_291 = [-1; -1]; b_290 - b_291 = [-1; -1]; ULTIMATE.start_main_p1 - b_291 = [-inf; -4]; ULTIMATE.start_main_p2 - b_291 = [-inf; -3]; ULTIMATE.start_main_p3 - b_291 = [-inf; -2]; ULTIMATE.start_main_p4 - b_291 = [-1; -1]; v_4145 + v_4149 = [1; 1]; v_4145 - v_4149 = [-1; -1]; b_296 - b_301 = [-inf; -3]; b_292 - b_301 = [-1; -1]; b_300 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_301 = [-1; -1]; b_295 - b_301 = [-inf; -3]; b_298 - b_301 = [-inf; -2]; b_291 - b_301 = [0; 0]; b_290 - b_301 = [-1; -1]; b_297 - b_301 = [-inf; -2]; b_293 - b_301 = [0; 0]; ULTIMATE.start_main_p1 - b_301 = [-inf; -4]; ULTIMATE.start_main_p2 - b_301 = [-inf; -3]; b_299 - b_301 = [-inf; -1]; b_294 - b_301 = [-inf; -4]; ULTIMATE.start_main_p3 - b_301 = [-inf; -2]; ULTIMATE.start_main_p4 - b_301 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_290 = [0; 0]; ULTIMATE.start_main_p1 - b_290 = [-inf; -3]; ULTIMATE.start_main_p2 - b_290 = [-inf; -2]; ULTIMATE.start_main_p3 - b_290 = [-inf; -1]; ULTIMATE.start_main_p4 - b_290 = [0; 0]; b_296 - b_297 = [-1; -1]; b_292 - b_297 = [1; inf]; ULTIMATE.start_malloc_ptr - b_297 = [1; inf]; b_295 - b_297 = [-inf; -1]; b_291 - b_297 = [2; inf]; b_290 - b_297 = [1; inf]; b_293 - b_297 = [2; inf]; ULTIMATE.start_main_p1 - b_297 = [-inf; -2]; ULTIMATE.start_main_p2 - b_297 = [-1; -1]; b_294 - b_297 = [-inf; -2]; ULTIMATE.start_main_p3 - b_297 = [0; inf]; ULTIMATE.start_main_p4 - b_297 = [1; inf]; v_4149 + v_4154 = [1; 1]; v_4149 - v_4154 = [1; 1]; v_4145 + v_4154 = [0; 0]; v_4145 - v_4154 = [0; 0]; v_4152 + v_4154 = [0; inf]; v_4152 - v_4154 = [0; inf]; b_292 - b_293 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_293 = [-1; -1]; b_291 - b_293 = [0; 0]; b_290 - b_293 = [-1; -1]; ULTIMATE.start_main_p1 - b_293 = [-inf; -4]; ULTIMATE.start_main_p2 - b_293 = [-inf; -3]; ULTIMATE.start_main_p3 - b_293 = [-inf; -2]; ULTIMATE.start_main_p4 - b_293 = [-1; -1]; v_4149 + v_4158 = [-inf; 1]; v_4149 - v_4158 = [1; inf]; v_4154 + v_4158 = [-inf; 0]; v_4154 - v_4158 = [0; inf]; v_4145 + v_4158 = [-inf; 0]; v_4145 - v_4158 = [0; inf]; v_4152 - v_4158 = [0; inf]; v_4156 + v_4158 = [-inf; 0]; v_4156 - v_4158 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4149 + v_4152 = [1; inf]; v_4149 - v_4152 = [-inf; 1]; v_4145 + v_4152 = [0; inf]; v_4145 - v_4152 = [-inf; 0]; b_296 - b_299 = [-inf; -2]; b_292 - b_299 = [0; inf]; ULTIMATE.start_malloc_ptr - b_299 = [0; inf]; b_295 - b_299 = [-inf; -2]; b_298 - b_299 = [-1; -1]; b_291 - b_299 = [1; inf]; b_290 - b_299 = [0; inf]; b_297 - b_299 = [-inf; -1]; b_293 - b_299 = [1; inf]; ULTIMATE.start_main_p1 - b_299 = [-inf; -3]; ULTIMATE.start_main_p2 - b_299 = [-inf; -2]; b_294 - b_299 = [-inf; -3]; ULTIMATE.start_main_p3 - b_299 = [-1; -1]; ULTIMATE.start_main_p4 - b_299 = [0; inf]; b_292 - b_294 = [3; inf]; ULTIMATE.start_malloc_ptr - b_294 = [3; inf]; b_291 - b_294 = [4; inf]; b_290 - b_294 = [3; inf]; b_293 - b_294 = [4; inf]; ULTIMATE.start_main_p1 - b_294 = [0; 0]; ULTIMATE.start_main_p2 - b_294 = [1; inf]; ULTIMATE.start_main_p3 - b_294 = [2; inf]; ULTIMATE.start_main_p4 - b_294 = [3; inf]; v_4149 + v_4156 = [1; 1]; v_4149 - v_4156 = [1; 1]; v_4154 + v_4156 = [0; 0]; v_4154 - v_4156 = [0; 0]; v_4145 + v_4156 = [0; 0]; v_4145 - v_4156 = [0; 0]; v_4152 + v_4156 = [0; inf]; v_4152 - v_4156 = [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]}, }}} [2019-02-14 17:01:37,826 WARN L630 ntHoareTripleChecker]: -- [2019-02-14 17:01:37,829 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 17:01:37,829 INFO L93 Difference]: Finished difference Result 22 states and 43 transitions. [2019-02-14 17:01:37,830 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-14 17:01:37,830 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 4 [2019-02-14 17:01:37,830 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-14 17:01:37,830 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 17:01:37,831 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-14 17:01:37,831 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-14 17:01:37,832 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-14 17:01:37,832 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 23 transitions. [2019-02-14 17:01:38,315 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 23 edges. 23 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-14 17:01:38,316 INFO L225 Difference]: With dead ends: 22 [2019-02-14 17:01:38,316 INFO L226 Difference]: Without dead ends: 15 [2019-02-14 17:01:38,317 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 0 SyntacticMatches, 2 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 1.1s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-14 17:01:38,317 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 15 states. [2019-02-14 17:01:38,549 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 15 to 13. [2019-02-14 17:01:38,549 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-14 17:01:38,549 INFO L82 GeneralOperation]: Start isEquivalent. First operand 15 states. Second operand 13 states. [2019-02-14 17:01:38,549 INFO L74 IsIncluded]: Start isIncluded. First operand 15 states. Second operand 13 states. [2019-02-14 17:01:38,550 INFO L87 Difference]: Start difference. First operand 15 states. Second operand 13 states. [2019-02-14 17:01:38,552 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 17:01:38,552 INFO L93 Difference]: Finished difference Result 15 states and 36 transitions. [2019-02-14 17:01:38,552 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 36 transitions. [2019-02-14 17:01:38,552 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 17:01:38,553 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 17:01:38,553 INFO L74 IsIncluded]: Start isIncluded. First operand 13 states. Second operand 15 states. [2019-02-14 17:01:38,553 INFO L87 Difference]: Start difference. First operand 13 states. Second operand 15 states. [2019-02-14 17:01:38,554 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-14 17:01:38,554 INFO L93 Difference]: Finished difference Result 15 states and 36 transitions. [2019-02-14 17:01:38,554 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 36 transitions. [2019-02-14 17:01:38,555 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-14 17:01:38,555 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-14 17:01:38,555 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-14 17:01:38,555 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-14 17:01:38,555 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 13 states. [2019-02-14 17:01:38,556 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 28 transitions. [2019-02-14 17:01:38,556 INFO L78 Accepts]: Start accepts. Automaton has 13 states and 28 transitions. Word has length 4 [2019-02-14 17:01:38,556 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-14 17:01:38,556 INFO L480 AbstractCegarLoop]: Abstraction has 13 states and 28 transitions. [2019-02-14 17:01:38,557 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-14 17:01:38,557 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 28 transitions. [2019-02-14 17:01:38,557 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2019-02-14 17:01:38,557 INFO L394 BasicCegarLoop]: Found error trace [2019-02-14 17:01:38,557 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1] [2019-02-14 17:01:38,557 INFO L423 AbstractCegarLoop]: === Iteration 7 === [ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT]=== [2019-02-14 17:01:38,557 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 17:01:38,558 INFO L82 PathProgramCache]: Analyzing trace with hash 939226, now seen corresponding path program 1 times [2019-02-14 17:01:38,558 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-14 17:01:38,559 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 17:01:38,559 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-14 17:01:38,559 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-14 17:01:38,559 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-14 17:01:38,567 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-14 17:01:38,703 INFO L273 TraceCheckUtils]: 0: Hoare triple {757#true} havoc main_p1, main_p2, main_p3, main_p4;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;assume main_p1 < main_p2;assume main_p2 < main_p3;assume main_p3 < main_p4;#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]; {759#(and (not (= ULTIMATE.start_main_p1 ULTIMATE.start_main_p2)) (= 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-14 17:01:38,704 INFO L273 TraceCheckUtils]: 1: Hoare triple {759#(and (not (= ULTIMATE.start_main_p1 ULTIMATE.start_main_p2)) (= 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]; {760#(and (not (= ULTIMATE.start_main_p1 ULTIMATE.start_main_p2)) (= 0 (select (store |#memory_int| ULTIMATE.start_main_p2 (+ (select |#memory_int| ULTIMATE.start_main_p2) (- 1))) ULTIMATE.start_main_p1)))} is VALID [2019-02-14 17:01:38,705 INFO L273 TraceCheckUtils]: 2: Hoare triple {760#(and (not (= ULTIMATE.start_main_p1 ULTIMATE.start_main_p2)) (= 0 (select (store |#memory_int| ULTIMATE.start_main_p2 (+ (select |#memory_int| ULTIMATE.start_main_p2) (- 1))) ULTIMATE.start_main_p1)))} #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; {761#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} is VALID [2019-02-14 17:01:38,706 INFO L273 TraceCheckUtils]: 3: Hoare triple {761#(= (select |#memory_int| ULTIMATE.start_main_p1) 0)} assume !(#memory_int[main_p1] >= 0); {758#false} is VALID [2019-02-14 17:01:38,706 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-02-14 17:01:38,707 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-14 17:01:38,707 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-14 17:01:38,707 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 5 with the following transitions: [2019-02-14 17:01:38,707 INFO L207 CegarAbsIntRunner]: [0], [10], [16], [19] [2019-02-14 17:01:38,709 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-14 17:01:38,709 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-14 17:04:20,197 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-14 17:04:20,197 INFO L272 AbstractInterpreter]: Visited 4 different actions 31 times. Merged at 2 different actions 9 times. Widened at 2 different actions 5 times. Found 11 fixpoints after 2 different actions. Largest state had 0 variables. [2019-02-14 17:04:20,197 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-14 17:04:20,198 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-14 17:04:27,893 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-14 17:04:29,941 INFO L420 sIntCurrentIteration]: We unified 3 AI predicates to 3