java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/AbstractInterpretationInline.xml -s ../../../trunk/examples/settings/ai/array-bench/reach_32bit_compound_exp_cong.epf -i ../../../trunk/examples/programs/20181010-MemSafetyPathprograms/ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-b8c145f [2019-08-05 12:17:14,437 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-08-05 12:17:14,444 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-08-05 12:17:14,456 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-08-05 12:17:14,456 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-08-05 12:17:14,457 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-08-05 12:17:14,458 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-08-05 12:17:14,460 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-08-05 12:17:14,462 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-08-05 12:17:14,463 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-08-05 12:17:14,464 INFO L181 SettingsManager]: Resetting Symbolic Interpretation preferences to default values [2019-08-05 12:17:14,464 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-08-05 12:17:14,465 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-08-05 12:17:14,466 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-08-05 12:17:14,467 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-08-05 12:17:14,468 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-08-05 12:17:14,469 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-08-05 12:17:14,470 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-08-05 12:17:14,471 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-08-05 12:17:14,474 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-08-05 12:17:14,478 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-08-05 12:17:14,479 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-08-05 12:17:14,480 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-08-05 12:17:14,481 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-08-05 12:17:14,484 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-08-05 12:17:14,484 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-08-05 12:17:14,485 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-08-05 12:17:14,486 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-08-05 12:17:14,488 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-08-05 12:17:14,489 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-08-05 12:17:14,489 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-08-05 12:17:14,491 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-08-05 12:17:14,494 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-08-05 12:17:14,495 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-08-05 12:17:14,496 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-08-05 12:17:14,496 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-08-05 12:17:14,497 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-08-05 12:17:14,497 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-08-05 12:17:14,498 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-08-05 12:17:14,499 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-08-05 12:17:14,500 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-08-05 12:17:14,501 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/array-bench/reach_32bit_compound_exp_cong.epf [2019-08-05 12:17:14,526 INFO L113 SettingsManager]: Loading preferences was successful [2019-08-05 12:17:14,527 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-08-05 12:17:14,528 INFO L136 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2019-08-05 12:17:14,529 INFO L138 SettingsManager]: * Show backtranslation warnings=false [2019-08-05 12:17:14,529 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-08-05 12:17:14,529 INFO L138 SettingsManager]: * User list type=DISABLED [2019-08-05 12:17:14,529 INFO L138 SettingsManager]: * Inline calls to unimplemented procedures=true [2019-08-05 12:17:14,529 INFO L136 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-08-05 12:17:14,530 INFO L138 SettingsManager]: * Explicit value domain=true [2019-08-05 12:17:14,530 INFO L138 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-08-05 12:17:14,530 INFO L138 SettingsManager]: * Octagon Domain=false [2019-08-05 12:17:14,530 INFO L138 SettingsManager]: * Abstract domain=CompoundDomain [2019-08-05 12:17:14,530 INFO L138 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-08-05 12:17:14,531 INFO L138 SettingsManager]: * Interval Domain=false [2019-08-05 12:17:14,531 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-08-05 12:17:14,531 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-08-05 12:17:14,532 INFO L138 SettingsManager]: * Use SBE=true [2019-08-05 12:17:14,532 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-08-05 12:17:14,534 INFO L138 SettingsManager]: * sizeof long=4 [2019-08-05 12:17:14,535 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-08-05 12:17:14,535 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-08-05 12:17:14,535 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-08-05 12:17:14,535 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2019-08-05 12:17:14,535 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-08-05 12:17:14,535 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2019-08-05 12:17:14,536 INFO L138 SettingsManager]: * sizeof long double=12 [2019-08-05 12:17:14,536 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-08-05 12:17:14,536 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2019-08-05 12:17:14,536 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-08-05 12:17:14,536 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-08-05 12:17:14,537 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2019-08-05 12:17:14,537 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-08-05 12:17:14,537 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-08-05 12:17:14,538 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-08-05 12:17:14,538 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2019-08-05 12:17:14,538 INFO L138 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-08-05 12:17:14,538 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-08-05 12:17:14,539 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2019-08-05 12:17:14,539 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2019-08-05 12:17:14,539 INFO L138 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2019-08-05 12:17:14,583 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-08-05 12:17:14,602 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-08-05 12:17:14,606 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-08-05 12:17:14,607 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-08-05 12:17:14,608 INFO L275 PluginConnector]: Boogie PL CUP Parser initialized [2019-08-05 12:17:14,609 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl [2019-08-05 12:17:14,609 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl' [2019-08-05 12:17:14,664 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-08-05 12:17:14,666 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-08-05 12:17:14,667 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-08-05 12:17:14,667 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-08-05 12:17:14,668 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-08-05 12:17:14,685 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:14" (1/1) ... [2019-08-05 12:17:14,701 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:14" (1/1) ... [2019-08-05 12:17:14,712 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-08-05 12:17:14,713 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-08-05 12:17:14,713 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-08-05 12:17:14,713 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-08-05 12:17:14,724 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:14" (1/1) ... [2019-08-05 12:17:14,724 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:14" (1/1) ... [2019-08-05 12:17:14,728 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:14" (1/1) ... [2019-08-05 12:17:14,731 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:14" (1/1) ... [2019-08-05 12:17:14,740 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:14" (1/1) ... [2019-08-05 12:17:14,742 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:14" (1/1) ... [2019-08-05 12:17:14,744 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:14" (1/1) ... [2019-08-05 12:17:14,746 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-08-05 12:17:14,747 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-08-05 12:17:14,747 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-08-05 12:17:14,747 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-08-05 12:17:14,748 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:14" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-08-05 12:17:14,816 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2019-08-05 12:17:14,816 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-08-05 12:17:14,816 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-08-05 12:17:15,190 INFO L684 $ProcedureCfgBuilder]: dead code at ProgramPoint ULTIMATE.startFINAL: assume true; [2019-08-05 12:17:15,193 INFO L278 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-08-05 12:17:15,193 INFO L283 CfgBuilder]: Removed 0 assume(true) statements. [2019-08-05 12:17:15,195 INFO L202 PluginConnector]: Adding new model ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:17:15 BoogieIcfgContainer [2019-08-05 12:17:15,195 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-08-05 12:17:15,196 INFO L113 PluginConnector]: ------------------------Abstract Interpretation---------------------------- [2019-08-05 12:17:15,196 INFO L271 PluginConnector]: Initializing Abstract Interpretation... [2019-08-05 12:17:15,196 INFO L275 PluginConnector]: Abstract Interpretation initialized [2019-08-05 12:17:15,198 INFO L185 PluginConnector]: Executing the observer AbstractInterpretationRcfgObserver from plugin Abstract Interpretation for "ArraysOfVariableLength2_true-valid-memsafety.c_19.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:17:15" (1/1) ... [2019-08-05 12:17:15,238 INFO L101 FixpointEngine]: Starting fixpoint engine with domain CompoundDomain (maxUnwinding=3, maxParallelStates=2) [2019-08-05 12:17:15,573 INFO L263 AbstractInterpreter]: Some error location(s) were reachable [2019-08-05 12:17:15,600 INFO L272 AbstractInterpreter]: Visited 9 different actions 27 times. Merged at 5 different actions 9 times. Widened at 1 different actions 1 times. Performed 861 root evaluator evaluations with a maximum evaluation depth of 3. Performed 861 inverse root evaluator evaluations with a maximum inverse evaluation depth of 3. Found 8 fixpoints after 4 different actions. Largest state had 0 variables. [2019-08-05 12:17:15,600 INFO L132 PluginConnector]: ------------------------ END Abstract Interpretation---------------------------- [2019-08-05 12:17:15,603 INFO L168 Benchmark]: Toolchain (without parser) took 936.76 ms. Allocated memory is still 133.2 MB. Free memory was 106.7 MB in the beginning and 69.6 MB in the end (delta: 37.1 MB). Peak memory consumption was 37.1 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:15,609 INFO L168 Benchmark]: Boogie PL CUP Parser took 0.16 ms. Allocated memory is still 133.2 MB. Free memory was 108.4 MB in the beginning and 108.1 MB in the end (delta: 209.9 kB). Peak memory consumption was 209.9 kB. Max. memory is 7.1 GB. [2019-08-05 12:17:15,610 INFO L168 Benchmark]: Boogie Procedure Inliner took 44.99 ms. Allocated memory is still 133.2 MB. Free memory was 106.5 MB in the beginning and 104.8 MB in the end (delta: 1.7 MB). Peak memory consumption was 1.7 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:15,614 INFO L168 Benchmark]: Boogie Preprocessor took 34.19 ms. Allocated memory is still 133.2 MB. Free memory was 104.8 MB in the beginning and 103.4 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:15,615 INFO L168 Benchmark]: RCFGBuilder took 447.96 ms. Allocated memory is still 133.2 MB. Free memory was 103.4 MB in the beginning and 88.5 MB in the end (delta: 14.9 MB). Peak memory consumption was 14.9 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:15,618 INFO L168 Benchmark]: Abstract Interpretation took 404.83 ms. Allocated memory is still 133.2 MB. Free memory was 88.3 MB in the beginning and 69.6 MB in the end (delta: 18.7 MB). Peak memory consumption was 18.7 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:15,626 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Boogie PL CUP Parser took 0.16 ms. Allocated memory is still 133.2 MB. Free memory was 108.4 MB in the beginning and 108.1 MB in the end (delta: 209.9 kB). Peak memory consumption was 209.9 kB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 44.99 ms. Allocated memory is still 133.2 MB. Free memory was 106.5 MB in the beginning and 104.8 MB in the end (delta: 1.7 MB). Peak memory consumption was 1.7 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 34.19 ms. Allocated memory is still 133.2 MB. Free memory was 104.8 MB in the beginning and 103.4 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. * RCFGBuilder took 447.96 ms. Allocated memory is still 133.2 MB. Free memory was 103.4 MB in the beginning and 88.5 MB in the end (delta: 14.9 MB). Peak memory consumption was 14.9 MB. Max. memory is 7.1 GB. * Abstract Interpretation took 404.83 ms. Allocated memory is still 133.2 MB. Free memory was 88.3 MB in the beginning and 69.6 MB in the end (delta: 18.7 MB). Peak memory consumption was 18.7 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2: - UnprovableResult [Line: 119]: Unable to prove that assertion always holds Unable to prove that assertion always holds Reason: abstract domain could reach this error location. Possible FailurePath: [L67] #NULL.offset, #NULL.base := 0, 0; [L68] #valid := #valid[0 := 0]; [L69] main_old_#valid := #valid; [L70] havoc main_#res; [L71] havoc main_#t~mem7, main_~#b~0.base, main_~i~2, main_~#b~0.offset, main_#t~ret6, main_#t~post5; [L72] havoc main_~i~2; [L73] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L74] #Ultimate.alloc_~size := 400; [L75] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L76] havoc #valid, #length; [L77] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L78] assume #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1] == #valid; [L79] assume #Ultimate.alloc_#res.offset == 0; [L80] assume !(0 == #Ultimate.alloc_#res.base); [L81] assume #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size] == #length; [L82] main_~#b~0.base, main_~#b~0.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset; [L83] main_~i~2 := 0; [L98] assume main_~i~2 < 100; [L99] foo_#in~b.offset, foo_#in~size, foo_#in~b.base, foo_#in~n := main_~#b~0.offset, main_~i~2, main_~#b~0.base, main_~i~2; [L100] havoc foo_#res; [L101] havoc foo_~n, foo_#t~post2, foo_#t~ret4, foo_~i~1, foo_~#a~0.base, foo_~b.offset, foo_~b.base, foo_~size, foo_#t~mem3, foo_~#a~0.offset; [L102] foo_~n := foo_#in~n; [L103] foo_~b.offset, foo_~b.base := foo_#in~b.offset, foo_#in~b.base; [L104] foo_~size := foo_#in~size; [L105] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L106] #Ultimate.alloc_~size := 4 * foo_~n; [L107] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L108] havoc #valid, #length; [L109] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L110] assume #valid == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1]; [L111] assume #Ultimate.alloc_#res.offset == 0; [L112] assume !(0 == #Ultimate.alloc_#res.base); [L113] assume #length == #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size]; [L114] foo_~#a~0.base, foo_~#a~0.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset; [L115] havoc foo_~i~1; [L116] foo_~i~1 := 0; [L125] assume !(foo_~i~1 < foo_~size); [L126] bar_#in~size, bar_#in~b.offset, bar_#in~b.base := foo_~size, foo_~#a~0.offset, foo_~#a~0.base; [L127] havoc bar_#res; [L128] havoc bar_~b.offset, bar_~size, bar_#t~mem1, bar_~b.base, bar_~i~0, bar_#t~post0, bar_~res~0; [L129] bar_~b.offset, bar_~b.base := bar_#in~b.offset, bar_#in~b.base; [L130] bar_~size := bar_#in~size; [L131] bar_~res~0 := 0; [L132] havoc bar_~i~0; [L133] bar_~i~0 := 0; [L163] assume !(bar_~i~0 < bar_~size); [L164] bar_#res := bar_~res~0; [L165] foo_#t~ret4 := bar_#res; [L166] assume foo_#t~ret4 <= 2147483647 && 0 <= foo_#t~ret4 + 2147483648; [L167] assume 0 == foo_#t~ret4; [L168] havoc foo_#t~ret4; [L169] foo_#res := foo_~i~1; [L170] ULTIMATE.dealloc_old_#valid := #valid; [L171] ULTIMATE.dealloc_~addr.base, ULTIMATE.dealloc_~addr.offset := foo_~#a~0.base, foo_~#a~0.offset; [L172] havoc #valid; [L173] assume #valid == ULTIMATE.dealloc_old_#valid[ULTIMATE.dealloc_~addr.base := 0]; [L174] havoc foo_~#a~0.base, foo_~#a~0.offset; [L175] main_#t~ret6 := foo_#res; [L176] assume main_#t~ret6 <= 2147483647 && 0 <= main_#t~ret6 + 2147483648; [L177] write~int_old_#memory_int := #memory_int; [L178] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 4, main_~#b~0.base, main_#t~ret6, main_~#b~0.offset + 4 * main_~i~2; [L179] assume #valid[write~int_#ptr.base] == 1; [L180] assume 0 <= write~int_#ptr.offset && write~int_#ptr.offset + write~int_#sizeOfWrittenType <= #length[write~int_#ptr.base]; [L181] assume 1 == #valid[write~int_#ptr.base]; [L182] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L183] havoc #memory_int; [L184] assume write~int_old_#memory_int[write~int_#ptr.base := write~int_old_#memory_int[write~int_#ptr.base][write~int_#ptr.offset := write~int_#value]] == #memory_int; [L185] havoc main_#t~ret6; [L186] main_#t~post5 := main_~i~2; [L187] main_~i~2 := main_#t~post5 + 1; [L188] havoc main_#t~post5; [L98] assume main_~i~2 < 100; [L99] foo_#in~b.offset, foo_#in~size, foo_#in~b.base, foo_#in~n := main_~#b~0.offset, main_~i~2, main_~#b~0.base, main_~i~2; [L100] havoc foo_#res; [L101] havoc foo_~n, foo_#t~post2, foo_#t~ret4, foo_~i~1, foo_~#a~0.base, foo_~b.offset, foo_~b.base, foo_~size, foo_#t~mem3, foo_~#a~0.offset; [L102] foo_~n := foo_#in~n; [L103] foo_~b.offset, foo_~b.base := foo_#in~b.offset, foo_#in~b.base; [L104] foo_~size := foo_#in~size; [L105] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L106] #Ultimate.alloc_~size := 4 * foo_~n; [L107] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L108] havoc #valid, #length; [L109] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L110] assume #valid == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1]; [L111] assume #Ultimate.alloc_#res.offset == 0; [L112] assume !(0 == #Ultimate.alloc_#res.base); [L113] assume #length == #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size]; [L114] foo_~#a~0.base, foo_~#a~0.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset; [L115] havoc foo_~i~1; [L116] foo_~i~1 := 0; [L136] assume foo_~i~1 < foo_~size; [L137] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := foo_~b.base, 4 * foo_~i~1 + foo_~b.offset, 4; [L138] assume 1 == #valid[read~int_#ptr.base]; [L139] assume 0 <= read~int_#ptr.offset && read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]; [L140] assume #valid[read~int_#ptr.base] == 1; [L141] assume 0 <= read~int_#ptr.offset && read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]; [L142] havoc read~int_#value; [L143] assume #memory_int[read~int_#ptr.base][read~int_#ptr.offset] == read~int_#value; [L144] foo_#t~mem3 := read~int_#value; [L145] write~int_old_#memory_int := #memory_int; [L146] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 4, foo_~#a~0.base, foo_#t~mem3, 4 * foo_~i~1 + foo_~#a~0.offset; [L147] assume 1 == #valid[write~int_#ptr.base]; [L148] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L149] assume 1 == #valid[write~int_#ptr.base]; [L150] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L151] havoc #memory_int; [L152] assume #memory_int == write~int_old_#memory_int[write~int_#ptr.base := write~int_old_#memory_int[write~int_#ptr.base][write~int_#ptr.offset := write~int_#value]]; [L153] havoc foo_#t~mem3; [L154] foo_#t~post2 := foo_~i~1; [L155] foo_~i~1 := foo_#t~post2 + 1; [L156] havoc foo_#t~post2; [L125] assume !(foo_~i~1 < foo_~size); [L126] bar_#in~size, bar_#in~b.offset, bar_#in~b.base := foo_~size, foo_~#a~0.offset, foo_~#a~0.base; [L127] havoc bar_#res; [L128] havoc bar_~b.offset, bar_~size, bar_#t~mem1, bar_~b.base, bar_~i~0, bar_#t~post0, bar_~res~0; [L129] bar_~b.offset, bar_~b.base := bar_#in~b.offset, bar_#in~b.base; [L130] bar_~size := bar_#in~size; [L131] bar_~res~0 := 0; [L132] havoc bar_~i~0; [L133] bar_~i~0 := 0; [L191] assume bar_~i~0 < bar_~size; [L192] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := bar_~b.base, 4 * bar_~i~0 + bar_~b.offset, 4; [L193] assume #valid[read~int_#ptr.base] == 1; [L194] assume read~int_#ptr.offset + read~int_#sizeOfReadType <= #length[read~int_#ptr.base] && 0 <= read~int_#ptr.offset; [L195] assume #valid[read~int_#ptr.base] == 1; [L196] assume read~int_#ptr.offset + read~int_#sizeOfReadType <= #length[read~int_#ptr.base] && 0 <= read~int_#ptr.offset; [L197] havoc read~int_#value; [L198] assume #memory_int[read~int_#ptr.base][read~int_#ptr.offset] == read~int_#value; [L199] bar_#t~mem1 := read~int_#value; [L200] bar_~res~0 := bar_#t~mem1 + bar_~res~0; [L201] havoc bar_#t~mem1; [L202] bar_#t~post0 := bar_~i~0; [L203] bar_~i~0 := bar_#t~post0 + 1; [L204] havoc bar_#t~post0; [L163] assume !(bar_~i~0 < bar_~size); [L164] bar_#res := bar_~res~0; [L165] foo_#t~ret4 := bar_#res; [L166] assume foo_#t~ret4 <= 2147483647 && 0 <= foo_#t~ret4 + 2147483648; [L167] assume 0 == foo_#t~ret4; [L168] havoc foo_#t~ret4; [L169] foo_#res := foo_~i~1; [L170] ULTIMATE.dealloc_old_#valid := #valid; [L171] ULTIMATE.dealloc_~addr.base, ULTIMATE.dealloc_~addr.offset := foo_~#a~0.base, foo_~#a~0.offset; [L172] havoc #valid; [L173] assume #valid == ULTIMATE.dealloc_old_#valid[ULTIMATE.dealloc_~addr.base := 0]; [L174] havoc foo_~#a~0.base, foo_~#a~0.offset; [L175] main_#t~ret6 := foo_#res; [L176] assume main_#t~ret6 <= 2147483647 && 0 <= main_#t~ret6 + 2147483648; [L177] write~int_old_#memory_int := #memory_int; [L178] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 4, main_~#b~0.base, main_#t~ret6, main_~#b~0.offset + 4 * main_~i~2; [L179] assume #valid[write~int_#ptr.base] == 1; [L180] assume 0 <= write~int_#ptr.offset && write~int_#ptr.offset + write~int_#sizeOfWrittenType <= #length[write~int_#ptr.base]; [L181] assume 1 == #valid[write~int_#ptr.base]; [L182] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L183] havoc #memory_int; [L184] assume write~int_old_#memory_int[write~int_#ptr.base := write~int_old_#memory_int[write~int_#ptr.base][write~int_#ptr.offset := write~int_#value]] == #memory_int; [L185] havoc main_#t~ret6; [L186] main_#t~post5 := main_~i~2; [L187] main_~i~2 := main_#t~post5 + 1; [L188] havoc main_#t~post5; [L90] assume !(main_~i~2 < 100); [L91] main_~i~2 := 0; [L92] assume main_~i~2 < 100; [L93] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := main_~#b~0.base, main_~#b~0.offset + 4 * main_~i~2, 4; [L94] assume 1 == #valid[read~int_#ptr.base]; [L95] assume !(read~int_#ptr.offset + read~int_#sizeOfReadType <= #length[read~int_#ptr.base]) || !(0 <= read~int_#ptr.offset); [L119] assert false; RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request...