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/ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-b8c145f [2019-08-05 12:16:40,780 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-08-05 12:16:40,782 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-08-05 12:16:40,798 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-08-05 12:16:40,798 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-08-05 12:16:40,799 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-08-05 12:16:40,801 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-08-05 12:16:40,802 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-08-05 12:16:40,804 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-08-05 12:16:40,805 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-08-05 12:16:40,806 INFO L181 SettingsManager]: Resetting Symbolic Interpretation preferences to default values [2019-08-05 12:16:40,807 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-08-05 12:16:40,807 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-08-05 12:16:40,808 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-08-05 12:16:40,809 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-08-05 12:16:40,810 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-08-05 12:16:40,811 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-08-05 12:16:40,812 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-08-05 12:16:40,814 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-08-05 12:16:40,816 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-08-05 12:16:40,818 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-08-05 12:16:40,819 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-08-05 12:16:40,820 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-08-05 12:16:40,821 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-08-05 12:16:40,825 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-08-05 12:16:40,825 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-08-05 12:16:40,826 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-08-05 12:16:40,830 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-08-05 12:16:40,831 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-08-05 12:16:40,832 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-08-05 12:16:40,833 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-08-05 12:16:40,836 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-08-05 12:16:40,837 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-08-05 12:16:40,838 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-08-05 12:16:40,841 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-08-05 12:16:40,842 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-08-05 12:16:40,842 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-08-05 12:16:40,843 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-08-05 12:16:40,843 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-08-05 12:16:40,845 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-08-05 12:16:40,846 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-08-05 12:16:40,849 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:16:40,873 INFO L113 SettingsManager]: Loading preferences was successful [2019-08-05 12:16:40,873 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-08-05 12:16:40,875 INFO L136 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2019-08-05 12:16:40,875 INFO L138 SettingsManager]: * Show backtranslation warnings=false [2019-08-05 12:16:40,875 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-08-05 12:16:40,875 INFO L138 SettingsManager]: * User list type=DISABLED [2019-08-05 12:16:40,876 INFO L138 SettingsManager]: * Inline calls to unimplemented procedures=true [2019-08-05 12:16:40,876 INFO L136 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-08-05 12:16:40,877 INFO L138 SettingsManager]: * Explicit value domain=true [2019-08-05 12:16:40,878 INFO L138 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-08-05 12:16:40,878 INFO L138 SettingsManager]: * Octagon Domain=false [2019-08-05 12:16:40,879 INFO L138 SettingsManager]: * Abstract domain=CompoundDomain [2019-08-05 12:16:40,879 INFO L138 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-08-05 12:16:40,879 INFO L138 SettingsManager]: * Interval Domain=false [2019-08-05 12:16:40,880 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-08-05 12:16:40,881 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-08-05 12:16:40,881 INFO L138 SettingsManager]: * Use SBE=true [2019-08-05 12:16:40,882 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-08-05 12:16:40,882 INFO L138 SettingsManager]: * sizeof long=4 [2019-08-05 12:16:40,882 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-08-05 12:16:40,882 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-08-05 12:16:40,883 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-08-05 12:16:40,883 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2019-08-05 12:16:40,883 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-08-05 12:16:40,883 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2019-08-05 12:16:40,883 INFO L138 SettingsManager]: * sizeof long double=12 [2019-08-05 12:16:40,884 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-08-05 12:16:40,884 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2019-08-05 12:16:40,884 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-08-05 12:16:40,885 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-08-05 12:16:40,885 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2019-08-05 12:16:40,885 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-08-05 12:16:40,885 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-08-05 12:16:40,885 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-08-05 12:16:40,886 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2019-08-05 12:16:40,886 INFO L138 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-08-05 12:16:40,886 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-08-05 12:16:40,887 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2019-08-05 12:16:40,887 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2019-08-05 12:16:40,887 INFO L138 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2019-08-05 12:16:40,932 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-08-05 12:16:40,944 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-08-05 12:16:40,948 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-08-05 12:16:40,949 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-08-05 12:16:40,950 INFO L275 PluginConnector]: Boogie PL CUP Parser initialized [2019-08-05 12:16:40,951 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl [2019-08-05 12:16:40,951 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl' [2019-08-05 12:16:41,000 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-08-05 12:16:41,003 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-08-05 12:16:41,004 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-08-05 12:16:41,004 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-08-05 12:16:41,004 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-08-05 12:16:41,021 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:40" (1/1) ... [2019-08-05 12:16:41,035 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:40" (1/1) ... [2019-08-05 12:16:41,046 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-08-05 12:16:41,047 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-08-05 12:16:41,047 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-08-05 12:16:41,047 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-08-05 12:16:41,061 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:40" (1/1) ... [2019-08-05 12:16:41,062 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:40" (1/1) ... [2019-08-05 12:16:41,069 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:40" (1/1) ... [2019-08-05 12:16:41,070 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:40" (1/1) ... [2019-08-05 12:16:41,084 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:40" (1/1) ... [2019-08-05 12:16:41,090 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:40" (1/1) ... [2019-08-05 12:16:41,093 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:40" (1/1) ... [2019-08-05 12:16:41,100 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-08-05 12:16:41,100 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-08-05 12:16:41,101 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-08-05 12:16:41,101 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-08-05 12:16:41,105 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:40" (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:16:41,174 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2019-08-05 12:16:41,174 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-08-05 12:16:41,174 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-08-05 12:16:41,457 INFO L684 $ProcedureCfgBuilder]: dead code at ProgramPoint ULTIMATE.startFINAL: assume true; [2019-08-05 12:16:41,459 INFO L278 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-08-05 12:16:41,459 INFO L283 CfgBuilder]: Removed 0 assume(true) statements. [2019-08-05 12:16:41,460 INFO L202 PluginConnector]: Adding new model ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:16:41 BoogieIcfgContainer [2019-08-05 12:16:41,461 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-08-05 12:16:41,461 INFO L113 PluginConnector]: ------------------------Abstract Interpretation---------------------------- [2019-08-05 12:16:41,461 INFO L271 PluginConnector]: Initializing Abstract Interpretation... [2019-08-05 12:16:41,462 INFO L275 PluginConnector]: Abstract Interpretation initialized [2019-08-05 12:16:41,463 INFO L185 PluginConnector]: Executing the observer AbstractInterpretationRcfgObserver from plugin Abstract Interpretation for "ArraysOfVariableLength5_true-valid-memsafety.c_13.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:16:41" (1/1) ... [2019-08-05 12:16:41,490 INFO L101 FixpointEngine]: Starting fixpoint engine with domain CompoundDomain (maxUnwinding=3, maxParallelStates=2) [2019-08-05 12:16:41,710 INFO L263 AbstractInterpreter]: Some error location(s) were reachable [2019-08-05 12:16:41,731 INFO L272 AbstractInterpreter]: Visited 7 different actions 19 times. Merged at 3 different actions 6 times. Never widened. Performed 533 root evaluator evaluations with a maximum evaluation depth of 3. Performed 533 inverse root evaluator evaluations with a maximum inverse evaluation depth of 3. Found 5 fixpoints after 4 different actions. Largest state had 0 variables. [2019-08-05 12:16:41,731 INFO L132 PluginConnector]: ------------------------ END Abstract Interpretation---------------------------- [2019-08-05 12:16:41,737 INFO L168 Benchmark]: Toolchain (without parser) took 731.51 ms. Allocated memory is still 133.7 MB. Free memory was 105.0 MB in the beginning and 75.8 MB in the end (delta: 29.2 MB). Peak memory consumption was 29.2 MB. Max. memory is 7.1 GB. [2019-08-05 12:16:41,739 INFO L168 Benchmark]: Boogie PL CUP Parser took 0.18 ms. Allocated memory is still 133.7 MB. Free memory was 106.6 MB in the beginning and 106.4 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:16:41,741 INFO L168 Benchmark]: Boogie Procedure Inliner took 42.82 ms. Allocated memory is still 133.7 MB. Free memory was 105.0 MB in the beginning and 103.3 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:16:41,744 INFO L168 Benchmark]: Boogie Preprocessor took 53.19 ms. Allocated memory is still 133.7 MB. Free memory was 103.3 MB in the beginning and 102.0 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:16:41,746 INFO L168 Benchmark]: RCFGBuilder took 360.31 ms. Allocated memory is still 133.7 MB. Free memory was 101.8 MB in the beginning and 89.1 MB in the end (delta: 12.7 MB). Peak memory consumption was 12.7 MB. Max. memory is 7.1 GB. [2019-08-05 12:16:41,747 INFO L168 Benchmark]: Abstract Interpretation took 270.05 ms. Allocated memory is still 133.7 MB. Free memory was 89.1 MB in the beginning and 75.8 MB in the end (delta: 13.3 MB). Peak memory consumption was 13.3 MB. Max. memory is 7.1 GB. [2019-08-05 12:16:41,755 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.18 ms. Allocated memory is still 133.7 MB. Free memory was 106.6 MB in the beginning and 106.4 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 42.82 ms. Allocated memory is still 133.7 MB. Free memory was 105.0 MB in the beginning and 103.3 MB in the end (delta: 1.7 MB). Peak memory consumption was 1.7 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 53.19 ms. Allocated memory is still 133.7 MB. Free memory was 103.3 MB in the beginning and 102.0 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. * RCFGBuilder took 360.31 ms. Allocated memory is still 133.7 MB. Free memory was 101.8 MB in the beginning and 89.1 MB in the end (delta: 12.7 MB). Peak memory consumption was 12.7 MB. Max. memory is 7.1 GB. * Abstract Interpretation took 270.05 ms. Allocated memory is still 133.7 MB. Free memory was 89.1 MB in the beginning and 75.8 MB in the end (delta: 13.3 MB). Peak memory consumption was 13.3 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2: - UnprovableResult [Line: 109]: Unable to prove that assertion always holds Unable to prove that assertion always holds Reason: abstract domain could reach this error location. Possible FailurePath: [L55] #NULL.offset, #NULL.base := 0, 0; [L56] #valid := #valid[0 := 0]; [L57] main_old_#valid := #valid; [L58] havoc main_#res; [L59] havoc main_~c~0.base, main_~c~0.offset, main_~buffer~0, main_#t~post2, main_~#b~0.base, main_~#mask~0.base, main_~#mask~0.offset, main_~i~1, main_~#b~0.offset, main_#t~mem5, main_#t~ret3, main_#t~post4; [L60] havoc main_~i~1; [L61] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L62] #Ultimate.alloc_~size := 128; [L63] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L64] havoc #valid, #length; [L65] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L66] assume #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1] == #valid; [L67] assume #Ultimate.alloc_#res.offset == 0; [L68] assume !(0 == #Ultimate.alloc_#res.base); [L69] assume #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size] == #length; [L70] main_~#b~0.base, main_~#b~0.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset; [L71] havoc main_~buffer~0; [L72] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L73] #Ultimate.alloc_~size := 32; [L74] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L75] havoc #valid, #length; [L76] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L77] assume #valid == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1]; [L78] assume #Ultimate.alloc_#res.offset == 0; [L79] assume !(0 == #Ultimate.alloc_#res.base); [L80] assume #length == #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size]; [L81] main_~#mask~0.base, main_~#mask~0.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset; [L82] havoc main_~c~0.base, main_~c~0.offset; [L83] main_~i~1 := 0; [L97] assume main_~i~1 < 32; [L98] main_~c~0.base, main_~c~0.offset := main_~#mask~0.base, main_~#mask~0.offset; [L99] foo_#in~b.offset, foo_#in~size, foo_#in~b.base := main_~c~0.offset, main_~i~1, main_~c~0.base; [L100] havoc foo_#res; [L101] havoc foo_#t~post0, foo_#t~mem1, foo_~i~0, foo_~b.offset, foo_~b.base, foo_~size, foo_~a~0; [L102] foo_~b.offset, foo_~b.base := foo_#in~b.offset, foo_#in~b.base; [L103] foo_~size := foo_#in~size; [L104] havoc foo_~a~0; [L105] havoc foo_~i~0; [L106] foo_~i~0 := 0; [L115] assume !(foo_~i~0 < foo_~size); [L116] foo_#res := foo_~i~0; [L117] main_#t~ret3 := foo_#res; [L118] assume 0 <= main_#t~ret3 + 2147483648 && main_#t~ret3 <= 2147483647; [L119] write~int_old_#memory_int := #memory_int; [L120] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 4, main_~#b~0.base, main_#t~ret3, main_~#b~0.offset + 4 * main_~i~1; [L121] assume 1 == #valid[write~int_#ptr.base]; [L122] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L123] assume 1 == #valid[write~int_#ptr.base]; [L124] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L125] havoc #memory_int; [L126] 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]]; [L127] havoc main_#t~ret3; [L128] main_#t~post2 := main_~i~1; [L129] main_~i~1 := main_#t~post2 + 1; [L130] havoc main_#t~post2; [L97] assume main_~i~1 < 32; [L98] main_~c~0.base, main_~c~0.offset := main_~#mask~0.base, main_~#mask~0.offset; [L99] foo_#in~b.offset, foo_#in~size, foo_#in~b.base := main_~c~0.offset, main_~i~1, main_~c~0.base; [L100] havoc foo_#res; [L101] havoc foo_#t~post0, foo_#t~mem1, foo_~i~0, foo_~b.offset, foo_~b.base, foo_~size, foo_~a~0; [L102] foo_~b.offset, foo_~b.base := foo_#in~b.offset, foo_#in~b.base; [L103] foo_~size := foo_#in~size; [L104] havoc foo_~a~0; [L105] havoc foo_~i~0; [L106] foo_~i~0 := 0; [L133] assume foo_~i~0 < foo_~size; [L134] assume foo_~i~0 < 32 && 0 <= foo_~i~0; [L135] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := foo_~b.base, foo_~i~0 + foo_~b.offset, 1; [L136] assume 1 == #valid[read~int_#ptr.base]; [L137] assume 0 <= read~int_#ptr.offset && read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]; [L138] assume #valid[read~int_#ptr.base] == 1; [L139] assume 0 <= read~int_#ptr.offset && read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]; [L140] havoc read~int_#value; [L141] assume #memory_int[read~int_#ptr.base][read~int_#ptr.offset] == read~int_#value; [L142] foo_#t~mem1 := read~int_#value; [L143] foo_~a~0 := foo_~a~0[foo_~i~0 := foo_#t~mem1]; [L144] havoc foo_#t~mem1; [L145] foo_#t~post0 := foo_~i~0; [L146] foo_~i~0 := foo_#t~post0 + 1; [L147] havoc foo_#t~post0; [L115] assume !(foo_~i~0 < foo_~size); [L116] foo_#res := foo_~i~0; [L117] main_#t~ret3 := foo_#res; [L118] assume 0 <= main_#t~ret3 + 2147483648 && main_#t~ret3 <= 2147483647; [L119] write~int_old_#memory_int := #memory_int; [L120] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 4, main_~#b~0.base, main_#t~ret3, main_~#b~0.offset + 4 * main_~i~1; [L121] assume 1 == #valid[write~int_#ptr.base]; [L122] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L123] assume 1 == #valid[write~int_#ptr.base]; [L124] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L125] havoc #memory_int; [L126] 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]]; [L127] havoc main_#t~ret3; [L128] main_#t~post2 := main_~i~1; [L129] main_~i~1 := main_#t~post2 + 1; [L130] havoc main_#t~post2; [L90] assume !(main_~i~1 < 32); [L91] main_~i~1 := 0; [L92] assume main_~i~1 < 32; [L93] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := main_~#b~0.base, main_~#b~0.offset + 4 * main_~i~1, 4; [L94] assume !(#valid[read~int_#ptr.base] == 1); [L109] assert false; RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request...