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-a9d37a5-m [2019-02-28 13:47:21,187 INFO L170 SettingsManager]: Resetting all preferences to default values... [2019-02-28 13:47:21,189 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2019-02-28 13:47:21,203 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-02-28 13:47:21,204 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-02-28 13:47:21,205 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-02-28 13:47:21,206 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-02-28 13:47:21,208 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2019-02-28 13:47:21,210 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-02-28 13:47:21,210 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-02-28 13:47:21,211 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-02-28 13:47:21,212 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-02-28 13:47:21,213 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-02-28 13:47:21,214 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-02-28 13:47:21,215 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-02-28 13:47:21,216 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-02-28 13:47:21,217 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-02-28 13:47:21,218 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-02-28 13:47:21,221 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2019-02-28 13:47:21,222 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-02-28 13:47:21,223 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-02-28 13:47:21,225 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-02-28 13:47:21,227 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-02-28 13:47:21,227 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-02-28 13:47:21,228 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-02-28 13:47:21,229 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-02-28 13:47:21,230 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-02-28 13:47:21,231 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-02-28 13:47:21,231 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2019-02-28 13:47:21,232 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-02-28 13:47:21,233 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2019-02-28 13:47:21,233 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-02-28 13:47:21,234 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-02-28 13:47:21,234 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2019-02-28 13:47:21,235 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2019-02-28 13:47:21,236 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2019-02-28 13:47:21,236 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/array-bench/reach_32bit_array_oct.epf [2019-02-28 13:47:21,252 INFO L110 SettingsManager]: Loading preferences was successful [2019-02-28 13:47:21,252 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2019-02-28 13:47:21,253 INFO L131 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2019-02-28 13:47:21,253 INFO L133 SettingsManager]: * Show backtranslation warnings=false [2019-02-28 13:47:21,253 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-02-28 13:47:21,254 INFO L133 SettingsManager]: * User list type=DISABLED [2019-02-28 13:47:21,254 INFO L133 SettingsManager]: * Inline calls to unimplemented procedures=true [2019-02-28 13:47:21,254 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-02-28 13:47:21,254 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-02-28 13:47:21,254 INFO L133 SettingsManager]: * Underlying domain=OctagonDomain [2019-02-28 13:47:21,255 INFO L133 SettingsManager]: * Abstract domain=ArrayDomain [2019-02-28 13:47:21,255 INFO L133 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-02-28 13:47:21,255 INFO L133 SettingsManager]: * Interval Domain=false [2019-02-28 13:47:21,256 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-02-28 13:47:21,256 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2019-02-28 13:47:21,256 INFO L133 SettingsManager]: * Use SBE=true [2019-02-28 13:47:21,256 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-02-28 13:47:21,256 INFO L133 SettingsManager]: * sizeof long=4 [2019-02-28 13:47:21,257 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2019-02-28 13:47:21,257 INFO L133 SettingsManager]: * sizeof POINTER=4 [2019-02-28 13:47:21,257 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2019-02-28 13:47:21,257 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2019-02-28 13:47:21,257 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-02-28 13:47:21,258 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2019-02-28 13:47:21,258 INFO L133 SettingsManager]: * sizeof long double=12 [2019-02-28 13:47:21,258 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2019-02-28 13:47:21,258 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2019-02-28 13:47:21,259 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-02-28 13:47:21,259 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-02-28 13:47:21,259 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2019-02-28 13:47:21,259 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:16092 -smt2 -in -t:200000 [2019-02-28 13:47:21,259 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-02-28 13:47:21,259 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-02-28 13:47:21,260 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2019-02-28 13:47:21,260 INFO L133 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-02-28 13:47:21,260 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-02-28 13:47:21,260 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:16092 -smt2 -in [2019-02-28 13:47:21,261 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2019-02-28 13:47:21,261 INFO L133 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2019-02-28 13:47:21,309 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-02-28 13:47:21,324 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-02-28 13:47:21,328 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-02-28 13:47:21,330 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-02-28 13:47:21,330 INFO L276 PluginConnector]: Boogie PL CUP Parser initialized [2019-02-28 13:47:21,331 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-28 13:47:21,332 INFO L111 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/heapseparator/speedup-poc-dd-4-limited.bpl' [2019-02-28 13:47:21,384 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-02-28 13:47:21,386 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-02-28 13:47:21,386 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-02-28 13:47:21,386 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-02-28 13:47:21,387 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2019-02-28 13:47:21,404 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 28.02 01:47:21" (1/1) ... [2019-02-28 13:47:21,419 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 28.02 01:47:21" (1/1) ... [2019-02-28 13:47:21,450 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-02-28 13:47:21,451 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-02-28 13:47:21,451 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-02-28 13:47:21,451 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2019-02-28 13:47:21,463 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 28.02 01:47:21" (1/1) ... [2019-02-28 13:47:21,463 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 28.02 01:47:21" (1/1) ... [2019-02-28 13:47:21,465 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 28.02 01:47:21" (1/1) ... [2019-02-28 13:47:21,466 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 28.02 01:47:21" (1/1) ... [2019-02-28 13:47:21,469 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 28.02 01:47:21" (1/1) ... [2019-02-28 13:47:21,476 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 28.02 01:47:21" (1/1) ... [2019-02-28 13:47:21,477 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 28.02 01:47:21" (1/1) ... [2019-02-28 13:47:21,480 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-02-28 13:47:21,480 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-02-28 13:47:21,481 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-02-28 13:47:21,484 INFO L276 PluginConnector]: RCFGBuilder initialized [2019-02-28 13:47:21,486 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 28.02 01:47:21" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:16092 -smt2 -in -t:200000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:16092 -smt2 -in -t:200000 [2019-02-28 13:47:21,551 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-02-28 13:47:21,552 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-02-28 13:47:22,096 INFO L281 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-02-28 13:47:22,097 INFO L286 CfgBuilder]: Removed 11 assue(true) statements. [2019-02-28 13:47:22,098 INFO L202 PluginConnector]: Adding new model speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.02 01:47:22 BoogieIcfgContainer [2019-02-28 13:47:22,098 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-02-28 13:47:22,101 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2019-02-28 13:47:22,101 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2019-02-28 13:47:22,104 INFO L276 PluginConnector]: TraceAbstraction initialized [2019-02-28 13:47:22,104 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 28.02 01:47:21" (1/2) ... [2019-02-28 13:47:22,105 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@51688bcd and model type speedup-poc-dd-4-limited.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.02 01:47:22, skipping insertion in model container [2019-02-28 13:47:22,105 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 28.02 01:47:22" (2/2) ... [2019-02-28 13:47:22,107 INFO L112 eAbstractionObserver]: Analyzing ICFG speedup-poc-dd-4-limited.bpl [2019-02-28 13:47:22,118 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2019-02-28 13:47:22,124 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 4 error locations. [2019-02-28 13:47:22,140 INFO L257 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2019-02-28 13:47:22,172 INFO L382 AbstractCegarLoop]: Interprodecural is true [2019-02-28 13:47:22,172 INFO L383 AbstractCegarLoop]: Hoare is true [2019-02-28 13:47:22,172 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2019-02-28 13:47:22,172 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2019-02-28 13:47:22,172 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-02-28 13:47:22,173 INFO L387 AbstractCegarLoop]: Difference is false [2019-02-28 13:47:22,173 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-02-28 13:47:22,173 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2019-02-28 13:47:22,187 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states. [2019-02-28 13:47:22,199 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2019-02-28 13:47:22,199 INFO L394 BasicCegarLoop]: Found error trace [2019-02-28 13:47:22,200 INFO L402 BasicCegarLoop]: trace histogram [1, 1] [2019-02-28 13:47:22,203 INFO L423 AbstractCegarLoop]: === Iteration 1 === [ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT]=== [2019-02-28 13:47:22,210 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:47:22,210 INFO L82 PathProgramCache]: Analyzing trace with hash 980, now seen corresponding path program 1 times [2019-02-28 13:47:22,212 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-28 13:47:22,253 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:47:22,253 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-28 13:47:22,254 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:47:22,254 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-28 13:47:22,300 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-28 13:47:22,403 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-28 13:47:22,409 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-28 13:47:22,411 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-02-28 13:47:22,413 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-02-28 13:47:22,414 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2019-02-28 13:47:22,414 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-28 13:47:22,419 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 2 [2019-02-28 13:47:22,421 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-28 13:47:22,424 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-28 13:47:22,454 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 2 edges. 2 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-28 13:47:22,455 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-28 13:47:22,461 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-28 13:47:22,462 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:47:22,464 INFO L87 Difference]: Start difference. First operand 11 states. Second operand 3 states. [2019-02-28 13:47:22,795 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:47:22,795 INFO L93 Difference]: Finished difference Result 21 states and 27 transitions. [2019-02-28 13:47:22,795 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-28 13:47:22,796 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 2 [2019-02-28 13:47:22,796 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-28 13:47:22,797 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:47:22,800 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 27 transitions. [2019-02-28 13:47:22,801 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:47:22,804 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 27 transitions. [2019-02-28 13:47:22,804 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 27 transitions. [2019-02-28 13:47:23,003 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-28 13:47:23,013 INFO L225 Difference]: With dead ends: 21 [2019-02-28 13:47:23,013 INFO L226 Difference]: Without dead ends: 16 [2019-02-28 13:47:23,017 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:47:23,032 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states. [2019-02-28 13:47:23,047 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 10. [2019-02-28 13:47:23,048 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-28 13:47:23,048 INFO L82 GeneralOperation]: Start isEquivalent. First operand 16 states. Second operand 10 states. [2019-02-28 13:47:23,049 INFO L74 IsIncluded]: Start isIncluded. First operand 16 states. Second operand 10 states. [2019-02-28 13:47:23,049 INFO L87 Difference]: Start difference. First operand 16 states. Second operand 10 states. [2019-02-28 13:47:23,052 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:47:23,052 INFO L93 Difference]: Finished difference Result 16 states and 22 transitions. [2019-02-28 13:47:23,053 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 22 transitions. [2019-02-28 13:47:23,053 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:47:23,053 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:47:23,054 INFO L74 IsIncluded]: Start isIncluded. First operand 10 states. Second operand 16 states. [2019-02-28 13:47:23,054 INFO L87 Difference]: Start difference. First operand 10 states. Second operand 16 states. [2019-02-28 13:47:23,057 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:47:23,057 INFO L93 Difference]: Finished difference Result 16 states and 22 transitions. [2019-02-28 13:47:23,057 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 22 transitions. [2019-02-28 13:47:23,057 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:47:23,058 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:47:23,058 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-28 13:47:23,058 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-28 13:47:23,058 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2019-02-28 13:47:23,060 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 17 transitions. [2019-02-28 13:47:23,062 INFO L78 Accepts]: Start accepts. Automaton has 10 states and 17 transitions. Word has length 2 [2019-02-28 13:47:23,062 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-28 13:47:23,062 INFO L480 AbstractCegarLoop]: Abstraction has 10 states and 17 transitions. [2019-02-28 13:47:23,062 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-28 13:47:23,062 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 17 transitions. [2019-02-28 13:47:23,063 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-02-28 13:47:23,063 INFO L394 BasicCegarLoop]: Found error trace [2019-02-28 13:47:23,063 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-02-28 13:47:23,064 INFO L423 AbstractCegarLoop]: === Iteration 2 === [ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT]=== [2019-02-28 13:47:23,064 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:47:23,064 INFO L82 PathProgramCache]: Analyzing trace with hash 30306, now seen corresponding path program 1 times [2019-02-28 13:47:23,064 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-28 13:47:23,065 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:47:23,066 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-28 13:47:23,066 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:47:23,066 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-28 13:47:23,080 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-28 13:47:23,403 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-28 13:47:23,406 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-28 13:47:23,411 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-28 13:47:23,412 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-02-28 13:47:23,412 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-28 13:47:23,412 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-28 13:47:23,413 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 4 with the following transitions: [2019-02-28 13:47:23,416 INFO L207 CegarAbsIntRunner]: [0], [16], [19] [2019-02-28 13:47:23,465 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-28 13:47:23,465 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-28 13:48:33,136 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-28 13:48:33,138 INFO L272 AbstractInterpreter]: Visited 3 different actions 13 times. Merged at 1 different actions 5 times. Widened at 1 different actions 1 times. Found 1 fixpoints after 1 different actions. Largest state had 0 variables. [2019-02-28 13:48:33,143 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:48:33,143 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-28 13:48:38,259 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-28 13:48:39,847 INFO L420 sIntCurrentIteration]: We unified 2 AI predicates to 2 [2019-02-28 13:48:42,798 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-28 13:48:42,800 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-28 13:48:42,800 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [2] total 3 [2019-02-28 13:48:42,800 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-28 13:48:42,803 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-28 13:48:42,804 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-28 13:48:42,804 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-28 13:48:42,962 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 3 edges. 3 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-28 13:48:42,962 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-28 13:48:42,962 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-28 13:48:42,963 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:48:42,963 INFO L87 Difference]: Start difference. First operand 10 states and 17 transitions. Second operand 3 states. [2019-02-28 13:48:43,383 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:48:43,384 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:48:43,385 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:48:43,385 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:48:43,386 WARN L224 ngHoareTripleChecker]: Pre: {110#(forall ((v_idx_874 Int) (v_idx_867 Int) (v_idx_878 Int) (v_idx_876 Int) (v_idx_870 Int) (v_idx_880 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_867) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_867)) (< v_idx_867 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 (< v_idx_870 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_870)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_870)) (or (< v_idx_876 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_876) (= (select |c_#memory_int| v_idx_876) 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_880) (and (<= (* 2 (select |c_#memory_int| v_idx_880)) 0) (<= (select |c_#memory_int| v_idx_880) 0)) (< v_idx_880 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 (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_874) (< v_idx_874 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_874) 0)) (<= (+ 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_#memory_int| v_idx_878) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_878) (< v_idx_878 c_ULTIMATE.start_main_p3))))} [2019-02-28 13:48:43,386 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:48:43,387 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:48:43,387 WARN L230 ngHoareTripleChecker]: Post: {111#false} [2019-02-28 13:48:43,387 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:48:43,397 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:48:43,398 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:48:43,618 WARN L270 ngHoareTripleChecker]: Pre: {110#(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_874 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_874) (< v_idx_874 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_874) 0))) (forall ((v_idx_880 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_880) (< v_idx_880 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_idx_880) 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) (<= (+ 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_870 Int)) (or (< v_idx_870 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_870)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_870))) (<= (+ 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_876 Int)) (or (< v_idx_876 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_876) (= (select |#memory_int| v_idx_876) 0))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_prenex_1 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_1) (< v_prenex_1 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_prenex_1)) 0))) (forall ((v_idx_867 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_867) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_867)) (< v_idx_867 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_878 Int)) (or (= (select |#memory_int| v_idx_878) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_878) (< v_idx_878 ULTIMATE.start_main_p3))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:48:43,619 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:48:43,620 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:48:43,622 WARN L276 ngHoareTripleChecker]: Post: {111#false} [2019-02-28 13:48:43,622 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:48:43,622 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:48:43,626 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2357 [inf_0], [old(#valid)] -> [-inf_0] v_2356 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 28 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:48:43,626 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) (#memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1];) [2019-02-28 13:48:43,626 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:48:43,627 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:48:44,857 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:48:44,858 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:48:44,858 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:48:44,858 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:48:44,859 WARN L224 ngHoareTripleChecker]: Pre: {114#(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_893 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_893) (= (select |c_#memory_int| v_idx_893) 0)) (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)) (<= (+ 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-28 13:48:44,859 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:48:44,859 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:48:44,859 WARN L230 ngHoareTripleChecker]: Post: {115#false} [2019-02-28 13:48:44,859 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:48:44,880 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:48:44,880 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:48:45,090 WARN L270 ngHoareTripleChecker]: Pre: {114#(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 (< v_idx_893 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_893) (= (select |#memory_int| v_idx_893) 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)) (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) (forall ((v_prenex_2 Int)) (or (<= (select |#memory_int| v_prenex_2) 0) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_2) (< v_prenex_2 ULTIMATE.start_main_p4))))} [2019-02-28 13:48:45,090 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:48:45,091 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:48:45,093 WARN L276 ngHoareTripleChecker]: Post: {115#false} [2019-02-28 13:48:45,093 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:48:45,093 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:48:45,095 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2362 [inf_0], [old(#valid)] -> [-inf_0] v_2361 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 28 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:48:45,095 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-28 13:48:45,096 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:48:45,096 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:48:45,802 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:48:45,802 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:48:45,803 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:48:45,803 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:48:45,803 WARN L224 ngHoareTripleChecker]: Pre: {117#(forall ((v_idx_912 Int) (v_idx_901 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 (= 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)) (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)) (<= (- (- 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 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-28 13:48:45,803 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:48:45,803 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:48:45,804 WARN L230 ngHoareTripleChecker]: Post: {118#false} [2019-02-28 13:48:45,804 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:48:45,810 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:48:45,811 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:48:45,967 WARN L270 ngHoareTripleChecker]: Pre: {117#(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_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))) (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 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) (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_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-28 13:48:45,968 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:48:45,968 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:48:45,969 WARN L276 ngHoareTripleChecker]: Post: {118#false} [2019-02-28 13:48:45,970 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:48:45,970 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:48:45,972 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2367 [inf_0], [old(#valid)] -> [-inf_0] v_2366 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 28 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:48:45,972 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) (#memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1];) [2019-02-28 13:48:45,972 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:48:45,972 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:48:49,513 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:48:49,513 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:48:49,513 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:48:49,514 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:48:49,514 WARN L224 ngHoareTripleChecker]: Pre: {123#(forall ((v_idx_1013 Int) (v_idx_1023 Int) (v_idx_1010 Int) (v_idx_1021 Int) (v_idx_1019 Int) (v_idx_1017 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_1010 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1010) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1010) 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 (and (<= (* 2 (select |c_#memory_int| v_idx_1023)) 0) (<= (select |c_#memory_int| v_idx_1023) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1023) (< v_idx_1023 c_ULTIMATE.start_main_p4)) (or (< v_idx_1021 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1021) (= (select |c_#memory_int| v_idx_1021) 0)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_1017 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1017) (= 0 (select |c_#memory_int| v_idx_1017))) (<= (+ 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_1013) (< v_idx_1013 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_1013))) (<= (- 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_1019 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1019) (= (select |c_#memory_int| v_idx_1019) 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-28 13:48:49,514 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:48:49,514 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:48:49,515 WARN L230 ngHoareTripleChecker]: Post: {124#false} [2019-02-28 13:48:49,515 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:48:49,521 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:48:49,522 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:48:49,613 WARN L270 ngHoareTripleChecker]: Pre: {123#(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_1023 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1023) (<= (* 2 (select |#memory_int| v_idx_1023)) 0) (< v_idx_1023 ULTIMATE.start_main_p4))) (forall ((v_idx_1021 Int)) (or (< v_idx_1021 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1021) (= (select |#memory_int| v_idx_1021) 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) (<= (+ 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_4 Int)) (or (<= (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_1019 Int)) (or (< v_idx_1019 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1019) (= (select |#memory_int| v_idx_1019) 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_1017 Int)) (or (< v_idx_1017 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1017) (= 0 (select |#memory_int| v_idx_1017)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_1013 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1013) (< v_idx_1013 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_1013)))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_1010 Int)) (or (< v_idx_1010 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1010) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1010) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:48:49,614 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:48:49,614 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:48:49,616 WARN L276 ngHoareTripleChecker]: Post: {124#false} [2019-02-28 13:48:49,616 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:48:49,616 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:48:49,618 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2407 [inf_0], [old(#valid)] -> [-inf_0] v_2406 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 28 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:48:49,619 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) (#memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1];) [2019-02-28 13:48:49,619 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:48:49,619 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:48:52,961 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:48:52,961 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:48:52,962 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:48:52,962 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:48:52,962 WARN L224 ngHoareTripleChecker]: Pre: {127#(forall ((v_idx_1126 Int) (v_idx_1122 Int) (v_idx_1132 Int) (v_idx_1130 Int) (v_idx_1119 Int) (v_idx_1128 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_1126 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_1126) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1126)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (= 1 (select |c_#valid| v_idx_1122)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1122) (< v_idx_1122 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 (= (select |c_#memory_int| v_idx_1128) 0) (< v_idx_1128 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1128)) (<= (- 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_1130 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1130) (= 0 (select |c_#memory_int| v_idx_1130))) (<= (+ 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_1119) 0) (< v_idx_1119 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1119)) (or (< v_idx_1132 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1132) (and (<= (* 2 (select |c_#memory_int| v_idx_1132)) 0) (<= (select |c_#memory_int| v_idx_1132) 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)))} [2019-02-28 13:48:52,962 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:48:52,963 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:48:52,963 WARN L230 ngHoareTripleChecker]: Post: {128#false} [2019-02-28 13:48:52,963 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:48:52,972 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:48:52,972 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:48:53,081 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) (forall ((v_idx_1122 Int)) (or (= 1 (select |#valid| v_idx_1122)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1122) (< v_idx_1122 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (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))) (<= (- 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_1128 Int)) (or (= (select |#memory_int| v_idx_1128) 0) (< v_idx_1128 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1128))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_1130 Int)) (or (< v_idx_1130 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1130) (= 0 (select |#memory_int| v_idx_1130)))) (forall ((v_idx_1126 Int)) (or (< v_idx_1126 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_1126) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1126))) (<= (- 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_1132 Int)) (or (<= (* 2 (select |#memory_int| v_idx_1132)) 0) (< v_idx_1132 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1132))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_1119 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1119) 0) (< v_idx_1119 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1119))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:48:53,082 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:48:53,082 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:48:53,084 WARN L276 ngHoareTripleChecker]: Post: {128#false} [2019-02-28 13:48:53,085 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:48:53,085 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:48:53,087 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2447 [inf_0], [old(#valid)] -> [-inf_0] v_2446 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 28 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:48:53,087 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) (#memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1];) [2019-02-28 13:48:53,088 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:48:53,088 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:48:56,769 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:48:56,769 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:48:56,769 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:48:56,770 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:48:56,770 WARN L224 ngHoareTripleChecker]: Pre: {135#(forall ((v_idx_1258 Int) (v_idx_1256 Int) (v_idx_1245 Int) (v_idx_1254 Int) (v_idx_1252 Int) (v_idx_1248 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_1252) (= (select |c_#memory_int| v_idx_1252) 0) (< v_idx_1252 c_ULTIMATE.start_main_p1)) (<= (- 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_1258) (< v_idx_1258 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_1258)) 0) (<= (select |c_#memory_int| v_idx_1258) 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) (or (< v_idx_1256 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1256) (= (select |c_#memory_int| v_idx_1256) 0)) (or (< v_idx_1248 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1248) (= (select |c_#valid| v_idx_1248) 1)) (or (< v_idx_1245 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1245) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1245)) (<= (- 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 (= (select |c_#memory_int| v_idx_1254) 0) (< v_idx_1254 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1254)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:48:56,770 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:48:56,770 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:48:56,770 WARN L230 ngHoareTripleChecker]: Post: {136#false} [2019-02-28 13:48:56,771 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:48:56,797 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:48:56,797 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:48:56,902 WARN L270 ngHoareTripleChecker]: Pre: {135#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_1254 Int)) (or (= (select |#memory_int| v_idx_1254) 0) (< v_idx_1254 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1254))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_1258 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1258) (< v_idx_1258 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_idx_1258) 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)) (forall ((v_idx_1245 Int)) (or (< v_idx_1245 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1245) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1245))) (<= (+ 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_1256 Int)) (or (< v_idx_1256 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1256) (= (select |#memory_int| v_idx_1256) 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) (forall ((v_idx_1252 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1252) (= (select |#memory_int| v_idx_1252) 0) (< v_idx_1252 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_prenex_6 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_6) (<= (* 2 (select |#memory_int| v_prenex_6)) 0) (< v_prenex_6 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_1248 Int)) (or (< v_idx_1248 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1248) (= (select |#valid| v_idx_1248) 1))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:48:56,902 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:48:56,903 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:48:56,904 WARN L276 ngHoareTripleChecker]: Post: {136#false} [2019-02-28 13:48:56,904 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:48:56,904 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:48:56,906 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2492 [inf_0], [old(#valid)] -> [-inf_0] v_2491 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 28 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:48:56,906 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-28 13:48:56,906 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:48:56,906 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:48:58,156 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:48:58,157 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:48:58,157 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:48:58,157 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:48:58,158 WARN L224 ngHoareTripleChecker]: Pre: {138#true} [2019-02-28 13:48:58,158 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:48:58,158 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:48:58,158 WARN L230 ngHoareTripleChecker]: Post: {139#(forall ((v_idx_1313 Int) (v_idx_1310 Int) (v_idx_1319 Int) (v_idx_1307 Int) (v_idx_1317 Int) (v_idx_1315 Int)) (and (or (= (select |c_#memory_int| v_idx_1315) 0) (< v_idx_1315 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1315)) (<= (- 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_#valid| v_idx_1310) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1310) (< v_idx_1310 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)) (<= (- 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 (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1307)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1307) (< v_idx_1307 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) (or (= 0 (select |c_#memory_int| v_idx_1313)) (< v_idx_1313 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1313)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_1319 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1319) (and (<= (select |c_#memory_int| v_idx_1319) 0) (<= (* 2 (select |c_#memory_int| v_idx_1319)) 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_1317 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1317) (= 0 (select |c_#memory_int| v_idx_1317))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:48:58,159 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:48:58,159 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:48:58,159 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:48:58,163 WARN L270 ngHoareTripleChecker]: Pre: {138#true} [2019-02-28 13:48:58,164 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:48:58,164 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:48:58,288 WARN L276 ngHoareTripleChecker]: Post: {139#(and (forall ((v_prenex_7 Int)) (or (< v_prenex_7 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_7) (<= (* 2 (select |#memory_int| v_prenex_7)) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_1319 Int)) (or (<= (select |#memory_int| v_idx_1319) 0) (< v_idx_1319 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1319))) (<= (- 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_1313 Int)) (or (= 0 (select |#memory_int| v_idx_1313)) (< v_idx_1313 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1313))) (forall ((v_idx_1315 Int)) (or (= (select |#memory_int| v_idx_1315) 0) (< v_idx_1315 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1315))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_1307 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1307)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1307) (< v_idx_1307 ULTIMATE.start_main_p4))) (forall ((v_idx_1310 Int)) (or (= (select |#valid| v_idx_1310) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1310) (< v_idx_1310 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_1317 Int)) (or (< v_idx_1317 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1317) (= 0 (select |#memory_int| v_idx_1317)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:48:58,288 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:48:58,289 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:48:58,289 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2499 [inf_0], [#valid] -> [-inf_0] v_2497 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2496 [inf_0], [old(#memory_int)] -> [-inf_0] v_2500 [inf_0], [old(#valid)] -> [-inf_0] v_2498 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:48:58,290 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) (#memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1];) [2019-02-28 13:48:58,291 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 26 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:48:58,292 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:49:00,432 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:49:00,433 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:49:00,435 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:49:00,435 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:49:00,435 WARN L224 ngHoareTripleChecker]: Pre: {143#true} [2019-02-28 13:49:00,435 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:49:00,436 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:49:00,436 WARN L230 ngHoareTripleChecker]: Post: {144#(forall ((v_idx_1433 Int) (v_idx_1430 Int) (v_idx_1439 Int) (v_idx_1427 Int) (v_idx_1437 Int) (v_idx_1435 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_1437 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1437) (= 0 (select |c_#memory_int| v_idx_1437))) (<= (- 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 (= 1 (select |c_#valid| v_idx_1430)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1430) (< v_idx_1430 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_1435 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1435) (= 0 (select |c_#memory_int| v_idx_1435))) (<= (- 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_1439 c_ULTIMATE.start_main_p4) (and (<= (* 2 (select |c_#memory_int| v_idx_1439)) 0) (<= (select |c_#memory_int| v_idx_1439) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1439)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_#memory_int| v_idx_1433)) (< v_idx_1433 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1433)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_1427 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1427)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1427)) (<= (+ 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-28 13:49:00,436 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:49:00,436 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:49:00,436 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:49:00,437 WARN L270 ngHoareTripleChecker]: Pre: {143#true} [2019-02-28 13:49:00,437 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:49:00,438 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:49:00,527 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) (forall ((v_idx_1433 Int)) (or (= 0 (select |#memory_int| v_idx_1433)) (< v_idx_1433 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1433))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1430 Int)) (or (= 1 (select |#valid| v_idx_1430)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1430) (< v_idx_1430 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) (<= (+ 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_1435 Int)) (or (< v_idx_1435 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1435) (= 0 (select |#memory_int| v_idx_1435)))) (forall ((v_idx_1439 Int)) (or (< v_idx_1439 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1439) (<= (select |#memory_int| v_idx_1439) 0))) (forall ((v_idx_1427 Int)) (or (< v_idx_1427 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1427)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1427))) (<= (- 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_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) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_1437 Int)) (or (< v_idx_1437 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1437) (= 0 (select |#memory_int| v_idx_1437)))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:49:00,527 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:49:00,528 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:49:00,528 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2575 [inf_0], [#valid] -> [-inf_0] v_2573 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2572 [inf_0], [old(#memory_int)] -> [-inf_0] v_2576 [inf_0], [old(#valid)] -> [-inf_0] v_2574 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:49:00,529 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-28 13:49:00,530 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 26 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:49:00,531 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:49:01,267 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:49:01,268 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:49:01,268 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:49:01,268 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:49:01,268 WARN L224 ngHoareTripleChecker]: Pre: {149#(forall ((v_idx_1466 Int) (v_idx_1462 Int) (v_idx_1472 Int) (v_idx_1470 Int) (v_idx_1459 Int) (v_idx_1468 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_1472 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_1472) 0) (<= (* 2 (select |c_#memory_int| v_idx_1472)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1472)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (or (= 1 (select |c_#valid| v_idx_1462)) (< v_idx_1462 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1462)) (<= (- 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_1468)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1468) (< v_idx_1468 c_ULTIMATE.start_main_p2)) (or (< v_idx_1470 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_1470) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1470)) (or (< v_idx_1459 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1459) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1459)) (<= (- 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) (or (< v_idx_1466 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_1466)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1466)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:49:01,269 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:49:01,269 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:49:01,269 WARN L230 ngHoareTripleChecker]: Post: {150#false} [2019-02-28 13:49:01,269 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:49:01,276 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:49:01,277 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:49:01,355 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_prenex_9 Int)) (or (<= (* 2 (select |#memory_int| v_prenex_9)) 0) (< v_prenex_9 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_9))) (forall ((v_idx_1462 Int)) (or (= 1 (select |#valid| v_idx_1462)) (< v_idx_1462 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1462))) (forall ((v_idx_1470 Int)) (or (< v_idx_1470 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_1470) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1470))) (forall ((v_idx_1459 Int)) (or (< v_idx_1459 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1459) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1459))) (<= (- 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_1466 Int)) (or (< v_idx_1466 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_1466)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1466))) (forall ((v_idx_1472 Int)) (or (< v_idx_1472 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_idx_1472) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1472))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_1468 Int)) (or (= 0 (select |#memory_int| v_idx_1468)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1468) (< v_idx_1468 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-28 13:49:01,355 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:49:01,356 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:49:01,357 WARN L276 ngHoareTripleChecker]: Post: {150#false} [2019-02-28 13:49:01,357 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:49:01,357 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:49:01,359 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], [old(#memory_int)] -> [-inf_0] v_2616 [inf_0], [old(#valid)] -> [-inf_0] v_2615 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 28 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:49:01,359 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-28 13:49:01,360 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:49:01,360 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:49:03,013 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:49:03,013 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:49:03,013 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:49:03,014 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:49:03,014 WARN L224 ngHoareTripleChecker]: Pre: {152#true} [2019-02-28 13:49:03,014 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-28 13:49:03,014 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-28 13:49:03,014 WARN L230 ngHoareTripleChecker]: Post: {153#(forall ((v_idx_1533 Int) (v_idx_1521 Int) (v_idx_1531 Int) (v_idx_1529 Int) (v_idx_1527 Int) (v_idx_1524 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_p1 1) v_idx_1527) (= (select |c_#memory_int| v_idx_1527) 0) (< v_idx_1527 c_ULTIMATE.start_main_p1)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1524) (= 1 (select |c_#valid| v_idx_1524)) (< v_idx_1524 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= (select |c_#memory_int| v_idx_1529) 0) (< v_idx_1529 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1529)) (<= (- 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 (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1531) (= 0 (select |c_#memory_int| v_idx_1531)) (< v_idx_1531 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (and (<= (select |c_#memory_int| v_idx_1533) 0) (<= (* 2 (select |c_#memory_int| v_idx_1533)) 0)) (< v_idx_1533 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1533)) (<= (+ 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_ULTIMATE.start_malloc_old_#valid| v_idx_1521) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1521) (< v_idx_1521 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-28 13:49:03,014 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:49:03,015 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:49:03,015 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:49:03,016 WARN L270 ngHoareTripleChecker]: Pre: {152#true} [2019-02-28 13:49:03,016 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-28 13:49:03,016 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-28 13:49:03,108 WARN L276 ngHoareTripleChecker]: Post: {153#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_1531 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_1531) (= 0 (select |#memory_int| v_idx_1531)) (< v_idx_1531 ULTIMATE.start_main_p3))) (forall ((v_idx_1521 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1521) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1521) (< v_idx_1521 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_1533 Int)) (or (< v_idx_1533 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1533) (<= (select |#memory_int| v_idx_1533) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_1529 Int)) (or (= (select |#memory_int| v_idx_1529) 0) (< v_idx_1529 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1529))) (<= (+ 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_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 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_1527 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_1527) (= (select |#memory_int| v_idx_1527) 0) (< v_idx_1527 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_1524 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1524) (= 1 (select |#valid| v_idx_1524)) (< v_idx_1524 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:49:03,108 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:49:03,108 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:49:03,109 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2623 [inf_0], [#valid] -> [-inf_0] v_2621 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2620 [inf_0], [old(#memory_int)] -> [-inf_0] v_2624 [inf_0], [old(#valid)] -> [-inf_0] v_2622 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:49:03,109 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) (assume !(#memory_int[main_p2] <= 0);) [2019-02-28 13:49:03,111 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 26 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:49:03,111 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:49:04,637 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:49:04,638 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:49:04,638 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:49:04,638 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:49:04,638 WARN L224 ngHoareTripleChecker]: Pre: {155#true} [2019-02-28 13:49:04,639 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:49:04,639 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:49:04,639 WARN L230 ngHoareTripleChecker]: Post: {156#(forall ((v_idx_1587 Int) (v_idx_1584 Int) (v_idx_1593 Int) (v_idx_1581 Int) (v_idx_1591 Int) (v_idx_1589 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_1587 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_1587)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1587)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1581) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1581)) (< v_idx_1581 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_p2 1) v_idx_1589) (< v_idx_1589 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_1589))) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1591) (= (select |c_#memory_int| v_idx_1591) 0) (< v_idx_1591 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_1593) (< v_idx_1593 c_ULTIMATE.start_main_p4) (and (<= (select |c_#memory_int| v_idx_1593) 0) (<= (* 2 (select |c_#memory_int| v_idx_1593)) 0))) (<= (+ 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_1584) (< v_idx_1584 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_1584))) (<= (+ 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-28 13:49:04,639 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:49:04,640 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:49:04,640 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:49:04,641 WARN L270 ngHoareTripleChecker]: Pre: {155#true} [2019-02-28 13:49:04,641 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:49:04,641 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:49:04,847 WARN L276 ngHoareTripleChecker]: Post: {156#(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_1591 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_1591) (= (select |#memory_int| v_idx_1591) 0) (< v_idx_1591 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_1593 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1593) (< v_idx_1593 ULTIMATE.start_main_p4) (<= (* 2 (select |#memory_int| v_idx_1593)) 0))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_prenex_11 Int)) (or (<= (select |#memory_int| v_prenex_11) 0) (< v_prenex_11 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_11))) (forall ((v_idx_1589 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_1589) (< v_idx_1589 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_1589)))) (forall ((v_idx_1581 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1581) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_1581)) (< v_idx_1581 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_1584 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1584) (< v_idx_1584 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_1584)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_1587 Int)) (or (< v_idx_1587 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_1587)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1587))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:49:04,847 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:49:04,848 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:49:04,848 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2661 [inf_0], [#valid] -> [-inf_0] v_2659 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2658 [inf_0], [old(#memory_int)] -> [-inf_0] v_2662 [inf_0], [old(#valid)] -> [-inf_0] v_2660 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:49:04,848 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-28 13:49:04,849 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 26 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:49:04,849 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:49:05,933 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:49:05,934 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:49:05,934 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:49:05,935 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:49:05,935 WARN L224 ngHoareTripleChecker]: Pre: {161#true} [2019-02-28 13:49:05,935 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-28 13:49:05,935 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-28 13:49:05,936 WARN L230 ngHoareTripleChecker]: Post: {162#(forall ((v_idx_1664 Int) (v_idx_1661 Int) (v_idx_1670 Int) (v_idx_1658 Int) (v_idx_1668 Int) (v_idx_1666 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_p3 1) v_idx_1668) (= 0 (select |c_#memory_int| v_idx_1668)) (< v_idx_1668 c_ULTIMATE.start_main_p3)) (<= (- 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_1658) (< v_idx_1658 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1658) 0)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_1666)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1666) (< v_idx_1666 c_ULTIMATE.start_main_p2)) (or (and (<= (select |c_#memory_int| v_idx_1670) 0) (<= (* 2 (select |c_#memory_int| v_idx_1670)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1670) (< v_idx_1670 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1661) (= 1 (select |c_#valid| v_idx_1661)) (< v_idx_1661 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) (<= (- 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_#memory_int| v_idx_1664) 0) (< v_idx_1664 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1664))))} [2019-02-28 13:49:05,936 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:49:05,936 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:49:05,937 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:49:05,938 WARN L270 ngHoareTripleChecker]: Pre: {161#true} [2019-02-28 13:49:05,938 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-28 13:49:05,938 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-28 13:49:06,001 WARN L276 ngHoareTripleChecker]: Post: {162#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_1664 Int)) (or (= (select |#memory_int| v_idx_1664) 0) (< v_idx_1664 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1664))) (<= (- 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_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) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1670 Int)) (or (<= (* 2 (select |#memory_int| v_idx_1670)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1670) (< v_idx_1670 ULTIMATE.start_main_p4))) (forall ((v_idx_1668 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_1668) (= 0 (select |#memory_int| v_idx_1668)) (< v_idx_1668 ULTIMATE.start_main_p3))) (forall ((v_idx_1658 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1658) (< v_idx_1658 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1658) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_1661 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1661) (= 1 (select |#valid| v_idx_1661)) (< v_idx_1661 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_1666 Int)) (or (= 0 (select |#memory_int| v_idx_1666)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1666) (< v_idx_1666 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:49:06,002 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:49:06,002 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:49:06,002 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2704 [inf_0], [#valid] -> [-inf_0] v_2702 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2701 [inf_0], [old(#memory_int)] -> [-inf_0] v_2705 [inf_0], [old(#valid)] -> [-inf_0] v_2703 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:49:06,003 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) (assume !(#memory_int[main_p3] >= 0);) [2019-02-28 13:49:06,004 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 26 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:49:06,005 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:49:07,074 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:49:07,075 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:49:07,075 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:49:07,075 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:49:07,076 WARN L224 ngHoareTripleChecker]: Pre: {164#true} [2019-02-28 13:49:07,076 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:49:07,076 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:49:07,076 WARN L230 ngHoareTripleChecker]: Post: {165#(forall ((v_idx_1730 Int) (v_idx_1718 Int) (v_idx_1728 Int) (v_idx_1726 Int) (v_idx_1724 Int) (v_idx_1721 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_1728 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1728) (= (select |c_#memory_int| v_idx_1728) 0)) (<= (- 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 (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_1718) 0) (< v_idx_1718 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1718)) (<= 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_1726 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_1726) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1726)) (<= (+ 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_1724)) (< v_idx_1724 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1724)) (or (< v_idx_1730 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1730) (and (<= (select |c_#memory_int| v_idx_1730) 0) (<= (* 2 (select |c_#memory_int| v_idx_1730)) 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_1721) (= (select |c_#valid| v_idx_1721) 1) (< v_idx_1721 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-28 13:49:07,077 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:49:07,077 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:49:07,077 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:49:07,078 WARN L270 ngHoareTripleChecker]: Pre: {164#true} [2019-02-28 13:49:07,078 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:49:07,079 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:49:07,507 WARN L276 ngHoareTripleChecker]: Post: {165#(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_1728 Int)) (or (< v_idx_1728 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_1728) (= (select |#memory_int| v_idx_1728) 0))) (forall ((v_idx_1726 Int)) (or (< v_idx_1726 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_1726) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1726))) (<= (- 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_1730 Int)) (or (<= (select |#memory_int| v_idx_1730) 0) (< v_idx_1730 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1730))) (forall ((v_prenex_13 Int)) (or (< v_prenex_13 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_prenex_13) (<= (* 2 (select |#memory_int| v_prenex_13)) 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) (forall ((v_idx_1721 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1721) (= (select |#valid| v_idx_1721) 1) (< v_idx_1721 ULTIMATE.start_main_p4))) (forall ((v_idx_1718 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1718) 0) (< v_idx_1718 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1718))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_1724 Int)) (or (= 0 (select |#memory_int| v_idx_1724)) (< v_idx_1724 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1724))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:49:07,507 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:49:07,507 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:49:07,508 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2742 [inf_0], [#valid] -> [-inf_0] v_2740 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2739 [inf_0], [old(#memory_int)] -> [-inf_0] v_2743 [inf_0], [old(#valid)] -> [-inf_0] v_2741 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:49:07,508 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-28 13:49:07,510 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 26 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:49:07,510 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:49:08,803 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:49:08,803 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:49:08,808 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:49:08,808 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:49:08,808 WARN L224 ngHoareTripleChecker]: Pre: {167#true} [2019-02-28 13:49:08,808 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-28 13:49:08,809 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-28 13:49:08,809 WARN L230 ngHoareTripleChecker]: Post: {168#(forall ((v_idx_1786 Int) (v_idx_1784 Int) (v_idx_1781 Int) (v_idx_1790 Int) (v_idx_1778 Int) (v_idx_1788 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 (<= (select |c_#memory_int| v_idx_1790) 0) (<= (* 2 (select |c_#memory_int| v_idx_1790)) 0)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1790) (< v_idx_1790 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 (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_1788) (= (select |c_#memory_int| v_idx_1788) 0) (< v_idx_1788 c_ULTIMATE.start_main_p3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1781) (< v_idx_1781 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_1781))) (or (= (select |c_#memory_int| v_idx_1784) 0) (< v_idx_1784 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_1784)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= (select |c_#memory_int| v_idx_1786) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_1786) (< v_idx_1786 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_ULTIMATE.start_malloc_old_#valid| v_idx_1778) 0) (< v_idx_1778 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_1778)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:49:08,809 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:49:08,810 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:49:08,810 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:49:08,811 WARN L270 ngHoareTripleChecker]: Pre: {167#true} [2019-02-28 13:49:08,811 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-28 13:49:08,811 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-28 13:49:08,882 WARN L276 ngHoareTripleChecker]: Post: {168#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_1788 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_1788) (= (select |#memory_int| v_idx_1788) 0) (< v_idx_1788 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_prenex_14 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_prenex_14) (< v_prenex_14 ULTIMATE.start_main_p4) (<= (select |#memory_int| v_prenex_14) 0))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_1790 Int)) (or (<= (* 2 (select |#memory_int| v_idx_1790)) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1790) (< v_idx_1790 ULTIMATE.start_main_p4))) (forall ((v_idx_1778 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_1778) 0) (< v_idx_1778 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_1778))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_1784 Int)) (or (= (select |#memory_int| v_idx_1784) 0) (< v_idx_1784 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_1784))) (<= (+ 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_1781 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_1781) (< v_idx_1781 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_1781)))) (<= (+ 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_1786 Int)) (or (= (select |#memory_int| v_idx_1786) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_1786) (< v_idx_1786 ULTIMATE.start_main_p2))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:49:08,882 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:49:08,882 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:49:08,883 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2780 [inf_0], [#valid] -> [-inf_0] v_2778 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2777 [inf_0], [old(#memory_int)] -> [-inf_0] v_2781 [inf_0], [old(#valid)] -> [-inf_0] v_2779 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:49:08,883 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) (assume !(#memory_int[main_p4] <= 0);) [2019-02-28 13:49:08,884 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1536 [b_128] v_1537 [b_129] v_1538 [b_130] v_1539 [b_131] v_1540 [b_132] v_1541 [b_133] v_1542 [b_134] v_1543 [b_135] v_1544 [inf_0], [#valid] -> [-inf_0] v_1533 [b_126] v_1534 [b_127] v_1535 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1529 [b_124] v_1530 [b_125] v_1531 [inf_0], }, Substate: {ints: {v_1530 = [0; 0]; v_1534 = [1; 1]; v_1539 = [0; 0]; v_1537 = [0; 0]; v_1541 = [0; 0]; v_1543 = [-inf; 0]}, 26 vars top, relations: {b_127 - b_134 = [1; 1]; b_124 - b_134 = [0; 0]; ULTIMATE.start_malloc_ptr - b_134 = [0; 0]; b_129 - b_134 = [-inf; -2]; b_130 - b_134 = [-inf; -2]; b_125 - b_134 = [1; 1]; b_131 - b_134 = [-inf; -1]; b_128 - b_134 = [-inf; -3]; b_132 - b_134 = [-inf; -1]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_main_p1 - b_134 = [-inf; -3]; ULTIMATE.start_main_p2 - b_134 = [-inf; -2]; b_126 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [0; 0]; b_124 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_127 = [-1; -1]; b_125 - b_127 = [0; 0]; ULTIMATE.start_main_p1 - b_127 = [-inf; -4]; ULTIMATE.start_main_p2 - b_127 = [-inf; -3]; b_126 - b_127 = [-1; -1]; ULTIMATE.start_main_p3 - b_127 = [-inf; -2]; ULTIMATE.start_main_p4 - b_127 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_124 = [0; 0]; ULTIMATE.start_main_p1 - b_124 = [-inf; -3]; ULTIMATE.start_main_p2 - b_124 = [-inf; -2]; ULTIMATE.start_main_p3 - b_124 = [-inf; -1]; ULTIMATE.start_main_p4 - b_124 = [0; 0]; v_1530 + v_1534 = [1; 1]; v_1530 - v_1534 = [-1; -1]; 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_134 - b_135 = [-1; -1]; b_127 - b_135 = [0; 0]; b_124 - b_135 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_135 = [-1; -1]; b_129 - b_135 = [-inf; -3]; b_130 - b_135 = [-inf; -3]; b_125 - b_135 = [0; 0]; b_131 - b_135 = [-inf; -2]; b_128 - b_135 = [-inf; -4]; b_132 - b_135 = [-inf; -2]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -4]; ULTIMATE.start_main_p2 - b_135 = [-inf; -3]; b_126 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [-1; -1]; b_127 - b_129 = [3; inf]; b_124 - b_129 = [2; inf]; ULTIMATE.start_malloc_ptr - b_129 = [2; inf]; b_125 - b_129 = [3; inf]; b_128 - b_129 = [-1; -1]; ULTIMATE.start_main_p1 - b_129 = [-1; -1]; ULTIMATE.start_main_p2 - b_129 = [0; inf]; b_126 - b_129 = [2; inf]; ULTIMATE.start_main_p3 - b_129 = [1; inf]; ULTIMATE.start_main_p4 - b_129 = [2; inf]; b_127 - b_130 = [3; inf]; b_124 - b_130 = [2; inf]; ULTIMATE.start_malloc_ptr - b_130 = [2; inf]; b_129 - b_130 = [-inf; 0]; b_125 - b_130 = [3; inf]; b_128 - b_130 = [-inf; -1]; ULTIMATE.start_main_p1 - b_130 = [-inf; -1]; ULTIMATE.start_main_p2 - b_130 = [0; 0]; b_126 - b_130 = [2; inf]; ULTIMATE.start_main_p3 - b_130 = [1; inf]; ULTIMATE.start_main_p4 - b_130 = [2; inf]; b_124 - b_125 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_125 = [-1; -1]; ULTIMATE.start_main_p1 - b_125 = [-inf; -4]; ULTIMATE.start_main_p2 - b_125 = [-inf; -3]; ULTIMATE.start_main_p3 - b_125 = [-inf; -2]; ULTIMATE.start_main_p4 - b_125 = [-1; -1]; 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]; b_127 - b_131 = [2; inf]; b_124 - b_131 = [1; inf]; ULTIMATE.start_malloc_ptr - b_131 = [1; inf]; b_129 - b_131 = [-inf; -1]; b_130 - b_131 = [-1; -1]; b_125 - b_131 = [2; inf]; b_128 - b_131 = [-inf; -2]; ULTIMATE.start_main_p1 - b_131 = [-inf; -2]; ULTIMATE.start_main_p2 - b_131 = [-1; -1]; b_126 - b_131 = [1; inf]; ULTIMATE.start_main_p3 - b_131 = [0; inf]; ULTIMATE.start_main_p4 - b_131 = [1; inf]; 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_127 - b_128 = [4; inf]; b_124 - b_128 = [3; inf]; ULTIMATE.start_malloc_ptr - b_128 = [3; inf]; b_125 - b_128 = [4; inf]; ULTIMATE.start_main_p1 - b_128 = [0; 0]; ULTIMATE.start_main_p2 - b_128 = [1; inf]; b_126 - b_128 = [3; inf]; ULTIMATE.start_main_p3 - b_128 = [2; inf]; ULTIMATE.start_main_p4 - b_128 = [3; inf]; 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]; b_127 - b_132 = [2; inf]; b_124 - b_132 = [1; inf]; ULTIMATE.start_malloc_ptr - b_132 = [1; inf]; b_129 - b_132 = [-inf; -1]; b_130 - b_132 = [-inf; -1]; b_125 - b_132 = [2; inf]; b_131 - b_132 = [-inf; 0]; b_128 - b_132 = [-inf; -2]; ULTIMATE.start_main_p1 - b_132 = [-inf; -2]; ULTIMATE.start_main_p2 - b_132 = [-inf; -1]; b_126 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [0; 0]; ULTIMATE.start_main_p4 - b_132 = [1; inf]; 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_1537 + v_1543 = [-inf; 0]; v_1537 - v_1543 = [0; inf]; v_1541 + v_1543 = [-inf; 0]; v_1541 - v_1543 = [0; inf]; b_127 - b_133 = [1; inf]; b_124 - b_133 = [0; inf]; ULTIMATE.start_malloc_ptr - b_133 = [0; inf]; b_129 - b_133 = [-inf; -2]; b_130 - b_133 = [-inf; -2]; b_125 - b_133 = [1; inf]; b_131 - b_133 = [-inf; -1]; b_128 - b_133 = [-inf; -3]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p1 - b_133 = [-inf; -3]; ULTIMATE.start_main_p2 - b_133 = [-inf; -2]; b_126 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; b_124 - b_126 = [0; 0]; ULTIMATE.start_malloc_ptr - b_126 = [0; 0]; b_125 - b_126 = [1; 1]; ULTIMATE.start_main_p1 - b_126 = [-inf; -3]; ULTIMATE.start_main_p2 - b_126 = [-inf; -2]; ULTIMATE.start_main_p3 - b_126 = [-inf; -1]; ULTIMATE.start_main_p4 - b_126 = [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]}, }}} [2019-02-28 13:49:08,885 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:49:08,890 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:49:08,890 INFO L93 Difference]: Finished difference Result 18 states and 28 transitions. [2019-02-28 13:49:08,890 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-28 13:49:08,890 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-28 13:49:08,890 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-28 13:49:08,891 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:49:08,892 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-28 13:49:08,892 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:49:08,893 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-28 13:49:08,893 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 23 transitions. [2019-02-28 13:49:09,034 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-28 13:49:09,036 INFO L225 Difference]: With dead ends: 18 [2019-02-28 13:49:09,036 INFO L226 Difference]: Without dead ends: 11 [2019-02-28 13:49:09,037 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-28 13:49:09,038 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 11 states. [2019-02-28 13:49:09,069 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 11 to 10. [2019-02-28 13:49:09,069 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-28 13:49:09,069 INFO L82 GeneralOperation]: Start isEquivalent. First operand 11 states. Second operand 10 states. [2019-02-28 13:49:09,069 INFO L74 IsIncluded]: Start isIncluded. First operand 11 states. Second operand 10 states. [2019-02-28 13:49:09,070 INFO L87 Difference]: Start difference. First operand 11 states. Second operand 10 states. [2019-02-28 13:49:09,072 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:49:09,072 INFO L93 Difference]: Finished difference Result 11 states and 20 transitions. [2019-02-28 13:49:09,072 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 20 transitions. [2019-02-28 13:49:09,072 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:49:09,072 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:49:09,073 INFO L74 IsIncluded]: Start isIncluded. First operand 10 states. Second operand 11 states. [2019-02-28 13:49:09,073 INFO L87 Difference]: Start difference. First operand 10 states. Second operand 11 states. [2019-02-28 13:49:09,075 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:49:09,075 INFO L93 Difference]: Finished difference Result 11 states and 20 transitions. [2019-02-28 13:49:09,075 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 20 transitions. [2019-02-28 13:49:09,076 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:49:09,076 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:49:09,076 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-28 13:49:09,076 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-28 13:49:09,076 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2019-02-28 13:49:09,077 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 16 transitions. [2019-02-28 13:49:09,078 INFO L78 Accepts]: Start accepts. Automaton has 10 states and 16 transitions. Word has length 3 [2019-02-28 13:49:09,078 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-28 13:49:09,078 INFO L480 AbstractCegarLoop]: Abstraction has 10 states and 16 transitions. [2019-02-28 13:49:09,078 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-28 13:49:09,078 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 16 transitions. [2019-02-28 13:49:09,078 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-02-28 13:49:09,078 INFO L394 BasicCegarLoop]: Found error trace [2019-02-28 13:49:09,079 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-02-28 13:49:09,079 INFO L423 AbstractCegarLoop]: === Iteration 3 === [ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT]=== [2019-02-28 13:49:09,080 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:49:09,080 INFO L82 PathProgramCache]: Analyzing trace with hash 29996, now seen corresponding path program 1 times [2019-02-28 13:49:09,080 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-28 13:49:09,081 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:49:09,081 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-28 13:49:09,081 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:49:09,082 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-28 13:49:09,092 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-28 13:49:09,148 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-28 13:49:09,149 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-28 13:49:09,151 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-28 13:49:09,151 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-02-28 13:49:09,151 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-28 13:49:09,151 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-28 13:49:09,152 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 4 with the following transitions: [2019-02-28 13:49:09,152 INFO L207 CegarAbsIntRunner]: [0], [6], [19] [2019-02-28 13:49:09,154 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-28 13:49:09,154 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-28 13:50:18,090 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-28 13:50:18,090 INFO L272 AbstractInterpreter]: Visited 3 different actions 13 times. Merged at 1 different actions 5 times. Widened at 1 different actions 1 times. Found 1 fixpoints after 1 different actions. Largest state had 0 variables. [2019-02-28 13:50:18,091 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:50:18,091 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-28 13:50:24,043 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-28 13:50:25,595 INFO L420 sIntCurrentIteration]: We unified 2 AI predicates to 2 [2019-02-28 13:50:29,008 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-28 13:50:29,008 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-28 13:50:29,008 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [2] total 3 [2019-02-28 13:50:29,008 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-28 13:50:29,009 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-28 13:50:29,009 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-28 13:50:29,009 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-28 13:50:29,176 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 3 edges. 3 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-28 13:50:29,177 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-28 13:50:29,177 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-28 13:50:29,177 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:50:29,177 INFO L87 Difference]: Start difference. First operand 10 states and 16 transitions. Second operand 3 states. [2019-02-28 13:50:29,760 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:29,760 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:29,761 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:29,761 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:29,761 WARN L224 ngHoareTripleChecker]: Pre: {230#(forall ((v_idx_2665 Int) (v_idx_2661 Int) (v_idx_2671 Int) (v_idx_2669 Int) (v_idx_2658 Int) (v_idx_2667 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_p2 1) v_idx_2667) (< v_idx_2667 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_2667) 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 (* 2 (select |c_#memory_int| v_idx_2665))) (<= 0 (select |c_#memory_int| v_idx_2665))) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2665) (< v_idx_2665 c_ULTIMATE.start_main_p1)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2669) (< v_idx_2669 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_2669))) (<= 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 (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2658)) (< v_idx_2658 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2658)) (<= 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_p4 1) v_idx_2661) (= 1 (select |c_#valid| v_idx_2661)) (< v_idx_2661 c_ULTIMATE.start_main_p4)) (<= (- 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_2671 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_2671)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2671)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:50:29,761 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:50:29,761 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:50:29,762 WARN L230 ngHoareTripleChecker]: Post: {231#false} [2019-02-28 13:50:29,762 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:29,785 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:29,785 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:29,892 WARN L270 ngHoareTripleChecker]: Pre: {230#(and (forall ((v_idx_2665 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_2665) (< v_idx_2665 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_2665)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_15 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_prenex_15) (< v_prenex_15 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_15))))) (<= (- 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_2667 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_2667) (< v_idx_2667 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_2667) 0))) (<= 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)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_2671 Int)) (or (< v_idx_2671 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_2671)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2671))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_2661 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2661) (= 1 (select |#valid| v_idx_2661)) (< v_idx_2661 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) (forall ((v_idx_2669 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_2669) (< v_idx_2669 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_2669)))) (<= (- 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_2658 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2658)) (< v_idx_2658 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2658))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:50:29,892 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:50:29,893 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:50:29,894 WARN L276 ngHoareTripleChecker]: Post: {231#false} [2019-02-28 13:50:29,895 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:29,895 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:29,896 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], [old(#memory_int)] -> [-inf_0] v_2289 [inf_0], [old(#valid)] -> [-inf_0] v_2288 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:29,896 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) (#memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1];) [2019-02-28 13:50:29,896 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:50:29,896 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:35,332 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:35,333 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:35,333 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:35,333 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:35,334 WARN L224 ngHoareTripleChecker]: Pre: {236#(forall ((v_idx_2776 Int) (v_idx_2774 Int) (v_idx_2770 Int) (v_idx_2780 Int) (v_idx_2767 Int) (v_idx_2778 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_p2 1) v_idx_2776) (< v_idx_2776 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_2776))) (<= (- 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_2774) (and (<= 0 (select |c_#memory_int| v_idx_2774)) (<= 0 (* 2 (select |c_#memory_int| v_idx_2774)))) (< v_idx_2774 c_ULTIMATE.start_main_p1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2780) (< v_idx_2780 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_2780))) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2767) (< v_idx_2767 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2767))) (or (< v_idx_2770 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2770) (= 1 (select |c_#valid| v_idx_2770))) (<= (- 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 (= (select |c_#memory_int| v_idx_2778) 0) (< v_idx_2778 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2778)) (<= (+ 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)))} [2019-02-28 13:50:35,334 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:50:35,334 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:50:35,334 WARN L230 ngHoareTripleChecker]: Post: {237#false} [2019-02-28 13:50:35,335 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:35,358 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:35,358 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:35,618 WARN L270 ngHoareTripleChecker]: Pre: {236#(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_2774 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_2774) (<= 0 (* 2 (select |#memory_int| v_idx_2774))) (< v_idx_2774 ULTIMATE.start_main_p1))) (forall ((v_idx_2778 Int)) (or (= (select |#memory_int| v_idx_2778) 0) (< v_idx_2778 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_2778))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_2770 Int)) (or (< v_idx_2770 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2770) (= 1 (select |#valid| v_idx_2770)))) (<= 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)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_2767 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2767) (< v_idx_2767 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2767)))) (forall ((v_prenex_16 Int)) (or (< v_prenex_16 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_16) (<= 0 (select |#memory_int| v_prenex_16)))) (<= (- 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_2776 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_2776) (< v_idx_2776 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_2776)))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_2780 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2780) (< v_idx_2780 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_2780)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:50:35,618 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:50:35,619 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:50:35,623 WARN L276 ngHoareTripleChecker]: Post: {237#false} [2019-02-28 13:50:35,623 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:35,623 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:35,625 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], [old(#memory_int)] -> [-inf_0] v_2329 [inf_0], [old(#valid)] -> [-inf_0] v_2328 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:35,625 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) (#memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1];) [2019-02-28 13:50:35,625 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:50:35,625 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:36,522 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:36,522 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:36,523 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:36,523 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:36,523 WARN L224 ngHoareTripleChecker]: Pre: {240#(forall ((v_idx_2787 Int) (v_idx_2797 Int) (v_idx_2784 Int) (v_idx_2795 Int) (v_idx_2793 Int) (v_idx_2791 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_2787 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2787) (= 1 (select |c_#valid| v_idx_2787))) (<= (- 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 (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2784)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2784) (< v_idx_2784 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_2795 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2795) (= 0 (select |c_#memory_int| v_idx_2795))) (or (= 0 (select |c_#memory_int| v_idx_2797)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2797) (< v_idx_2797 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (< v_idx_2791 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_2791) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_2791))) (<= 0 (select |c_#memory_int| v_idx_2791)))) (<= (+ 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_2793 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2793) (= 0 (select |c_#memory_int| v_idx_2793))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:50:36,523 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:50:36,524 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:50:36,524 WARN L230 ngHoareTripleChecker]: Post: {241#false} [2019-02-28 13:50:36,524 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:36,550 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:36,550 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:36,623 WARN L270 ngHoareTripleChecker]: Pre: {240#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_2787 Int)) (or (< v_idx_2787 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2787) (= 1 (select |#valid| v_idx_2787)))) (<= (- 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_2793 Int)) (or (< v_idx_2793 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2793) (= 0 (select |#memory_int| v_idx_2793)))) (<= 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)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_2791 Int)) (or (< v_idx_2791 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_2791) (<= 0 (* 2 (select |#memory_int| v_idx_2791))))) (forall ((v_idx_2797 Int)) (or (= 0 (select |#memory_int| v_idx_2797)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2797) (< v_idx_2797 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_2795 Int)) (or (< v_idx_2795 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_2795) (= 0 (select |#memory_int| v_idx_2795)))) (forall ((v_prenex_17 Int)) (or (<= 0 (select |#memory_int| v_prenex_17)) (< v_prenex_17 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_17))) (<= (+ 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_2784 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_2784)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2784) (< v_idx_2784 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:50:36,624 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:50:36,624 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:50:36,625 WARN L276 ngHoareTripleChecker]: Post: {241#false} [2019-02-28 13:50:36,625 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:36,625 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:36,627 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], [old(#memory_int)] -> [-inf_0] v_2334 [inf_0], [old(#valid)] -> [-inf_0] v_2333 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:36,628 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) (#memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1];) [2019-02-28 13:50:36,628 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:50:36,628 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:41,185 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:41,185 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:41,186 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:41,186 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:41,186 WARN L224 ngHoareTripleChecker]: Pre: {246#(forall ((v_idx_2896 Int) (v_idx_2893 Int) (v_idx_2906 Int) (v_idx_2904 Int) (v_idx_2902 Int) (v_idx_2900 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_2900) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_2900))) (<= 0 (select |c_#memory_int| v_idx_2900))) (< v_idx_2900 c_ULTIMATE.start_main_p1)) (<= (- 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 (< v_idx_2906 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_2906) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2906)) (<= (+ 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_2896) (= (select |c_#valid| v_idx_2896) 1) (< v_idx_2896 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_2904) (= (select |c_#memory_int| v_idx_2904) 0) (< v_idx_2904 c_ULTIMATE.start_main_p3)) (<= (+ 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_2902 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_2902) (= (select |c_#memory_int| v_idx_2902) 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_2893 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_2893) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_2893) 0))))} [2019-02-28 13:50:41,186 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:50:41,187 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:50:41,187 WARN L230 ngHoareTripleChecker]: Post: {247#false} [2019-02-28 13:50:41,187 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:41,213 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:41,213 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:41,299 WARN L270 ngHoareTripleChecker]: Pre: {246#(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_prenex_18 Int)) (or (< v_prenex_18 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_18))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_18))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_2904 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_2904) (= (select |#memory_int| v_idx_2904) 0) (< v_idx_2904 ULTIMATE.start_main_p3))) (<= (- 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_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_2902 Int)) (or (< v_idx_2902 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_2902) (= (select |#memory_int| v_idx_2902) 0))) (<= (+ ULTIMATE.start_main_p2 1) ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_main_p4) (forall ((v_idx_2906 Int)) (or (< v_idx_2906 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_2906) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2906))) (<= (+ ULTIMATE.start_main_p2 2) ULTIMATE.start_malloc_ptr) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_malloc_ptr) (- 2)) (forall ((v_idx_2893 Int)) (or (< v_idx_2893 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_2893) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_2893) 0))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (forall ((v_idx_2900 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_2900) (<= 0 (select |#memory_int| v_idx_2900)) (< v_idx_2900 ULTIMATE.start_main_p1))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_2896 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_2896) (= (select |#valid| v_idx_2896) 1) (< v_idx_2896 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:50:41,300 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:50:41,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-28 13:50:41,301 WARN L276 ngHoareTripleChecker]: Post: {247#false} [2019-02-28 13:50:41,302 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:41,302 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:41,304 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], [old(#memory_int)] -> [-inf_0] v_2374 [inf_0], [old(#valid)] -> [-inf_0] v_2373 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:41,304 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) (#memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1];) [2019-02-28 13:50:41,304 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:50:41,304 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:45,411 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:45,411 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:45,412 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:45,412 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:45,412 WARN L224 ngHoareTripleChecker]: Pre: {250#true} [2019-02-28 13:50:45,412 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:50:45,413 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:50:45,413 WARN L230 ngHoareTripleChecker]: Post: {251#(forall ((v_idx_3059 Int) (v_idx_3055 Int) (v_idx_3057 Int) (v_idx_3047 Int) (v_idx_3053 Int) (v_idx_3050 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 (and (<= 0 (select |c_#memory_int| v_idx_3053)) (<= 0 (* 2 (select |c_#memory_int| v_idx_3053)))) (< v_idx_3053 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3053)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p3) (- 1)) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3047) 0) (< v_idx_3047 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3047)) (<= (- 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_3055)) (< v_idx_3055 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3055)) (<= (- 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 (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3057) (< v_idx_3057 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_3057))) (<= (- 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 (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3059) (= 0 (select |c_#memory_int| v_idx_3059)) (< v_idx_3059 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_3050) (< v_idx_3050 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_3050) 1)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:50:45,413 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:45,414 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:45,414 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:45,415 WARN L270 ngHoareTripleChecker]: Pre: {250#true} [2019-02-28 13:50:45,415 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:50:45,416 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:50:45,527 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_3053 Int)) (or (< v_idx_3053 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_3053)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3053))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_3059 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3059) (= 0 (select |#memory_int| v_idx_3059)) (< v_idx_3059 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) (<= (+ 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_3055 Int)) (or (= 0 (select |#memory_int| v_idx_3055)) (< v_idx_3055 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3055))) (forall ((v_idx_3057 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_3057) (< v_idx_3057 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_3057)))) (forall ((v_prenex_19 Int)) (or (< v_prenex_19 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_19))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_19))) (<= (- 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_idx_3047 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_3047) 0) (< v_idx_3047 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3047))) (<= (+ 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_3050 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3050) (< v_idx_3050 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_3050) 1))))} [2019-02-28 13:50:45,527 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:45,527 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:45,527 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2416 [inf_0], [#valid] -> [-inf_0] v_2414 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2413 [inf_0], [old(#memory_int)] -> [-inf_0] v_2417 [inf_0], [old(#valid)] -> [-inf_0] v_2415 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:50:45,528 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) (#memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1];) [2019-02-28 13:50:45,529 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:45,529 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:46,251 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:46,251 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:46,252 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:46,252 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:46,252 WARN L224 ngHoareTripleChecker]: Pre: {253#(forall ((v_idx_3069 Int) (v_idx_3062 Int) (v_idx_3073 Int) (v_idx_3075 Int) (v_idx_3065 Int) (v_idx_3071 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_3075 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_3075) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3075)) (or (< v_idx_3069 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3069) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3069))) (<= 0 (select |c_#memory_int| v_idx_3069)))) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_main_p4) (or (< v_idx_3062 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3062) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3062)) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (= (select |c_#memory_int| v_idx_3071) 0) (< v_idx_3071 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3071)) (<= (- 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_#memory_int| v_idx_3073) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3073) (< v_idx_3073 c_ULTIMATE.start_main_p3)) (<= (+ 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_3065) (< v_idx_3065 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_3065) 1)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:50:46,252 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:50:46,252 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:50:46,252 WARN L230 ngHoareTripleChecker]: Post: {254#false} [2019-02-28 13:50:46,253 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:46,277 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:46,277 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:46,593 WARN L270 ngHoareTripleChecker]: Pre: {253#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_3065 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3065) (< v_idx_3065 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_3065) 1))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_3069 Int)) (or (< v_idx_3069 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3069) (<= 0 (select |#memory_int| v_idx_3069)))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_3073 Int)) (or (= (select |#memory_int| v_idx_3073) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3073) (< v_idx_3073 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_3062 Int)) (or (< v_idx_3062 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_3062) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3062))) (<= 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)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_3075 Int)) (or (< v_idx_3075 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_3075) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3075))) (forall ((v_idx_3071 Int)) (or (= (select |#memory_int| v_idx_3071) 0) (< v_idx_3071 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3071))) (<= (+ 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_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) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:50:46,594 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:50:46,594 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:50:46,621 WARN L276 ngHoareTripleChecker]: Post: {254#false} [2019-02-28 13:50:46,621 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:46,621 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:46,623 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], [old(#memory_int)] -> [-inf_0] v_2452 [inf_0], [old(#valid)] -> [-inf_0] v_2451 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:46,623 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-28 13:50:46,623 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:50:46,623 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:50,192 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:50,192 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:50,193 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:50,193 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:50,193 WARN L224 ngHoareTripleChecker]: Pre: {259#true} [2019-02-28 13:50:50,193 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:50:50,194 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:50:50,194 WARN L230 ngHoareTripleChecker]: Post: {260#(forall ((v_idx_3187 Int) (v_idx_3194 Int) (v_idx_3184 Int) (v_idx_3196 Int) (v_idx_3190 Int) (v_idx_3192 Int)) (and (or (< v_idx_3184 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3184)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3184)) (<= (- 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) (or (and (<= 0 (select |c_#memory_int| v_idx_3190)) (<= 0 (* 2 (select |c_#memory_int| v_idx_3190)))) (< v_idx_3190 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3190)) (<= (+ 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_3187 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_3187) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3187)) (or (< v_idx_3192 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3192) (= (select |c_#memory_int| v_idx_3192) 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) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3196) (= (select |c_#memory_int| v_idx_3196) 0) (< v_idx_3196 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 (= (select |c_#memory_int| v_idx_3194) 0) (< v_idx_3194 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3194))))} [2019-02-28 13:50:50,194 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:50,195 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:50,195 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:50,229 WARN L270 ngHoareTripleChecker]: Pre: {259#true} [2019-02-28 13:50:50,229 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:50:50,230 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:50:50,302 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)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_3190 Int)) (or (<= 0 (* 2 (select |#memory_int| v_idx_3190))) (< v_idx_3190 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3190))) (forall ((v_idx_3184 Int)) (or (< v_idx_3184 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3184)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3184))) (<= (- 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))) (<= 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)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_3192 Int)) (or (< v_idx_3192 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3192) (= (select |#memory_int| v_idx_3192) 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) (forall ((v_idx_3187 Int)) (or (< v_idx_3187 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_3187) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3187))) (<= (+ 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_3196 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3196) (= (select |#memory_int| v_idx_3196) 0) (< v_idx_3196 ULTIMATE.start_main_p4))) (forall ((v_idx_3194 Int)) (or (= (select |#memory_int| v_idx_3194) 0) (< v_idx_3194 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3194))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:50:50,303 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:50,303 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:50,303 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2497 [inf_0], [#valid] -> [-inf_0] v_2495 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2494 [inf_0], [old(#memory_int)] -> [-inf_0] v_2498 [inf_0], [old(#valid)] -> [-inf_0] v_2496 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:50:50,303 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-28 13:50:50,305 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:50,305 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:51,087 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:51,087 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:51,087 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:51,088 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:51,088 WARN L224 ngHoareTripleChecker]: Pre: {265#(forall ((v_idx_3225 Int) (v_idx_3227 Int) (v_idx_3216 Int) (v_idx_3223 Int) (v_idx_3229 Int) (v_idx_3219 Int)) (and (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3223) (and (<= 0 (select |c_#memory_int| v_idx_3223)) (<= 0 (* 2 (select |c_#memory_int| v_idx_3223)))) (< v_idx_3223 c_ULTIMATE.start_main_p1)) (<= (- 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 (= (select |c_#memory_int| v_idx_3225) 0) (< v_idx_3225 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3225)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_3227 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_3227)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3227)) (<= (- 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 (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3229) (= 0 (select |c_#memory_int| v_idx_3229)) (< v_idx_3229 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_3219 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_3219)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3219)) (<= (- 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 (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3216) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3216) (< v_idx_3216 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-28 13:50:51,088 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:50:51,088 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:50:51,088 WARN L230 ngHoareTripleChecker]: Post: {266#false} [2019-02-28 13:50:51,088 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:51,111 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:51,111 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:51,217 WARN L270 ngHoareTripleChecker]: Pre: {265#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_prenex_22 Int)) (or (< v_prenex_22 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_22))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_22))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_3223 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_3223) (<= 0 (select |#memory_int| v_idx_3223)) (< v_idx_3223 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_3219 Int)) (or (< v_idx_3219 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_3219)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3219))) (<= 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_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)) (forall ((v_idx_3229 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3229) (= 0 (select |#memory_int| v_idx_3229)) (< v_idx_3229 ULTIMATE.start_main_p4))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_3225 Int)) (or (= (select |#memory_int| v_idx_3225) 0) (< v_idx_3225 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3225))) (<= (- 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_idx_3227 Int)) (or (< v_idx_3227 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_3227)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3227))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_3216 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_3216) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3216) (< v_idx_3216 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:50:51,218 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:50:51,218 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:50:51,219 WARN L276 ngHoareTripleChecker]: Post: {266#false} [2019-02-28 13:50:51,219 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:51,219 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:51,221 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], [old(#memory_int)] -> [-inf_0] v_2538 [inf_0], [old(#valid)] -> [-inf_0] v_2537 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:51,221 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-28 13:50:51,221 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:50:51,221 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:52,662 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:52,663 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:52,663 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:52,663 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:52,663 WARN L224 ngHoareTripleChecker]: Pre: {268#true} [2019-02-28 13:50:52,664 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-28 13:50:52,664 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-28 13:50:52,664 WARN L230 ngHoareTripleChecker]: Post: {269#(forall ((v_idx_3286 Int) (v_idx_3288 Int) (v_idx_3278 Int) (v_idx_3284 Int) (v_idx_3290 Int) (v_idx_3281 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 (= 1 (select |c_#valid| v_idx_3281)) (< v_idx_3281 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3281)) (or (< v_idx_3288 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3288) (= (select |c_#memory_int| v_idx_3288) 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) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3290) (< v_idx_3290 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_3290))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p3) (- 2)) (or (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3284))) (<= 0 (select |c_#memory_int| v_idx_3284))) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3284) (< v_idx_3284 c_ULTIMATE.start_main_p1)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3278)) (< v_idx_3278 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3278)) (<= (- 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_3286 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_3286)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3286)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:50:52,664 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:52,665 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:52,665 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:52,666 WARN L270 ngHoareTripleChecker]: Pre: {268#true} [2019-02-28 13:50:52,667 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-28 13:50:52,667 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-28 13:50:52,763 WARN L276 ngHoareTripleChecker]: Post: {269#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_3281 Int)) (or (= 1 (select |#valid| v_idx_3281)) (< v_idx_3281 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3281))) (<= (- 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_3288 Int)) (or (< v_idx_3288 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3288) (= (select |#memory_int| v_idx_3288) 0))) (<= 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_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (forall ((v_idx_3290 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3290) (< v_idx_3290 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_3290)))) (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)) (forall ((v_idx_3286 Int)) (or (< v_idx_3286 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_3286)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3286))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_3278 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3278)) (< v_idx_3278 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3278))) (forall ((v_idx_3284 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_3284) (< v_idx_3284 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_idx_3284))))) (<= (- 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))} [2019-02-28 13:50:52,763 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:52,763 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:52,764 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2545 [inf_0], [#valid] -> [-inf_0] v_2543 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2542 [inf_0], [old(#memory_int)] -> [-inf_0] v_2546 [inf_0], [old(#valid)] -> [-inf_0] v_2544 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:50:52,764 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) (assume !(#memory_int[main_p2] <= 0);) [2019-02-28 13:50:52,765 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:52,765 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:54,240 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:54,240 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:54,240 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:54,240 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:54,240 WARN L224 ngHoareTripleChecker]: Pre: {271#true} [2019-02-28 13:50:54,241 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:50:54,241 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:50:54,241 WARN L230 ngHoareTripleChecker]: Post: {272#(forall ((v_idx_3346 Int) (v_idx_3348 Int) (v_idx_3341 Int) (v_idx_3344 Int) (v_idx_3350 Int) (v_idx_3338 Int)) (and (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3350) (< v_idx_3350 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_3350) 0)) (<= (- 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 (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3346) (< v_idx_3346 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_3346))) (<= (- 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)) (<= (+ 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 (< v_idx_3338 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3338) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3338))) (<= (+ 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_3348) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3348) (< v_idx_3348 c_ULTIMATE.start_main_p3)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3344) (and (<= 0 (select |c_#memory_int| v_idx_3344)) (<= 0 (* 2 (select |c_#memory_int| v_idx_3344)))) (< v_idx_3344 c_ULTIMATE.start_main_p1)) (<= (+ 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_3341) (< v_idx_3341 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_3341) 1))))} [2019-02-28 13:50:54,241 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:54,241 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:54,242 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:54,242 WARN L270 ngHoareTripleChecker]: Pre: {271#true} [2019-02-28 13:50:54,242 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:50:54,243 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:50:54,359 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_3350 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3350) (< v_idx_3350 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_3350) 0))) (<= 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_3348 Int)) (or (= (select |#memory_int| v_idx_3348) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3348) (< v_idx_3348 ULTIMATE.start_main_p3))) (<= 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)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_3341 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3341) (< v_idx_3341 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_3341) 1))) (forall ((v_idx_3344 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_3344) (< v_idx_3344 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_3344)))) (<= (- 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_3346 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_3346) (< v_idx_3346 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_3346)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_3338 Int)) (or (< v_idx_3338 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3338) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3338)))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:50:54,359 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:54,359 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:54,360 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2583 [inf_0], [#valid] -> [-inf_0] v_2581 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2580 [inf_0], [old(#memory_int)] -> [-inf_0] v_2584 [inf_0], [old(#valid)] -> [-inf_0] v_2582 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:50:54,360 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-28 13:50:54,361 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:54,361 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:55,369 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:55,369 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:55,370 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:55,370 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:55,370 WARN L224 ngHoareTripleChecker]: Pre: {277#(forall ((v_idx_3379 Int) (v_idx_3377 Int) (v_idx_3381 Int) (v_idx_3370 Int) (v_idx_3383 Int) (v_idx_3373 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (= (select |c_#memory_int| v_idx_3383) 0) (< v_idx_3383 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3383)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_malloc_ptr) (- 3)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3381) (< v_idx_3381 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_3381) 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)) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3370) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3370) (< v_idx_3370 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) (or (= 0 (select |c_#memory_int| v_idx_3379)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3379) (< v_idx_3379 c_ULTIMATE.start_main_p2)) (<= (- 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_3373) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3373) (< v_idx_3373 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_3377) (and (<= 0 (select |c_#memory_int| v_idx_3377)) (<= 0 (* 2 (select |c_#memory_int| v_idx_3377)))) (< v_idx_3377 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) (<= (- 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-28 13:50:55,370 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:50:55,370 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:50:55,370 WARN L230 ngHoareTripleChecker]: Post: {278#false} [2019-02-28 13:50:55,370 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:55,396 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:55,396 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:55,503 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)) (forall ((v_idx_3370 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_3370) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3370) (< v_idx_3370 ULTIMATE.start_main_p4))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_prenex_25 Int)) (or (<= 0 (select |#memory_int| v_prenex_25)) (< v_prenex_25 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_25))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_3373 Int)) (or (= (select |#valid| v_idx_3373) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3373) (< v_idx_3373 ULTIMATE.start_main_p4))) (forall ((v_idx_3383 Int)) (or (= (select |#memory_int| v_idx_3383) 0) (< v_idx_3383 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3383))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_3377 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_3377) (<= 0 (* 2 (select |#memory_int| v_idx_3377))) (< v_idx_3377 ULTIMATE.start_main_p1))) (forall ((v_idx_3379 Int)) (or (= 0 (select |#memory_int| v_idx_3379)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3379) (< v_idx_3379 ULTIMATE.start_main_p2))) (<= 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)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_3381 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_3381) (< v_idx_3381 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_3381) 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))} [2019-02-28 13:50:55,503 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:50:55,503 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:50:55,505 WARN L276 ngHoareTripleChecker]: Post: {278#false} [2019-02-28 13:50:55,505 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:55,505 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:55,507 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], [old(#memory_int)] -> [-inf_0] v_2624 [inf_0], [old(#valid)] -> [-inf_0] v_2623 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 28 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:55,507 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-28 13:50:55,507 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:50:55,507 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:57,487 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:57,487 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:57,487 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:57,488 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:57,488 WARN L224 ngHoareTripleChecker]: Pre: {280#true} [2019-02-28 13:50:57,488 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-28 13:50:57,488 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-28 13:50:57,488 WARN L230 ngHoareTripleChecker]: Post: {281#(forall ((v_idx_3444 Int) (v_idx_3435 Int) (v_idx_3440 Int) (v_idx_3442 Int) (v_idx_3432 Int) (v_idx_3438 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_p4 1) v_idx_3435) (= 1 (select |c_#valid| v_idx_3435)) (< v_idx_3435 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3438) (< v_idx_3438 c_ULTIMATE.start_main_p1) (and (<= 0 (select |c_#memory_int| v_idx_3438)) (<= 0 (* 2 (select |c_#memory_int| v_idx_3438))))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_3442 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_3442)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3442)) (<= 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_p2 1) v_idx_3440) (< v_idx_3440 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_3440))) (or (< v_idx_3432 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3432) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3432))) (<= (+ 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 (= (select |c_#memory_int| v_idx_3444) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3444) (< v_idx_3444 c_ULTIMATE.start_main_p4)) (<= (+ 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-28 13:50:57,488 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:57,489 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:57,489 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:57,490 WARN L270 ngHoareTripleChecker]: Pre: {280#true} [2019-02-28 13:50:57,490 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-28 13:50:57,490 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-28 13:50:57,622 WARN L276 ngHoareTripleChecker]: Post: {281#(and (forall ((v_idx_3432 Int)) (or (< v_idx_3432 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3432) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3432)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_3442 Int)) (or (< v_idx_3442 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_3442)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3442))) (<= (- 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))) (<= (- 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_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_3438 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_3438) (<= 0 (select |#memory_int| v_idx_3438)) (< v_idx_3438 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_3435 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_3435) (= 1 (select |#valid| v_idx_3435)) (< v_idx_3435 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) (forall ((v_idx_3444 Int)) (or (= (select |#memory_int| v_idx_3444) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3444) (< v_idx_3444 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) (forall ((v_idx_3440 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_3440) (< v_idx_3440 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_3440)))))} [2019-02-28 13:50:57,622 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:57,622 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:57,623 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2631 [inf_0], [#valid] -> [-inf_0] v_2629 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2628 [inf_0], [old(#memory_int)] -> [-inf_0] v_2632 [inf_0], [old(#valid)] -> [-inf_0] v_2630 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:50:57,623 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) (assume !(#memory_int[main_p3] >= 0);) [2019-02-28 13:50:57,624 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:57,625 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:50:59,766 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:50:59,766 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:50:59,767 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:50:59,767 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:50:59,767 WARN L224 ngHoareTripleChecker]: Pre: {283#true} [2019-02-28 13:50:59,767 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:50:59,767 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:50:59,767 WARN L230 ngHoareTripleChecker]: Post: {284#(forall ((v_idx_3500 Int) (v_idx_3502 Int) (v_idx_3495 Int) (v_idx_3498 Int) (v_idx_3492 Int) (v_idx_3504 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_3502) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3502) (< v_idx_3502 c_ULTIMATE.start_main_p3)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3492)) (< v_idx_3492 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3492)) (<= 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) (or (= (select |c_#memory_int| v_idx_3504) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3504) (< v_idx_3504 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) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3500) (= (select |c_#memory_int| v_idx_3500) 0) (< v_idx_3500 c_ULTIMATE.start_main_p2)) (or (= (select |c_#valid| v_idx_3495) 1) (< v_idx_3495 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3495)) (<= (- 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_3498 c_ULTIMATE.start_main_p1) (and (<= 0 (select |c_#memory_int| v_idx_3498)) (<= 0 (* 2 (select |c_#memory_int| v_idx_3498)))) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3498)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:50:59,768 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:50:59,768 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:50:59,768 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:50:59,769 WARN L270 ngHoareTripleChecker]: Pre: {283#true} [2019-02-28 13:50:59,769 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:50:59,770 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:50:59,895 WARN L276 ngHoareTripleChecker]: Post: {284#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_3504 Int)) (or (= (select |#memory_int| v_idx_3504) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3504) (< v_idx_3504 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)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_3498 Int)) (or (< v_idx_3498 ULTIMATE.start_main_p1) (<= 0 (select |#memory_int| v_idx_3498)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3498))) (forall ((v_idx_3500 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_3500) (= (select |#memory_int| v_idx_3500) 0) (< v_idx_3500 ULTIMATE.start_main_p2))) (forall ((v_prenex_27 Int)) (or (< v_prenex_27 ULTIMATE.start_main_p1) (<= 0 (* 2 (select |#memory_int| v_prenex_27))) (<= (+ ULTIMATE.start_main_p1 1) v_prenex_27))) (<= (- 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_idx_3492 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3492)) (< v_idx_3492 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3492))) (<= (+ 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_3495 Int)) (or (= (select |#valid| v_idx_3495) 1) (< v_idx_3495 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3495))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_3502 Int)) (or (= (select |#memory_int| v_idx_3502) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3502) (< v_idx_3502 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) (<= (+ 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-28 13:50:59,895 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:50:59,896 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:50:59,896 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2669 [inf_0], [#valid] -> [-inf_0] v_2667 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2666 [inf_0], [old(#memory_int)] -> [-inf_0] v_2670 [inf_0], [old(#valid)] -> [-inf_0] v_2668 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:50:59,896 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-28 13:50:59,897 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:50:59,897 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:51:02,377 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:51:02,378 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:51:02,378 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:51:02,379 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:51:02,379 WARN L224 ngHoareTripleChecker]: Pre: {289#true} [2019-02-28 13:51:02,379 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-28 13:51:02,379 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-28 13:51:02,379 WARN L230 ngHoareTripleChecker]: Post: {290#(forall ((v_idx_3577 Int) (v_idx_3579 Int) (v_idx_3572 Int) (v_idx_3575 Int) (v_idx_3581 Int) (v_idx_3569 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 (and (<= 0 (* 2 (select |c_#memory_int| v_idx_3575))) (<= 0 (select |c_#memory_int| v_idx_3575))) (< v_idx_3575 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_3575)) (or (< v_idx_3572 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_3572) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3572)) (<= (- 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_3577)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_3577) (< v_idx_3577 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) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (< v_idx_3581 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3581) (= (select |c_#memory_int| v_idx_3581) 0)) (<= (- 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_3579 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_3579) (= (select |c_#memory_int| v_idx_3579) 0)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_3569)) (< v_idx_3569 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_3569)) (<= (+ 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-28 13:51:02,380 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:51:02,380 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:51:02,380 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:51:02,382 WARN L270 ngHoareTripleChecker]: Pre: {289#true} [2019-02-28 13:51:02,382 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-28 13:51:02,383 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-28 13:51:02,523 WARN L276 ngHoareTripleChecker]: Post: {290#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_3575 Int)) (or (< v_idx_3575 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_3575) (<= 0 (select |#memory_int| v_idx_3575)))) (<= (- 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_3579 Int)) (or (< v_idx_3579 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_3579) (= (select |#memory_int| v_idx_3579) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_3572 Int)) (or (< v_idx_3572 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_3572) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3572))) (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_p4 ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (forall ((v_idx_3577 Int)) (or (= 0 (select |#memory_int| v_idx_3577)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_3577) (< v_idx_3577 ULTIMATE.start_main_p2))) (<= (+ 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) (forall ((v_idx_3569 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_3569)) (< v_idx_3569 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3569))) (forall ((v_idx_3581 Int)) (or (< v_idx_3581 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_3581) (= (select |#memory_int| v_idx_3581) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:51:02,524 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:51:02,524 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:51:02,524 WARN L623 ntHoareTripleChecker]: PreS: {#1{Arrays: {[#memory_int] -> [-inf_0] v_2712 [inf_0], [#valid] -> [-inf_0] v_2710 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_2709 [inf_0], [old(#memory_int)] -> [-inf_0] v_2713 [inf_0], [old(#valid)] -> [-inf_0] v_2711 [inf_0], }, Substate: {10 vars top, }}} [2019-02-28 13:51:02,525 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) (assume !(#memory_int[main_p4] <= 0);) [2019-02-28 13:51:02,526 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {[#memory_int] -> [-inf_0] v_1535 [b_132] v_1536 [b_133] v_1537 [b_134] v_1538 [b_135] v_1539 [b_136] v_1540 [b_137] v_1541 [b_138] v_1542 [b_139] v_1543 [inf_0], [#valid] -> [-inf_0] v_1532 [b_130] v_1533 [b_131] v_1534 [inf_0], [ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_1528 [b_128] v_1529 [b_129] v_1530 [inf_0], }, Substate: {ints: {v_1529 = [0; 0]; v_1540 = [0; 0]; v_1538 = [0; 0]; v_1536 = [0; inf]; v_1542 = [0; 0]; v_1533 = [1; 1]}, 26 vars top, relations: {ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_133 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; b_138 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_132 - b_139 = [-inf; -4]; b_134 - b_139 = [-inf; -3]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; b_135 - b_139 = [-inf; -2]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; 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_129 = [-1; -1]; b_128 - 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]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; b_131 - b_133 = [3; inf]; b_128 - b_133 = [2; 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_130 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; b_128 - 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_130 - b_131 = [-1; -1]; v_1529 + v_1540 = [0; 0]; v_1529 - v_1540 = [0; 0]; v_1538 + v_1540 = [0; 0]; v_1538 - v_1540 = [0; 0]; v_1536 + v_1540 = [0; inf]; v_1536 - v_1540 = [0; inf]; v_1533 + v_1540 = [1; 1]; v_1533 - v_1540 = [1; 1]; v_1529 + v_1538 = [0; 0]; v_1529 - v_1538 = [0; 0]; v_1536 + v_1538 = [0; inf]; v_1536 - v_1538 = [0; inf]; v_1533 + v_1538 = [1; 1]; v_1533 - v_1538 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_129 - b_138 = [1; 1]; b_133 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_132 - b_138 = [-inf; -3]; b_134 - b_138 = [-inf; -2]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; b_135 - b_138 = [-inf; -1]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_129 - b_137 = [1; inf]; b_133 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_128 - b_137 = [0; inf]; b_132 - b_137 = [-inf; -3]; b_134 - b_137 = [-inf; -2]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; b_135 - b_137 = [-inf; -1]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; 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]; v_1529 + v_1536 = [0; inf]; v_1529 - v_1536 = [-inf; 0]; v_1533 + v_1536 = [1; inf]; v_1533 - v_1536 = [-inf; 1]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_129 - b_132 = [4; inf]; b_131 - b_132 = [4; inf]; b_128 - b_132 = [3; 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_130 - b_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_129 - b_134 = [3; inf]; b_133 - b_134 = [-inf; 0]; b_131 - b_134 = [3; inf]; b_128 - b_134 = [2; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_129 - b_136 = [2; inf]; b_133 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_128 - b_136 = [1; inf]; b_132 - b_136 = [-inf; -2]; b_134 - b_136 = [-inf; -1]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; v_1529 + v_1542 = [0; 0]; v_1529 - v_1542 = [0; 0]; v_1540 + v_1542 = [0; 0]; v_1540 - v_1542 = [0; 0]; v_1538 + v_1542 = [0; 0]; v_1538 - v_1542 = [0; 0]; v_1536 + v_1542 = [0; inf]; v_1536 - v_1542 = [0; inf]; v_1533 + v_1542 = [1; 1]; v_1533 - v_1542 = [1; 1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_129 - b_135 = [2; inf]; b_133 - b_135 = [-inf; -1]; b_131 - b_135 = [2; inf]; b_128 - b_135 = [1; inf]; b_132 - b_135 = [-inf; -2]; b_134 - b_135 = [-1; -1]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; v_1529 + v_1533 = [1; 1]; v_1529 - v_1533 = [-1; -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_130 = [0; 0]; b_129 - b_130 = [1; 1]; b_128 - b_130 = [0; 0]; 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]}, }}} [2019-02-28 13:51:02,526 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:51:02,529 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:51:02,529 INFO L93 Difference]: Finished difference Result 19 states and 31 transitions. [2019-02-28 13:51:02,529 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-28 13:51:02,529 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-28 13:51:02,529 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-28 13:51:02,529 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:51:02,530 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-28 13:51:02,530 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:51:02,531 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-28 13:51:02,531 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 23 transitions. [2019-02-28 13:51:02,863 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-28 13:51:02,864 INFO L225 Difference]: With dead ends: 19 [2019-02-28 13:51:02,864 INFO L226 Difference]: Without dead ends: 12 [2019-02-28 13:51:02,865 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-28 13:51:02,865 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 12 states. [2019-02-28 13:51:02,996 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 12 to 12. [2019-02-28 13:51:02,996 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-28 13:51:02,996 INFO L82 GeneralOperation]: Start isEquivalent. First operand 12 states. Second operand 12 states. [2019-02-28 13:51:02,996 INFO L74 IsIncluded]: Start isIncluded. First operand 12 states. Second operand 12 states. [2019-02-28 13:51:02,996 INFO L87 Difference]: Start difference. First operand 12 states. Second operand 12 states. [2019-02-28 13:51:02,998 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:51:02,998 INFO L93 Difference]: Finished difference Result 12 states and 24 transitions. [2019-02-28 13:51:02,999 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 24 transitions. [2019-02-28 13:51:02,999 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:51:02,999 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:51:02,999 INFO L74 IsIncluded]: Start isIncluded. First operand 12 states. Second operand 12 states. [2019-02-28 13:51:02,999 INFO L87 Difference]: Start difference. First operand 12 states. Second operand 12 states. [2019-02-28 13:51:03,001 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:51:03,001 INFO L93 Difference]: Finished difference Result 12 states and 24 transitions. [2019-02-28 13:51:03,001 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 24 transitions. [2019-02-28 13:51:03,001 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:51:03,001 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:51:03,002 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-28 13:51:03,002 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-28 13:51:03,002 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2019-02-28 13:51:03,003 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 24 transitions. [2019-02-28 13:51:03,003 INFO L78 Accepts]: Start accepts. Automaton has 12 states and 24 transitions. Word has length 3 [2019-02-28 13:51:03,003 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-28 13:51:03,003 INFO L480 AbstractCegarLoop]: Abstraction has 12 states and 24 transitions. [2019-02-28 13:51:03,003 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-28 13:51:03,003 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 24 transitions. [2019-02-28 13:51:03,004 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-02-28 13:51:03,004 INFO L394 BasicCegarLoop]: Found error trace [2019-02-28 13:51:03,004 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-02-28 13:51:03,004 INFO L423 AbstractCegarLoop]: === Iteration 4 === [ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT]=== [2019-02-28 13:51:03,004 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:51:03,004 INFO L82 PathProgramCache]: Analyzing trace with hash 30120, now seen corresponding path program 1 times [2019-02-28 13:51:03,005 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-28 13:51:03,005 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:51:03,005 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-28 13:51:03,005 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:51:03,006 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-28 13:51:03,014 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-28 13:51:03,159 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-28 13:51:03,160 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-28 13:51:03,160 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-28 13:51:03,161 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-02-28 13:51:03,161 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-28 13:51:03,161 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-28 13:51:03,161 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 4 with the following transitions: [2019-02-28 13:51:03,161 INFO L207 CegarAbsIntRunner]: [0], [10], [19] [2019-02-28 13:51:03,162 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-28 13:51:03,162 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-28 13:52:14,710 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-28 13:52:14,711 INFO L272 AbstractInterpreter]: Visited 3 different actions 13 times. Merged at 1 different actions 5 times. Widened at 1 different actions 1 times. Found 1 fixpoints after 1 different actions. Largest state had 0 variables. [2019-02-28 13:52:14,711 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:52:14,711 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-28 13:52:20,962 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-28 13:52:22,887 INFO L420 sIntCurrentIteration]: We unified 2 AI predicates to 2 [2019-02-28 13:52:27,038 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-28 13:52:27,038 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-28 13:52:27,038 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [2] total 3 [2019-02-28 13:52:27,038 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-28 13:52:27,039 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-28 13:52:27,039 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-28 13:52:27,039 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-28 13:52:27,281 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 3 edges. 3 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-28 13:52:27,281 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-28 13:52:27,281 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-28 13:52:27,281 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:52:27,281 INFO L87 Difference]: Start difference. First operand 12 states and 24 transitions. Second operand 3 states. [2019-02-28 13:52:27,911 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:27,912 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:27,912 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:27,912 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:27,912 WARN L224 ngHoareTripleChecker]: Pre: {358#(forall ((v_idx_4445 Int) (v_idx_4435 Int) (v_idx_4441 Int) (v_idx_4443 Int) (v_idx_4432 Int) (v_idx_4439 Int)) (and (or (= (select |c_#valid| v_idx_4435) 1) (< v_idx_4435 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4435)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (= 0 (select |c_#memory_int| v_idx_4439)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4439) (< v_idx_4439 c_ULTIMATE.start_main_p1)) (<= (- 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_4443) 0) (< v_idx_4443 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4443)) (or (< v_idx_4432 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4432) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4432)) (<= (- 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_4445) (= (select |c_#memory_int| v_idx_4445) 0) (< v_idx_4445 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 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (or (< v_idx_4441 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4441) (and (<= (* 2 (select |c_#memory_int| v_idx_4441)) 0) (<= (select |c_#memory_int| v_idx_4441) 0))) (<= (+ 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-28 13:52:27,913 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:52:27,913 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:52:27,913 WARN L230 ngHoareTripleChecker]: Post: {359#false} [2019-02-28 13:52:27,913 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:27,939 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:27,939 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:28,046 WARN L270 ngHoareTripleChecker]: Pre: {358#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_4443 Int)) (or (= (select |#memory_int| v_idx_4443) 0) (< v_idx_4443 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_4443))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_4439 Int)) (or (= 0 (select |#memory_int| v_idx_4439)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_4439) (< v_idx_4439 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_4441 Int)) (or (< v_idx_4441 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_4441) (<= (select |#memory_int| v_idx_4441) 0))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_4435 Int)) (or (= (select |#valid| v_idx_4435) 1) (< v_idx_4435 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4435))) (<= 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_4432 Int)) (or (< v_idx_4432 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_4432) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4432))) (<= (- (- 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_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))) (forall ((v_idx_4445 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4445) (= (select |#memory_int| v_idx_4445) 0) (< v_idx_4445 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:52:28,046 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:52:28,046 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:52:28,048 WARN L276 ngHoareTripleChecker]: Post: {359#false} [2019-02-28 13:52:28,048 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:28,049 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:28,050 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_2136 [inf_0], [old(#valid)] -> [-inf_0] v_2135 [inf_0], }, Substate: {ints: {v_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 28 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:28,050 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) (#memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1];) [2019-02-28 13:52:28,050 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:52:28,051 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:52:36,293 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:36,294 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:36,294 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:36,294 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:36,294 WARN L224 ngHoareTripleChecker]: Pre: {364#(forall ((v_idx_4544 Int) (v_idx_4552 Int) (v_idx_4541 Int) (v_idx_4554 Int) (v_idx_4550 Int) (v_idx_4548 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 (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4548) (= (select |c_#memory_int| v_idx_4548) 0) (< v_idx_4548 c_ULTIMATE.start_main_p1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_main_p4) (- 1)) (or (= 0 (select |c_#memory_int| v_idx_4552)) (< v_idx_4552 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4552)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_4544 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4544) (= 1 (select |c_#valid| v_idx_4544))) (<= (- 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_p2 1) v_idx_4550) (< v_idx_4550 c_ULTIMATE.start_main_p2) (and (<= (select |c_#memory_int| v_idx_4550) 0) (<= (* 2 (select |c_#memory_int| v_idx_4550)) 0))) (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4541) 0) (< v_idx_4541 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4541)) (<= (- 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_4554 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4554) (= (select |c_#memory_int| v_idx_4554) 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)))} [2019-02-28 13:52:36,295 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:52:36,295 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:52:36,295 WARN L230 ngHoareTripleChecker]: Post: {365#false} [2019-02-28 13:52:36,295 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:36,321 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:36,321 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:36,439 WARN L270 ngHoareTripleChecker]: Pre: {364#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_4548 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_4548) (= (select |#memory_int| v_idx_4548) 0) (< v_idx_4548 ULTIMATE.start_main_p1))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_4544 Int)) (or (< v_idx_4544 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4544) (= 1 (select |#valid| v_idx_4544)))) (forall ((v_idx_4550 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_4550) (< v_idx_4550 ULTIMATE.start_main_p2) (<= (* 2 (select |#memory_int| v_idx_4550)) 0))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_prenex_30 Int)) (or (<= (select |#memory_int| v_prenex_30) 0) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_30) (< v_prenex_30 ULTIMATE.start_main_p2))) (<= (- 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_4554 Int)) (or (< v_idx_4554 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4554) (= (select |#memory_int| v_idx_4554) 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_4541 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_4541) 0) (< v_idx_4541 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4541))) (<= (+ 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_4552 Int)) (or (= 0 (select |#memory_int| v_idx_4552)) (< v_idx_4552 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_4552))) (<= (- 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-28 13:52:36,440 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:52:36,440 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:52:36,441 WARN L276 ngHoareTripleChecker]: Post: {365#false} [2019-02-28 13:52:36,441 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:36,441 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:36,443 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_2176 [inf_0], [old(#valid)] -> [-inf_0] v_2175 [inf_0], }, Substate: {ints: {v_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 28 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:36,443 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) (#memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1];) [2019-02-28 13:52:36,444 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:52:36,444 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:52:41,233 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:41,234 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:41,234 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:41,234 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:41,234 WARN L224 ngHoareTripleChecker]: Pre: {370#(forall ((v_idx_4657 Int) (v_idx_4650 Int) (v_idx_4661 Int) (v_idx_4663 Int) (v_idx_4653 Int) (v_idx_4659 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_4650)) (< v_idx_4650 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4650)) (<= (- 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_#memory_int| v_idx_4663) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4663) (< v_idx_4663 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= 0 (select |c_#memory_int| v_idx_4661)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4661) (< v_idx_4661 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_4659 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4659) (and (<= (select |c_#memory_int| v_idx_4659) 0) (<= (* 2 (select |c_#memory_int| v_idx_4659)) 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_4653) (= 1 (select |c_#valid| v_idx_4653)) (< v_idx_4653 c_ULTIMATE.start_main_p4)) (or (< v_idx_4657 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4657) (= 0 (select |c_#memory_int| v_idx_4657))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:52:41,234 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:52:41,235 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:52:41,235 WARN L230 ngHoareTripleChecker]: Post: {371#false} [2019-02-28 13:52:41,235 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:41,262 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:41,262 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:41,400 WARN L270 ngHoareTripleChecker]: Pre: {370#(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_4653 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4653) (= 1 (select |#valid| v_idx_4653)) (< v_idx_4653 ULTIMATE.start_main_p4))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- 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))) (forall ((v_idx_4661 Int)) (or (= 0 (select |#memory_int| v_idx_4661)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_4661) (< v_idx_4661 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) (forall ((v_idx_4663 Int)) (or (= (select |#memory_int| v_idx_4663) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4663) (< v_idx_4663 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_4659 Int)) (or (< v_idx_4659 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_4659) (<= (* 2 (select |#memory_int| v_idx_4659)) 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) (forall ((v_idx_4650 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_4650)) (< v_idx_4650 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4650))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_4657 Int)) (or (< v_idx_4657 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_4657) (= 0 (select |#memory_int| v_idx_4657)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:52:41,400 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:52:41,400 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:52:41,402 WARN L276 ngHoareTripleChecker]: Post: {371#false} [2019-02-28 13:52:41,402 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:41,402 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:41,403 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_2216 [inf_0], [old(#valid)] -> [-inf_0] v_2215 [inf_0], }, Substate: {ints: {v_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 28 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:41,403 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) (#memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1];) [2019-02-28 13:52:41,404 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:52:41,404 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:52:42,424 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:42,425 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:42,425 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:42,425 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:42,425 WARN L224 ngHoareTripleChecker]: Pre: {374#(forall ((v_idx_4676 Int) (v_idx_4678 Int) (v_idx_4667 Int) (v_idx_4674 Int) (v_idx_4680 Int) (v_idx_4670 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 (<= (* 2 (select |c_#memory_int| v_idx_4676)) 0) (<= (select |c_#memory_int| v_idx_4676) 0)) (< v_idx_4676 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4676)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4670) (= (select |c_#valid| v_idx_4670) 1) (< v_idx_4670 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4680) (< v_idx_4680 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_4680))) (<= (+ 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_4678)) (< v_idx_4678 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4678)) (<= (- 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_4667)) (< v_idx_4667 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4667)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (< v_idx_4674 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_4674)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4674))))} [2019-02-28 13:52:42,426 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:52:42,426 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:52:42,426 WARN L230 ngHoareTripleChecker]: Post: {375#false} [2019-02-28 13:52:42,426 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:42,453 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:42,454 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:42,597 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) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_4676 Int)) (or (< v_idx_4676 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_4676) (<= (select |#memory_int| v_idx_4676) 0))) (forall ((v_idx_4674 Int)) (or (< v_idx_4674 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_4674)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_4674))) (forall ((v_idx_4670 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4670) (= (select |#valid| v_idx_4670) 1) (< v_idx_4670 ULTIMATE.start_main_p4))) (forall ((v_idx_4667 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_4667)) (< v_idx_4667 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4667))) (<= (- 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_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) (forall ((v_idx_4678 Int)) (or (= 0 (select |#memory_int| v_idx_4678)) (< v_idx_4678 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_4678))) (<= (- 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) (forall ((v_idx_4680 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4680) (< v_idx_4680 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_4680)))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:52:42,597 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:52:42,597 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:52:42,601 WARN L276 ngHoareTripleChecker]: Post: {375#false} [2019-02-28 13:52:42,601 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:42,601 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:42,602 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_2221 [inf_0], [old(#valid)] -> [-inf_0] v_2220 [inf_0], }, Substate: {ints: {v_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 28 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:42,603 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) (#memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1];) [2019-02-28 13:52:42,603 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:52:42,603 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:52:48,309 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:48,309 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:48,310 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:48,310 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:48,310 WARN L224 ngHoareTripleChecker]: Pre: {380#true} [2019-02-28 13:52:48,310 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:52:48,310 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:52:48,311 WARN L230 ngHoareTripleChecker]: Post: {381#(forall ((v_idx_4831 Int) (v_idx_4821 Int) (v_idx_4833 Int) (v_idx_4827 Int) (v_idx_4829 Int) (v_idx_4824 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_4831 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_4831) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4831)) (or (= 1 (select |c_#valid| v_idx_4824)) (< v_idx_4824 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4824)) (<= (- 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_4821 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4821) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4821))) (<= (+ 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_4833 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4833) (= 0 (select |c_#memory_int| v_idx_4833))) (<= (- 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_4829 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4829) (and (<= (* 2 (select |c_#memory_int| v_idx_4829)) 0) (<= (select |c_#memory_int| v_idx_4829) 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_4827 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4827) (= 0 (select |c_#memory_int| v_idx_4827))) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:52:48,311 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:48,312 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:48,312 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:48,313 WARN L270 ngHoareTripleChecker]: Pre: {380#true} [2019-02-28 13:52:48,313 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:52:48,313 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:52:48,414 WARN L276 ngHoareTripleChecker]: Post: {381#(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_4829 Int)) (or (<= (* 2 (select |#memory_int| v_idx_4829)) 0) (< v_idx_4829 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_4829))) (<= (- 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_4821 Int)) (or (< v_idx_4821 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4821) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_4821)))) (forall ((v_idx_4827 Int)) (or (< v_idx_4827 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_4827) (= 0 (select |#memory_int| v_idx_4827)))) (forall ((v_idx_4831 Int)) (or (< v_idx_4831 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_4831) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_4831))) (forall ((v_prenex_33 Int)) (or (< v_prenex_33 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_33) (<= (select |#memory_int| v_prenex_33) 0))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_4833 Int)) (or (< v_idx_4833 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4833) (= 0 (select |#memory_int| v_idx_4833)))) (<= (+ 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_4824 Int)) (or (= 1 (select |#valid| v_idx_4824)) (< v_idx_4824 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4824))) (<= (- 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-28 13:52:48,415 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:48,415 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:48,415 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-28 13:52:48,416 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) (#memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1];) [2019-02-28 13:52:48,417 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_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 26 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:48,417 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:52:49,100 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:49,100 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:49,101 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:49,101 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:49,101 WARN L224 ngHoareTripleChecker]: Pre: {383#(forall ((v_idx_4843 Int) (v_idx_4849 Int) (v_idx_4839 Int) (v_idx_4845 Int) (v_idx_4847 Int) (v_idx_4836 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (= (select |c_#valid| v_idx_4839) 1) (< v_idx_4839 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4839)) (<= (- 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_4847) (< v_idx_4847 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_4847))) (<= (- 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 (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4843) (< v_idx_4843 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_4843) 0)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4836)) (< v_idx_4836 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4836)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4849) (= 0 (select |c_#memory_int| v_idx_4849)) (< v_idx_4849 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4845) (and (<= (select |c_#memory_int| v_idx_4845) 0) (<= (* 2 (select |c_#memory_int| v_idx_4845)) 0)) (< v_idx_4845 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) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:52:49,101 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:52:49,101 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:52:49,102 WARN L230 ngHoareTripleChecker]: Post: {384#false} [2019-02-28 13:52:49,102 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:49,126 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:49,126 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:49,219 WARN L270 ngHoareTripleChecker]: Pre: {383#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_4839 Int)) (or (= (select |#valid| v_idx_4839) 1) (< v_idx_4839 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4839))) (forall ((v_idx_4847 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_4847) (< v_idx_4847 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_4847)))) (<= (- 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_4845 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_4845) (<= (* 2 (select |#memory_int| v_idx_4845)) 0) (< v_idx_4845 ULTIMATE.start_main_p2))) (<= 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_4849 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4849) (= 0 (select |#memory_int| v_idx_4849)) (< v_idx_4849 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) (<= (+ 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_4843 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_4843) (< v_idx_4843 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_4843) 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_4836 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_4836)) (< v_idx_4836 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4836))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:52:49,220 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:52:49,220 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:52:49,222 WARN L276 ngHoareTripleChecker]: Post: {384#false} [2019-02-28 13:52:49,222 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:49,222 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:49,223 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_2299 [inf_0], [old(#valid)] -> [-inf_0] v_2298 [inf_0], }, Substate: {ints: {v_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 28 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:49,224 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-28 13:52:49,224 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:52:49,224 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:52:52,328 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:52,329 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:52,329 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:52,329 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:52,329 WARN L224 ngHoareTripleChecker]: Pre: {389#true} [2019-02-28 13:52:52,330 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:52:52,330 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:52:52,330 WARN L230 ngHoareTripleChecker]: Post: {390#(forall ((v_idx_4964 Int) (v_idx_4970 Int) (v_idx_4961 Int) (v_idx_4966 Int) (v_idx_4968 Int) (v_idx_4958 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_4964 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4964) (= (select |c_#memory_int| v_idx_4964) 0)) (<= (- 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_4970)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4970) (< v_idx_4970 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_#memory_int| v_idx_4968)) (< v_idx_4968 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_4968)) (or (and (<= (select |c_#memory_int| v_idx_4966) 0) (<= (* 2 (select |c_#memory_int| v_idx_4966)) 0)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4966) (< v_idx_4966 c_ULTIMATE.start_main_p2)) (<= (- 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_4958 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4958) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4958) 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 (< v_idx_4961 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4961) (= 1 (select |c_#valid| v_idx_4961))) (<= (- 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-28 13:52:52,330 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:52,331 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:52,331 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:52,332 WARN L270 ngHoareTripleChecker]: Pre: {389#true} [2019-02-28 13:52:52,332 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:52:52,332 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:52:52,447 WARN L276 ngHoareTripleChecker]: Post: {390#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_4961 Int)) (or (< v_idx_4961 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4961) (= 1 (select |#valid| v_idx_4961)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_4968 Int)) (or (= 0 (select |#memory_int| v_idx_4968)) (< v_idx_4968 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_4968))) (<= (- ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) 0) (forall ((v_idx_4970 Int)) (or (= 0 (select |#memory_int| v_idx_4970)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4970) (< v_idx_4970 ULTIMATE.start_main_p4))) (<= (- 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_4966 Int)) (or (<= (select |#memory_int| v_idx_4966) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_4966) (< v_idx_4966 ULTIMATE.start_main_p2))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_4964 Int)) (or (< v_idx_4964 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_4964) (= (select |#memory_int| v_idx_4964) 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_prenex_35 Int)) (or (< v_prenex_35 ULTIMATE.start_main_p2) (<= (* 2 (select |#memory_int| v_prenex_35)) 0) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_35))) (<= (- 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_4958 Int)) (or (< v_idx_4958 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4958) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_4958) 0))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:52:52,448 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:52,448 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:52,448 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-28 13:52:52,448 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-28 13:52:52,449 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_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 26 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:52,449 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:52:53,511 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:53,511 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:53,511 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:53,512 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:53,512 WARN L224 ngHoareTripleChecker]: Pre: {395#(forall ((v_idx_4997 Int) (v_idx_5003 Int) (v_idx_4993 Int) (v_idx_4990 Int) (v_idx_5001 Int) (v_idx_4999 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 (= 0 (select |c_#memory_int| v_idx_4997)) (< v_idx_4997 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_4997)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (= 1 (select |c_#valid| v_idx_4993)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4993) (< v_idx_4993 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 (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_4990) (< v_idx_4990 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_4990))) (<= (- 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) (or (< v_idx_5001 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5001) (= 0 (select |c_#memory_int| v_idx_5001))) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_4999 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_4999) (and (<= (* 2 (select |c_#memory_int| v_idx_4999)) 0) (<= (select |c_#memory_int| v_idx_4999) 0))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (< v_idx_5003 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_5003)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5003)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:52:53,512 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:52:53,512 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:52:53,512 WARN L230 ngHoareTripleChecker]: Post: {396#false} [2019-02-28 13:52:53,512 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:53,539 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:53,539 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:53,675 WARN L270 ngHoareTripleChecker]: Pre: {395#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_idx_5001 Int)) (or (< v_idx_5001 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5001) (= 0 (select |#memory_int| v_idx_5001)))) (<= (- 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_4993 Int)) (or (= 1 (select |#valid| v_idx_4993)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_4993) (< v_idx_4993 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_4999 Int)) (or (< v_idx_4999 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_4999) (<= (select |#memory_int| v_idx_4999) 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)) (forall ((v_idx_5003 Int)) (or (< v_idx_5003 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_5003)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5003))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_4997 Int)) (or (= 0 (select |#memory_int| v_idx_4997)) (< v_idx_4997 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_4997))) (<= (- 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_36 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_prenex_36) (< v_prenex_36 ULTIMATE.start_main_p2) (<= (* 2 (select |#memory_int| v_prenex_36)) 0))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_4990 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_4990) (< v_idx_4990 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_4990)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:52:53,676 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:52:53,676 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:52:53,684 WARN L276 ngHoareTripleChecker]: Post: {396#false} [2019-02-28 13:52:53,684 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:53,684 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:53,686 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_2385 [inf_0], [old(#valid)] -> [-inf_0] v_2384 [inf_0], }, Substate: {ints: {v_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 28 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:53,686 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-28 13:52:53,686 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:52:53,686 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:52:55,787 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:55,788 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:55,788 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:55,788 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:55,788 WARN L224 ngHoareTripleChecker]: Pre: {398#true} [2019-02-28 13:52:55,789 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-28 13:52:55,789 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-28 13:52:55,789 WARN L230 ngHoareTripleChecker]: Post: {399#(forall ((v_idx_5058 Int) (v_idx_5064 Int) (v_idx_5055 Int) (v_idx_5060 Int) (v_idx_5062 Int) (v_idx_5052 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (= (select |c_#valid| v_idx_5055) 1) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5055) (< v_idx_5055 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)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5064) (< v_idx_5064 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_5064) 0)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (and (<= (* 2 (select |c_#memory_int| v_idx_5060)) 0) (<= (select |c_#memory_int| v_idx_5060) 0)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5060) (< v_idx_5060 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_5052 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5052) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5052)) (<= (+ 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_p1 1) v_idx_5058) (< v_idx_5058 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_5058))) (<= (+ 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_5062 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_5062)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5062)) (<= (- 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-28 13:52:55,789 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:55,790 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:55,790 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:55,791 WARN L270 ngHoareTripleChecker]: Pre: {398#true} [2019-02-28 13:52:55,792 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-28 13:52:55,792 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-28 13:52:55,937 WARN L276 ngHoareTripleChecker]: Post: {399#(and (forall ((v_idx_5060 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_5060) (<= (* 2 (select |#memory_int| v_idx_5060)) 0) (< v_idx_5060 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)) (forall ((v_idx_5064 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5064) (< v_idx_5064 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_5064) 0))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_5058 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_5058) (< v_idx_5058 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_5058)))) (<= (- 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_prenex_37 Int)) (or (<= (select |#memory_int| v_prenex_37) 0) (< v_prenex_37 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_37))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_5055 Int)) (or (= (select |#valid| v_idx_5055) 1) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5055) (< v_idx_5055 ULTIMATE.start_main_p4))) (forall ((v_idx_5052 Int)) (or (< v_idx_5052 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_5052) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5052))) (forall ((v_idx_5062 Int)) (or (< v_idx_5062 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_5062)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5062))) (<= (- 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-28 13:52:55,938 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:55,938 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:55,939 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-28 13:52:55,939 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) (assume !(#memory_int[main_p2] <= 0);) [2019-02-28 13:52:55,940 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_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 26 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:55,940 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:52:57,996 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:57,996 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:57,996 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:57,997 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:57,997 WARN L224 ngHoareTripleChecker]: Pre: {401#true} [2019-02-28 13:52:57,997 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:52:57,997 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:52:57,997 WARN L230 ngHoareTripleChecker]: Post: {402#(forall ((v_idx_5118 Int) (v_idx_5112 Int) (v_idx_5124 Int) (v_idx_5115 Int) (v_idx_5120 Int) (v_idx_5122 Int)) (and (or (< v_idx_5122 c_ULTIMATE.start_main_p3) (= 0 (select |c_#memory_int| v_idx_5122)) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5122)) (<= (- 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_p4 1) v_idx_5124) (< v_idx_5124 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_5124))) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (and (<= (select |c_#memory_int| v_idx_5120) 0) (<= (* 2 (select |c_#memory_int| v_idx_5120)) 0)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5120) (< v_idx_5120 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (= 0 (select |c_#memory_int| v_idx_5118)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5118) (< v_idx_5118 c_ULTIMATE.start_main_p1)) (<= (+ 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_5115 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5115) (= (select |c_#valid| v_idx_5115) 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_5112) (< v_idx_5112 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5112))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:52:57,998 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:57,998 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:57,998 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:57,999 WARN L270 ngHoareTripleChecker]: Pre: {401#true} [2019-02-28 13:52:57,999 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:52:57,999 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:52:58,152 WARN L276 ngHoareTripleChecker]: Post: {402#(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_5120 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_5120) (<= (* 2 (select |#memory_int| v_idx_5120)) 0) (< v_idx_5120 ULTIMATE.start_main_p2))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_5115 Int)) (or (< v_idx_5115 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5115) (= (select |#valid| v_idx_5115) 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) (forall ((v_prenex_38 Int)) (or (<= (select |#memory_int| v_prenex_38) 0) (<= (+ ULTIMATE.start_main_p2 1) v_prenex_38) (< v_prenex_38 ULTIMATE.start_main_p2))) (forall ((v_idx_5118 Int)) (or (= 0 (select |#memory_int| v_idx_5118)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_5118) (< v_idx_5118 ULTIMATE.start_main_p1))) (forall ((v_idx_5112 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5112) (< v_idx_5112 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_5112)))) (<= (- 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_5122 Int)) (or (< v_idx_5122 ULTIMATE.start_main_p3) (= 0 (select |#memory_int| v_idx_5122)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5122))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_5124 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5124) (< v_idx_5124 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_5124)))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:52:58,152 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:58,153 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:58,153 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-28 13:52:58,153 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-28 13:52:58,154 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_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 26 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:58,154 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:52:59,581 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:52:59,582 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:52:59,582 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:52:59,582 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:52:59,582 WARN L224 ngHoareTripleChecker]: Pre: {407#(forall ((v_idx_5157 Int) (v_idx_5147 Int) (v_idx_5153 Int) (v_idx_5144 Int) (v_idx_5155 Int) (v_idx_5151 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_5157)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5157) (< v_idx_5157 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 (and (<= (* 2 (select |c_#memory_int| v_idx_5153)) 0) (<= (select |c_#memory_int| v_idx_5153) 0)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5153) (< v_idx_5153 c_ULTIMATE.start_main_p2)) (<= (- 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_5151)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5151) (< v_idx_5151 c_ULTIMATE.start_main_p1)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5144) 0) (< v_idx_5144 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5144)) (<= (+ 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_5155 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5155) (= 0 (select |c_#memory_int| v_idx_5155))) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5147) (= (select |c_#valid| v_idx_5147) 1) (< v_idx_5147 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-28 13:52:59,583 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:52:59,583 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:52:59,583 WARN L230 ngHoareTripleChecker]: Post: {408#false} [2019-02-28 13:52:59,583 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:52:59,608 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:52:59,608 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:52:59,745 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)) (forall ((v_idx_5157 Int)) (or (= 0 (select |#memory_int| v_idx_5157)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5157) (< v_idx_5157 ULTIMATE.start_main_p4))) (<= 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_5151 Int)) (or (= 0 (select |#memory_int| v_idx_5151)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_5151) (< v_idx_5151 ULTIMATE.start_main_p1))) (<= (- 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_5147 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5147) (= (select |#valid| v_idx_5147) 1) (< v_idx_5147 ULTIMATE.start_main_p4))) (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) (forall ((v_idx_5155 Int)) (or (< v_idx_5155 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5155) (= 0 (select |#memory_int| v_idx_5155)))) (forall ((v_idx_5153 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_5153) (<= (select |#memory_int| v_idx_5153) 0) (< v_idx_5153 ULTIMATE.start_main_p2))) (forall ((v_idx_5144 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_5144) 0) (< v_idx_5144 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5144))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:52:59,746 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:52:59,746 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:52:59,747 WARN L276 ngHoareTripleChecker]: Post: {408#false} [2019-02-28 13:52:59,747 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:52:59,747 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:52:59,748 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_2471 [inf_0], [old(#valid)] -> [-inf_0] v_2470 [inf_0], }, Substate: {ints: {v_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 28 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:52:59,748 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-28 13:52:59,749 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:52:59,749 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:53:02,057 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:53:02,057 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:53:02,057 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:53:02,058 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:53:02,058 WARN L224 ngHoareTripleChecker]: Pre: {410#true} [2019-02-28 13:53:02,058 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-28 13:53:02,058 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-28 13:53:02,059 WARN L230 ngHoareTripleChecker]: Post: {411#(forall ((v_idx_5216 Int) (v_idx_5206 Int) (v_idx_5218 Int) (v_idx_5212 Int) (v_idx_5214 Int) (v_idx_5209 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_5216 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5216) (= 0 (select |c_#memory_int| v_idx_5216))) (<= (- 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_5212 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_5212) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5212)) (or (= 1 (select |c_#valid| v_idx_5209)) (< v_idx_5209 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5209)) (or (= 0 (select |c_#memory_int| v_idx_5218)) (< v_idx_5218 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5218)) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5206) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5206) (< v_idx_5206 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 (and (<= (select |c_#memory_int| v_idx_5214) 0) (<= (* 2 (select |c_#memory_int| v_idx_5214)) 0)) (< v_idx_5214 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5214)) (<= (- 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-28 13:53:02,059 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:53:02,059 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:53:02,060 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:53:02,060 WARN L270 ngHoareTripleChecker]: Pre: {410#true} [2019-02-28 13:53:02,060 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-28 13:53:02,061 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-28 13:53:02,135 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) (<= (- 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_5206 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_5206) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5206) (< v_idx_5206 ULTIMATE.start_main_p4))) (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_5214 Int)) (or (< v_idx_5214 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_5214) (<= (select |#memory_int| v_idx_5214) 0))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_main_p4) (<= ULTIMATE.start_main_p4 ULTIMATE.start_malloc_ptr) (forall ((v_idx_5218 Int)) (or (= 0 (select |#memory_int| v_idx_5218)) (< v_idx_5218 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5218))) (forall ((v_idx_5209 Int)) (or (= 1 (select |#valid| v_idx_5209)) (< v_idx_5209 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5209))) (<= (+ 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)) (forall ((v_idx_5212 Int)) (or (< v_idx_5212 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_5212) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_5212))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_idx_5216 Int)) (or (< v_idx_5216 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5216) (= 0 (select |#memory_int| v_idx_5216)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:53:02,135 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:53:02,135 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:53:02,136 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-28 13:53:02,136 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) (assume !(#memory_int[main_p3] >= 0);) [2019-02-28 13:53:02,138 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_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 26 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:53:02,138 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:53:03,239 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:53:03,240 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:53:03,240 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:53:03,240 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:53:03,240 WARN L224 ngHoareTripleChecker]: Pre: {413#true} [2019-02-28 13:53:03,240 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:53:03,241 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:53:03,241 WARN L230 ngHoareTripleChecker]: Post: {414#(forall ((v_idx_5278 Int) (v_idx_5266 Int) (v_idx_5269 Int) (v_idx_5274 Int) (v_idx_5276 Int) (v_idx_5272 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_p2 1) v_idx_5274) (and (<= (* 2 (select |c_#memory_int| v_idx_5274)) 0) (<= (select |c_#memory_int| v_idx_5274) 0)) (< v_idx_5274 c_ULTIMATE.start_main_p2)) (or (< v_idx_5272 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_5272) (= 0 (select |c_#memory_int| v_idx_5272))) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_5276 c_ULTIMATE.start_main_p3) (= (select |c_#memory_int| v_idx_5276) 0) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_5276)) (<= (+ 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_5269) (= 1 (select |c_#valid| v_idx_5269)) (< v_idx_5269 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_5278 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_5278) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5278)) (<= (- 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_5266 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_5266) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5266))))} [2019-02-28 13:53:03,241 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:53:03,241 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:53:03,241 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:53:03,242 WARN L270 ngHoareTripleChecker]: Pre: {413#true} [2019-02-28 13:53:03,242 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:53:03,242 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:53:03,343 WARN L276 ngHoareTripleChecker]: Post: {414#(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_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_5266 Int)) (or (< v_idx_5266 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_5266) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5266))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_5274 Int)) (or (<= (* 2 (select |#memory_int| v_idx_5274)) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_5274) (< v_idx_5274 ULTIMATE.start_main_p2))) (<= (- 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_5269 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5269) (= 1 (select |#valid| v_idx_5269)) (< v_idx_5269 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_5272 Int)) (or (< v_idx_5272 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_5272) (= 0 (select |#memory_int| v_idx_5272)))) (forall ((v_idx_5276 Int)) (or (< v_idx_5276 ULTIMATE.start_main_p3) (= (select |#memory_int| v_idx_5276) 0) (<= (+ ULTIMATE.start_main_p3 1) v_idx_5276))) (forall ((v_idx_5278 Int)) (or (< v_idx_5278 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_5278) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5278))) (<= (- 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-28 13:53:03,343 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:53:03,344 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:53:03,344 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-28 13:53:03,344 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-28 13:53:03,345 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_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 26 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:53:03,345 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:53:05,051 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:53:05,052 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:53:05,052 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:53:05,052 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:53:05,052 WARN L224 ngHoareTripleChecker]: Pre: {419#true} [2019-02-28 13:53:05,053 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-28 13:53:05,053 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-28 13:53:05,053 WARN L230 ngHoareTripleChecker]: Post: {420#(forall ((v_idx_5349 Int) (v_idx_5355 Int) (v_idx_5343 Int) (v_idx_5346 Int) (v_idx_5351 Int) (v_idx_5353 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_5353) (= (select |c_#memory_int| v_idx_5353) 0) (< v_idx_5353 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 (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5346) (< v_idx_5346 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_5346))) (<= (- 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_p1 1) v_idx_5349) (< v_idx_5349 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_5349))) (<= (+ 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_ULTIMATE.start_malloc_old_#valid| v_idx_5343) 0) (< v_idx_5343 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5343)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_5355) (< v_idx_5355 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_5355) 0)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr) (or (and (<= (* 2 (select |c_#memory_int| v_idx_5351)) 0) (<= (select |c_#memory_int| v_idx_5351) 0)) (< v_idx_5351 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_5351))))} [2019-02-28 13:53:05,053 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:53:05,054 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:53:05,054 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:53:05,055 WARN L270 ngHoareTripleChecker]: Pre: {419#true} [2019-02-28 13:53:05,055 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-28 13:53:05,055 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-28 13:53:05,160 WARN L276 ngHoareTripleChecker]: Post: {420#(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_5343 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_5343) 0) (< v_idx_5343 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_5343))) (forall ((v_idx_5355 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5355) (< v_idx_5355 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_5355) 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) (<= (+ 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_5353 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_5353) (= (select |#memory_int| v_idx_5353) 0) (< v_idx_5353 ULTIMATE.start_main_p3))) (forall ((v_idx_5346 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_5346) (< v_idx_5346 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_5346)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_5351 Int)) (or (<= (select |#memory_int| v_idx_5351) 0) (< v_idx_5351 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_5351))) (forall ((v_prenex_42 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_prenex_42) (<= (* 2 (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) (forall ((v_idx_5349 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_5349) (< v_idx_5349 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_5349)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:53:05,160 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:53:05,160 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:53:05,161 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-28 13:53:05,161 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) (assume !(#memory_int[main_p4] <= 0);) [2019-02-28 13:53:05,162 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_1387 = [0; 0]; v_1376 = [0; 0]; v_1380 = [1; 1]; v_1389 = [0; 0]; v_1383 = [0; 0]; v_1385 = [-inf; 0]}, 26 vars top, relations: {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_1383 + v_1387 = [0; 0]; v_1383 - v_1387 = [0; 0]; v_1385 + v_1387 = [-inf; 0]; v_1385 - v_1387 = [-inf; 0]; b_131 - b_134 = [3; inf]; ULTIMATE.start_malloc_ptr - b_134 = [2; inf]; b_128 - b_134 = [2; inf]; b_130 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p1 - b_134 = [-inf; -1]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; b_132 - b_134 = [-inf; -1]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_128 - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; b_129 - b_131 = [0; 0]; 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]; 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_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_128 - b_137 = [0; inf]; b_130 - b_137 = [0; inf]; b_133 - b_137 = [-inf; -2]; b_129 - b_137 = [1; inf]; b_135 - b_137 = [-inf; -1]; b_136 - b_137 = [-1; -1]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; 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]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; b_128 - 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_131 - b_133 = [3; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; inf]; b_128 - b_133 = [2; inf]; b_130 - b_133 = [2; inf]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p1 - b_133 = [-1; -1]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; b_132 - b_133 = [-1; -1]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_128 - b_138 = [0; 0]; b_130 - b_138 = [0; 0]; b_133 - b_138 = [-inf; -2]; b_129 - b_138 = [1; 1]; b_135 - b_138 = [-inf; -1]; b_136 - b_138 = [-inf; -1]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; v_1387 + v_1389 = [0; 0]; v_1387 - 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_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1385 + v_1389 = [-inf; 0]; v_1385 - v_1389 = [-inf; 0]; 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]; b_128 - 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_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_128 - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_128 - b_136 = [1; inf]; b_130 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; b_129 - b_136 = [2; inf]; b_135 - b_136 = [-inf; 0]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_134 - b_139 = [-inf; -3]; b_131 - b_139 = [0; 0]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_128 - b_139 = [-1; -1]; b_130 - b_139 = [-1; -1]; b_133 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_129 - b_139 = [0; 0]; b_135 - b_139 = [-inf; -2]; b_136 - b_139 = [-inf; -2]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; 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_1385 = [-inf; 0]; v_1383 - v_1385 = [0; inf]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; b_131 - b_132 = [4; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_128 - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_129 - 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]; 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-28 13:53:05,162 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:53:05,166 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:53:05,166 INFO L93 Difference]: Finished difference Result 20 states and 35 transitions. [2019-02-28 13:53:05,166 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-28 13:53:05,166 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-28 13:53:05,166 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-28 13:53:05,167 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:53:05,167 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-28 13:53:05,167 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:53:05,168 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-28 13:53:05,168 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 23 transitions. [2019-02-28 13:53:05,341 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-28 13:53:05,342 INFO L225 Difference]: With dead ends: 20 [2019-02-28 13:53:05,342 INFO L226 Difference]: Without dead ends: 13 [2019-02-28 13:53:05,343 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 0 SyntacticMatches, 1 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 1.2s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:53:05,343 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states. [2019-02-28 13:53:05,492 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 13. [2019-02-28 13:53:05,492 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-28 13:53:05,492 INFO L82 GeneralOperation]: Start isEquivalent. First operand 13 states. Second operand 13 states. [2019-02-28 13:53:05,492 INFO L74 IsIncluded]: Start isIncluded. First operand 13 states. Second operand 13 states. [2019-02-28 13:53:05,492 INFO L87 Difference]: Start difference. First operand 13 states. Second operand 13 states. [2019-02-28 13:53:05,494 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:53:05,494 INFO L93 Difference]: Finished difference Result 13 states and 28 transitions. [2019-02-28 13:53:05,494 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 28 transitions. [2019-02-28 13:53:05,495 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:53:05,495 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:53:05,495 INFO L74 IsIncluded]: Start isIncluded. First operand 13 states. Second operand 13 states. [2019-02-28 13:53:05,495 INFO L87 Difference]: Start difference. First operand 13 states. Second operand 13 states. [2019-02-28 13:53:05,496 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:53:05,497 INFO L93 Difference]: Finished difference Result 13 states and 28 transitions. [2019-02-28 13:53:05,497 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 28 transitions. [2019-02-28 13:53:05,497 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:53:05,497 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:53:05,497 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-28 13:53:05,497 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-28 13:53:05,497 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 13 states. [2019-02-28 13:53:05,498 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 28 transitions. [2019-02-28 13:53:05,499 INFO L78 Accepts]: Start accepts. Automaton has 13 states and 28 transitions. Word has length 3 [2019-02-28 13:53:05,499 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-28 13:53:05,499 INFO L480 AbstractCegarLoop]: Abstraction has 13 states and 28 transitions. [2019-02-28 13:53:05,499 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-28 13:53:05,499 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 28 transitions. [2019-02-28 13:53:05,499 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2019-02-28 13:53:05,499 INFO L394 BasicCegarLoop]: Found error trace [2019-02-28 13:53:05,499 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1] [2019-02-28 13:53:05,500 INFO L423 AbstractCegarLoop]: === Iteration 5 === [ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT]=== [2019-02-28 13:53:05,500 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:53:05,500 INFO L82 PathProgramCache]: Analyzing trace with hash 30244, now seen corresponding path program 1 times [2019-02-28 13:53:05,500 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-28 13:53:05,501 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:53:05,501 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-28 13:53:05,501 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:53:05,501 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-28 13:53:05,511 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-28 13:53:05,614 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-28 13:53:05,615 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-28 13:53:05,616 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-28 13:53:05,617 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-02-28 13:53:05,617 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-28 13:53:05,617 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-28 13:53:05,617 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 4 with the following transitions: [2019-02-28 13:53:05,618 INFO L207 CegarAbsIntRunner]: [0], [14], [19] [2019-02-28 13:53:05,619 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-28 13:53:05,619 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-28 13:54:14,510 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-28 13:54:14,510 INFO L272 AbstractInterpreter]: Visited 3 different actions 13 times. Merged at 1 different actions 5 times. Widened at 1 different actions 1 times. Found 1 fixpoints after 1 different actions. Largest state had 0 variables. [2019-02-28 13:54:14,511 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:54:14,511 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-28 13:54:19,843 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-28 13:54:21,555 INFO L420 sIntCurrentIteration]: We unified 2 AI predicates to 2 [2019-02-28 13:54:26,078 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-28 13:54:26,079 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-28 13:54:26,079 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [1] imperfect sequences [2] total 3 [2019-02-28 13:54:26,079 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-28 13:54:26,079 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-28 13:54:26,079 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-28 13:54:26,079 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2019-02-28 13:54:26,264 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 3 edges. 3 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2019-02-28 13:54:26,264 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-02-28 13:54:26,264 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-02-28 13:54:26,265 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-02-28 13:54:26,265 INFO L87 Difference]: Start difference. First operand 13 states and 28 transitions. Second operand 3 states. [2019-02-28 13:54:26,799 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:26,800 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:26,800 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:26,800 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:26,800 WARN L224 ngHoareTripleChecker]: Pre: {492#(forall ((v_idx_6206 Int) (v_idx_6217 Int) (v_idx_6219 Int) (v_idx_6213 Int) (v_idx_6215 Int) (v_idx_6209 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_6213) (< v_idx_6213 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_6213) 0)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_6209 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6209) (= 1 (select |c_#valid| v_idx_6209))) (or (= 0 (select |c_#memory_int| v_idx_6219)) (< v_idx_6219 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6219)) (<= (- 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_6215)) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6215) (< v_idx_6215 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)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6206) (< v_idx_6206 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6206) 0)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6217) (< v_idx_6217 c_ULTIMATE.start_main_p3) (and (<= 0 (select |c_#memory_int| v_idx_6217)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6217))))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:54:26,800 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:54:26,801 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:54:26,801 WARN L230 ngHoareTripleChecker]: Post: {493#false} [2019-02-28 13:54:26,801 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:26,828 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:26,829 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:26,914 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)))) (forall ((v_idx_6219 Int)) (or (= 0 (select |#memory_int| v_idx_6219)) (< v_idx_6219 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6219))) (<= (- 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_6209 Int)) (or (< v_idx_6209 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6209) (= 1 (select |#valid| v_idx_6209)))) (forall ((v_idx_6215 Int)) (or (= 0 (select |#memory_int| v_idx_6215)) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6215) (< v_idx_6215 ULTIMATE.start_main_p2))) (forall ((v_idx_6206 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6206) (< v_idx_6206 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_6206) 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_idx_6217 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_6217) (< v_idx_6217 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_6217))))) (<= (+ 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_6213 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_6213) (< v_idx_6213 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_6213) 0))) (<= (+ 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-28 13:54:26,914 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1]; [2019-02-28 13:54:26,914 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) [2019-02-28 13:54:26,916 WARN L276 ngHoareTripleChecker]: Post: {493#false} [2019-02-28 13:54:26,916 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:26,916 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:26,917 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 28 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:26,918 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p4 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p4) (- 1)))) (#memory_int := #memory_int[main_p4 := #memory_int[main_p4] - 1];) [2019-02-28 13:54:26,918 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:54:26,918 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:31,756 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:31,756 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:31,756 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:31,756 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:31,757 WARN L224 ngHoareTripleChecker]: Pre: {498#(forall ((v_idx_6326 Int) (v_idx_6315 Int) (v_idx_6318 Int) (v_idx_6328 Int) (v_idx_6322 Int) (v_idx_6324 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_6324) (< v_idx_6324 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_6324) 0)) (or (and (<= 0 (select |c_#memory_int| v_idx_6326)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6326)))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6326) (< v_idx_6326 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 (< v_idx_6315 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6315) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6315))) (<= (- 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)) (<= (+ 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_6328 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_6328)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6328)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6318) (< v_idx_6318 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_6318))) (<= (+ 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_6322 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_6322) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6322))))} [2019-02-28 13:54:31,757 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:54:31,757 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:54:31,757 WARN L230 ngHoareTripleChecker]: Post: {499#false} [2019-02-28 13:54:31,757 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:31,785 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:31,785 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:31,872 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_6318 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6318) (< v_idx_6318 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_6318)))) (<= (- 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_6315 Int)) (or (< v_idx_6315 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6315) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6315)))) (forall ((v_idx_6326 Int)) (or (<= 0 (select |#memory_int| v_idx_6326)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6326) (< v_idx_6326 ULTIMATE.start_main_p3))) (<= (- 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_idx_6322 Int)) (or (< v_idx_6322 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_6322) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6322))) (<= (+ 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_6328 Int)) (or (< v_idx_6328 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_6328)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6328))) (<= (- 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_6324 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_6324) (< v_idx_6324 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_6324) 0))) (<= (+ ULTIMATE.start_main_p3 1) 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))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:54:31,873 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1]; [2019-02-28 13:54:31,873 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) [2019-02-28 13:54:31,874 WARN L276 ngHoareTripleChecker]: Post: {499#false} [2019-02-28 13:54:31,875 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:31,875 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:31,876 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 28 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:31,877 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p1 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p1) 1))) (#memory_int := #memory_int[main_p1 := #memory_int[main_p1] + 1];) [2019-02-28 13:54:31,877 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:54:31,877 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:35,952 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:35,952 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:35,953 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:35,953 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:35,953 WARN L224 ngHoareTripleChecker]: Pre: {504#(forall ((v_idx_6437 Int) (v_idx_6427 Int) (v_idx_6433 Int) (v_idx_6435 Int) (v_idx_6424 Int) (v_idx_6431 Int)) (and (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6435) (and (<= 0 (select |c_#memory_int| v_idx_6435)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6435)))) (< v_idx_6435 c_ULTIMATE.start_main_p3)) (<= (- 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_6437) (< v_idx_6437 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_6437))) (<= (- 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_ULTIMATE.start_malloc_old_#valid| v_idx_6424)) (< v_idx_6424 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6424)) (or (< v_idx_6427 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_6427)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6427)) (<= (- 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 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_6433) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6433) (< v_idx_6433 c_ULTIMATE.start_main_p2)) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6431) (< v_idx_6431 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_6431))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:54:35,953 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:54:35,953 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:54:35,954 WARN L230 ngHoareTripleChecker]: Post: {505#false} [2019-02-28 13:54:35,954 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:35,979 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:35,979 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:36,074 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) (forall ((v_idx_6431 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_6431) (< v_idx_6431 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_6431)))) (<= (- 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_6435 Int)) (or (<= 0 (select |#memory_int| v_idx_6435)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6435) (< v_idx_6435 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_6427 Int)) (or (< v_idx_6427 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_6427)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6427))) (<= 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)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6433 Int)) (or (= (select |#memory_int| v_idx_6433) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6433) (< v_idx_6433 ULTIMATE.start_main_p2))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_6424 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6424)) (< v_idx_6424 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6424))) (<= (+ 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_6437 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6437) (< v_idx_6437 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_6437)))) (<= (+ 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))))) (<= (+ 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-28 13:54:36,075 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1]; [2019-02-28 13:54:36,075 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) [2019-02-28 13:54:36,078 WARN L276 ngHoareTripleChecker]: Post: {505#false} [2019-02-28 13:54:36,079 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:36,079 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:36,080 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 28 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:36,080 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p2 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p2) (- 1)))) (#memory_int := #memory_int[main_p2 := #memory_int[main_p2] - 1];) [2019-02-28 13:54:36,080 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:54:36,080 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:40,857 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:40,858 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:40,858 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:40,858 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:40,858 WARN L224 ngHoareTripleChecker]: Pre: {510#(forall ((v_idx_6536 Int) (v_idx_6546 Int) (v_idx_6542 Int) (v_idx_6544 Int) (v_idx_6533 Int) (v_idx_6540 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_6542) (= (select |c_#memory_int| v_idx_6542) 0) (< v_idx_6542 c_ULTIMATE.start_main_p2)) (<= (- 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) (or (< v_idx_6540 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6540) (= (select |c_#memory_int| v_idx_6540) 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) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (and (<= 0 (select |c_#memory_int| v_idx_6544)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6544)))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6544) (< v_idx_6544 c_ULTIMATE.start_main_p3)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6536) (= 1 (select |c_#valid| v_idx_6536)) (< v_idx_6536 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 (= (select |c_#memory_int| v_idx_6546) 0) (< v_idx_6546 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6546)) (<= (+ 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_6533) (< v_idx_6533 c_ULTIMATE.start_main_p4) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6533) 0))))} [2019-02-28 13:54:40,859 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:54:40,859 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:54:40,859 WARN L230 ngHoareTripleChecker]: Post: {511#false} [2019-02-28 13:54:40,859 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:40,883 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:40,883 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:41,067 WARN L270 ngHoareTripleChecker]: Pre: {510#(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_6540 Int)) (or (< v_idx_6540 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6540) (= (select |#memory_int| v_idx_6540) 0))) (forall ((v_idx_6546 Int)) (or (= (select |#memory_int| v_idx_6546) 0) (< v_idx_6546 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6546))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6533 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6533) (< v_idx_6533 ULTIMATE.start_main_p4) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_6533) 0))) (forall ((v_idx_6544 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_6544) (<= 0 (* 2 (select |#memory_int| v_idx_6544))) (< v_idx_6544 ULTIMATE.start_main_p3))) (forall ((v_idx_6536 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6536) (= 1 (select |#valid| v_idx_6536)) (< v_idx_6536 ULTIMATE.start_main_p4))) (forall ((v_idx_6542 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_6542) (= (select |#memory_int| v_idx_6542) 0) (< v_idx_6542 ULTIMATE.start_main_p2))) (<= (- 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_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)) (forall ((v_prenex_46 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_prenex_46) (<= 0 (select |#memory_int| v_prenex_46)) (< v_prenex_46 ULTIMATE.start_main_p3))) (<= (+ 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-28 13:54:41,067 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:54:41,067 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:54:41,068 WARN L276 ngHoareTripleChecker]: Post: {511#false} [2019-02-28 13:54:41,068 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:41,069 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:41,070 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_2307 [inf_0], [old(#valid)] -> [-inf_0] v_2306 [inf_0], }, Substate: {ints: {v_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 28 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:41,070 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) (#memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1];) [2019-02-28 13:54:41,070 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:54:41,070 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:42,690 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:42,690 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:42,690 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:42,691 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:42,691 WARN L224 ngHoareTripleChecker]: Pre: {516#true} [2019-02-28 13:54:42,691 WARN L228 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:54:42,691 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:54:42,691 WARN L230 ngHoareTripleChecker]: Post: {517#(forall ((v_idx_6601 Int) (v_idx_6603 Int) (v_idx_6598 Int) (v_idx_6595 Int) (v_idx_6605 Int) (v_idx_6607 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_6601 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6601) (= (select |c_#memory_int| v_idx_6601) 0)) (<= (- c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) 0) (or (< v_idx_6605 c_ULTIMATE.start_main_p3) (and (<= 0 (select |c_#memory_int| v_idx_6605)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6605)))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6605)) (<= (- 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_6598) (< v_idx_6598 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_6598))) (<= 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_p2 1) v_idx_6603) (< v_idx_6603 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_6603) 0)) (<= (+ c_ULTIMATE.start_main_p2 2) c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p2 1) c_ULTIMATE.start_main_p3) (or (< v_idx_6595 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6595)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6595)) (<= (+ 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_6607) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6607) (< v_idx_6607 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-28 13:54:42,691 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:42,692 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:42,692 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:42,693 WARN L270 ngHoareTripleChecker]: Pre: {516#true} [2019-02-28 13:54:42,693 WARN L274 ngHoareTripleChecker]: Action: #memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1]; [2019-02-28 13:54:42,693 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) [2019-02-28 13:54:42,752 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)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6598 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6598) (< v_idx_6598 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_6598)))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_6605 Int)) (or (< v_idx_6605 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_6605))) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6605))) (<= 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)) (<= (- (- 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) (forall ((v_idx_6601 Int)) (or (< v_idx_6601 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6601) (= (select |#memory_int| v_idx_6601) 0))) (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) (forall ((v_idx_6595 Int)) (or (< v_idx_6595 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6595)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6595))) (forall ((v_idx_6607 Int)) (or (= (select |#memory_int| v_idx_6607) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6607) (< v_idx_6607 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (forall ((v_idx_6603 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_6603) (< v_idx_6603 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_6603) 0))) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:54:42,752 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:42,752 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:42,753 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-28 13:54:42,753 WARN L628 ntHoareTripleChecker]: (= |c_#memory_int_primed| (store |c_#memory_int| c_ULTIMATE.start_main_p3 (+ (select |c_#memory_int| c_ULTIMATE.start_main_p3) 1))) (#memory_int := #memory_int[main_p3 := #memory_int[main_p3] + 1];) [2019-02-28 13:54:42,755 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 26 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:42,755 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:43,084 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:43,085 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:43,085 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:43,085 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:43,085 WARN L224 ngHoareTripleChecker]: Pre: {519#(forall ((v_idx_6613 Int) (v_idx_6623 Int) (v_idx_6610 Int) (v_idx_6621 Int) (v_idx_6617 Int) (v_idx_6619 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_6610 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6610)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6610)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6619) (= 0 (select |c_#memory_int| v_idx_6619)) (< v_idx_6619 c_ULTIMATE.start_main_p2)) (<= (- 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_6613) (= (select |c_#valid| v_idx_6613) 1) (< v_idx_6613 c_ULTIMATE.start_main_p4)) (or (< v_idx_6617 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_6617) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6617)) (<= (- 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 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_6623)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6623) (< v_idx_6623 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_malloc_ptr) (- 2)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_malloc_ptr) (or (and (<= 0 (select |c_#memory_int| v_idx_6621)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6621)))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6621) (< v_idx_6621 c_ULTIMATE.start_main_p3)) (<= (+ 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-28 13:54:43,086 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:54:43,086 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:54:43,086 WARN L230 ngHoareTripleChecker]: Post: {520#false} [2019-02-28 13:54:43,086 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:43,097 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:43,098 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:43,155 WARN L270 ngHoareTripleChecker]: Pre: {519#(and (forall ((v_idx_6613 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6613) (= (select |#valid| v_idx_6613) 1) (< v_idx_6613 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_idx_6621 Int)) (or (<= 0 (select |#memory_int| v_idx_6621)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6621) (< v_idx_6621 ULTIMATE.start_main_p3))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (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_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)) (forall ((v_idx_6619 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_6619) (= 0 (select |#memory_int| v_idx_6619)) (< v_idx_6619 ULTIMATE.start_main_p2))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6623 Int)) (or (= 0 (select |#memory_int| v_idx_6623)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6623) (< v_idx_6623 ULTIMATE.start_main_p4))) (forall ((v_idx_6610 Int)) (or (< v_idx_6610 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6610)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6610))) (<= (- 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_6617 Int)) (or (< v_idx_6617 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_6617) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6617))) (<= (+ 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-28 13:54:43,155 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:54:43,156 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:54:43,157 WARN L276 ngHoareTripleChecker]: Post: {520#false} [2019-02-28 13:54:43,157 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:43,157 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:43,159 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 28 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:43,159 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-28 13:54:43,159 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:54:43,159 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:45,238 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:45,239 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:45,239 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:45,239 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:45,239 WARN L224 ngHoareTripleChecker]: Pre: {525#true} [2019-02-28 13:54:45,239 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:54:45,240 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:54:45,240 WARN L230 ngHoareTripleChecker]: Post: {526#(forall ((v_idx_6744 Int) (v_idx_6735 Int) (v_idx_6740 Int) (v_idx_6732 Int) (v_idx_6742 Int) (v_idx_6738 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_#valid| v_idx_6735) 1) (< v_idx_6735 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6735)) (<= (- 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_6740) (= (select |c_#memory_int| v_idx_6740) 0) (< v_idx_6740 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 (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6732) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6732)) (< v_idx_6732 c_ULTIMATE.start_main_p4)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (< v_idx_6738 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6738) (= (select |c_#memory_int| v_idx_6738) 0)) (<= 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_p4 1) v_idx_6744) (= 0 (select |c_#memory_int| v_idx_6744)) (< v_idx_6744 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) (<= (+ 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_6742 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6742) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_6742))) (<= 0 (select |c_#memory_int| v_idx_6742))))))} [2019-02-28 13:54:45,240 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:45,240 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:45,240 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:45,241 WARN L270 ngHoareTripleChecker]: Pre: {525#true} [2019-02-28 13:54:45,241 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p1] >= 0; [2019-02-28 13:54:45,241 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) [2019-02-28 13:54:45,316 WARN L276 ngHoareTripleChecker]: Post: {526#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_malloc_ptr) (- 3)) (forall ((v_prenex_49 Int)) (or (<= 0 (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) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_6732 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6732) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6732)) (< v_idx_6732 ULTIMATE.start_main_p4))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_6742 Int)) (or (<= 0 (* 2 (select |#memory_int| v_idx_6742))) (< v_idx_6742 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6742))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6744 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6744) (= 0 (select |#memory_int| v_idx_6744)) (< v_idx_6744 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) (forall ((v_idx_6738 Int)) (or (< v_idx_6738 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6738) (= (select |#memory_int| v_idx_6738) 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_6740 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_6740) (= (select |#memory_int| v_idx_6740) 0) (< v_idx_6740 ULTIMATE.start_main_p2))) (<= (- 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_6735 Int)) (or (= (select |#valid| v_idx_6735) 1) (< v_idx_6735 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6735))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:54:45,316 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:45,316 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:45,317 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-28 13:54:45,317 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p1)) (assume #memory_int[main_p1] >= 0;) [2019-02-28 13:54:45,318 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 26 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:45,318 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:46,097 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:46,098 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:46,098 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:46,098 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:46,098 WARN L224 ngHoareTripleChecker]: Pre: {531#(forall ((v_idx_6767 Int) (v_idx_6777 Int) (v_idx_6773 Int) (v_idx_6764 Int) (v_idx_6775 Int) (v_idx_6771 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_6777)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6777) (< v_idx_6777 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6767) (= 1 (select |c_#valid| v_idx_6767)) (< v_idx_6767 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) (or (< v_idx_6773 c_ULTIMATE.start_main_p2) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6773) (= (select |c_#memory_int| v_idx_6773) 0)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6764) (< v_idx_6764 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6764))) (<= (- 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 (and (<= 0 (* 2 (select |c_#memory_int| v_idx_6775))) (<= 0 (select |c_#memory_int| v_idx_6775))) (< v_idx_6775 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6775)) (or (< v_idx_6771 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_6771)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6771))))} [2019-02-28 13:54:46,098 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:54:46,099 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:54:46,099 WARN L230 ngHoareTripleChecker]: Post: {532#false} [2019-02-28 13:54:46,099 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:46,123 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:46,123 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:46,205 WARN L270 ngHoareTripleChecker]: Pre: {531#(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_6771 Int)) (or (< v_idx_6771 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_6771)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6771))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6775 Int)) (or (<= 0 (select |#memory_int| v_idx_6775)) (< v_idx_6775 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6775))) (<= (- 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_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_6764 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6764) (< v_idx_6764 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6764)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_6767 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6767) (= 1 (select |#valid| v_idx_6767)) (< v_idx_6767 ULTIMATE.start_main_p4))) (forall ((v_idx_6773 Int)) (or (< v_idx_6773 ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6773) (= (select |#memory_int| v_idx_6773) 0))) (<= (+ 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_6777 Int)) (or (= 0 (select |#memory_int| v_idx_6777)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6777) (< v_idx_6777 ULTIMATE.start_main_p4))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr) (forall ((v_prenex_50 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_prenex_50) (< v_prenex_50 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_prenex_50))))))} [2019-02-28 13:54:46,205 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:54:46,206 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:54:46,207 WARN L276 ngHoareTripleChecker]: Post: {532#false} [2019-02-28 13:54:46,207 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:46,207 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:46,208 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 28 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:46,208 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-28 13:54:46,209 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:54:46,209 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:47,634 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:47,634 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:47,635 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:47,635 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:47,635 WARN L224 ngHoareTripleChecker]: Pre: {534#true} [2019-02-28 13:54:47,635 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-28 13:54:47,636 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-28 13:54:47,636 WARN L230 ngHoareTripleChecker]: Post: {535#(forall ((v_idx_6832 Int) (v_idx_6834 Int) (v_idx_6829 Int) (v_idx_6826 Int) (v_idx_6836 Int) (v_idx_6838 Int)) (and (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p4) (- 3)) (or (< v_idx_6826 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6826) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6826))) (<= (- 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_6832) 0) (< v_idx_6832 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6832)) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6834) (= (select |c_#memory_int| v_idx_6834) 0) (< v_idx_6834 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p1 c_ULTIMATE.start_main_p2) (- 1)) (or (= (select |c_#memory_int| v_idx_6838) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6838) (< v_idx_6838 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 (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6829) (= (select |c_#valid| v_idx_6829) 1) (< v_idx_6829 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) (<= (+ 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_6836 c_ULTIMATE.start_main_p3) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_6836))) (<= 0 (select |c_#memory_int| v_idx_6836))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6836))))} [2019-02-28 13:54:47,636 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:47,637 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:47,637 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:47,638 WARN L270 ngHoareTripleChecker]: Pre: {534#true} [2019-02-28 13:54:47,638 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p2] <= 0); [2019-02-28 13:54:47,638 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) [2019-02-28 13:54:47,722 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_6834 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_6834) (= (select |#memory_int| v_idx_6834) 0) (< v_idx_6834 ULTIMATE.start_main_p2))) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_6829 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6829) (= (select |#valid| v_idx_6829) 1) (< v_idx_6829 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6826 Int)) (or (< v_idx_6826 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6826) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6826)))) (<= (- 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_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_6836 Int)) (or (< v_idx_6836 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_6836))) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6836))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_6838 Int)) (or (= (select |#memory_int| v_idx_6838) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6838) (< v_idx_6838 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_idx_6832 Int)) (or (= (select |#memory_int| v_idx_6832) 0) (< v_idx_6832 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6832))) (<= (+ 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-28 13:54:47,722 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:47,722 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:47,723 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-28 13:54:47,723 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0)) (assume !(#memory_int[main_p2] <= 0);) [2019-02-28 13:54:47,725 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 26 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:47,725 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:49,103 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:49,104 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:49,104 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:49,104 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:49,104 WARN L224 ngHoareTripleChecker]: Pre: {537#true} [2019-02-28 13:54:49,104 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:54:49,104 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:54:49,105 WARN L230 ngHoareTripleChecker]: Post: {538#(forall ((v_idx_6898 Int) (v_idx_6889 Int) (v_idx_6894 Int) (v_idx_6886 Int) (v_idx_6896 Int) (v_idx_6892 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 (and (<= 0 (select |c_#memory_int| v_idx_6896)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6896)))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6896) (< v_idx_6896 c_ULTIMATE.start_main_p3)) (or (< v_idx_6892 c_ULTIMATE.start_main_p1) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6892) (= 0 (select |c_#memory_int| v_idx_6892))) (<= (- 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_6898) (= (select |c_#memory_int| v_idx_6898) 0) (< v_idx_6898 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) (or (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6894) (= (select |c_#memory_int| v_idx_6894) 0) (< v_idx_6894 c_ULTIMATE.start_main_p2)) (<= (- c_ULTIMATE.start_main_p3 c_ULTIMATE.start_malloc_ptr) (- 1)) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6889) (< v_idx_6889 c_ULTIMATE.start_main_p4) (= 1 (select |c_#valid| v_idx_6889))) (<= (+ 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_6886) (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6886) 0) (< v_idx_6886 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-28 13:54:49,105 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:49,105 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:49,105 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:49,106 WARN L270 ngHoareTripleChecker]: Pre: {537#true} [2019-02-28 13:54:49,106 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p2] <= 0; [2019-02-28 13:54:49,106 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) [2019-02-28 13:54:49,221 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)) (<= ULTIMATE.start_malloc_ptr ULTIMATE.start_main_p4) (forall ((v_idx_6894 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_6894) (= (select |#memory_int| v_idx_6894) 0) (< v_idx_6894 ULTIMATE.start_main_p2))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p4) (- 2)) (forall ((v_idx_6896 Int)) (or (<= 0 (select |#memory_int| v_idx_6896)) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6896) (< v_idx_6896 ULTIMATE.start_main_p3))) (forall ((v_idx_6889 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6889) (< v_idx_6889 ULTIMATE.start_main_p4) (= 1 (select |#valid| v_idx_6889)))) (<= (- 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_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_6898 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6898) (= (select |#memory_int| v_idx_6898) 0) (< v_idx_6898 ULTIMATE.start_main_p4))) (forall ((v_idx_6886 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6886) (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_6886) 0) (< v_idx_6886 ULTIMATE.start_main_p4))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_6892 Int)) (or (< v_idx_6892 ULTIMATE.start_main_p1) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6892) (= 0 (select |#memory_int| v_idx_6892)))) (<= (+ 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))} [2019-02-28 13:54:49,222 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:49,222 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:49,223 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-28 13:54:49,223 WARN L628 ntHoareTripleChecker]: (<= (select |c_#memory_int| c_ULTIMATE.start_main_p2) 0) (assume #memory_int[main_p2] <= 0;) [2019-02-28 13:54:49,224 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 26 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:49,224 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:50,210 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:50,211 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:50,211 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:50,211 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:50,211 WARN L224 ngHoareTripleChecker]: Pre: {543#(forall ((v_idx_6921 Int) (v_idx_6931 Int) (v_idx_6929 Int) (v_idx_6918 Int) (v_idx_6925 Int) (v_idx_6927 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_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) (or (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6925) (= 0 (select |c_#memory_int| v_idx_6925)) (< v_idx_6925 c_ULTIMATE.start_main_p1)) (<= (- 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_6929 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6929) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_6929))) (<= 0 (select |c_#memory_int| v_idx_6929)))) (<= (+ 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 (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6918) (< v_idx_6918 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6918))) (<= (- 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_6931 c_ULTIMATE.start_main_p4) (= (select |c_#memory_int| v_idx_6931) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6931)) (<= (+ c_ULTIMATE.start_main_p3 1) c_ULTIMATE.start_main_p4) (or (< v_idx_6921 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6921) (= 1 (select |c_#valid| v_idx_6921))) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (= (select |c_#memory_int| v_idx_6927) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6927) (< v_idx_6927 c_ULTIMATE.start_main_p2)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:54:50,211 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:54:50,211 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:54:50,212 WARN L230 ngHoareTripleChecker]: Post: {544#false} [2019-02-28 13:54:50,212 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:50,238 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:50,238 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:50,357 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) (forall ((v_idx_6931 Int)) (or (< v_idx_6931 ULTIMATE.start_main_p4) (= (select |#memory_int| v_idx_6931) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6931))) (<= (- ULTIMATE.start_main_p2 ULTIMATE.start_main_p3) (- 1)) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_main_p4) (- 1)) (forall ((v_idx_6925 Int)) (or (<= (+ ULTIMATE.start_main_p1 1) v_idx_6925) (= 0 (select |#memory_int| v_idx_6925)) (< v_idx_6925 ULTIMATE.start_main_p1))) (<= 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_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)) (forall ((v_prenex_53 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_prenex_53) (<= 0 (* 2 (select |#memory_int| v_prenex_53))) (< v_prenex_53 ULTIMATE.start_main_p3))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6929 Int)) (or (< v_idx_6929 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_idx_6929) (<= 0 (select |#memory_int| v_idx_6929)))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_6927 Int)) (or (= (select |#memory_int| v_idx_6927) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6927) (< v_idx_6927 ULTIMATE.start_main_p2))) (forall ((v_idx_6921 Int)) (or (< v_idx_6921 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6921) (= 1 (select |#valid| v_idx_6921)))) (<= (+ 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_6918 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6918) (< v_idx_6918 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6918)))) (<= (+ 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-28 13:54:50,358 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:54:50,358 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:54:50,359 WARN L276 ngHoareTripleChecker]: Post: {544#false} [2019-02-28 13:54:50,359 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:50,359 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:50,360 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 28 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:50,360 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-28 13:54:50,360 WARN L629 ntHoareTripleChecker]: Post: {#1{Arrays: {}, Substate: false}} [2019-02-28 13:54:50,360 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:52,415 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:52,415 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:52,416 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:52,416 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:52,416 WARN L224 ngHoareTripleChecker]: Pre: {546#true} [2019-02-28 13:54:52,416 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-28 13:54:52,416 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-28 13:54:52,416 WARN L230 ngHoareTripleChecker]: Post: {547#(forall ((v_idx_6986 Int) (v_idx_6988 Int) (v_idx_6983 Int) (v_idx_6990 Int) (v_idx_6992 Int) (v_idx_6980 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_p4 1) v_idx_6980) (< v_idx_6980 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_6980))) (<= (- c_ULTIMATE.start_main_p2 c_ULTIMATE.start_main_p4) (- 2)) (or (< v_idx_6986 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_6986) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_6986)) (<= (- 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_6990)) (<= 0 (* 2 (select |c_#memory_int| v_idx_6990)))) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_6990) (< v_idx_6990 c_ULTIMATE.start_main_p3)) (or (= 1 (select |c_#valid| v_idx_6983)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6983) (< v_idx_6983 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_6988 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_6988) 0) (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_6988)) (<= (+ c_ULTIMATE.start_main_p1 1) c_ULTIMATE.start_main_p2) (or (< v_idx_6992 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_6992) (= (select |c_#memory_int| v_idx_6992) 0)) (<= (+ c_ULTIMATE.start_main_p1 3) c_ULTIMATE.start_malloc_ptr)))} [2019-02-28 13:54:52,417 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:52,417 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:52,417 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:52,418 WARN L270 ngHoareTripleChecker]: Pre: {546#true} [2019-02-28 13:54:52,418 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p3] >= 0); [2019-02-28 13:54:52,418 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) [2019-02-28 13:54:52,552 WARN L276 ngHoareTripleChecker]: Post: {547#(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_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_6988 Int)) (or (< v_idx_6988 ULTIMATE.start_main_p2) (= (select |#memory_int| v_idx_6988) 0) (<= (+ ULTIMATE.start_main_p2 1) v_idx_6988))) (forall ((v_idx_6990 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_6990) (< v_idx_6990 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_6990))))) (forall ((v_idx_6980 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_6980) (< v_idx_6980 ULTIMATE.start_main_p4) (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_6980)))) (<= (- 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_p1 2) ULTIMATE.start_main_p3) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p3) (- 2)) (forall ((v_idx_6992 Int)) (or (< v_idx_6992 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6992) (= (select |#memory_int| v_idx_6992) 0))) (forall ((v_idx_6986 Int)) (or (< v_idx_6986 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_6986) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_6986))) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_6983 Int)) (or (= 1 (select |#valid| v_idx_6983)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_6983) (< v_idx_6983 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))} [2019-02-28 13:54:52,552 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:52,552 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:52,553 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-28 13:54:52,553 WARN L628 ntHoareTripleChecker]: (not (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3))) (assume !(#memory_int[main_p3] >= 0);) [2019-02-28 13:54:52,553 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 26 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:52,554 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:54,505 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:54,505 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:54,506 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:54,506 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:54,506 WARN L224 ngHoareTripleChecker]: Pre: {549#true} [2019-02-28 13:54:54,506 WARN L228 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:54:54,506 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:54:54,507 WARN L230 ngHoareTripleChecker]: Post: {550#(forall ((v_idx_7050 Int) (v_idx_7048 Int) (v_idx_7046 Int) (v_idx_7052 Int) (v_idx_7040 Int) (v_idx_7043 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_7043) (< v_idx_7043 c_ULTIMATE.start_main_p4) (= (select |c_#valid| v_idx_7043) 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) (or (= (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_7040) 0) (< v_idx_7040 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7040)) (<= (+ 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_7048) (< v_idx_7048 c_ULTIMATE.start_main_p2) (= 0 (select |c_#memory_int| v_idx_7048))) (or (< v_idx_7046 c_ULTIMATE.start_main_p1) (= 0 (select |c_#memory_int| v_idx_7046)) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_7046)) (<= (- (- c_ULTIMATE.start_main_p4) (- c_ULTIMATE.start_malloc_ptr)) 0) (or (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7052) (< v_idx_7052 c_ULTIMATE.start_main_p4) (= 0 (select |c_#memory_int| v_idx_7052))) (<= (- 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_7050 c_ULTIMATE.start_main_p3) (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_7050) (and (<= 0 (* 2 (select |c_#memory_int| v_idx_7050))) (<= 0 (select |c_#memory_int| v_idx_7050)))) (<= (- 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-28 13:54:54,507 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:54,507 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:54,508 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:54,509 WARN L270 ngHoareTripleChecker]: Pre: {549#true} [2019-02-28 13:54:54,509 WARN L274 ngHoareTripleChecker]: Action: assume #memory_int[main_p3] >= 0; [2019-02-28 13:54:54,509 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) [2019-02-28 13:54:54,660 WARN L276 ngHoareTripleChecker]: Post: {550#(and (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p4) (- 3)) (forall ((v_idx_7040 Int)) (or (= (select |ULTIMATE.start_malloc_old_#valid| v_idx_7040) 0) (< v_idx_7040 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_7040))) (<= (- 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_7048 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_7048) (< v_idx_7048 ULTIMATE.start_main_p2) (= 0 (select |#memory_int| v_idx_7048)))) (forall ((v_idx_7050 Int)) (or (< v_idx_7050 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_7050))) (<= (+ ULTIMATE.start_main_p3 1) v_idx_7050))) (<= (- 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_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_7046 Int)) (or (< v_idx_7046 ULTIMATE.start_main_p1) (= 0 (select |#memory_int| v_idx_7046)) (<= (+ ULTIMATE.start_main_p1 1) v_idx_7046))) (<= (- ULTIMATE.start_main_p3 ULTIMATE.start_malloc_ptr) (- 1)) (forall ((v_idx_7043 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_7043) (< v_idx_7043 ULTIMATE.start_main_p4) (= (select |#valid| v_idx_7043) 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_idx_7052 Int)) (or (<= (+ ULTIMATE.start_main_p4 1) v_idx_7052) (< v_idx_7052 ULTIMATE.start_main_p4) (= 0 (select |#memory_int| v_idx_7052)))) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_malloc_ptr) (<= (+ ULTIMATE.start_main_p3 1) ULTIMATE.start_main_p4) (forall ((v_prenex_55 Int)) (or (< v_prenex_55 ULTIMATE.start_main_p3) (<= (+ ULTIMATE.start_main_p3 1) v_prenex_55) (<= 0 (select |#memory_int| v_prenex_55)))) (<= (+ ULTIMATE.start_main_p1 1) ULTIMATE.start_main_p2) (<= (+ ULTIMATE.start_main_p1 3) ULTIMATE.start_malloc_ptr))} [2019-02-28 13:54:54,660 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:54,660 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:54,661 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-28 13:54:54,661 WARN L628 ntHoareTripleChecker]: (<= 0 (select |c_#memory_int| c_ULTIMATE.start_main_p3)) (assume #memory_int[main_p3] >= 0;) [2019-02-28 13:54:54,661 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 26 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:54,661 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:56,663 WARN L214 ngHoareTripleChecker]: Soundness check failed for the following hoare triple [2019-02-28 13:54:56,663 WARN L217 ngHoareTripleChecker]: Expected: UNKNOWN Actual: INVALID [2019-02-28 13:54:56,663 WARN L219 ngHoareTripleChecker]: Solver was "Z3" in version "4.8.3" [2019-02-28 13:54:56,663 WARN L223 ngHoareTripleChecker]: -- [2019-02-28 13:54:56,663 WARN L224 ngHoareTripleChecker]: Pre: {555#true} [2019-02-28 13:54:56,664 WARN L228 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-28 13:54:56,664 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-28 13:54:56,664 WARN L230 ngHoareTripleChecker]: Post: {556#(forall ((v_idx_7129 Int) (v_idx_7125 Int) (v_idx_7117 Int) (v_idx_7127 Int) (v_idx_7123 Int) (v_idx_7120 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_7129) 0) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7129) (< v_idx_7129 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 (= 1 (select |c_#valid| v_idx_7120)) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7120) (< v_idx_7120 c_ULTIMATE.start_main_p4)) (or (<= (+ c_ULTIMATE.start_main_p3 1) v_idx_7127) (and (<= 0 (select |c_#memory_int| v_idx_7127)) (<= 0 (* 2 (select |c_#memory_int| v_idx_7127)))) (< v_idx_7127 c_ULTIMATE.start_main_p3)) (or (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_7117)) (< v_idx_7117 c_ULTIMATE.start_main_p4) (<= (+ c_ULTIMATE.start_main_p4 1) v_idx_7117)) (<= (- 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_7123 c_ULTIMATE.start_main_p1) (= (select |c_#memory_int| v_idx_7123) 0) (<= (+ c_ULTIMATE.start_main_p1 1) v_idx_7123)) (<= (- 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 (<= (+ c_ULTIMATE.start_main_p2 1) v_idx_7125) (= 0 (select |c_#memory_int| v_idx_7125)) (< v_idx_7125 c_ULTIMATE.start_main_p2))))} [2019-02-28 13:54:56,664 WARN L263 ngHoareTripleChecker]: unsat core / model generation is disabled, enable it to get more details [2019-02-28 13:54:56,665 WARN L268 ngHoareTripleChecker]: -- [2019-02-28 13:54:56,665 WARN L269 ngHoareTripleChecker]: Simplified triple [2019-02-28 13:54:56,666 WARN L270 ngHoareTripleChecker]: Pre: {555#true} [2019-02-28 13:54:56,666 WARN L274 ngHoareTripleChecker]: Action: assume !(#memory_int[main_p4] <= 0); [2019-02-28 13:54:56,666 WARN L184 hOps$ForEachOp$OfRef]: ActionStr: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) [2019-02-28 13:54:56,750 WARN L276 ngHoareTripleChecker]: Post: {556#(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_7125 Int)) (or (<= (+ ULTIMATE.start_main_p2 1) v_idx_7125) (= 0 (select |#memory_int| v_idx_7125)) (< v_idx_7125 ULTIMATE.start_main_p2))) (forall ((v_idx_7123 Int)) (or (< v_idx_7123 ULTIMATE.start_main_p1) (= (select |#memory_int| v_idx_7123) 0) (<= (+ ULTIMATE.start_main_p1 1) v_idx_7123))) (<= (- ULTIMATE.start_main_p1 ULTIMATE.start_main_p2) (- 1)) (forall ((v_idx_7127 Int)) (or (<= (+ ULTIMATE.start_main_p3 1) v_idx_7127) (< v_idx_7127 ULTIMATE.start_main_p3) (<= 0 (* 2 (select |#memory_int| v_idx_7127))))) (<= 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)) (<= (- (- ULTIMATE.start_main_p4) (- ULTIMATE.start_malloc_ptr)) 0) (forall ((v_idx_7129 Int)) (or (= (select |#memory_int| v_idx_7129) 0) (<= (+ ULTIMATE.start_main_p4 1) v_idx_7129) (< v_idx_7129 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_7120 Int)) (or (= 1 (select |#valid| v_idx_7120)) (<= (+ ULTIMATE.start_main_p4 1) v_idx_7120) (< v_idx_7120 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) (forall ((v_idx_7117 Int)) (or (= 0 (select |ULTIMATE.start_malloc_old_#valid| v_idx_7117)) (< v_idx_7117 ULTIMATE.start_main_p4) (<= (+ ULTIMATE.start_main_p4 1) v_idx_7117))))} [2019-02-28 13:54:56,750 WARN L620 ntHoareTripleChecker]: -- [2019-02-28 13:54:56,751 WARN L621 ntHoareTripleChecker]: Abstract states [2019-02-28 13:54:56,751 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-28 13:54:56,751 WARN L628 ntHoareTripleChecker]: (not (<= (select |c_#memory_int| c_ULTIMATE.start_main_p4) 0)) (assume !(#memory_int[main_p4] <= 0);) [2019-02-28 13:54:56,752 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_1385 = [0; 0]; v_1383 = [0; 0]; v_1380 = [1; 1]; v_1376 = [0; 0]; v_1389 = [0; 0]; v_1387 = [0; inf]}, 26 vars top, relations: {v_1383 + v_1385 = [0; 0]; v_1383 - v_1385 = [0; 0]; v_1380 + v_1385 = [1; 1]; v_1380 - v_1385 = [1; 1]; v_1376 + v_1385 = [0; 0]; v_1376 - v_1385 = [0; 0]; 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]; b_128 - b_136 = [1; inf]; b_133 - b_136 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_136 = [1; inf]; b_135 - b_136 = [-inf; 0]; b_130 - b_136 = [1; inf]; b_134 - b_136 = [-inf; -1]; b_131 - b_136 = [2; inf]; b_132 - b_136 = [-inf; -2]; ULTIMATE.start_main_p1 - b_136 = [-inf; -2]; b_129 - b_136 = [2; inf]; ULTIMATE.start_main_p2 - b_136 = [-inf; -1]; ULTIMATE.start_main_p3 - b_136 = [0; 0]; ULTIMATE.start_main_p4 - b_136 = [1; inf]; b_128 - b_133 = [2; inf]; ULTIMATE.start_malloc_ptr - b_133 = [2; 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]; b_129 - b_133 = [3; inf]; ULTIMATE.start_main_p2 - b_133 = [0; inf]; ULTIMATE.start_main_p3 - b_133 = [1; inf]; ULTIMATE.start_main_p4 - b_133 = [2; inf]; v_1380 + v_1383 = [1; 1]; v_1380 - v_1383 = [1; 1]; v_1376 + v_1383 = [0; 0]; v_1376 - v_1383 = [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_128 - b_135 = [1; inf]; b_133 - b_135 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_135 = [1; inf]; b_130 - b_135 = [1; inf]; b_134 - b_135 = [-1; -1]; b_131 - b_135 = [2; inf]; b_132 - b_135 = [-inf; -2]; ULTIMATE.start_main_p1 - b_135 = [-inf; -2]; b_129 - b_135 = [2; inf]; ULTIMATE.start_main_p2 - b_135 = [-1; -1]; ULTIMATE.start_main_p3 - b_135 = [0; inf]; ULTIMATE.start_main_p4 - b_135 = [1; inf]; v_1376 + v_1380 = [1; 1]; v_1376 - v_1380 = [-1; -1]; b_128 - b_130 = [0; 0]; ULTIMATE.start_malloc_ptr - b_130 = [0; 0]; ULTIMATE.start_main_p1 - b_130 = [-inf; -3]; b_129 - b_130 = [1; 1]; 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_139 = [-1; -1]; b_136 - b_139 = [-inf; -2]; b_133 - b_139 = [-inf; -3]; ULTIMATE.start_malloc_ptr - b_139 = [-1; -1]; b_135 - b_139 = [-inf; -2]; b_130 - b_139 = [-1; -1]; b_137 - b_139 = [-inf; -1]; b_134 - b_139 = [-inf; -3]; b_138 - b_139 = [-1; -1]; b_131 - b_139 = [0; 0]; b_132 - b_139 = [-inf; -4]; ULTIMATE.start_main_p1 - b_139 = [-inf; -4]; b_129 - b_139 = [0; 0]; ULTIMATE.start_main_p2 - b_139 = [-inf; -3]; ULTIMATE.start_main_p3 - b_139 = [-inf; -2]; ULTIMATE.start_main_p4 - b_139 = [-1; -1]; b_128 - b_137 = [0; inf]; b_136 - b_137 = [-1; -1]; b_133 - b_137 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_137 = [0; inf]; b_135 - b_137 = [-inf; -1]; b_130 - b_137 = [0; inf]; b_134 - b_137 = [-inf; -2]; b_131 - b_137 = [1; inf]; b_132 - b_137 = [-inf; -3]; ULTIMATE.start_main_p1 - b_137 = [-inf; -3]; b_129 - b_137 = [1; inf]; ULTIMATE.start_main_p2 - b_137 = [-inf; -2]; ULTIMATE.start_main_p3 - b_137 = [-1; -1]; ULTIMATE.start_main_p4 - b_137 = [0; inf]; b_128 - b_134 = [2; inf]; b_133 - b_134 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_134 = [2; 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]; b_129 - b_134 = [3; inf]; ULTIMATE.start_main_p2 - b_134 = [0; 0]; ULTIMATE.start_main_p3 - b_134 = [1; inf]; ULTIMATE.start_main_p4 - b_134 = [2; inf]; v_1385 + v_1389 = [0; 0]; v_1385 - v_1389 = [0; 0]; v_1383 + v_1389 = [0; 0]; v_1383 - v_1389 = [0; 0]; v_1380 + v_1389 = [1; 1]; v_1380 - v_1389 = [1; 1]; v_1376 + v_1389 = [0; 0]; v_1376 - v_1389 = [0; 0]; v_1387 + v_1389 = [0; inf]; v_1387 - v_1389 = [0; inf]; b_128 - b_138 = [0; 0]; b_136 - b_138 = [-inf; -1]; b_133 - b_138 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_138 = [0; 0]; b_135 - b_138 = [-inf; -1]; b_130 - b_138 = [0; 0]; b_137 - b_138 = [-inf; 0]; b_134 - b_138 = [-inf; -2]; b_131 - b_138 = [1; 1]; b_132 - b_138 = [-inf; -3]; ULTIMATE.start_main_p1 - b_138 = [-inf; -3]; b_129 - b_138 = [1; 1]; ULTIMATE.start_main_p2 - b_138 = [-inf; -2]; ULTIMATE.start_main_p3 - b_138 = [-inf; -1]; ULTIMATE.start_main_p4 - b_138 = [0; 0]; b_128 - b_131 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_131 = [-1; -1]; b_130 - b_131 = [-1; -1]; ULTIMATE.start_main_p1 - b_131 = [-inf; -4]; b_129 - b_131 = [0; 0]; 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_132 = [3; inf]; ULTIMATE.start_malloc_ptr - b_132 = [3; inf]; b_130 - b_132 = [3; inf]; b_131 - b_132 = [4; inf]; ULTIMATE.start_main_p1 - b_132 = [0; 0]; b_129 - b_132 = [4; inf]; ULTIMATE.start_main_p2 - b_132 = [1; inf]; ULTIMATE.start_main_p3 - b_132 = [2; inf]; ULTIMATE.start_main_p4 - b_132 = [3; inf]; v_1385 + v_1387 = [0; inf]; v_1385 - v_1387 = [-inf; 0]; v_1383 + v_1387 = [0; inf]; v_1383 - v_1387 = [-inf; 0]; v_1380 + v_1387 = [1; inf]; v_1380 - v_1387 = [-inf; 1]; v_1376 + v_1387 = [0; inf]; v_1376 - v_1387 = [-inf; 0]; b_128 - b_129 = [-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]; 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]}, }}} [2019-02-28 13:54:56,752 WARN L630 ntHoareTripleChecker]: -- [2019-02-28 13:54:56,756 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:54:56,756 INFO L93 Difference]: Finished difference Result 21 states and 39 transitions. [2019-02-28 13:54:56,756 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-02-28 13:54:56,757 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 3 [2019-02-28 13:54:56,757 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-02-28 13:54:56,757 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:54:56,758 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-28 13:54:56,758 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-02-28 13:54:56,758 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 23 transitions. [2019-02-28 13:54:56,759 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 23 transitions. [2019-02-28 13:54:56,964 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-28 13:54:56,965 INFO L225 Difference]: With dead ends: 21 [2019-02-28 13:54:56,966 INFO L226 Difference]: Without dead ends: 14 [2019-02-28 13:54:56,966 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-28 13:54:56,967 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 14 states. [2019-02-28 13:54:57,091 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 14 to 14. [2019-02-28 13:54:57,091 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2019-02-28 13:54:57,091 INFO L82 GeneralOperation]: Start isEquivalent. First operand 14 states. Second operand 14 states. [2019-02-28 13:54:57,091 INFO L74 IsIncluded]: Start isIncluded. First operand 14 states. Second operand 14 states. [2019-02-28 13:54:57,092 INFO L87 Difference]: Start difference. First operand 14 states. Second operand 14 states. [2019-02-28 13:54:57,093 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:54:57,093 INFO L93 Difference]: Finished difference Result 14 states and 32 transitions. [2019-02-28 13:54:57,093 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 32 transitions. [2019-02-28 13:54:57,094 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:54:57,094 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:54:57,094 INFO L74 IsIncluded]: Start isIncluded. First operand 14 states. Second operand 14 states. [2019-02-28 13:54:57,094 INFO L87 Difference]: Start difference. First operand 14 states. Second operand 14 states. [2019-02-28 13:54:57,095 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-02-28 13:54:57,095 INFO L93 Difference]: Finished difference Result 14 states and 32 transitions. [2019-02-28 13:54:57,095 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 32 transitions. [2019-02-28 13:54:57,096 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2019-02-28 13:54:57,096 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2019-02-28 13:54:57,096 INFO L88 GeneralOperation]: Finished isEquivalent. [2019-02-28 13:54:57,096 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2019-02-28 13:54:57,096 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 14 states. [2019-02-28 13:54:57,097 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 32 transitions. [2019-02-28 13:54:57,098 INFO L78 Accepts]: Start accepts. Automaton has 14 states and 32 transitions. Word has length 3 [2019-02-28 13:54:57,098 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-02-28 13:54:57,098 INFO L480 AbstractCegarLoop]: Abstraction has 14 states and 32 transitions. [2019-02-28 13:54:57,098 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-02-28 13:54:57,098 INFO L276 IsEmpty]: Start isEmpty. Operand 14 states and 32 transitions. [2019-02-28 13:54:57,098 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2019-02-28 13:54:57,098 INFO L394 BasicCegarLoop]: Found error trace [2019-02-28 13:54:57,099 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1] [2019-02-28 13:54:57,099 INFO L423 AbstractCegarLoop]: === Iteration 6 === [ULTIMATE.startErr2ASSERT_VIOLATIONASSERT, ULTIMATE.startErr0ASSERT_VIOLATIONASSERT, ULTIMATE.startErr1ASSERT_VIOLATIONASSERT, ULTIMATE.startErr3ASSERT_VIOLATIONASSERT]=== [2019-02-28 13:54:57,099 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:54:57,099 INFO L82 PathProgramCache]: Analyzing trace with hash 939102, now seen corresponding path program 1 times [2019-02-28 13:54:57,099 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2019-02-28 13:54:57,100 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:54:57,100 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-02-28 13:54:57,101 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-02-28 13:54:57,101 INFO L289 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2019-02-28 13:54:57,109 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-02-28 13:54:57,199 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-28 13:54:57,200 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-28 13:54:57,201 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-28 13:54:57,202 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-28 13:54:57,203 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-28 13:54:57,203 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2019-02-28 13:54:57,203 INFO L193 anRefinementStrategy]: Switched to InterpolantGenerator mode ABSTRACT_INTERPRETATION [2019-02-28 13:54:57,204 INFO L205 CegarAbsIntRunner]: Running AI on error trace of length 5 with the following transitions: [2019-02-28 13:54:57,204 INFO L207 CegarAbsIntRunner]: [0], [6], [16], [19] [2019-02-28 13:54:57,206 INFO L148 AbstractInterpreter]: Using domain ArrayDomain [2019-02-28 13:54:57,206 INFO L101 FixpointEngine]: Starting fixpoint engine with domain ArrayDomain (maxUnwinding=3, maxParallelStates=2) [2019-02-28 13:57:44,781 INFO L266 AbstractInterpreter]: Error location(s) were unreachable [2019-02-28 13:57:44,781 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-28 13:57:44,781 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-02-28 13:57:44,782 INFO L403 sIntCurrentIteration]: Generating AbsInt predicates [2019-02-28 13:57:54,098 INFO L418 sIntCurrentIteration]: Unifying AI predicates [2019-02-28 13:57:55,580 WARN L838 $PredicateComparison]: unable to prove that (forall ((v_idx_8732 Int) (v_idx_8737 Int) (v_idx_8735 Int) (v_idx_8739 Int) (v_idx_8729 Int) (v_idx_8741 Int)) (let ((.cse2 (+ c_ULTIMATE.start_main_p2 1)) (.cse3 (+ c_ULTIMATE.start_main_p2 2)) (.cse1 (+ c_ULTIMATE.start_main_p3 1)) (.cse4 (+ c_ULTIMATE.start_main_p1 1)) (.cse12 (+ c_ULTIMATE.start_main_p1 3)) (.cse0 (+ c_ULTIMATE.start_main_p4 1))) (and (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (< v_idx_8732 c_ULTIMATE.start_main_p4) (<= .cse0 v_idx_8732) (= 1 (select |c_#valid| v_idx_8732))) (or (<= .cse1 v_idx_8739) (= (select |c_#memory_int| v_idx_8739) 0) (< v_idx_8739 c_ULTIMATE.start_main_p3)) (or (< v_idx_8737 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_8737) 0) (<= .cse2 v_idx_8737)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= .cse2 c_ULTIMATE.start_main_p3) (<= .cse3 c_ULTIMATE.start_main_p4) (<= .cse3 c_ULTIMATE.start_malloc_ptr) (<= .cse1 c_ULTIMATE.start_malloc_ptr) (<= .cse1 c_ULTIMATE.start_main_p4) (<= .cse4 c_ULTIMATE.start_main_p2) (let ((.cse10 (select |c_#memory_int| v_idx_8741))) (let ((.cse6 (< v_idx_8741 c_ULTIMATE.start_main_p4)) (.cse7 (<= .cse0 v_idx_8741)) (.cse8 (<= (* 2 .cse10) 0)) (.cse9 (<= .cse10 0))) (let ((.cse11 (or .cse6 .cse7 (and .cse8 .cse9)))) (or (let ((.cse5 (select |c_#memory_int| v_idx_8735))) (and (<= 0 .cse5) (or .cse6 .cse7 (and .cse8 .cse9 (<= .cse10 .cse5))) (<= 0 (* 2 .cse5)))) (and .cse11 (<= .cse4 v_idx_8735)) (and (< v_idx_8735 c_ULTIMATE.start_main_p1) .cse11))))) (<= .cse12 c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= .cse12 c_ULTIMATE.start_main_p4) (or (< v_idx_8729 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_8729)) (<= .cse0 v_idx_8729))))) is different from false [2019-02-28 13:57:56,489 INFO L420 sIntCurrentIteration]: We unified 3 AI predicates to 3 [2019-02-28 13:58:02,580 INFO L429 sIntCurrentIteration]: Finished generation of AbsInt predicates [2019-02-28 13:58:02,580 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2019-02-28 13:58:02,580 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [3] total 5 [2019-02-28 13:58:02,580 INFO L257 anRefinementStrategy]: Using the first perfect interpolant sequence [2019-02-28 13:58:02,581 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 4 [2019-02-28 13:58:02,581 INFO L84 Accepts]: Finished accepts. word is accepted. [2019-02-28 13:58:02,581 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states. [2019-02-28 13:58:03,120 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-28 13:58:03,120 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2019-02-28 13:58:03,120 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2019-02-28 13:58:03,120 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=4, Unknown=1, NotChecked=2, Total=12 [2019-02-28 13:58:03,121 INFO L87 Difference]: Start difference. First operand 14 states and 32 transitions. Second operand 4 states. [2019-02-28 13:58:05,635 WARN L838 $PredicateComparison]: unable to prove that (and (forall ((v_idx_8711 Int) (v_idx_8699 Int) (v_idx_8705 Int) (v_idx_8702 Int) (v_idx_8709 Int) (v_idx_8707 Int)) (let ((.cse3 (+ c_ULTIMATE.start_main_p2 2)) (.cse1 (+ c_ULTIMATE.start_main_p3 1)) (.cse2 (+ c_ULTIMATE.start_main_p2 1)) (.cse0 (+ c_ULTIMATE.start_main_p4 1)) (.cse11 (+ c_ULTIMATE.start_main_p1 1)) (.cse12 (+ c_ULTIMATE.start_main_p1 3))) (and (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (< v_idx_8699 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_8699)) (<= .cse0 v_idx_8699)) (or (<= .cse1 v_idx_8709) (= (select |c_#memory_int| v_idx_8709) 0) (< v_idx_8709 c_ULTIMATE.start_main_p3)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= .cse2 c_ULTIMATE.start_main_p3) (<= .cse3 c_ULTIMATE.start_main_p4) (<= .cse3 c_ULTIMATE.start_malloc_ptr) (<= .cse1 c_ULTIMATE.start_malloc_ptr) (<= .cse1 c_ULTIMATE.start_main_p4) (or (<= .cse2 v_idx_8707) (< v_idx_8707 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_8707) 0)) (or (= 1 (select |c_#valid| v_idx_8702)) (< v_idx_8702 c_ULTIMATE.start_main_p4) (<= .cse0 v_idx_8702)) (let ((.cse8 (select |c_#memory_int| v_idx_8705))) (let ((.cse5 (< v_idx_8705 c_ULTIMATE.start_main_p1)) (.cse6 (<= 0 (* 2 .cse8))) (.cse7 (<= 0 .cse8)) (.cse9 (<= .cse11 v_idx_8705))) (let ((.cse10 (or .cse5 (and .cse6 .cse7) .cse9))) (or (let ((.cse4 (select |c_#memory_int| v_idx_8711))) (and (<= (* 2 .cse4) 0) (<= .cse4 0) (or .cse5 (and .cse6 .cse7 (<= .cse4 .cse8)) .cse9))) (and (< v_idx_8711 c_ULTIMATE.start_main_p4) .cse10) (and (<= .cse0 v_idx_8711) .cse10))))) (<= .cse11 c_ULTIMATE.start_main_p2) (<= .cse12 c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= .cse12 c_ULTIMATE.start_main_p4)))) (forall ((v_idx_8732 Int) (v_idx_8737 Int) (v_idx_8735 Int) (v_idx_8739 Int) (v_idx_8729 Int) (v_idx_8741 Int)) (let ((.cse15 (+ c_ULTIMATE.start_main_p2 1)) (.cse16 (+ c_ULTIMATE.start_main_p2 2)) (.cse14 (+ c_ULTIMATE.start_main_p3 1)) (.cse17 (+ c_ULTIMATE.start_main_p1 1)) (.cse25 (+ c_ULTIMATE.start_main_p1 3)) (.cse13 (+ c_ULTIMATE.start_main_p4 1))) (and (<= (+ c_ULTIMATE.start_main_p1 2) c_ULTIMATE.start_main_p3) (or (< v_idx_8732 c_ULTIMATE.start_main_p4) (<= .cse13 v_idx_8732) (= 1 (select |c_#valid| v_idx_8732))) (or (<= .cse14 v_idx_8739) (= (select |c_#memory_int| v_idx_8739) 0) (< v_idx_8739 c_ULTIMATE.start_main_p3)) (or (< v_idx_8737 c_ULTIMATE.start_main_p2) (= (select |c_#memory_int| v_idx_8737) 0) (<= .cse15 v_idx_8737)) (<= c_ULTIMATE.start_malloc_ptr c_ULTIMATE.start_main_p4) (<= .cse15 c_ULTIMATE.start_main_p3) (<= .cse16 c_ULTIMATE.start_main_p4) (<= .cse16 c_ULTIMATE.start_malloc_ptr) (<= .cse14 c_ULTIMATE.start_malloc_ptr) (<= .cse14 c_ULTIMATE.start_main_p4) (<= .cse17 c_ULTIMATE.start_main_p2) (let ((.cse23 (select |c_#memory_int| v_idx_8741))) (let ((.cse19 (< v_idx_8741 c_ULTIMATE.start_main_p4)) (.cse20 (<= .cse13 v_idx_8741)) (.cse21 (<= (* 2 .cse23) 0)) (.cse22 (<= .cse23 0))) (let ((.cse24 (or .cse19 .cse20 (and .cse21 .cse22)))) (or (let ((.cse18 (select |c_#memory_int| v_idx_8735))) (and (<= 0 .cse18) (or .cse19 .cse20 (and .cse21 .cse22 (<= .cse23 .cse18))) (<= 0 (* 2 .cse18)))) (and .cse24 (<= .cse17 v_idx_8735)) (and (< v_idx_8735 c_ULTIMATE.start_main_p1) .cse24))))) (<= .cse25 c_ULTIMATE.start_malloc_ptr) (<= c_ULTIMATE.start_main_p4 c_ULTIMATE.start_malloc_ptr) (<= .cse25 c_ULTIMATE.start_main_p4) (or (< v_idx_8729 c_ULTIMATE.start_main_p4) (= 0 (select |c_ULTIMATE.start_malloc_old_#valid| v_idx_8729)) (<= .cse13 v_idx_8729)))))) is different from false [2019-02-28 13:58:06,536 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2019-02-28 13:58:06,537 FATAL L292 ToolchainWalker]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction has thrown an exception: java.lang.AssertionError: #valid not in segmentation map of stateArrays: {[ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4946 [b_458] v_4947 [b_459] v_4948 [inf_0], }, Substate: {ints: {v_4940 = [0; 0]; v_4186 = [0; inf]; v_4179 = [0; 0]; v_4938 = [0; inf]; v_4944 = [-inf; 0]; v_4942 = [0; 0]; v_4935 = [1; 1]; v_4188 = [0; 0]; v_4192 = [-inf; 0]; v_4183 = [1; 1]; v_4947 = [0; 0]; v_4932 = [0; 0]; v_4190 = [0; 0]}, 51 vars top, relations: {b_304 - b_313 = [-1; -1]; b_311 - b_313 = [-inf; -1]; b_310 - b_313 = [-inf; -2]; ULTIMATE.start_main_p2 - b_313 = [-inf; -3]; ULTIMATE.start_main_p4 - b_313 = [-1; -1]; b_305 - b_313 = [0; 0]; b_307 - b_313 = [-inf; -3]; b_312 - b_313 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_313 = [-1; -1]; b_303 - b_313 = [0; 0]; b_302 - b_313 = [-1; -1]; b_309 - b_313 = [-inf; -2]; b_308 - b_313 = [-inf; -3]; ULTIMATE.start_main_p1 - b_313 = [-inf; -4]; ULTIMATE.start_main_p3 - b_313 = [-inf; -2]; b_306 - b_313 = [-inf; -4]; b_313 - b_447 = [0; 0]; b_304 - b_447 = [-1; -1]; b_311 - b_447 = [-inf; -1]; b_310 - b_447 = [-inf; -2]; ULTIMATE.start_main_p2 - b_447 = [-inf; -3]; b_446 - b_447 = [-1; -1]; ULTIMATE.start_main_p4 - b_447 = [-1; -1]; b_305 - b_447 = [0; 0]; b_307 - b_447 = [-inf; -3]; b_312 - b_447 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_447 = [-1; -1]; b_303 - b_447 = [0; 0]; b_302 - b_447 = [-1; -1]; b_309 - b_447 = [-inf; -2]; b_308 - b_447 = [-inf; -3]; ULTIMATE.start_main_p1 - b_447 = [-inf; -4]; ULTIMATE.start_main_p3 - b_447 = [-inf; -2]; b_306 - b_447 = [-inf; -4]; v_4186 + v_4940 = [0; inf]; v_4186 - v_4940 = [0; inf]; v_4179 + v_4940 = [0; 0]; v_4179 - v_4940 = [0; 0]; v_4938 + v_4940 = [0; inf]; v_4938 - v_4940 = [0; inf]; v_4935 + v_4940 = [1; 1]; v_4935 - v_4940 = [1; 1]; v_4188 + v_4940 = [0; 0]; v_4188 - v_4940 = [0; 0]; v_4192 + v_4940 = [-inf; 0]; v_4192 - v_4940 = [-inf; 0]; v_4183 + v_4940 = [1; 1]; v_4183 - v_4940 = [1; 1]; v_4932 + v_4940 = [0; 0]; v_4932 - v_4940 = [0; 0]; v_4190 + v_4940 = [0; 0]; v_4190 - v_4940 = [0; 0]; ULTIMATE.start_main_p2 - b_304 = [-inf; -2]; ULTIMATE.start_main_p4 - b_304 = [0; 0]; ULTIMATE.start_malloc_ptr - b_304 = [0; 0]; b_303 - b_304 = [1; 1]; b_302 - b_304 = [0; 0]; ULTIMATE.start_main_p1 - b_304 = [-inf; -3]; ULTIMATE.start_main_p3 - b_304 = [-inf; -1]; b_304 - b_311 = [0; inf]; b_310 - b_311 = [-1; -1]; ULTIMATE.start_main_p2 - b_311 = [-inf; -2]; ULTIMATE.start_main_p4 - b_311 = [0; inf]; b_305 - b_311 = [1; inf]; b_307 - b_311 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_311 = [0; inf]; b_303 - b_311 = [1; inf]; b_302 - b_311 = [0; inf]; b_309 - b_311 = [-inf; -1]; b_308 - b_311 = [-inf; -2]; ULTIMATE.start_main_p1 - b_311 = [-inf; -3]; ULTIMATE.start_main_p3 - b_311 = [-1; -1]; b_306 - b_311 = [-inf; -3]; v_4179 + v_4186 = [0; inf]; v_4179 - v_4186 = [-inf; 0]; v_4183 + v_4186 = [1; inf]; v_4183 - v_4186 = [-inf; 1]; b_313 - b_452 = [3; inf]; b_447 - b_452 = [3; inf]; b_304 - b_452 = [2; inf]; b_311 - b_452 = [2; inf]; b_448 - b_452 = [2; inf]; b_310 - b_452 = [1; inf]; b_449 - b_452 = [3; inf]; ULTIMATE.start_main_p2 - b_452 = [0; 0]; b_446 - b_452 = [2; inf]; ULTIMATE.start_main_p4 - b_452 = [2; inf]; b_451 - b_452 = [-inf; 0]; b_305 - b_452 = [3; inf]; b_307 - b_452 = [-inf; 0]; b_312 - b_452 = [2; inf]; ULTIMATE.start_malloc_ptr - b_452 = [2; inf]; b_303 - b_452 = [3; inf]; b_302 - b_452 = [2; inf]; b_309 - b_452 = [1; 1]; b_308 - b_452 = [0; 0]; b_450 - b_452 = [-inf; -1]; ULTIMATE.start_main_p1 - b_452 = [-inf; -1]; ULTIMATE.start_main_p3 - b_452 = [1; inf]; b_306 - b_452 = [-inf; -1]; b_313 - b_448 = [1; 1]; b_447 - b_448 = [1; 1]; b_304 - b_448 = [0; 0]; b_311 - b_448 = [-inf; 0]; b_310 - b_448 = [-inf; -1]; ULTIMATE.start_main_p2 - b_448 = [-inf; -2]; b_446 - b_448 = [0; 0]; ULTIMATE.start_main_p4 - b_448 = [0; 0]; b_305 - b_448 = [1; 1]; b_307 - b_448 = [-inf; -2]; b_312 - b_448 = [0; 0]; ULTIMATE.start_malloc_ptr - b_448 = [0; 0]; b_303 - b_448 = [1; 1]; b_302 - b_448 = [0; 0]; b_309 - b_448 = [-inf; -1]; b_308 - b_448 = [-inf; -2]; ULTIMATE.start_main_p1 - b_448 = [-inf; -3]; ULTIMATE.start_main_p3 - b_448 = [-inf; -1]; b_306 - b_448 = [-inf; -3]; b_304 - b_310 = [1; inf]; ULTIMATE.start_main_p2 - b_310 = [-inf; -1]; ULTIMATE.start_main_p4 - b_310 = [1; inf]; b_305 - b_310 = [2; inf]; b_307 - b_310 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_310 = [1; inf]; b_303 - b_310 = [2; inf]; b_302 - b_310 = [1; inf]; b_309 - b_310 = [-inf; 0]; b_308 - b_310 = [-inf; -1]; ULTIMATE.start_main_p1 - b_310 = [-inf; -2]; ULTIMATE.start_main_p3 - b_310 = [0; 0]; b_306 - b_310 = [-inf; -2]; v_4186 + v_4938 = [0; inf]; v_4179 + v_4938 = [0; inf]; v_4179 - v_4938 = [-inf; 0]; v_4935 + v_4938 = [1; inf]; v_4935 - v_4938 = [-inf; 1]; v_4188 + v_4938 = [0; inf]; v_4188 - v_4938 = [-inf; 0]; v_4192 - v_4938 = [-inf; 0]; v_4183 + v_4938 = [1; inf]; v_4183 - v_4938 = [-inf; 1]; v_4932 + v_4938 = [0; inf]; v_4932 - v_4938 = [-inf; 0]; v_4190 + v_4938 = [0; inf]; v_4190 - v_4938 = [-inf; 0]; v_4940 + v_4944 = [-inf; 0]; v_4940 - v_4944 = [0; inf]; v_4186 - v_4944 = [0; inf]; v_4179 + v_4944 = [-inf; 0]; v_4179 - v_4944 = [0; inf]; v_4938 - v_4944 = [0; inf]; v_4942 + v_4944 = [-inf; 0]; v_4942 - v_4944 = [0; inf]; v_4935 + v_4944 = [-inf; 1]; v_4935 - v_4944 = [1; inf]; v_4188 + v_4944 = [-inf; 0]; v_4188 - v_4944 = [0; inf]; v_4192 + v_4944 = [-inf; 0]; v_4183 + v_4944 = [-inf; 1]; v_4183 - v_4944 = [1; inf]; v_4932 + v_4944 = [-inf; 0]; v_4932 - v_4944 = [0; inf]; v_4190 + v_4944 = [-inf; 0]; v_4190 - v_4944 = [0; inf]; b_313 - b_453 = [2; inf]; b_447 - b_453 = [2; inf]; b_304 - b_453 = [1; inf]; b_311 - b_453 = [1; inf]; b_452 - b_453 = [-1; -1]; b_448 - b_453 = [1; inf]; b_310 - b_453 = [0; inf]; b_449 - b_453 = [2; inf]; ULTIMATE.start_main_p2 - b_453 = [-1; -1]; b_446 - b_453 = [1; inf]; ULTIMATE.start_main_p4 - b_453 = [1; inf]; b_451 - b_453 = [-inf; -1]; b_305 - b_453 = [2; inf]; b_307 - b_453 = [-inf; -1]; b_312 - b_453 = [1; inf]; ULTIMATE.start_malloc_ptr - b_453 = [1; inf]; b_303 - b_453 = [2; inf]; b_302 - b_453 = [1; inf]; b_309 - b_453 = [0; 0]; b_308 - b_453 = [-1; -1]; b_450 - b_453 = [-inf; -2]; ULTIMATE.start_main_p1 - b_453 = [-inf; -2]; ULTIMATE.start_main_p3 - b_453 = [0; inf]; b_306 - b_453 = [-inf; -2]; b_313 - b_449 = [0; 0]; b_447 - b_449 = [0; 0]; b_304 - b_449 = [-1; -1]; b_311 - b_449 = [-inf; -1]; b_448 - b_449 = [-1; -1]; b_310 - b_449 = [-inf; -2]; ULTIMATE.start_main_p2 - b_449 = [-inf; -3]; b_446 - b_449 = [-1; -1]; ULTIMATE.start_main_p4 - b_449 = [-1; -1]; b_305 - b_449 = [0; 0]; b_307 - b_449 = [-inf; -3]; b_312 - b_449 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_449 = [-1; -1]; b_303 - b_449 = [0; 0]; b_302 - b_449 = [-1; -1]; b_309 - b_449 = [-inf; -2]; b_308 - b_449 = [-inf; -3]; ULTIMATE.start_main_p1 - b_449 = [-inf; -4]; ULTIMATE.start_main_p3 - b_449 = [-inf; -2]; b_306 - b_449 = [-inf; -4]; b_313 - b_456 = [1; 1]; b_447 - b_456 = [1; 1]; b_304 - b_456 = [0; 0]; b_311 - b_456 = [-inf; 0]; b_452 - b_456 = [-inf; -2]; b_448 - b_456 = [0; 0]; b_310 - b_456 = [-inf; -1]; b_453 - b_456 = [-inf; -1]; b_449 - b_456 = [1; 1]; ULTIMATE.start_main_p2 - b_456 = [-inf; -2]; b_446 - b_456 = [0; 0]; ULTIMATE.start_main_p4 - b_456 = [0; 0]; b_451 - b_456 = [-inf; -2]; b_305 - b_456 = [1; 1]; b_307 - b_456 = [-inf; -2]; b_455 - b_456 = [-inf; 0]; b_312 - b_456 = [0; 0]; ULTIMATE.start_malloc_ptr - b_456 = [0; 0]; b_303 - b_456 = [1; 1]; b_454 - b_456 = [-inf; -1]; b_302 - b_456 = [0; 0]; b_309 - b_456 = [-inf; -1]; b_308 - b_456 = [-inf; -2]; b_450 - b_456 = [-inf; -3]; ULTIMATE.start_main_p1 - b_456 = [-inf; -3]; ULTIMATE.start_main_p3 - b_456 = [-inf; -1]; b_306 - b_456 = [-inf; -3]; b_313 - b_457 = [0; 0]; b_447 - b_457 = [0; 0]; b_304 - b_457 = [-1; -1]; b_311 - b_457 = [-inf; -1]; b_452 - b_457 = [-inf; -3]; b_448 - b_457 = [-1; -1]; b_310 - b_457 = [-inf; -2]; b_453 - b_457 = [-inf; -2]; b_449 - b_457 = [0; 0]; b_456 - b_457 = [-1; -1]; ULTIMATE.start_main_p2 - b_457 = [-inf; -3]; b_446 - b_457 = [-1; -1]; ULTIMATE.start_main_p4 - b_457 = [-1; -1]; b_451 - b_457 = [-inf; -3]; b_305 - b_457 = [0; 0]; b_307 - b_457 = [-inf; -3]; b_455 - b_457 = [-inf; -1]; b_312 - b_457 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_457 = [-1; -1]; b_303 - b_457 = [0; 0]; b_454 - b_457 = [-inf; -2]; b_302 - b_457 = [-1; -1]; b_309 - b_457 = [-inf; -2]; b_308 - b_457 = [-inf; -3]; b_450 - b_457 = [-inf; -4]; ULTIMATE.start_main_p1 - b_457 = [-inf; -4]; ULTIMATE.start_main_p3 - b_457 = [-inf; -2]; b_306 - b_457 = [-inf; -4]; v_4940 + v_4942 = [0; 0]; v_4940 - v_4942 = [0; 0]; v_4186 + v_4942 = [0; inf]; v_4186 - v_4942 = [0; inf]; v_4179 + v_4942 = [0; 0]; v_4179 - v_4942 = [0; 0]; v_4938 + v_4942 = [0; inf]; v_4938 - v_4942 = [0; inf]; v_4935 + v_4942 = [1; 1]; v_4935 - v_4942 = [1; 1]; v_4188 + v_4942 = [0; 0]; v_4188 - v_4942 = [0; 0]; v_4192 + v_4942 = [-inf; 0]; v_4192 - v_4942 = [-inf; 0]; v_4183 + v_4942 = [1; 1]; v_4183 - v_4942 = [1; 1]; v_4932 + v_4942 = [0; 0]; v_4932 - v_4942 = [0; 0]; v_4190 + v_4942 = [0; 0]; v_4190 - v_4942 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4186 + v_4935 = [1; inf]; v_4186 - v_4935 = [-1; inf]; v_4179 + v_4935 = [1; 1]; v_4179 - v_4935 = [-1; -1]; v_4188 + v_4935 = [1; 1]; v_4188 - v_4935 = [-1; -1]; v_4192 + v_4935 = [-inf; 1]; v_4192 - v_4935 = [-inf; -1]; v_4183 + v_4935 = [2; 2]; v_4183 - v_4935 = [0; 0]; v_4932 + v_4935 = [1; 1]; v_4932 - v_4935 = [-1; -1]; v_4190 + v_4935 = [1; 1]; v_4190 - v_4935 = [-1; -1]; v_4186 + v_4188 = [0; inf]; v_4186 - v_4188 = [0; inf]; v_4179 + v_4188 = [0; 0]; v_4179 - v_4188 = [0; 0]; v_4183 + v_4188 = [1; 1]; v_4183 - v_4188 = [1; 1]; b_313 - b_446 = [1; 1]; b_304 - b_446 = [0; 0]; b_311 - b_446 = [-inf; 0]; b_310 - b_446 = [-inf; -1]; ULTIMATE.start_main_p2 - b_446 = [-inf; -2]; ULTIMATE.start_main_p4 - b_446 = [0; 0]; b_305 - b_446 = [1; 1]; b_307 - b_446 = [-inf; -2]; b_312 - b_446 = [0; 0]; ULTIMATE.start_malloc_ptr - b_446 = [0; 0]; b_303 - b_446 = [1; 1]; b_302 - b_446 = [0; 0]; b_309 - b_446 = [-inf; -1]; b_308 - b_446 = [-inf; -2]; ULTIMATE.start_main_p1 - b_446 = [-inf; -3]; ULTIMATE.start_main_p3 - b_446 = [-inf; -1]; b_306 - b_446 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; b_313 - b_451 = [3; inf]; b_447 - b_451 = [3; inf]; b_304 - b_451 = [2; inf]; b_311 - b_451 = [2; inf]; b_448 - b_451 = [2; inf]; b_310 - b_451 = [1; inf]; b_449 - b_451 = [3; inf]; ULTIMATE.start_main_p2 - b_451 = [0; inf]; b_446 - b_451 = [2; inf]; ULTIMATE.start_main_p4 - b_451 = [2; inf]; b_305 - b_451 = [3; inf]; b_307 - b_451 = [0; 0]; b_312 - b_451 = [2; inf]; ULTIMATE.start_malloc_ptr - b_451 = [2; inf]; b_303 - b_451 = [3; inf]; b_302 - b_451 = [2; inf]; b_309 - b_451 = [1; inf]; b_308 - b_451 = [0; inf]; b_450 - b_451 = [-1; -1]; ULTIMATE.start_main_p1 - b_451 = [-1; -1]; ULTIMATE.start_main_p3 - b_451 = [1; inf]; b_306 - b_451 = [-1; -1]; b_304 - b_305 = [-1; -1]; ULTIMATE.start_main_p2 - b_305 = [-inf; -3]; ULTIMATE.start_main_p4 - b_305 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_305 = [-1; -1]; b_303 - b_305 = [0; 0]; b_302 - b_305 = [-1; -1]; ULTIMATE.start_main_p1 - b_305 = [-inf; -4]; ULTIMATE.start_main_p3 - b_305 = [-inf; -2]; b_304 - b_307 = [2; inf]; ULTIMATE.start_main_p2 - b_307 = [0; inf]; ULTIMATE.start_main_p4 - b_307 = [2; inf]; b_305 - b_307 = [3; inf]; ULTIMATE.start_malloc_ptr - b_307 = [2; inf]; b_303 - b_307 = [3; inf]; b_302 - b_307 = [2; inf]; ULTIMATE.start_main_p1 - b_307 = [-1; -1]; ULTIMATE.start_main_p3 - b_307 = [1; inf]; b_306 - b_307 = [-1; -1]; b_313 - b_455 = [1; inf]; b_447 - b_455 = [1; inf]; b_304 - b_455 = [0; inf]; b_311 - b_455 = [0; 0]; b_452 - b_455 = [-inf; -2]; b_448 - b_455 = [0; inf]; b_310 - b_455 = [-1; -1]; b_453 - b_455 = [-inf; -1]; b_449 - b_455 = [1; inf]; ULTIMATE.start_main_p2 - b_455 = [-inf; -2]; b_446 - b_455 = [0; inf]; ULTIMATE.start_main_p4 - b_455 = [0; inf]; b_451 - b_455 = [-inf; -2]; b_305 - b_455 = [1; inf]; b_307 - b_455 = [-inf; -2]; b_312 - b_455 = [0; inf]; ULTIMATE.start_malloc_ptr - b_455 = [0; inf]; b_303 - b_455 = [1; inf]; b_454 - b_455 = [-1; -1]; b_302 - b_455 = [0; inf]; b_309 - b_455 = [-inf; -1]; b_308 - b_455 = [-inf; -2]; b_450 - b_455 = [-inf; -3]; ULTIMATE.start_main_p1 - b_455 = [-inf; -3]; ULTIMATE.start_main_p3 - b_455 = [-1; -1]; b_306 - b_455 = [-inf; -3]; b_304 - b_312 = [0; 0]; b_311 - b_312 = [-inf; 0]; b_310 - b_312 = [-inf; -1]; ULTIMATE.start_main_p2 - b_312 = [-inf; -2]; ULTIMATE.start_main_p4 - b_312 = [0; 0]; b_305 - b_312 = [1; 1]; b_307 - b_312 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_312 = [0; 0]; b_303 - b_312 = [1; 1]; b_302 - b_312 = [0; 0]; b_309 - b_312 = [-inf; -1]; b_308 - b_312 = [-inf; -2]; ULTIMATE.start_main_p1 - b_312 = [-inf; -3]; ULTIMATE.start_main_p3 - b_312 = [-inf; -1]; b_306 - b_312 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; v_4186 - v_4192 = [0; inf]; v_4179 + v_4192 = [-inf; 0]; v_4179 - v_4192 = [0; inf]; v_4188 + v_4192 = [-inf; 0]; v_4188 - v_4192 = [0; inf]; v_4183 + v_4192 = [-inf; 1]; v_4183 - v_4192 = [1; inf]; v_4190 + v_4192 = [-inf; 0]; v_4190 - v_4192 = [0; inf]; ULTIMATE.start_main_p2 - b_303 = [-inf; -3]; ULTIMATE.start_main_p4 - b_303 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_303 = [-1; -1]; b_302 - b_303 = [-1; -1]; ULTIMATE.start_main_p1 - b_303 = [-inf; -4]; ULTIMATE.start_main_p3 - b_303 = [-inf; -2]; v_4179 + v_4183 = [1; 1]; v_4179 - v_4183 = [-1; -1]; b_313 - b_454 = [2; inf]; b_447 - b_454 = [2; inf]; b_304 - b_454 = [1; inf]; b_311 - b_454 = [1; 1]; b_452 - b_454 = [-inf; -1]; b_448 - b_454 = [1; inf]; b_310 - b_454 = [0; 0]; b_453 - b_454 = [-inf; 0]; b_449 - b_454 = [2; inf]; ULTIMATE.start_main_p2 - b_454 = [-inf; -1]; b_446 - b_454 = [1; inf]; ULTIMATE.start_main_p4 - b_454 = [1; inf]; b_451 - b_454 = [-inf; -1]; b_305 - b_454 = [2; inf]; b_307 - b_454 = [-inf; -1]; b_312 - b_454 = [1; inf]; ULTIMATE.start_malloc_ptr - b_454 = [1; inf]; b_303 - b_454 = [2; inf]; b_302 - b_454 = [1; inf]; b_309 - b_454 = [-inf; 0]; b_308 - b_454 = [-inf; -1]; b_450 - b_454 = [-inf; -2]; ULTIMATE.start_main_p1 - b_454 = [-inf; -2]; ULTIMATE.start_main_p3 - b_454 = [0; 0]; b_306 - b_454 = [-inf; -2]; v_4940 + v_4947 = [0; 0]; v_4940 - v_4947 = [0; 0]; v_4186 + v_4947 = [0; inf]; v_4186 - v_4947 = [0; inf]; v_4179 + v_4947 = [0; 0]; v_4179 - v_4947 = [0; 0]; v_4938 + v_4947 = [0; inf]; v_4938 - v_4947 = [0; inf]; v_4944 + v_4947 = [-inf; 0]; v_4944 - v_4947 = [-inf; 0]; v_4942 + v_4947 = [0; 0]; v_4942 - v_4947 = [0; 0]; v_4935 + v_4947 = [1; 1]; v_4935 - v_4947 = [1; 1]; v_4188 + v_4947 = [0; 0]; v_4188 - v_4947 = [0; 0]; v_4192 + v_4947 = [-inf; 0]; v_4192 - v_4947 = [-inf; 0]; v_4183 + v_4947 = [1; 1]; v_4183 - v_4947 = [1; 1]; v_4932 + v_4947 = [0; 0]; v_4932 - v_4947 = [0; 0]; v_4190 + v_4947 = [0; 0]; v_4190 - v_4947 = [0; 0]; ULTIMATE.start_main_p2 - b_302 = [-inf; -2]; ULTIMATE.start_main_p4 - b_302 = [0; 0]; ULTIMATE.start_malloc_ptr - b_302 = [0; 0]; ULTIMATE.start_main_p1 - b_302 = [-inf; -3]; ULTIMATE.start_main_p3 - b_302 = [-inf; -1]; b_304 - b_309 = [1; inf]; ULTIMATE.start_main_p2 - b_309 = [-1; -1]; ULTIMATE.start_main_p4 - b_309 = [1; inf]; b_305 - b_309 = [2; inf]; b_307 - b_309 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_309 = [1; inf]; b_303 - b_309 = [2; inf]; b_302 - b_309 = [1; inf]; b_308 - b_309 = [-1; -1]; ULTIMATE.start_main_p1 - b_309 = [-inf; -2]; ULTIMATE.start_main_p3 - b_309 = [0; inf]; b_306 - b_309 = [-inf; -2]; v_4186 + v_4932 = [0; inf]; v_4186 - v_4932 = [0; inf]; v_4179 + v_4932 = [0; 0]; v_4179 - v_4932 = [0; 0]; v_4188 + v_4932 = [0; 0]; v_4188 - v_4932 = [0; 0]; v_4192 + v_4932 = [-inf; 0]; v_4192 - v_4932 = [-inf; 0]; v_4183 + v_4932 = [1; 1]; v_4183 - v_4932 = [1; 1]; v_4190 + v_4932 = [0; 0]; v_4190 - v_4932 = [0; 0]; b_304 - b_308 = [2; inf]; ULTIMATE.start_main_p2 - b_308 = [0; 0]; ULTIMATE.start_main_p4 - b_308 = [2; inf]; b_305 - b_308 = [3; inf]; b_307 - b_308 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_308 = [2; inf]; b_303 - b_308 = [3; inf]; b_302 - b_308 = [2; inf]; ULTIMATE.start_main_p1 - b_308 = [-inf; -1]; ULTIMATE.start_main_p3 - b_308 = [1; inf]; b_306 - b_308 = [-inf; -1]; b_313 - b_450 = [4; inf]; b_447 - b_450 = [4; inf]; b_304 - b_450 = [3; inf]; b_311 - b_450 = [3; inf]; b_448 - b_450 = [3; inf]; b_310 - b_450 = [2; inf]; b_449 - b_450 = [4; inf]; ULTIMATE.start_main_p2 - b_450 = [1; inf]; b_446 - b_450 = [3; inf]; ULTIMATE.start_main_p4 - b_450 = [3; inf]; b_305 - b_450 = [4; inf]; b_307 - b_450 = [1; 1]; b_312 - b_450 = [3; inf]; ULTIMATE.start_malloc_ptr - b_450 = [3; inf]; b_303 - b_450 = [4; inf]; b_302 - b_450 = [3; inf]; b_309 - b_450 = [2; inf]; b_308 - b_450 = [1; inf]; ULTIMATE.start_main_p1 - b_450 = [0; 0]; ULTIMATE.start_main_p3 - b_450 = [2; inf]; b_306 - b_450 = [0; 0]; b_313 - b_459 = [0; 0]; b_447 - b_459 = [0; 0]; b_304 - b_459 = [-1; -1]; b_311 - b_459 = [-inf; -1]; b_452 - b_459 = [-inf; -3]; b_448 - b_459 = [-1; -1]; b_310 - b_459 = [-inf; -2]; b_453 - b_459 = [-inf; -2]; b_449 - b_459 = [0; 0]; b_456 - b_459 = [-1; -1]; b_457 - b_459 = [0; 0]; ULTIMATE.start_main_p2 - b_459 = [-inf; -3]; b_446 - b_459 = [-1; -1]; ULTIMATE.start_main_p4 - b_459 = [-1; -1]; b_451 - b_459 = [-inf; -3]; b_305 - b_459 = [0; 0]; b_307 - b_459 = [-inf; -3]; b_455 - b_459 = [-inf; -1]; b_312 - b_459 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_459 = [-1; -1]; b_303 - b_459 = [0; 0]; b_454 - b_459 = [-inf; -2]; b_302 - b_459 = [-1; -1]; b_309 - b_459 = [-inf; -2]; b_308 - b_459 = [-inf; -3]; b_450 - b_459 = [-inf; -4]; ULTIMATE.start_main_p1 - b_459 = [-inf; -4]; b_458 - b_459 = [-1; -1]; ULTIMATE.start_main_p3 - b_459 = [-inf; -2]; b_306 - b_459 = [-inf; -4]; b_313 - b_458 = [1; 1]; b_447 - b_458 = [1; 1]; b_304 - b_458 = [0; 0]; b_311 - b_458 = [-inf; 0]; b_452 - b_458 = [-inf; -2]; b_448 - b_458 = [0; 0]; b_310 - b_458 = [-inf; -1]; b_453 - b_458 = [-inf; -1]; b_449 - b_458 = [1; 1]; b_456 - b_458 = [0; 0]; b_457 - b_458 = [1; 1]; ULTIMATE.start_main_p2 - b_458 = [-inf; -2]; b_446 - b_458 = [0; 0]; ULTIMATE.start_main_p4 - b_458 = [0; 0]; b_451 - b_458 = [-inf; -2]; b_305 - b_458 = [1; 1]; b_307 - b_458 = [-inf; -2]; b_455 - b_458 = [-inf; 0]; b_312 - b_458 = [0; 0]; ULTIMATE.start_malloc_ptr - b_458 = [0; 0]; b_303 - b_458 = [1; 1]; b_454 - b_458 = [-inf; -1]; b_302 - b_458 = [0; 0]; b_309 - b_458 = [-inf; -1]; b_308 - b_458 = [-inf; -2]; b_450 - b_458 = [-inf; -3]; ULTIMATE.start_main_p1 - b_458 = [-inf; -3]; ULTIMATE.start_main_p3 - b_458 = [-inf; -1]; b_306 - b_458 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; b_304 - b_306 = [3; inf]; ULTIMATE.start_main_p2 - b_306 = [1; inf]; ULTIMATE.start_main_p4 - b_306 = [3; inf]; b_305 - b_306 = [4; inf]; ULTIMATE.start_malloc_ptr - b_306 = [3; inf]; b_303 - b_306 = [4; inf]; b_302 - b_306 = [3; inf]; ULTIMATE.start_main_p1 - b_306 = [0; 0]; ULTIMATE.start_main_p3 - b_306 = [2; inf]; v_4186 + v_4190 = [0; inf]; v_4186 - v_4190 = [0; inf]; v_4179 + v_4190 = [0; 0]; v_4179 - v_4190 = [0; 0]; v_4188 + v_4190 = [0; 0]; v_4188 - v_4190 = [0; 0]; v_4183 + v_4190 = [1; 1]; v_4183 - v_4190 = [1; 1]}, } at de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.checkSegmentationMap(ArrayDomainState.java:106) at de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.(ArrayDomainState.java:92) at de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.updateState(ArrayDomainState.java:1303) at de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.removeAuxVars(ArrayDomainState.java:209) at de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.transformSegmentation(ArrayDomainState.java:865) at de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.unify(ArrayDomainState.java:539) at de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.applyOperatorToSegmentations(ArrayDomainState.java:275) at de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.intersectSegmentations(ArrayDomainState.java:270) at de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.intersect(ArrayDomainState.java:463) at de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.intersect(ArrayDomainState.java:1) at de.uni_freiburg.informatik.ultimate.modelcheckerutils.absint.DisjunctiveAbstractState.lambda$12(DisjunctiveAbstractState.java:245) at de.uni_freiburg.informatik.ultimate.modelcheckerutils.absint.DisjunctiveAbstractState.crossProduct(DisjunctiveAbstractState.java:465) at de.uni_freiburg.informatik.ultimate.modelcheckerutils.absint.DisjunctiveAbstractState.crossProduct(DisjunctiveAbstractState.java:483) at de.uni_freiburg.informatik.ultimate.modelcheckerutils.absint.DisjunctiveAbstractState.intersect(DisjunctiveAbstractState.java:245) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.CegarAbsIntRunner$AbsIntPredicateUnifier.lambda$3(CegarAbsIntRunner.java:711) at java.util.stream.ReduceOps$2ReducingSink.accept(ReduceOps.java:123) at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1556) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.CegarAbsIntRunner$AbsIntPredicateUnifier.getOrConstructPredicateForConjunction(CegarAbsIntRunner.java:711) at de.uni_freiburg.informatik.ultimate.modelcheckerutils.smt.predicates.PredicateUnifier.getOrConstructPredicateForConjunction(PredicateUnifier.java:229) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.interpolantautomata.transitionappender.DeterministicInterpolantAutomaton.getOrConstructPredicate(DeterministicInterpolantAutomaton.java:281) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.interpolantautomata.transitionappender.DeterministicInterpolantAutomaton.constructSuccessorsAndTransitions(DeterministicInterpolantAutomaton.java:303) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.interpolantautomata.transitionappender.BasicAbstractInterpolantAutomaton.computeSuccs(BasicAbstractInterpolantAutomaton.java:78) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.interpolantautomata.transitionappender.BasicAbstractInterpolantAutomaton.computeSuccs(BasicAbstractInterpolantAutomaton.java:1) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.interpolantautomata.transitionappender.AbstractInterpolantAutomaton.internalSuccessors(AbstractInterpolantAutomaton.java:234) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.interpolantautomata.transitionappender.AbstractInterpolantAutomaton.internalSuccessors(AbstractInterpolantAutomaton.java:1) at de.uni_freiburg.informatik.ultimate.automata.nestedword.operations.TotalizeNwa.internalSuccessors(TotalizeNwa.java:213) at de.uni_freiburg.informatik.ultimate.automata.nestedword.operations.ComplementDeterministicNwa.internalSuccessors(ComplementDeterministicNwa.java:121) at de.uni_freiburg.informatik.ultimate.automata.nestedword.operations.ProductNwa.internalSuccessors(ProductNwa.java:216) at de.uni_freiburg.informatik.ultimate.automata.nestedword.operations.ProductNwa.internalSuccessors(ProductNwa.java:208) at de.uni_freiburg.informatik.ultimate.automata.nestedword.reachablestates.NestedWordAutomatonReachableStates$ReachableStatesComputation.addInternalsAndSuccessors(NestedWordAutomatonReachableStates.java:1066) at de.uni_freiburg.informatik.ultimate.automata.nestedword.reachablestates.NestedWordAutomatonReachableStates$ReachableStatesComputation.(NestedWordAutomatonReachableStates.java:968) at de.uni_freiburg.informatik.ultimate.automata.nestedword.reachablestates.NestedWordAutomatonReachableStates.(NestedWordAutomatonReachableStates.java:188) at de.uni_freiburg.informatik.ultimate.automata.nestedword.operations.Difference.computeDifference(Difference.java:137) at de.uni_freiburg.informatik.ultimate.automata.nestedword.operations.Difference.(Difference.java:90) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.BasicCegarLoop.computeAutomataDifference(BasicCegarLoop.java:699) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.BasicCegarLoop.refineAbstraction(BasicCegarLoop.java:628) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.iterateInternal(AbstractCegarLoop.java:472) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.AbstractCegarLoop.iterate(AbstractCegarLoop.java:376) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.iterate(TraceAbstractionStarter.java:334) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.runCegarLoops(TraceAbstractionStarter.java:174) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionStarter.(TraceAbstractionStarter.java:126) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver.finish(TraceAbstractionObserver.java:123) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:168) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:316) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) [2019-02-28 13:58:06,542 INFO L168 Benchmark]: Toolchain (without parser) took 645157.68 ms. Allocated memory was 130.0 MB in the beginning and 2.8 GB in the end (delta: 2.6 GB). Free memory was 105.2 MB in the beginning and 437.4 MB in the end (delta: -332.2 MB). Peak memory consumption was 2.3 GB. Max. memory is 7.1 GB. [2019-02-28 13:58:06,544 INFO L168 Benchmark]: Boogie PL CUP Parser took 0.27 ms. Allocated memory is still 130.0 MB. Free memory is still 106.6 MB. There was no memory consumed. Max. memory is 7.1 GB. [2019-02-28 13:58:06,544 INFO L168 Benchmark]: Boogie Procedure Inliner took 63.97 ms. Allocated memory is still 130.0 MB. Free memory was 105.2 MB in the beginning and 102.8 MB in the end (delta: 2.4 MB). Peak memory consumption was 2.4 MB. Max. memory is 7.1 GB. [2019-02-28 13:58:06,545 INFO L168 Benchmark]: Boogie Preprocessor took 29.40 ms. Allocated memory is still 130.0 MB. Free memory was 102.8 MB in the beginning and 101.5 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. [2019-02-28 13:58:06,546 INFO L168 Benchmark]: RCFGBuilder took 617.87 ms. Allocated memory is still 130.0 MB. Free memory was 101.5 MB in the beginning and 86.3 MB in the end (delta: 15.2 MB). Peak memory consumption was 15.2 MB. Max. memory is 7.1 GB. [2019-02-28 13:58:06,547 INFO L168 Benchmark]: TraceAbstraction took 644440.65 ms. Allocated memory was 130.0 MB in the beginning and 2.8 GB in the end (delta: 2.6 GB). Free memory was 86.1 MB in the beginning and 437.4 MB in the end (delta: -351.3 MB). Peak memory consumption was 2.3 GB. Max. memory is 7.1 GB. [2019-02-28 13:58:06,551 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - GenericResult: Assertions are enabled Assertions are enabled - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Boogie PL CUP Parser took 0.27 ms. Allocated memory is still 130.0 MB. Free memory is still 106.6 MB. There was no memory consumed. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 63.97 ms. Allocated memory is still 130.0 MB. Free memory was 105.2 MB in the beginning and 102.8 MB in the end (delta: 2.4 MB). Peak memory consumption was 2.4 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 29.40 ms. Allocated memory is still 130.0 MB. Free memory was 102.8 MB in the beginning and 101.5 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. * RCFGBuilder took 617.87 ms. Allocated memory is still 130.0 MB. Free memory was 101.5 MB in the beginning and 86.3 MB in the end (delta: 15.2 MB). Peak memory consumption was 15.2 MB. Max. memory is 7.1 GB. * TraceAbstraction took 644440.65 ms. Allocated memory was 130.0 MB in the beginning and 2.8 GB in the end (delta: 2.6 GB). Free memory was 86.1 MB in the beginning and 437.4 MB in the end (delta: -351.3 MB). Peak memory consumption was 2.3 GB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - ExceptionOrErrorResult: AssertionError: #valid not in segmentation map of stateArrays: {[ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4946 [b_458] v_4947 [b_459] v_4948 [inf_0], }, Substate: {ints: {v_4940 = [0; 0]; v_4186 = [0; inf]; v_4179 = [0; 0]; v_4938 = [0; inf]; v_4944 = [-inf; 0]; v_4942 = [0; 0]; v_4935 = [1; 1]; v_4188 = [0; 0]; v_4192 = [-inf; 0]; v_4183 = [1; 1]; v_4947 = [0; 0]; v_4932 = [0; 0]; v_4190 = [0; 0]}, 51 vars top, relations: {b_304 - b_313 = [-1; -1]; b_311 - b_313 = [-inf; -1]; b_310 - b_313 = [-inf; -2]; ULTIMATE.start_main_p2 - b_313 = [-inf; -3]; ULTIMATE.start_main_p4 - b_313 = [-1; -1]; b_305 - b_313 = [0; 0]; b_307 - b_313 = [-inf; -3]; b_312 - b_313 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_313 = [-1; -1]; b_303 - b_313 = [0; 0]; b_302 - b_313 = [-1; -1]; b_309 - b_313 = [-inf; -2]; b_308 - b_313 = [-inf; -3]; ULTIMATE.start_main_p1 - b_313 = [-inf; -4]; ULTIMATE.start_main_p3 - b_313 = [-inf; -2]; b_306 - b_313 = [-inf; -4]; b_313 - b_447 = [0; 0]; b_304 - b_447 = [-1; -1]; b_311 - b_447 = [-inf; -1]; b_310 - b_447 = [-inf; -2]; ULTIMATE.start_main_p2 - b_447 = [-inf; -3]; b_446 - b_447 = [-1; -1]; ULTIMATE.start_main_p4 - b_447 = [-1; -1]; b_305 - b_447 = [0; 0]; b_307 - b_447 = [-inf; -3]; b_312 - b_447 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_447 = [-1; -1]; b_303 - b_447 = [0; 0]; b_302 - b_447 = [-1; -1]; b_309 - b_447 = [-inf; -2]; b_308 - b_447 = [-inf; -3]; ULTIMATE.start_main_p1 - b_447 = [-inf; -4]; ULTIMATE.start_main_p3 - b_447 = [-inf; -2]; b_306 - b_447 = [-inf; -4]; v_4186 + v_4940 = [0; inf]; v_4186 - v_4940 = [0; inf]; v_4179 + v_4940 = [0; 0]; v_4179 - v_4940 = [0; 0]; v_4938 + v_4940 = [0; inf]; v_4938 - v_4940 = [0; inf]; v_4935 + v_4940 = [1; 1]; v_4935 - v_4940 = [1; 1]; v_4188 + v_4940 = [0; 0]; v_4188 - v_4940 = [0; 0]; v_4192 + v_4940 = [-inf; 0]; v_4192 - v_4940 = [-inf; 0]; v_4183 + v_4940 = [1; 1]; v_4183 - v_4940 = [1; 1]; v_4932 + v_4940 = [0; 0]; v_4932 - v_4940 = [0; 0]; v_4190 + v_4940 = [0; 0]; v_4190 - v_4940 = [0; 0]; ULTIMATE.start_main_p2 - b_304 = [-inf; -2]; ULTIMATE.start_main_p4 - b_304 = [0; 0]; ULTIMATE.start_malloc_ptr - b_304 = [0; 0]; b_303 - b_304 = [1; 1]; b_302 - b_304 = [0; 0]; ULTIMATE.start_main_p1 - b_304 = [-inf; -3]; ULTIMATE.start_main_p3 - b_304 = [-inf; -1]; b_304 - b_311 = [0; inf]; b_310 - b_311 = [-1; -1]; ULTIMATE.start_main_p2 - b_311 = [-inf; -2]; ULTIMATE.start_main_p4 - b_311 = [0; inf]; b_305 - b_311 = [1; inf]; b_307 - b_311 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_311 = [0; inf]; b_303 - b_311 = [1; inf]; b_302 - b_311 = [0; inf]; b_309 - b_311 = [-inf; -1]; b_308 - b_311 = [-inf; -2]; ULTIMATE.start_main_p1 - b_311 = [-inf; -3]; ULTIMATE.start_main_p3 - b_311 = [-1; -1]; b_306 - b_311 = [-inf; -3]; v_4179 + v_4186 = [0; inf]; v_4179 - v_4186 = [-inf; 0]; v_4183 + v_4186 = [1; inf]; v_4183 - v_4186 = [-inf; 1]; b_313 - b_452 = [3; inf]; b_447 - b_452 = [3; inf]; b_304 - b_452 = [2; inf]; b_311 - b_452 = [2; inf]; b_448 - b_452 = [2; inf]; b_310 - b_452 = [1; inf]; b_449 - b_452 = [3; inf]; ULTIMATE.start_main_p2 - b_452 = [0; 0]; b_446 - b_452 = [2; inf]; ULTIMATE.start_main_p4 - b_452 = [2; inf]; b_451 - b_452 = [-inf; 0]; b_305 - b_452 = [3; inf]; b_307 - b_452 = [-inf; 0]; b_312 - b_452 = [2; inf]; ULTIMATE.start_malloc_ptr - b_452 = [2; inf]; b_303 - b_452 = [3; inf]; b_302 - b_452 = [2; inf]; b_309 - b_452 = [1; 1]; b_308 - b_452 = [0; 0]; b_450 - b_452 = [-inf; -1]; ULTIMATE.start_main_p1 - b_452 = [-inf; -1]; ULTIMATE.start_main_p3 - b_452 = [1; inf]; b_306 - b_452 = [-inf; -1]; b_313 - b_448 = [1; 1]; b_447 - b_448 = [1; 1]; b_304 - b_448 = [0; 0]; b_311 - b_448 = [-inf; 0]; b_310 - b_448 = [-inf; -1]; ULTIMATE.start_main_p2 - b_448 = [-inf; -2]; b_446 - b_448 = [0; 0]; ULTIMATE.start_main_p4 - b_448 = [0; 0]; b_305 - b_448 = [1; 1]; b_307 - b_448 = [-inf; -2]; b_312 - b_448 = [0; 0]; ULTIMATE.start_malloc_ptr - b_448 = [0; 0]; b_303 - b_448 = [1; 1]; b_302 - b_448 = [0; 0]; b_309 - b_448 = [-inf; -1]; b_308 - b_448 = [-inf; -2]; ULTIMATE.start_main_p1 - b_448 = [-inf; -3]; ULTIMATE.start_main_p3 - b_448 = [-inf; -1]; b_306 - b_448 = [-inf; -3]; b_304 - b_310 = [1; inf]; ULTIMATE.start_main_p2 - b_310 = [-inf; -1]; ULTIMATE.start_main_p4 - b_310 = [1; inf]; b_305 - b_310 = [2; inf]; b_307 - b_310 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_310 = [1; inf]; b_303 - b_310 = [2; inf]; b_302 - b_310 = [1; inf]; b_309 - b_310 = [-inf; 0]; b_308 - b_310 = [-inf; -1]; ULTIMATE.start_main_p1 - b_310 = [-inf; -2]; ULTIMATE.start_main_p3 - b_310 = [0; 0]; b_306 - b_310 = [-inf; -2]; v_4186 + v_4938 = [0; inf]; v_4179 + v_4938 = [0; inf]; v_4179 - v_4938 = [-inf; 0]; v_4935 + v_4938 = [1; inf]; v_4935 - v_4938 = [-inf; 1]; v_4188 + v_4938 = [0; inf]; v_4188 - v_4938 = [-inf; 0]; v_4192 - v_4938 = [-inf; 0]; v_4183 + v_4938 = [1; inf]; v_4183 - v_4938 = [-inf; 1]; v_4932 + v_4938 = [0; inf]; v_4932 - v_4938 = [-inf; 0]; v_4190 + v_4938 = [0; inf]; v_4190 - v_4938 = [-inf; 0]; v_4940 + v_4944 = [-inf; 0]; v_4940 - v_4944 = [0; inf]; v_4186 - v_4944 = [0; inf]; v_4179 + v_4944 = [-inf; 0]; v_4179 - v_4944 = [0; inf]; v_4938 - v_4944 = [0; inf]; v_4942 + v_4944 = [-inf; 0]; v_4942 - v_4944 = [0; inf]; v_4935 + v_4944 = [-inf; 1]; v_4935 - v_4944 = [1; inf]; v_4188 + v_4944 = [-inf; 0]; v_4188 - v_4944 = [0; inf]; v_4192 + v_4944 = [-inf; 0]; v_4183 + v_4944 = [-inf; 1]; v_4183 - v_4944 = [1; inf]; v_4932 + v_4944 = [-inf; 0]; v_4932 - v_4944 = [0; inf]; v_4190 + v_4944 = [-inf; 0]; v_4190 - v_4944 = [0; inf]; b_313 - b_453 = [2; inf]; b_447 - b_453 = [2; inf]; b_304 - b_453 = [1; inf]; b_311 - b_453 = [1; inf]; b_452 - b_453 = [-1; -1]; b_448 - b_453 = [1; inf]; b_310 - b_453 = [0; inf]; b_449 - b_453 = [2; inf]; ULTIMATE.start_main_p2 - b_453 = [-1; -1]; b_446 - b_453 = [1; inf]; ULTIMATE.start_main_p4 - b_453 = [1; inf]; b_451 - b_453 = [-inf; -1]; b_305 - b_453 = [2; inf]; b_307 - b_453 = [-inf; -1]; b_312 - b_453 = [1; inf]; ULTIMATE.start_malloc_ptr - b_453 = [1; inf]; b_303 - b_453 = [2; inf]; b_302 - b_453 = [1; inf]; b_309 - b_453 = [0; 0]; b_308 - b_453 = [-1; -1]; b_450 - b_453 = [-inf; -2]; ULTIMATE.start_main_p1 - b_453 = [-inf; -2]; ULTIMATE.start_main_p3 - b_453 = [0; inf]; b_306 - b_453 = [-inf; -2]; b_313 - b_449 = [0; 0]; b_447 - b_449 = [0; 0]; b_304 - b_449 = [-1; -1]; b_311 - b_449 = [-inf; -1]; b_448 - b_449 = [-1; -1]; b_310 - b_449 = [-inf; -2]; ULTIMATE.start_main_p2 - b_449 = [-inf; -3]; b_446 - b_449 = [-1; -1]; ULTIMATE.start_main_p4 - b_449 = [-1; -1]; b_305 - b_449 = [0; 0]; b_307 - b_449 = [-inf; -3]; b_312 - b_449 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_449 = [-1; -1]; b_303 - b_449 = [0; 0]; b_302 - b_449 = [-1; -1]; b_309 - b_449 = [-inf; -2]; b_308 - b_449 = [-inf; -3]; ULTIMATE.start_main_p1 - b_449 = [-inf; -4]; ULTIMATE.start_main_p3 - b_449 = [-inf; -2]; b_306 - b_449 = [-inf; -4]; b_313 - b_456 = [1; 1]; b_447 - b_456 = [1; 1]; b_304 - b_456 = [0; 0]; b_311 - b_456 = [-inf; 0]; b_452 - b_456 = [-inf; -2]; b_448 - b_456 = [0; 0]; b_310 - b_456 = [-inf; -1]; b_453 - b_456 = [-inf; -1]; b_449 - b_456 = [1; 1]; ULTIMATE.start_main_p2 - b_456 = [-inf; -2]; b_446 - b_456 = [0; 0]; ULTIMATE.start_main_p4 - b_456 = [0; 0]; b_451 - b_456 = [-inf; -2]; b_305 - b_456 = [1; 1]; b_307 - b_456 = [-inf; -2]; b_455 - b_456 = [-inf; 0]; b_312 - b_456 = [0; 0]; ULTIMATE.start_malloc_ptr - b_456 = [0; 0]; b_303 - b_456 = [1; 1]; b_454 - b_456 = [-inf; -1]; b_302 - b_456 = [0; 0]; b_309 - b_456 = [-inf; -1]; b_308 - b_456 = [-inf; -2]; b_450 - b_456 = [-inf; -3]; ULTIMATE.start_main_p1 - b_456 = [-inf; -3]; ULTIMATE.start_main_p3 - b_456 = [-inf; -1]; b_306 - b_456 = [-inf; -3]; b_313 - b_457 = [0; 0]; b_447 - b_457 = [0; 0]; b_304 - b_457 = [-1; -1]; b_311 - b_457 = [-inf; -1]; b_452 - b_457 = [-inf; -3]; b_448 - b_457 = [-1; -1]; b_310 - b_457 = [-inf; -2]; b_453 - b_457 = [-inf; -2]; b_449 - b_457 = [0; 0]; b_456 - b_457 = [-1; -1]; ULTIMATE.start_main_p2 - b_457 = [-inf; -3]; b_446 - b_457 = [-1; -1]; ULTIMATE.start_main_p4 - b_457 = [-1; -1]; b_451 - b_457 = [-inf; -3]; b_305 - b_457 = [0; 0]; b_307 - b_457 = [-inf; -3]; b_455 - b_457 = [-inf; -1]; b_312 - b_457 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_457 = [-1; -1]; b_303 - b_457 = [0; 0]; b_454 - b_457 = [-inf; -2]; b_302 - b_457 = [-1; -1]; b_309 - b_457 = [-inf; -2]; b_308 - b_457 = [-inf; -3]; b_450 - b_457 = [-inf; -4]; ULTIMATE.start_main_p1 - b_457 = [-inf; -4]; ULTIMATE.start_main_p3 - b_457 = [-inf; -2]; b_306 - b_457 = [-inf; -4]; v_4940 + v_4942 = [0; 0]; v_4940 - v_4942 = [0; 0]; v_4186 + v_4942 = [0; inf]; v_4186 - v_4942 = [0; inf]; v_4179 + v_4942 = [0; 0]; v_4179 - v_4942 = [0; 0]; v_4938 + v_4942 = [0; inf]; v_4938 - v_4942 = [0; inf]; v_4935 + v_4942 = [1; 1]; v_4935 - v_4942 = [1; 1]; v_4188 + v_4942 = [0; 0]; v_4188 - v_4942 = [0; 0]; v_4192 + v_4942 = [-inf; 0]; v_4192 - v_4942 = [-inf; 0]; v_4183 + v_4942 = [1; 1]; v_4183 - v_4942 = [1; 1]; v_4932 + v_4942 = [0; 0]; v_4932 - v_4942 = [0; 0]; v_4190 + v_4942 = [0; 0]; v_4190 - v_4942 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4186 + v_4935 = [1; inf]; v_4186 - v_4935 = [-1; inf]; v_4179 + v_4935 = [1; 1]; v_4179 - v_4935 = [-1; -1]; v_4188 + v_4935 = [1; 1]; v_4188 - v_4935 = [-1; -1]; v_4192 + v_4935 = [-inf; 1]; v_4192 - v_4935 = [-inf; -1]; v_4183 + v_4935 = [2; 2]; v_4183 - v_4935 = [0; 0]; v_4932 + v_4935 = [1; 1]; v_4932 - v_4935 = [-1; -1]; v_4190 + v_4935 = [1; 1]; v_4190 - v_4935 = [-1; -1]; v_4186 + v_4188 = [0; inf]; v_4186 - v_4188 = [0; inf]; v_4179 + v_4188 = [0; 0]; v_4179 - v_4188 = [0; 0]; v_4183 + v_4188 = [1; 1]; v_4183 - v_4188 = [1; 1]; b_313 - b_446 = [1; 1]; b_304 - b_446 = [0; 0]; b_311 - b_446 = [-inf; 0]; b_310 - b_446 = [-inf; -1]; ULTIMATE.start_main_p2 - b_446 = [-inf; -2]; ULTIMATE.start_main_p4 - b_446 = [0; 0]; b_305 - b_446 = [1; 1]; b_307 - b_446 = [-inf; -2]; b_312 - b_446 = [0; 0]; ULTIMATE.start_malloc_ptr - b_446 = [0; 0]; b_303 - b_446 = [1; 1]; b_302 - b_446 = [0; 0]; b_309 - b_446 = [-inf; -1]; b_308 - b_446 = [-inf; -2]; ULTIMATE.start_main_p1 - b_446 = [-inf; -3]; ULTIMATE.start_main_p3 - b_446 = [-inf; -1]; b_306 - b_446 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; b_313 - b_451 = [3; inf]; b_447 - b_451 = [3; inf]; b_304 - b_451 = [2; inf]; b_311 - b_451 = [2; inf]; b_448 - b_451 = [2; inf]; b_310 - b_451 = [1; inf]; b_449 - b_451 = [3; inf]; ULTIMATE.start_main_p2 - b_451 = [0; inf]; b_446 - b_451 = [2; inf]; ULTIMATE.start_main_p4 - b_451 = [2; inf]; b_305 - b_451 = [3; inf]; b_307 - b_451 = [0; 0]; b_312 - b_451 = [2; inf]; ULTIMATE.start_malloc_ptr - b_451 = [2; inf]; b_303 - b_451 = [3; inf]; b_302 - b_451 = [2; inf]; b_309 - b_451 = [1; inf]; b_308 - b_451 = [0; inf]; b_450 - b_451 = [-1; -1]; ULTIMATE.start_main_p1 - b_451 = [-1; -1]; ULTIMATE.start_main_p3 - b_451 = [1; inf]; b_306 - b_451 = [-1; -1]; b_304 - b_305 = [-1; -1]; ULTIMATE.start_main_p2 - b_305 = [-inf; -3]; ULTIMATE.start_main_p4 - b_305 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_305 = [-1; -1]; b_303 - b_305 = [0; 0]; b_302 - b_305 = [-1; -1]; ULTIMATE.start_main_p1 - b_305 = [-inf; -4]; ULTIMATE.start_main_p3 - b_305 = [-inf; -2]; b_304 - b_307 = [2; inf]; ULTIMATE.start_main_p2 - b_307 = [0; inf]; ULTIMATE.start_main_p4 - b_307 = [2; inf]; b_305 - b_307 = [3; inf]; ULTIMATE.start_malloc_ptr - b_307 = [2; inf]; b_303 - b_307 = [3; inf]; b_302 - b_307 = [2; inf]; ULTIMATE.start_main_p1 - b_307 = [-1; -1]; ULTIMATE.start_main_p3 - b_307 = [1; inf]; b_306 - b_307 = [-1; -1]; b_313 - b_455 = [1; inf]; b_447 - b_455 = [1; inf]; b_304 - b_455 = [0; inf]; b_311 - b_455 = [0; 0]; b_452 - b_455 = [-inf; -2]; b_448 - b_455 = [0; inf]; b_310 - b_455 = [-1; -1]; b_453 - b_455 = [-inf; -1]; b_449 - b_455 = [1; inf]; ULTIMATE.start_main_p2 - b_455 = [-inf; -2]; b_446 - b_455 = [0; inf]; ULTIMATE.start_main_p4 - b_455 = [0; inf]; b_451 - b_455 = [-inf; -2]; b_305 - b_455 = [1; inf]; b_307 - b_455 = [-inf; -2]; b_312 - b_455 = [0; inf]; ULTIMATE.start_malloc_ptr - b_455 = [0; inf]; b_303 - b_455 = [1; inf]; b_454 - b_455 = [-1; -1]; b_302 - b_455 = [0; inf]; b_309 - b_455 = [-inf; -1]; b_308 - b_455 = [-inf; -2]; b_450 - b_455 = [-inf; -3]; ULTIMATE.start_main_p1 - b_455 = [-inf; -3]; ULTIMATE.start_main_p3 - b_455 = [-1; -1]; b_306 - b_455 = [-inf; -3]; b_304 - b_312 = [0; 0]; b_311 - b_312 = [-inf; 0]; b_310 - b_312 = [-inf; -1]; ULTIMATE.start_main_p2 - b_312 = [-inf; -2]; ULTIMATE.start_main_p4 - b_312 = [0; 0]; b_305 - b_312 = [1; 1]; b_307 - b_312 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_312 = [0; 0]; b_303 - b_312 = [1; 1]; b_302 - b_312 = [0; 0]; b_309 - b_312 = [-inf; -1]; b_308 - b_312 = [-inf; -2]; ULTIMATE.start_main_p1 - b_312 = [-inf; -3]; ULTIMATE.start_main_p3 - b_312 = [-inf; -1]; b_306 - b_312 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; v_4186 - v_4192 = [0; inf]; v_4179 + v_4192 = [-inf; 0]; v_4179 - v_4192 = [0; inf]; v_4188 + v_4192 = [-inf; 0]; v_4188 - v_4192 = [0; inf]; v_4183 + v_4192 = [-inf; 1]; v_4183 - v_4192 = [1; inf]; v_4190 + v_4192 = [-inf; 0]; v_4190 - v_4192 = [0; inf]; ULTIMATE.start_main_p2 - b_303 = [-inf; -3]; ULTIMATE.start_main_p4 - b_303 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_303 = [-1; -1]; b_302 - b_303 = [-1; -1]; ULTIMATE.start_main_p1 - b_303 = [-inf; -4]; ULTIMATE.start_main_p3 - b_303 = [-inf; -2]; v_4179 + v_4183 = [1; 1]; v_4179 - v_4183 = [-1; -1]; b_313 - b_454 = [2; inf]; b_447 - b_454 = [2; inf]; b_304 - b_454 = [1; inf]; b_311 - b_454 = [1; 1]; b_452 - b_454 = [-inf; -1]; b_448 - b_454 = [1; inf]; b_310 - b_454 = [0; 0]; b_453 - b_454 = [-inf; 0]; b_449 - b_454 = [2; inf]; ULTIMATE.start_main_p2 - b_454 = [-inf; -1]; b_446 - b_454 = [1; inf]; ULTIMATE.start_main_p4 - b_454 = [1; inf]; b_451 - b_454 = [-inf; -1]; b_305 - b_454 = [2; inf]; b_307 - b_454 = [-inf; -1]; b_312 - b_454 = [1; inf]; ULTIMATE.start_malloc_ptr - b_454 = [1; inf]; b_303 - b_454 = [2; inf]; b_302 - b_454 = [1; inf]; b_309 - b_454 = [-inf; 0]; b_308 - b_454 = [-inf; -1]; b_450 - b_454 = [-inf; -2]; ULTIMATE.start_main_p1 - b_454 = [-inf; -2]; ULTIMATE.start_main_p3 - b_454 = [0; 0]; b_306 - b_454 = [-inf; -2]; v_4940 + v_4947 = [0; 0]; v_4940 - v_4947 = [0; 0]; v_4186 + v_4947 = [0; inf]; v_4186 - v_4947 = [0; inf]; v_4179 + v_4947 = [0; 0]; v_4179 - v_4947 = [0; 0]; v_4938 + v_4947 = [0; inf]; v_4938 - v_4947 = [0; inf]; v_4944 + v_4947 = [-inf; 0]; v_4944 - v_4947 = [-inf; 0]; v_4942 + v_4947 = [0; 0]; v_4942 - v_4947 = [0; 0]; v_4935 + v_4947 = [1; 1]; v_4935 - v_4947 = [1; 1]; v_4188 + v_4947 = [0; 0]; v_4188 - v_4947 = [0; 0]; v_4192 + v_4947 = [-inf; 0]; v_4192 - v_4947 = [-inf; 0]; v_4183 + v_4947 = [1; 1]; v_4183 - v_4947 = [1; 1]; v_4932 + v_4947 = [0; 0]; v_4932 - v_4947 = [0; 0]; v_4190 + v_4947 = [0; 0]; v_4190 - v_4947 = [0; 0]; ULTIMATE.start_main_p2 - b_302 = [-inf; -2]; ULTIMATE.start_main_p4 - b_302 = [0; 0]; ULTIMATE.start_malloc_ptr - b_302 = [0; 0]; ULTIMATE.start_main_p1 - b_302 = [-inf; -3]; ULTIMATE.start_main_p3 - b_302 = [-inf; -1]; b_304 - b_309 = [1; inf]; ULTIMATE.start_main_p2 - b_309 = [-1; -1]; ULTIMATE.start_main_p4 - b_309 = [1; inf]; b_305 - b_309 = [2; inf]; b_307 - b_309 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_309 = [1; inf]; b_303 - b_309 = [2; inf]; b_302 - b_309 = [1; inf]; b_308 - b_309 = [-1; -1]; ULTIMATE.start_main_p1 - b_309 = [-inf; -2]; ULTIMATE.start_main_p3 - b_309 = [0; inf]; b_306 - b_309 = [-inf; -2]; v_4186 + v_4932 = [0; inf]; v_4186 - v_4932 = [0; inf]; v_4179 + v_4932 = [0; 0]; v_4179 - v_4932 = [0; 0]; v_4188 + v_4932 = [0; 0]; v_4188 - v_4932 = [0; 0]; v_4192 + v_4932 = [-inf; 0]; v_4192 - v_4932 = [-inf; 0]; v_4183 + v_4932 = [1; 1]; v_4183 - v_4932 = [1; 1]; v_4190 + v_4932 = [0; 0]; v_4190 - v_4932 = [0; 0]; b_304 - b_308 = [2; inf]; ULTIMATE.start_main_p2 - b_308 = [0; 0]; ULTIMATE.start_main_p4 - b_308 = [2; inf]; b_305 - b_308 = [3; inf]; b_307 - b_308 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_308 = [2; inf]; b_303 - b_308 = [3; inf]; b_302 - b_308 = [2; inf]; ULTIMATE.start_main_p1 - b_308 = [-inf; -1]; ULTIMATE.start_main_p3 - b_308 = [1; inf]; b_306 - b_308 = [-inf; -1]; b_313 - b_450 = [4; inf]; b_447 - b_450 = [4; inf]; b_304 - b_450 = [3; inf]; b_311 - b_450 = [3; inf]; b_448 - b_450 = [3; inf]; b_310 - b_450 = [2; inf]; b_449 - b_450 = [4; inf]; ULTIMATE.start_main_p2 - b_450 = [1; inf]; b_446 - b_450 = [3; inf]; ULTIMATE.start_main_p4 - b_450 = [3; inf]; b_305 - b_450 = [4; inf]; b_307 - b_450 = [1; 1]; b_312 - b_450 = [3; inf]; ULTIMATE.start_malloc_ptr - b_450 = [3; inf]; b_303 - b_450 = [4; inf]; b_302 - b_450 = [3; inf]; b_309 - b_450 = [2; inf]; b_308 - b_450 = [1; inf]; ULTIMATE.start_main_p1 - b_450 = [0; 0]; ULTIMATE.start_main_p3 - b_450 = [2; inf]; b_306 - b_450 = [0; 0]; b_313 - b_459 = [0; 0]; b_447 - b_459 = [0; 0]; b_304 - b_459 = [-1; -1]; b_311 - b_459 = [-inf; -1]; b_452 - b_459 = [-inf; -3]; b_448 - b_459 = [-1; -1]; b_310 - b_459 = [-inf; -2]; b_453 - b_459 = [-inf; -2]; b_449 - b_459 = [0; 0]; b_456 - b_459 = [-1; -1]; b_457 - b_459 = [0; 0]; ULTIMATE.start_main_p2 - b_459 = [-inf; -3]; b_446 - b_459 = [-1; -1]; ULTIMATE.start_main_p4 - b_459 = [-1; -1]; b_451 - b_459 = [-inf; -3]; b_305 - b_459 = [0; 0]; b_307 - b_459 = [-inf; -3]; b_455 - b_459 = [-inf; -1]; b_312 - b_459 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_459 = [-1; -1]; b_303 - b_459 = [0; 0]; b_454 - b_459 = [-inf; -2]; b_302 - b_459 = [-1; -1]; b_309 - b_459 = [-inf; -2]; b_308 - b_459 = [-inf; -3]; b_450 - b_459 = [-inf; -4]; ULTIMATE.start_main_p1 - b_459 = [-inf; -4]; b_458 - b_459 = [-1; -1]; ULTIMATE.start_main_p3 - b_459 = [-inf; -2]; b_306 - b_459 = [-inf; -4]; b_313 - b_458 = [1; 1]; b_447 - b_458 = [1; 1]; b_304 - b_458 = [0; 0]; b_311 - b_458 = [-inf; 0]; b_452 - b_458 = [-inf; -2]; b_448 - b_458 = [0; 0]; b_310 - b_458 = [-inf; -1]; b_453 - b_458 = [-inf; -1]; b_449 - b_458 = [1; 1]; b_456 - b_458 = [0; 0]; b_457 - b_458 = [1; 1]; ULTIMATE.start_main_p2 - b_458 = [-inf; -2]; b_446 - b_458 = [0; 0]; ULTIMATE.start_main_p4 - b_458 = [0; 0]; b_451 - b_458 = [-inf; -2]; b_305 - b_458 = [1; 1]; b_307 - b_458 = [-inf; -2]; b_455 - b_458 = [-inf; 0]; b_312 - b_458 = [0; 0]; ULTIMATE.start_malloc_ptr - b_458 = [0; 0]; b_303 - b_458 = [1; 1]; b_454 - b_458 = [-inf; -1]; b_302 - b_458 = [0; 0]; b_309 - b_458 = [-inf; -1]; b_308 - b_458 = [-inf; -2]; b_450 - b_458 = [-inf; -3]; ULTIMATE.start_main_p1 - b_458 = [-inf; -3]; ULTIMATE.start_main_p3 - b_458 = [-inf; -1]; b_306 - b_458 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; b_304 - b_306 = [3; inf]; ULTIMATE.start_main_p2 - b_306 = [1; inf]; ULTIMATE.start_main_p4 - b_306 = [3; inf]; b_305 - b_306 = [4; inf]; ULTIMATE.start_malloc_ptr - b_306 = [3; inf]; b_303 - b_306 = [4; inf]; b_302 - b_306 = [3; inf]; ULTIMATE.start_main_p1 - b_306 = [0; 0]; ULTIMATE.start_main_p3 - b_306 = [2; inf]; v_4186 + v_4190 = [0; inf]; v_4186 - v_4190 = [0; inf]; v_4179 + v_4190 = [0; 0]; v_4179 - v_4190 = [0; 0]; v_4188 + v_4190 = [0; 0]; v_4188 - v_4190 = [0; 0]; v_4183 + v_4190 = [1; 1]; v_4183 - v_4190 = [1; 1]}, } de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: AssertionError: #valid not in segmentation map of stateArrays: {[ULTIMATE.start_malloc_old_#valid] -> [-inf_0] v_4946 [b_458] v_4947 [b_459] v_4948 [inf_0], }, Substate: {ints: {v_4940 = [0; 0]; v_4186 = [0; inf]; v_4179 = [0; 0]; v_4938 = [0; inf]; v_4944 = [-inf; 0]; v_4942 = [0; 0]; v_4935 = [1; 1]; v_4188 = [0; 0]; v_4192 = [-inf; 0]; v_4183 = [1; 1]; v_4947 = [0; 0]; v_4932 = [0; 0]; v_4190 = [0; 0]}, 51 vars top, relations: {b_304 - b_313 = [-1; -1]; b_311 - b_313 = [-inf; -1]; b_310 - b_313 = [-inf; -2]; ULTIMATE.start_main_p2 - b_313 = [-inf; -3]; ULTIMATE.start_main_p4 - b_313 = [-1; -1]; b_305 - b_313 = [0; 0]; b_307 - b_313 = [-inf; -3]; b_312 - b_313 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_313 = [-1; -1]; b_303 - b_313 = [0; 0]; b_302 - b_313 = [-1; -1]; b_309 - b_313 = [-inf; -2]; b_308 - b_313 = [-inf; -3]; ULTIMATE.start_main_p1 - b_313 = [-inf; -4]; ULTIMATE.start_main_p3 - b_313 = [-inf; -2]; b_306 - b_313 = [-inf; -4]; b_313 - b_447 = [0; 0]; b_304 - b_447 = [-1; -1]; b_311 - b_447 = [-inf; -1]; b_310 - b_447 = [-inf; -2]; ULTIMATE.start_main_p2 - b_447 = [-inf; -3]; b_446 - b_447 = [-1; -1]; ULTIMATE.start_main_p4 - b_447 = [-1; -1]; b_305 - b_447 = [0; 0]; b_307 - b_447 = [-inf; -3]; b_312 - b_447 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_447 = [-1; -1]; b_303 - b_447 = [0; 0]; b_302 - b_447 = [-1; -1]; b_309 - b_447 = [-inf; -2]; b_308 - b_447 = [-inf; -3]; ULTIMATE.start_main_p1 - b_447 = [-inf; -4]; ULTIMATE.start_main_p3 - b_447 = [-inf; -2]; b_306 - b_447 = [-inf; -4]; v_4186 + v_4940 = [0; inf]; v_4186 - v_4940 = [0; inf]; v_4179 + v_4940 = [0; 0]; v_4179 - v_4940 = [0; 0]; v_4938 + v_4940 = [0; inf]; v_4938 - v_4940 = [0; inf]; v_4935 + v_4940 = [1; 1]; v_4935 - v_4940 = [1; 1]; v_4188 + v_4940 = [0; 0]; v_4188 - v_4940 = [0; 0]; v_4192 + v_4940 = [-inf; 0]; v_4192 - v_4940 = [-inf; 0]; v_4183 + v_4940 = [1; 1]; v_4183 - v_4940 = [1; 1]; v_4932 + v_4940 = [0; 0]; v_4932 - v_4940 = [0; 0]; v_4190 + v_4940 = [0; 0]; v_4190 - v_4940 = [0; 0]; ULTIMATE.start_main_p2 - b_304 = [-inf; -2]; ULTIMATE.start_main_p4 - b_304 = [0; 0]; ULTIMATE.start_malloc_ptr - b_304 = [0; 0]; b_303 - b_304 = [1; 1]; b_302 - b_304 = [0; 0]; ULTIMATE.start_main_p1 - b_304 = [-inf; -3]; ULTIMATE.start_main_p3 - b_304 = [-inf; -1]; b_304 - b_311 = [0; inf]; b_310 - b_311 = [-1; -1]; ULTIMATE.start_main_p2 - b_311 = [-inf; -2]; ULTIMATE.start_main_p4 - b_311 = [0; inf]; b_305 - b_311 = [1; inf]; b_307 - b_311 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_311 = [0; inf]; b_303 - b_311 = [1; inf]; b_302 - b_311 = [0; inf]; b_309 - b_311 = [-inf; -1]; b_308 - b_311 = [-inf; -2]; ULTIMATE.start_main_p1 - b_311 = [-inf; -3]; ULTIMATE.start_main_p3 - b_311 = [-1; -1]; b_306 - b_311 = [-inf; -3]; v_4179 + v_4186 = [0; inf]; v_4179 - v_4186 = [-inf; 0]; v_4183 + v_4186 = [1; inf]; v_4183 - v_4186 = [-inf; 1]; b_313 - b_452 = [3; inf]; b_447 - b_452 = [3; inf]; b_304 - b_452 = [2; inf]; b_311 - b_452 = [2; inf]; b_448 - b_452 = [2; inf]; b_310 - b_452 = [1; inf]; b_449 - b_452 = [3; inf]; ULTIMATE.start_main_p2 - b_452 = [0; 0]; b_446 - b_452 = [2; inf]; ULTIMATE.start_main_p4 - b_452 = [2; inf]; b_451 - b_452 = [-inf; 0]; b_305 - b_452 = [3; inf]; b_307 - b_452 = [-inf; 0]; b_312 - b_452 = [2; inf]; ULTIMATE.start_malloc_ptr - b_452 = [2; inf]; b_303 - b_452 = [3; inf]; b_302 - b_452 = [2; inf]; b_309 - b_452 = [1; 1]; b_308 - b_452 = [0; 0]; b_450 - b_452 = [-inf; -1]; ULTIMATE.start_main_p1 - b_452 = [-inf; -1]; ULTIMATE.start_main_p3 - b_452 = [1; inf]; b_306 - b_452 = [-inf; -1]; b_313 - b_448 = [1; 1]; b_447 - b_448 = [1; 1]; b_304 - b_448 = [0; 0]; b_311 - b_448 = [-inf; 0]; b_310 - b_448 = [-inf; -1]; ULTIMATE.start_main_p2 - b_448 = [-inf; -2]; b_446 - b_448 = [0; 0]; ULTIMATE.start_main_p4 - b_448 = [0; 0]; b_305 - b_448 = [1; 1]; b_307 - b_448 = [-inf; -2]; b_312 - b_448 = [0; 0]; ULTIMATE.start_malloc_ptr - b_448 = [0; 0]; b_303 - b_448 = [1; 1]; b_302 - b_448 = [0; 0]; b_309 - b_448 = [-inf; -1]; b_308 - b_448 = [-inf; -2]; ULTIMATE.start_main_p1 - b_448 = [-inf; -3]; ULTIMATE.start_main_p3 - b_448 = [-inf; -1]; b_306 - b_448 = [-inf; -3]; b_304 - b_310 = [1; inf]; ULTIMATE.start_main_p2 - b_310 = [-inf; -1]; ULTIMATE.start_main_p4 - b_310 = [1; inf]; b_305 - b_310 = [2; inf]; b_307 - b_310 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_310 = [1; inf]; b_303 - b_310 = [2; inf]; b_302 - b_310 = [1; inf]; b_309 - b_310 = [-inf; 0]; b_308 - b_310 = [-inf; -1]; ULTIMATE.start_main_p1 - b_310 = [-inf; -2]; ULTIMATE.start_main_p3 - b_310 = [0; 0]; b_306 - b_310 = [-inf; -2]; v_4186 + v_4938 = [0; inf]; v_4179 + v_4938 = [0; inf]; v_4179 - v_4938 = [-inf; 0]; v_4935 + v_4938 = [1; inf]; v_4935 - v_4938 = [-inf; 1]; v_4188 + v_4938 = [0; inf]; v_4188 - v_4938 = [-inf; 0]; v_4192 - v_4938 = [-inf; 0]; v_4183 + v_4938 = [1; inf]; v_4183 - v_4938 = [-inf; 1]; v_4932 + v_4938 = [0; inf]; v_4932 - v_4938 = [-inf; 0]; v_4190 + v_4938 = [0; inf]; v_4190 - v_4938 = [-inf; 0]; v_4940 + v_4944 = [-inf; 0]; v_4940 - v_4944 = [0; inf]; v_4186 - v_4944 = [0; inf]; v_4179 + v_4944 = [-inf; 0]; v_4179 - v_4944 = [0; inf]; v_4938 - v_4944 = [0; inf]; v_4942 + v_4944 = [-inf; 0]; v_4942 - v_4944 = [0; inf]; v_4935 + v_4944 = [-inf; 1]; v_4935 - v_4944 = [1; inf]; v_4188 + v_4944 = [-inf; 0]; v_4188 - v_4944 = [0; inf]; v_4192 + v_4944 = [-inf; 0]; v_4183 + v_4944 = [-inf; 1]; v_4183 - v_4944 = [1; inf]; v_4932 + v_4944 = [-inf; 0]; v_4932 - v_4944 = [0; inf]; v_4190 + v_4944 = [-inf; 0]; v_4190 - v_4944 = [0; inf]; b_313 - b_453 = [2; inf]; b_447 - b_453 = [2; inf]; b_304 - b_453 = [1; inf]; b_311 - b_453 = [1; inf]; b_452 - b_453 = [-1; -1]; b_448 - b_453 = [1; inf]; b_310 - b_453 = [0; inf]; b_449 - b_453 = [2; inf]; ULTIMATE.start_main_p2 - b_453 = [-1; -1]; b_446 - b_453 = [1; inf]; ULTIMATE.start_main_p4 - b_453 = [1; inf]; b_451 - b_453 = [-inf; -1]; b_305 - b_453 = [2; inf]; b_307 - b_453 = [-inf; -1]; b_312 - b_453 = [1; inf]; ULTIMATE.start_malloc_ptr - b_453 = [1; inf]; b_303 - b_453 = [2; inf]; b_302 - b_453 = [1; inf]; b_309 - b_453 = [0; 0]; b_308 - b_453 = [-1; -1]; b_450 - b_453 = [-inf; -2]; ULTIMATE.start_main_p1 - b_453 = [-inf; -2]; ULTIMATE.start_main_p3 - b_453 = [0; inf]; b_306 - b_453 = [-inf; -2]; b_313 - b_449 = [0; 0]; b_447 - b_449 = [0; 0]; b_304 - b_449 = [-1; -1]; b_311 - b_449 = [-inf; -1]; b_448 - b_449 = [-1; -1]; b_310 - b_449 = [-inf; -2]; ULTIMATE.start_main_p2 - b_449 = [-inf; -3]; b_446 - b_449 = [-1; -1]; ULTIMATE.start_main_p4 - b_449 = [-1; -1]; b_305 - b_449 = [0; 0]; b_307 - b_449 = [-inf; -3]; b_312 - b_449 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_449 = [-1; -1]; b_303 - b_449 = [0; 0]; b_302 - b_449 = [-1; -1]; b_309 - b_449 = [-inf; -2]; b_308 - b_449 = [-inf; -3]; ULTIMATE.start_main_p1 - b_449 = [-inf; -4]; ULTIMATE.start_main_p3 - b_449 = [-inf; -2]; b_306 - b_449 = [-inf; -4]; b_313 - b_456 = [1; 1]; b_447 - b_456 = [1; 1]; b_304 - b_456 = [0; 0]; b_311 - b_456 = [-inf; 0]; b_452 - b_456 = [-inf; -2]; b_448 - b_456 = [0; 0]; b_310 - b_456 = [-inf; -1]; b_453 - b_456 = [-inf; -1]; b_449 - b_456 = [1; 1]; ULTIMATE.start_main_p2 - b_456 = [-inf; -2]; b_446 - b_456 = [0; 0]; ULTIMATE.start_main_p4 - b_456 = [0; 0]; b_451 - b_456 = [-inf; -2]; b_305 - b_456 = [1; 1]; b_307 - b_456 = [-inf; -2]; b_455 - b_456 = [-inf; 0]; b_312 - b_456 = [0; 0]; ULTIMATE.start_malloc_ptr - b_456 = [0; 0]; b_303 - b_456 = [1; 1]; b_454 - b_456 = [-inf; -1]; b_302 - b_456 = [0; 0]; b_309 - b_456 = [-inf; -1]; b_308 - b_456 = [-inf; -2]; b_450 - b_456 = [-inf; -3]; ULTIMATE.start_main_p1 - b_456 = [-inf; -3]; ULTIMATE.start_main_p3 - b_456 = [-inf; -1]; b_306 - b_456 = [-inf; -3]; b_313 - b_457 = [0; 0]; b_447 - b_457 = [0; 0]; b_304 - b_457 = [-1; -1]; b_311 - b_457 = [-inf; -1]; b_452 - b_457 = [-inf; -3]; b_448 - b_457 = [-1; -1]; b_310 - b_457 = [-inf; -2]; b_453 - b_457 = [-inf; -2]; b_449 - b_457 = [0; 0]; b_456 - b_457 = [-1; -1]; ULTIMATE.start_main_p2 - b_457 = [-inf; -3]; b_446 - b_457 = [-1; -1]; ULTIMATE.start_main_p4 - b_457 = [-1; -1]; b_451 - b_457 = [-inf; -3]; b_305 - b_457 = [0; 0]; b_307 - b_457 = [-inf; -3]; b_455 - b_457 = [-inf; -1]; b_312 - b_457 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_457 = [-1; -1]; b_303 - b_457 = [0; 0]; b_454 - b_457 = [-inf; -2]; b_302 - b_457 = [-1; -1]; b_309 - b_457 = [-inf; -2]; b_308 - b_457 = [-inf; -3]; b_450 - b_457 = [-inf; -4]; ULTIMATE.start_main_p1 - b_457 = [-inf; -4]; ULTIMATE.start_main_p3 - b_457 = [-inf; -2]; b_306 - b_457 = [-inf; -4]; v_4940 + v_4942 = [0; 0]; v_4940 - v_4942 = [0; 0]; v_4186 + v_4942 = [0; inf]; v_4186 - v_4942 = [0; inf]; v_4179 + v_4942 = [0; 0]; v_4179 - v_4942 = [0; 0]; v_4938 + v_4942 = [0; inf]; v_4938 - v_4942 = [0; inf]; v_4935 + v_4942 = [1; 1]; v_4935 - v_4942 = [1; 1]; v_4188 + v_4942 = [0; 0]; v_4188 - v_4942 = [0; 0]; v_4192 + v_4942 = [-inf; 0]; v_4192 - v_4942 = [-inf; 0]; v_4183 + v_4942 = [1; 1]; v_4183 - v_4942 = [1; 1]; v_4932 + v_4942 = [0; 0]; v_4932 - v_4942 = [0; 0]; v_4190 + v_4942 = [0; 0]; v_4190 - v_4942 = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p2 = [-inf; -1]; v_4186 + v_4935 = [1; inf]; v_4186 - v_4935 = [-1; inf]; v_4179 + v_4935 = [1; 1]; v_4179 - v_4935 = [-1; -1]; v_4188 + v_4935 = [1; 1]; v_4188 - v_4935 = [-1; -1]; v_4192 + v_4935 = [-inf; 1]; v_4192 - v_4935 = [-inf; -1]; v_4183 + v_4935 = [2; 2]; v_4183 - v_4935 = [0; 0]; v_4932 + v_4935 = [1; 1]; v_4932 - v_4935 = [-1; -1]; v_4190 + v_4935 = [1; 1]; v_4190 - v_4935 = [-1; -1]; v_4186 + v_4188 = [0; inf]; v_4186 - v_4188 = [0; inf]; v_4179 + v_4188 = [0; 0]; v_4179 - v_4188 = [0; 0]; v_4183 + v_4188 = [1; 1]; v_4183 - v_4188 = [1; 1]; b_313 - b_446 = [1; 1]; b_304 - b_446 = [0; 0]; b_311 - b_446 = [-inf; 0]; b_310 - b_446 = [-inf; -1]; ULTIMATE.start_main_p2 - b_446 = [-inf; -2]; ULTIMATE.start_main_p4 - b_446 = [0; 0]; b_305 - b_446 = [1; 1]; b_307 - b_446 = [-inf; -2]; b_312 - b_446 = [0; 0]; ULTIMATE.start_malloc_ptr - b_446 = [0; 0]; b_303 - b_446 = [1; 1]; b_302 - b_446 = [0; 0]; b_309 - b_446 = [-inf; -1]; b_308 - b_446 = [-inf; -2]; ULTIMATE.start_main_p1 - b_446 = [-inf; -3]; ULTIMATE.start_main_p3 - b_446 = [-inf; -1]; b_306 - b_446 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p4 = [-inf; -2]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p4 = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_main_p4 = [-inf; -1]; b_313 - b_451 = [3; inf]; b_447 - b_451 = [3; inf]; b_304 - b_451 = [2; inf]; b_311 - b_451 = [2; inf]; b_448 - b_451 = [2; inf]; b_310 - b_451 = [1; inf]; b_449 - b_451 = [3; inf]; ULTIMATE.start_main_p2 - b_451 = [0; inf]; b_446 - b_451 = [2; inf]; ULTIMATE.start_main_p4 - b_451 = [2; inf]; b_305 - b_451 = [3; inf]; b_307 - b_451 = [0; 0]; b_312 - b_451 = [2; inf]; ULTIMATE.start_malloc_ptr - b_451 = [2; inf]; b_303 - b_451 = [3; inf]; b_302 - b_451 = [2; inf]; b_309 - b_451 = [1; inf]; b_308 - b_451 = [0; inf]; b_450 - b_451 = [-1; -1]; ULTIMATE.start_main_p1 - b_451 = [-1; -1]; ULTIMATE.start_main_p3 - b_451 = [1; inf]; b_306 - b_451 = [-1; -1]; b_304 - b_305 = [-1; -1]; ULTIMATE.start_main_p2 - b_305 = [-inf; -3]; ULTIMATE.start_main_p4 - b_305 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_305 = [-1; -1]; b_303 - b_305 = [0; 0]; b_302 - b_305 = [-1; -1]; ULTIMATE.start_main_p1 - b_305 = [-inf; -4]; ULTIMATE.start_main_p3 - b_305 = [-inf; -2]; b_304 - b_307 = [2; inf]; ULTIMATE.start_main_p2 - b_307 = [0; inf]; ULTIMATE.start_main_p4 - b_307 = [2; inf]; b_305 - b_307 = [3; inf]; ULTIMATE.start_malloc_ptr - b_307 = [2; inf]; b_303 - b_307 = [3; inf]; b_302 - b_307 = [2; inf]; ULTIMATE.start_main_p1 - b_307 = [-1; -1]; ULTIMATE.start_main_p3 - b_307 = [1; inf]; b_306 - b_307 = [-1; -1]; b_313 - b_455 = [1; inf]; b_447 - b_455 = [1; inf]; b_304 - b_455 = [0; inf]; b_311 - b_455 = [0; 0]; b_452 - b_455 = [-inf; -2]; b_448 - b_455 = [0; inf]; b_310 - b_455 = [-1; -1]; b_453 - b_455 = [-inf; -1]; b_449 - b_455 = [1; inf]; ULTIMATE.start_main_p2 - b_455 = [-inf; -2]; b_446 - b_455 = [0; inf]; ULTIMATE.start_main_p4 - b_455 = [0; inf]; b_451 - b_455 = [-inf; -2]; b_305 - b_455 = [1; inf]; b_307 - b_455 = [-inf; -2]; b_312 - b_455 = [0; inf]; ULTIMATE.start_malloc_ptr - b_455 = [0; inf]; b_303 - b_455 = [1; inf]; b_454 - b_455 = [-1; -1]; b_302 - b_455 = [0; inf]; b_309 - b_455 = [-inf; -1]; b_308 - b_455 = [-inf; -2]; b_450 - b_455 = [-inf; -3]; ULTIMATE.start_main_p1 - b_455 = [-inf; -3]; ULTIMATE.start_main_p3 - b_455 = [-1; -1]; b_306 - b_455 = [-inf; -3]; b_304 - b_312 = [0; 0]; b_311 - b_312 = [-inf; 0]; b_310 - b_312 = [-inf; -1]; ULTIMATE.start_main_p2 - b_312 = [-inf; -2]; ULTIMATE.start_main_p4 - b_312 = [0; 0]; b_305 - b_312 = [1; 1]; b_307 - b_312 = [-inf; -2]; ULTIMATE.start_malloc_ptr - b_312 = [0; 0]; b_303 - b_312 = [1; 1]; b_302 - b_312 = [0; 0]; b_309 - b_312 = [-inf; -1]; b_308 - b_312 = [-inf; -2]; ULTIMATE.start_main_p1 - b_312 = [-inf; -3]; ULTIMATE.start_main_p3 - b_312 = [-inf; -1]; b_306 - b_312 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_malloc_ptr = [-inf; -2]; ULTIMATE.start_main_p4 - ULTIMATE.start_malloc_ptr = [0; 0]; ULTIMATE.start_main_p1 - ULTIMATE.start_malloc_ptr = [-inf; -3]; ULTIMATE.start_main_p3 - ULTIMATE.start_malloc_ptr = [-inf; -1]; v_4186 - v_4192 = [0; inf]; v_4179 + v_4192 = [-inf; 0]; v_4179 - v_4192 = [0; inf]; v_4188 + v_4192 = [-inf; 0]; v_4188 - v_4192 = [0; inf]; v_4183 + v_4192 = [-inf; 1]; v_4183 - v_4192 = [1; inf]; v_4190 + v_4192 = [-inf; 0]; v_4190 - v_4192 = [0; inf]; ULTIMATE.start_main_p2 - b_303 = [-inf; -3]; ULTIMATE.start_main_p4 - b_303 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_303 = [-1; -1]; b_302 - b_303 = [-1; -1]; ULTIMATE.start_main_p1 - b_303 = [-inf; -4]; ULTIMATE.start_main_p3 - b_303 = [-inf; -2]; v_4179 + v_4183 = [1; 1]; v_4179 - v_4183 = [-1; -1]; b_313 - b_454 = [2; inf]; b_447 - b_454 = [2; inf]; b_304 - b_454 = [1; inf]; b_311 - b_454 = [1; 1]; b_452 - b_454 = [-inf; -1]; b_448 - b_454 = [1; inf]; b_310 - b_454 = [0; 0]; b_453 - b_454 = [-inf; 0]; b_449 - b_454 = [2; inf]; ULTIMATE.start_main_p2 - b_454 = [-inf; -1]; b_446 - b_454 = [1; inf]; ULTIMATE.start_main_p4 - b_454 = [1; inf]; b_451 - b_454 = [-inf; -1]; b_305 - b_454 = [2; inf]; b_307 - b_454 = [-inf; -1]; b_312 - b_454 = [1; inf]; ULTIMATE.start_malloc_ptr - b_454 = [1; inf]; b_303 - b_454 = [2; inf]; b_302 - b_454 = [1; inf]; b_309 - b_454 = [-inf; 0]; b_308 - b_454 = [-inf; -1]; b_450 - b_454 = [-inf; -2]; ULTIMATE.start_main_p1 - b_454 = [-inf; -2]; ULTIMATE.start_main_p3 - b_454 = [0; 0]; b_306 - b_454 = [-inf; -2]; v_4940 + v_4947 = [0; 0]; v_4940 - v_4947 = [0; 0]; v_4186 + v_4947 = [0; inf]; v_4186 - v_4947 = [0; inf]; v_4179 + v_4947 = [0; 0]; v_4179 - v_4947 = [0; 0]; v_4938 + v_4947 = [0; inf]; v_4938 - v_4947 = [0; inf]; v_4944 + v_4947 = [-inf; 0]; v_4944 - v_4947 = [-inf; 0]; v_4942 + v_4947 = [0; 0]; v_4942 - v_4947 = [0; 0]; v_4935 + v_4947 = [1; 1]; v_4935 - v_4947 = [1; 1]; v_4188 + v_4947 = [0; 0]; v_4188 - v_4947 = [0; 0]; v_4192 + v_4947 = [-inf; 0]; v_4192 - v_4947 = [-inf; 0]; v_4183 + v_4947 = [1; 1]; v_4183 - v_4947 = [1; 1]; v_4932 + v_4947 = [0; 0]; v_4932 - v_4947 = [0; 0]; v_4190 + v_4947 = [0; 0]; v_4190 - v_4947 = [0; 0]; ULTIMATE.start_main_p2 - b_302 = [-inf; -2]; ULTIMATE.start_main_p4 - b_302 = [0; 0]; ULTIMATE.start_malloc_ptr - b_302 = [0; 0]; ULTIMATE.start_main_p1 - b_302 = [-inf; -3]; ULTIMATE.start_main_p3 - b_302 = [-inf; -1]; b_304 - b_309 = [1; inf]; ULTIMATE.start_main_p2 - b_309 = [-1; -1]; ULTIMATE.start_main_p4 - b_309 = [1; inf]; b_305 - b_309 = [2; inf]; b_307 - b_309 = [-inf; -1]; ULTIMATE.start_malloc_ptr - b_309 = [1; inf]; b_303 - b_309 = [2; inf]; b_302 - b_309 = [1; inf]; b_308 - b_309 = [-1; -1]; ULTIMATE.start_main_p1 - b_309 = [-inf; -2]; ULTIMATE.start_main_p3 - b_309 = [0; inf]; b_306 - b_309 = [-inf; -2]; v_4186 + v_4932 = [0; inf]; v_4186 - v_4932 = [0; inf]; v_4179 + v_4932 = [0; 0]; v_4179 - v_4932 = [0; 0]; v_4188 + v_4932 = [0; 0]; v_4188 - v_4932 = [0; 0]; v_4192 + v_4932 = [-inf; 0]; v_4192 - v_4932 = [-inf; 0]; v_4183 + v_4932 = [1; 1]; v_4183 - v_4932 = [1; 1]; v_4190 + v_4932 = [0; 0]; v_4190 - v_4932 = [0; 0]; b_304 - b_308 = [2; inf]; ULTIMATE.start_main_p2 - b_308 = [0; 0]; ULTIMATE.start_main_p4 - b_308 = [2; inf]; b_305 - b_308 = [3; inf]; b_307 - b_308 = [-inf; 0]; ULTIMATE.start_malloc_ptr - b_308 = [2; inf]; b_303 - b_308 = [3; inf]; b_302 - b_308 = [2; inf]; ULTIMATE.start_main_p1 - b_308 = [-inf; -1]; ULTIMATE.start_main_p3 - b_308 = [1; inf]; b_306 - b_308 = [-inf; -1]; b_313 - b_450 = [4; inf]; b_447 - b_450 = [4; inf]; b_304 - b_450 = [3; inf]; b_311 - b_450 = [3; inf]; b_448 - b_450 = [3; inf]; b_310 - b_450 = [2; inf]; b_449 - b_450 = [4; inf]; ULTIMATE.start_main_p2 - b_450 = [1; inf]; b_446 - b_450 = [3; inf]; ULTIMATE.start_main_p4 - b_450 = [3; inf]; b_305 - b_450 = [4; inf]; b_307 - b_450 = [1; 1]; b_312 - b_450 = [3; inf]; ULTIMATE.start_malloc_ptr - b_450 = [3; inf]; b_303 - b_450 = [4; inf]; b_302 - b_450 = [3; inf]; b_309 - b_450 = [2; inf]; b_308 - b_450 = [1; inf]; ULTIMATE.start_main_p1 - b_450 = [0; 0]; ULTIMATE.start_main_p3 - b_450 = [2; inf]; b_306 - b_450 = [0; 0]; b_313 - b_459 = [0; 0]; b_447 - b_459 = [0; 0]; b_304 - b_459 = [-1; -1]; b_311 - b_459 = [-inf; -1]; b_452 - b_459 = [-inf; -3]; b_448 - b_459 = [-1; -1]; b_310 - b_459 = [-inf; -2]; b_453 - b_459 = [-inf; -2]; b_449 - b_459 = [0; 0]; b_456 - b_459 = [-1; -1]; b_457 - b_459 = [0; 0]; ULTIMATE.start_main_p2 - b_459 = [-inf; -3]; b_446 - b_459 = [-1; -1]; ULTIMATE.start_main_p4 - b_459 = [-1; -1]; b_451 - b_459 = [-inf; -3]; b_305 - b_459 = [0; 0]; b_307 - b_459 = [-inf; -3]; b_455 - b_459 = [-inf; -1]; b_312 - b_459 = [-1; -1]; ULTIMATE.start_malloc_ptr - b_459 = [-1; -1]; b_303 - b_459 = [0; 0]; b_454 - b_459 = [-inf; -2]; b_302 - b_459 = [-1; -1]; b_309 - b_459 = [-inf; -2]; b_308 - b_459 = [-inf; -3]; b_450 - b_459 = [-inf; -4]; ULTIMATE.start_main_p1 - b_459 = [-inf; -4]; b_458 - b_459 = [-1; -1]; ULTIMATE.start_main_p3 - b_459 = [-inf; -2]; b_306 - b_459 = [-inf; -4]; b_313 - b_458 = [1; 1]; b_447 - b_458 = [1; 1]; b_304 - b_458 = [0; 0]; b_311 - b_458 = [-inf; 0]; b_452 - b_458 = [-inf; -2]; b_448 - b_458 = [0; 0]; b_310 - b_458 = [-inf; -1]; b_453 - b_458 = [-inf; -1]; b_449 - b_458 = [1; 1]; b_456 - b_458 = [0; 0]; b_457 - b_458 = [1; 1]; ULTIMATE.start_main_p2 - b_458 = [-inf; -2]; b_446 - b_458 = [0; 0]; ULTIMATE.start_main_p4 - b_458 = [0; 0]; b_451 - b_458 = [-inf; -2]; b_305 - b_458 = [1; 1]; b_307 - b_458 = [-inf; -2]; b_455 - b_458 = [-inf; 0]; b_312 - b_458 = [0; 0]; ULTIMATE.start_malloc_ptr - b_458 = [0; 0]; b_303 - b_458 = [1; 1]; b_454 - b_458 = [-inf; -1]; b_302 - b_458 = [0; 0]; b_309 - b_458 = [-inf; -1]; b_308 - b_458 = [-inf; -2]; b_450 - b_458 = [-inf; -3]; ULTIMATE.start_main_p1 - b_458 = [-inf; -3]; ULTIMATE.start_main_p3 - b_458 = [-inf; -1]; b_306 - b_458 = [-inf; -3]; ULTIMATE.start_main_p2 - ULTIMATE.start_main_p3 = [-inf; -1]; ULTIMATE.start_main_p1 - ULTIMATE.start_main_p3 = [-inf; -2]; b_304 - b_306 = [3; inf]; ULTIMATE.start_main_p2 - b_306 = [1; inf]; ULTIMATE.start_main_p4 - b_306 = [3; inf]; b_305 - b_306 = [4; inf]; ULTIMATE.start_malloc_ptr - b_306 = [3; inf]; b_303 - b_306 = [4; inf]; b_302 - b_306 = [3; inf]; ULTIMATE.start_main_p1 - b_306 = [0; 0]; ULTIMATE.start_main_p3 - b_306 = [2; inf]; v_4186 + v_4190 = [0; inf]; v_4186 - v_4190 = [0; inf]; v_4179 + v_4190 = [0; 0]; v_4179 - v_4190 = [0; 0]; v_4188 + v_4190 = [0; 0]; v_4188 - v_4190 = [0; 0]; v_4183 + v_4190 = [1; 1]; v_4183 - v_4190 = [1; 1]}, }: de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2.domain.array.ArrayDomainState.checkSegmentationMap(ArrayDomainState.java:106) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request...