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/sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-b8c145f [2019-08-05 12:16:48,136 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-08-05 12:16:48,138 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-08-05 12:16:48,150 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-08-05 12:16:48,150 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-08-05 12:16:48,151 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-08-05 12:16:48,153 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-08-05 12:16:48,154 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-08-05 12:16:48,156 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-08-05 12:16:48,157 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-08-05 12:16:48,158 INFO L181 SettingsManager]: Resetting Symbolic Interpretation preferences to default values [2019-08-05 12:16:48,158 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-08-05 12:16:48,159 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-08-05 12:16:48,160 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-08-05 12:16:48,161 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-08-05 12:16:48,162 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-08-05 12:16:48,163 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-08-05 12:16:48,163 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-08-05 12:16:48,166 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-08-05 12:16:48,168 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-08-05 12:16:48,169 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-08-05 12:16:48,170 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-08-05 12:16:48,172 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-08-05 12:16:48,172 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-08-05 12:16:48,175 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-08-05 12:16:48,175 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-08-05 12:16:48,175 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-08-05 12:16:48,176 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-08-05 12:16:48,176 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-08-05 12:16:48,177 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-08-05 12:16:48,178 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-08-05 12:16:48,179 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-08-05 12:16:48,179 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-08-05 12:16:48,180 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-08-05 12:16:48,183 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-08-05 12:16:48,183 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-08-05 12:16:48,184 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-08-05 12:16:48,184 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-08-05 12:16:48,184 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-08-05 12:16:48,185 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-08-05 12:16:48,187 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-08-05 12:16:48,188 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:48,211 INFO L113 SettingsManager]: Loading preferences was successful [2019-08-05 12:16:48,211 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-08-05 12:16:48,212 INFO L136 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2019-08-05 12:16:48,212 INFO L138 SettingsManager]: * Show backtranslation warnings=false [2019-08-05 12:16:48,213 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-08-05 12:16:48,213 INFO L138 SettingsManager]: * User list type=DISABLED [2019-08-05 12:16:48,213 INFO L138 SettingsManager]: * Inline calls to unimplemented procedures=true [2019-08-05 12:16:48,213 INFO L136 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-08-05 12:16:48,213 INFO L138 SettingsManager]: * Explicit value domain=true [2019-08-05 12:16:48,214 INFO L138 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-08-05 12:16:48,214 INFO L138 SettingsManager]: * Octagon Domain=false [2019-08-05 12:16:48,214 INFO L138 SettingsManager]: * Abstract domain=CompoundDomain [2019-08-05 12:16:48,214 INFO L138 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-08-05 12:16:48,214 INFO L138 SettingsManager]: * Interval Domain=false [2019-08-05 12:16:48,215 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-08-05 12:16:48,216 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-08-05 12:16:48,216 INFO L138 SettingsManager]: * Use SBE=true [2019-08-05 12:16:48,216 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-08-05 12:16:48,216 INFO L138 SettingsManager]: * sizeof long=4 [2019-08-05 12:16:48,217 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-08-05 12:16:48,217 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-08-05 12:16:48,217 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-08-05 12:16:48,217 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2019-08-05 12:16:48,217 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-08-05 12:16:48,218 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2019-08-05 12:16:48,218 INFO L138 SettingsManager]: * sizeof long double=12 [2019-08-05 12:16:48,218 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-08-05 12:16:48,219 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2019-08-05 12:16:48,219 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-08-05 12:16:48,219 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-08-05 12:16:48,219 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2019-08-05 12:16:48,219 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-08-05 12:16:48,220 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-08-05 12:16:48,220 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-08-05 12:16:48,220 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2019-08-05 12:16:48,221 INFO L138 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-08-05 12:16:48,221 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-08-05 12:16:48,221 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2019-08-05 12:16:48,221 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2019-08-05 12:16:48,222 INFO L138 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2019-08-05 12:16:48,262 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-08-05 12:16:48,275 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-08-05 12:16:48,278 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-08-05 12:16:48,279 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-08-05 12:16:48,280 INFO L275 PluginConnector]: Boogie PL CUP Parser initialized [2019-08-05 12:16:48,281 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl [2019-08-05 12:16:48,281 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl' [2019-08-05 12:16:48,336 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-08-05 12:16:48,337 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-08-05 12:16:48,338 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-08-05 12:16:48,338 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-08-05 12:16:48,338 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-08-05 12:16:48,355 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,383 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,395 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-08-05 12:16:48,396 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-08-05 12:16:48,397 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-08-05 12:16:48,397 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-08-05 12:16:48,407 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,408 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,416 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,417 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,426 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,428 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,431 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,434 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-08-05 12:16:48,435 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-08-05 12:16:48,435 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-08-05 12:16:48,435 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-08-05 12:16:48,436 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:16:48" (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:48,501 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2019-08-05 12:16:48,501 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-08-05 12:16:48,501 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-08-05 12:16:48,891 INFO L278 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-08-05 12:16:48,892 INFO L283 CfgBuilder]: Removed 0 assume(true) statements. [2019-08-05 12:16:48,893 INFO L202 PluginConnector]: Adding new model sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:16:48 BoogieIcfgContainer [2019-08-05 12:16:48,894 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-08-05 12:16:48,895 INFO L113 PluginConnector]: ------------------------Abstract Interpretation---------------------------- [2019-08-05 12:16:48,895 INFO L271 PluginConnector]: Initializing Abstract Interpretation... [2019-08-05 12:16:48,895 INFO L275 PluginConnector]: Abstract Interpretation initialized [2019-08-05 12:16:48,896 INFO L185 PluginConnector]: Executing the observer AbstractInterpretationRcfgObserver from plugin Abstract Interpretation for "sll-simple-white-blue_true-unreach-call_false-valid-memtrack.i_48.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:16:48" (1/1) ... [2019-08-05 12:16:48,934 INFO L101 FixpointEngine]: Starting fixpoint engine with domain CompoundDomain (maxUnwinding=3, maxParallelStates=2) [2019-08-05 12:16:49,304 INFO L263 AbstractInterpreter]: Some error location(s) were reachable [2019-08-05 12:16:49,328 INFO L272 AbstractInterpreter]: Visited 7 different actions 21 times. Merged at 5 different actions 9 times. Never widened. Performed 973 root evaluator evaluations with a maximum evaluation depth of 4. Performed 973 inverse root evaluator evaluations with a maximum inverse evaluation depth of 4. Found 4 fixpoints after 3 different actions. Largest state had 0 variables. [2019-08-05 12:16:49,328 INFO L132 PluginConnector]: ------------------------ END Abstract Interpretation---------------------------- [2019-08-05 12:16:49,331 INFO L168 Benchmark]: Toolchain (without parser) took 992.52 ms. Allocated memory was 133.7 MB in the beginning and 170.4 MB in the end (delta: 36.7 MB). Free memory was 105.6 MB in the beginning and 146.1 MB in the end (delta: -40.5 MB). There was no memory consumed. Max. memory is 7.1 GB. [2019-08-05 12:16:49,332 INFO L168 Benchmark]: Boogie PL CUP Parser took 0.19 ms. Allocated memory is still 133.7 MB. Free memory was 107.7 MB in the beginning and 107.5 MB in the end (delta: 209.7 kB). Peak memory consumption was 209.7 kB. Max. memory is 7.1 GB. [2019-08-05 12:16:49,333 INFO L168 Benchmark]: Boogie Procedure Inliner took 58.07 ms. Allocated memory is still 133.7 MB. Free memory was 105.4 MB in the beginning and 103.6 MB in the end (delta: 1.8 MB). Peak memory consumption was 1.8 MB. Max. memory is 7.1 GB. [2019-08-05 12:16:49,334 INFO L168 Benchmark]: Boogie Preprocessor took 38.29 ms. Allocated memory is still 133.7 MB. Free memory was 103.6 MB in the beginning and 102.1 MB in the end (delta: 1.6 MB). Peak memory consumption was 1.6 MB. Max. memory is 7.1 GB. [2019-08-05 12:16:49,337 INFO L168 Benchmark]: RCFGBuilder took 458.91 ms. Allocated memory is still 133.7 MB. Free memory was 102.1 MB in the beginning and 83.4 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:16:49,338 INFO L168 Benchmark]: Abstract Interpretation took 433.45 ms. Allocated memory was 133.7 MB in the beginning and 170.4 MB in the end (delta: 36.7 MB). Free memory was 83.2 MB in the beginning and 146.1 MB in the end (delta: -62.9 MB). There was no memory consumed. Max. memory is 7.1 GB. [2019-08-05 12:16:49,343 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.19 ms. Allocated memory is still 133.7 MB. Free memory was 107.7 MB in the beginning and 107.5 MB in the end (delta: 209.7 kB). Peak memory consumption was 209.7 kB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 58.07 ms. Allocated memory is still 133.7 MB. Free memory was 105.4 MB in the beginning and 103.6 MB in the end (delta: 1.8 MB). Peak memory consumption was 1.8 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 38.29 ms. Allocated memory is still 133.7 MB. Free memory was 103.6 MB in the beginning and 102.1 MB in the end (delta: 1.6 MB). Peak memory consumption was 1.6 MB. Max. memory is 7.1 GB. * RCFGBuilder took 458.91 ms. Allocated memory is still 133.7 MB. Free memory was 102.1 MB in the beginning and 83.4 MB in the end (delta: 18.7 MB). Peak memory consumption was 18.7 MB. Max. memory is 7.1 GB. * Abstract Interpretation took 433.45 ms. Allocated memory was 133.7 MB in the beginning and 170.4 MB in the end (delta: 36.7 MB). Free memory was 83.2 MB in the beginning and 146.1 MB in the end (delta: -62.9 MB). There was no memory consumed. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2: - UnprovableResult [Line: 239]: Unable to prove that assertion always holds Unable to prove that assertion always holds Reason: abstract domain could reach this error location. Possible FailurePath: [L89] #NULL.offset, #NULL.base := 0, 0; [L90] #valid := #valid[0 := 0]; [L91] main_old_#valid := #valid; [L92] havoc main_#res; [L93] havoc main_#t~nondet1, main_#t~nondet4, main_~x~0.offset, main_#t~nondet6, main_~x~0.base, main_#t~mem9.offset, main_#t~malloc0.base, main_~head~0.base, main_#t~malloc2.base, main_#t~mem13.offset, main_#t~mem15.offset, main_#t~mem8.offset, main_~y~0.base, main_#t~mem13.base, main_#t~mem15.base, main_#t~mem3.offset, main_#t~mem3.base, main_#t~mem16.base, main_#t~mem12.base, main_#t~mem14, main_#t~mem9.base, main_#t~mem7.base, main_#t~mem8.base, main_#t~malloc10.offset, main_#t~mem11, main_#t~malloc0.offset, main_#t~malloc5.base, main_#t~mem12.offset, main_#t~mem16.offset, main_#t~mem7.offset, main_~head~0.offset, main_#t~malloc10.base, main_#t~malloc2.offset, main_~y~0.offset, main_#t~malloc5.offset; [L94] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L95] #Ultimate.alloc_~size := 8; [L96] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L97] havoc #valid, #length; [L98] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L99] assume #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1] == #valid; [L100] assume #Ultimate.alloc_#res.offset == 0; [L101] assume !(0 == #Ultimate.alloc_#res.base); [L102] assume #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size] == #length; [L103] main_#t~malloc0.base, main_#t~malloc0.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset; [L104] main_~head~0.base, main_~head~0.offset := main_#t~malloc0.base, main_#t~malloc0.offset; [L105] write~$Pointer$_old_#memory_$Pointer$.base, write~$Pointer$_old_#memory_$Pointer$.offset, write~$Pointer$_old_#memory_int := #memory_$Pointer$.base, #memory_$Pointer$.offset, #memory_int; [L106] write~$Pointer$_#value.base, write~$Pointer$_#ptr.offset, write~$Pointer$_#sizeOfWrittenType, write~$Pointer$_#value.offset, write~$Pointer$_#ptr.base := 0, main_~head~0.offset, 4, 0, main_~head~0.base; [L107] assume 1 == #valid[write~$Pointer$_#ptr.base]; [L108] assume write~$Pointer$_#sizeOfWrittenType + write~$Pointer$_#ptr.offset <= #length[write~$Pointer$_#ptr.base] && 0 <= write~$Pointer$_#ptr.offset; [L109] assume 1 == #valid[write~$Pointer$_#ptr.base]; [L110] assume write~$Pointer$_#sizeOfWrittenType + write~$Pointer$_#ptr.offset <= #length[write~$Pointer$_#ptr.base] && 0 <= write~$Pointer$_#ptr.offset; [L111] havoc #memory_$Pointer$.base, #memory_$Pointer$.offset; [L112] assume (#memory_$Pointer$.offset == write~$Pointer$_old_#memory_$Pointer$.offset[write~$Pointer$_#ptr.base := write~$Pointer$_old_#memory_$Pointer$.offset[write~$Pointer$_#ptr.base][write~$Pointer$_#ptr.offset := write~$Pointer$_#value.offset]] && #memory_$Pointer$.base == write~$Pointer$_old_#memory_$Pointer$.base[write~$Pointer$_#ptr.base := write~$Pointer$_old_#memory_$Pointer$.base[write~$Pointer$_#ptr.base][write~$Pointer$_#ptr.offset := write~$Pointer$_#value.base]]) && #memory_int == write~$Pointer$_old_#memory_int[write~$Pointer$_#ptr.base := write~$Pointer$_old_#memory_int[write~$Pointer$_#ptr.base][write~$Pointer$_#ptr.offset := #memory_int[write~$Pointer$_#ptr.base][write~$Pointer$_#ptr.offset]]]; [L113] write~int_old_#memory_$Pointer$.offset, write~int_old_#memory_$Pointer$.base, write~int_old_#memory_int := #memory_$Pointer$.offset, #memory_$Pointer$.base, #memory_int; [L114] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 4, main_~head~0.base, 0, main_~head~0.offset + 4; [L115] assume #valid[write~int_#ptr.base] == 1; [L116] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L117] assume 1 == #valid[write~int_#ptr.base]; [L118] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L119] havoc #memory_int; [L120] assume (#memory_$Pointer$.offset == write~int_old_#memory_$Pointer$.offset[write~int_#ptr.base := write~int_old_#memory_$Pointer$.offset[write~int_#ptr.base][write~int_#ptr.offset := #memory_$Pointer$.offset[write~int_#ptr.base][write~int_#ptr.offset]]] && #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]]) && write~int_old_#memory_$Pointer$.base[write~int_#ptr.base := write~int_old_#memory_$Pointer$.base[write~int_#ptr.base][write~int_#ptr.offset := #memory_$Pointer$.base[write~int_#ptr.base][write~int_#ptr.offset]]] == #memory_$Pointer$.base; [L121] main_~x~0.offset, main_~x~0.base := main_~head~0.offset, main_~head~0.base; [L122] assume 0 <= main_#t~nondet1 + 2147483648 && main_#t~nondet1 <= 2147483647; [L123] assume 0 == main_#t~nondet1; [L124] havoc main_#t~nondet1; [L125] assume main_#t~nondet4 <= 2147483647 && 0 <= main_#t~nondet4 + 2147483648; [L126] assume !(0 == main_#t~nondet4); [L127] havoc main_#t~nondet4; [L128] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L129] #Ultimate.alloc_~size := 8; [L130] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L131] havoc #valid, #length; [L132] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L133] assume #valid == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1]; [L134] assume #Ultimate.alloc_#res.offset == 0; [L135] assume !(0 == #Ultimate.alloc_#res.base); [L136] assume #length == #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size]; [L137] main_#t~malloc5.base, main_#t~malloc5.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset; [L138] main_~x~0.offset, main_~x~0.base := main_#t~malloc5.offset, main_#t~malloc5.base; [L139] write~int_old_#memory_$Pointer$.offset, write~int_old_#memory_$Pointer$.base, write~int_old_#memory_int := #memory_$Pointer$.offset, #memory_$Pointer$.base, #memory_int; [L140] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 4, main_~x~0.base, 1, main_~x~0.offset + 4; [L141] assume #valid[write~int_#ptr.base] == 1; [L142] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L143] assume #valid[write~int_#ptr.base] == 1; [L144] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L145] havoc #memory_int; [L146] 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 && #memory_$Pointer$.base == write~int_old_#memory_$Pointer$.base[write~int_#ptr.base := write~int_old_#memory_$Pointer$.base[write~int_#ptr.base][write~int_#ptr.offset := #memory_$Pointer$.base[write~int_#ptr.base][write~int_#ptr.offset]]]) && #memory_$Pointer$.offset == write~int_old_#memory_$Pointer$.offset[write~int_#ptr.base := write~int_old_#memory_$Pointer$.offset[write~int_#ptr.base][write~int_#ptr.offset := #memory_$Pointer$.offset[write~int_#ptr.base][write~int_#ptr.offset]]]; [L147] write~$Pointer$_old_#memory_$Pointer$.base, write~$Pointer$_old_#memory_$Pointer$.offset, write~$Pointer$_old_#memory_int := #memory_$Pointer$.base, #memory_$Pointer$.offset, #memory_int; [L148] write~$Pointer$_#value.base, write~$Pointer$_#ptr.offset, write~$Pointer$_#sizeOfWrittenType, write~$Pointer$_#value.offset, write~$Pointer$_#ptr.base := main_~head~0.base, main_~x~0.offset, 4, main_~head~0.offset, main_~x~0.base; [L149] assume 1 == #valid[write~$Pointer$_#ptr.base]; [L150] assume write~$Pointer$_#sizeOfWrittenType + write~$Pointer$_#ptr.offset <= #length[write~$Pointer$_#ptr.base] && 0 <= write~$Pointer$_#ptr.offset; [L151] assume 1 == #valid[write~$Pointer$_#ptr.base]; [L152] assume write~$Pointer$_#sizeOfWrittenType + write~$Pointer$_#ptr.offset <= #length[write~$Pointer$_#ptr.base] && 0 <= write~$Pointer$_#ptr.offset; [L153] havoc #memory_$Pointer$.base, #memory_$Pointer$.offset; [L154] assume (write~$Pointer$_old_#memory_int[write~$Pointer$_#ptr.base := write~$Pointer$_old_#memory_int[write~$Pointer$_#ptr.base][write~$Pointer$_#ptr.offset := #memory_int[write~$Pointer$_#ptr.base][write~$Pointer$_#ptr.offset]]] == #memory_int && write~$Pointer$_old_#memory_$Pointer$.offset[write~$Pointer$_#ptr.base := write~$Pointer$_old_#memory_$Pointer$.offset[write~$Pointer$_#ptr.base][write~$Pointer$_#ptr.offset := write~$Pointer$_#value.offset]] == #memory_$Pointer$.offset) && write~$Pointer$_old_#memory_$Pointer$.base[write~$Pointer$_#ptr.base := write~$Pointer$_old_#memory_$Pointer$.base[write~$Pointer$_#ptr.base][write~$Pointer$_#ptr.offset := write~$Pointer$_#value.base]] == #memory_$Pointer$.base; [L155] main_~head~0.base, main_~head~0.offset := main_~x~0.base, main_~x~0.offset; [L156] main_~x~0.offset, main_~x~0.base := main_~head~0.offset, main_~head~0.base; [L157] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := main_~x~0.base, main_~x~0.offset + 4, 4; [L158] assume #valid[read~int_#ptr.base] == 1; [L159] assume 0 <= read~int_#ptr.offset && read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]; [L160] assume 1 == #valid[read~int_#ptr.base]; [L161] assume 0 <= read~int_#ptr.offset && read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]; [L162] havoc read~int_#value; [L163] assume read~int_#value == #memory_int[read~int_#ptr.base][read~int_#ptr.offset]; [L164] main_#t~mem11 := read~int_#value; [L165] assume main_#t~mem11 == 1; [L166] havoc main_#t~mem11; [L167] read~$Pointer$_#ptr.base, read~$Pointer$_#sizeOfReadType, read~$Pointer$_#ptr.offset := main_~x~0.base, 4, main_~x~0.offset; [L168] assume #valid[read~$Pointer$_#ptr.base] == 1; [L169] assume 0 <= read~$Pointer$_#ptr.offset && read~$Pointer$_#sizeOfReadType + read~$Pointer$_#ptr.offset <= #length[read~$Pointer$_#ptr.base]; [L170] assume #valid[read~$Pointer$_#ptr.base] == 1; [L171] assume read~$Pointer$_#sizeOfReadType + read~$Pointer$_#ptr.offset <= #length[read~$Pointer$_#ptr.base] && 0 <= read~$Pointer$_#ptr.offset; [L172] havoc read~$Pointer$_#value.base, read~$Pointer$_#value.offset; [L173] assume #memory_$Pointer$.offset[read~$Pointer$_#ptr.base][read~$Pointer$_#ptr.offset] == read~$Pointer$_#value.offset && #memory_$Pointer$.base[read~$Pointer$_#ptr.base][read~$Pointer$_#ptr.offset] == read~$Pointer$_#value.base; [L174] main_#t~mem13.offset, main_#t~mem13.base := read~$Pointer$_#value.offset, read~$Pointer$_#value.base; [L175] main_~x~0.offset, main_~x~0.base := main_#t~mem13.offset, main_#t~mem13.base; [L176] havoc main_#t~mem13.offset, main_#t~mem13.base; [L183] assume 0 == main_~x~0.offset && main_~x~0.base == 0; [L184] main_~x~0.offset, main_~x~0.base := main_~head~0.offset, main_~head~0.base; [L219] assume !(0 == main_~x~0.offset) || !(main_~x~0.base == 0); [L220] main_~head~0.base, main_~head~0.offset := main_~x~0.base, main_~x~0.offset; [L221] read~$Pointer$_#ptr.base, read~$Pointer$_#sizeOfReadType, read~$Pointer$_#ptr.offset := main_~x~0.base, 4, main_~x~0.offset; [L222] assume 1 == #valid[read~$Pointer$_#ptr.base]; [L223] assume read~$Pointer$_#ptr.offset + read~$Pointer$_#sizeOfReadType <= #length[read~$Pointer$_#ptr.base] && 0 <= read~$Pointer$_#ptr.offset; [L224] assume 1 == #valid[read~$Pointer$_#ptr.base]; [L225] assume 0 <= read~$Pointer$_#ptr.offset && read~$Pointer$_#ptr.offset + read~$Pointer$_#sizeOfReadType <= #length[read~$Pointer$_#ptr.base]; [L226] havoc read~$Pointer$_#value.base, read~$Pointer$_#value.offset; [L227] assume #memory_$Pointer$.base[read~$Pointer$_#ptr.base][read~$Pointer$_#ptr.offset] == read~$Pointer$_#value.base && #memory_$Pointer$.offset[read~$Pointer$_#ptr.base][read~$Pointer$_#ptr.offset] == read~$Pointer$_#value.offset; [L228] main_#t~mem16.base, main_#t~mem16.offset := read~$Pointer$_#value.base, read~$Pointer$_#value.offset; [L229] main_~x~0.offset, main_~x~0.base := main_#t~mem16.offset, main_#t~mem16.base; [L230] havoc main_#t~mem16.base, main_#t~mem16.offset; [L231] assume 0 == main_~head~0.offset; [L232] assume 0 == main_~head~0.base || 1 == #valid[main_~head~0.base]; [L233] ULTIMATE.dealloc_old_#valid := #valid; [L234] ULTIMATE.dealloc_~addr.base, ULTIMATE.dealloc_~addr.offset := main_~head~0.base, main_~head~0.offset; [L235] havoc #valid; [L236] assume #valid == ULTIMATE.dealloc_old_#valid[ULTIMATE.dealloc_~addr.base := 0]; [L214] assume main_~x~0.base == 0 && 0 == main_~x~0.offset; [L215] main_#res := 0; [L216] assume !(main_old_#valid == #valid); [L239] assert false; RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request...