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/test-bitfields-2.1_false-valid-free.i_19.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-b8c145f [2019-08-05 12:17:17,114 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-08-05 12:17:17,116 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-08-05 12:17:17,129 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-08-05 12:17:17,130 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-08-05 12:17:17,131 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-08-05 12:17:17,132 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-08-05 12:17:17,134 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-08-05 12:17:17,136 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-08-05 12:17:17,137 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-08-05 12:17:17,138 INFO L181 SettingsManager]: Resetting Symbolic Interpretation preferences to default values [2019-08-05 12:17:17,139 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-08-05 12:17:17,139 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-08-05 12:17:17,140 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-08-05 12:17:17,141 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-08-05 12:17:17,142 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-08-05 12:17:17,143 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-08-05 12:17:17,144 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-08-05 12:17:17,146 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-08-05 12:17:17,149 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-08-05 12:17:17,150 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-08-05 12:17:17,152 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-08-05 12:17:17,153 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-08-05 12:17:17,154 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-08-05 12:17:17,156 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-08-05 12:17:17,157 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-08-05 12:17:17,157 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-08-05 12:17:17,158 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-08-05 12:17:17,158 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-08-05 12:17:17,160 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-08-05 12:17:17,160 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-08-05 12:17:17,161 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-08-05 12:17:17,162 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-08-05 12:17:17,163 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-08-05 12:17:17,164 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-08-05 12:17:17,164 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-08-05 12:17:17,165 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-08-05 12:17:17,165 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-08-05 12:17:17,166 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-08-05 12:17:17,169 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-08-05 12:17:17,170 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-08-05 12:17:17,173 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:17,193 INFO L113 SettingsManager]: Loading preferences was successful [2019-08-05 12:17:17,194 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-08-05 12:17:17,195 INFO L136 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2019-08-05 12:17:17,196 INFO L138 SettingsManager]: * Show backtranslation warnings=false [2019-08-05 12:17:17,196 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-08-05 12:17:17,196 INFO L138 SettingsManager]: * User list type=DISABLED [2019-08-05 12:17:17,196 INFO L138 SettingsManager]: * Inline calls to unimplemented procedures=true [2019-08-05 12:17:17,196 INFO L136 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-08-05 12:17:17,197 INFO L138 SettingsManager]: * Explicit value domain=true [2019-08-05 12:17:17,197 INFO L138 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-08-05 12:17:17,197 INFO L138 SettingsManager]: * Octagon Domain=false [2019-08-05 12:17:17,197 INFO L138 SettingsManager]: * Abstract domain=CompoundDomain [2019-08-05 12:17:17,197 INFO L138 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-08-05 12:17:17,198 INFO L138 SettingsManager]: * Interval Domain=false [2019-08-05 12:17:17,200 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-08-05 12:17:17,200 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-08-05 12:17:17,201 INFO L138 SettingsManager]: * Use SBE=true [2019-08-05 12:17:17,201 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-08-05 12:17:17,202 INFO L138 SettingsManager]: * sizeof long=4 [2019-08-05 12:17:17,203 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-08-05 12:17:17,203 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-08-05 12:17:17,203 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-08-05 12:17:17,203 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2019-08-05 12:17:17,204 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-08-05 12:17:17,204 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2019-08-05 12:17:17,204 INFO L138 SettingsManager]: * sizeof long double=12 [2019-08-05 12:17:17,204 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-08-05 12:17:17,204 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2019-08-05 12:17:17,205 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-08-05 12:17:17,205 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-08-05 12:17:17,205 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2019-08-05 12:17:17,205 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-08-05 12:17:17,206 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-08-05 12:17:17,206 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-08-05 12:17:17,206 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2019-08-05 12:17:17,207 INFO L138 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-08-05 12:17:17,207 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-08-05 12:17:17,207 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2019-08-05 12:17:17,207 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2019-08-05 12:17:17,207 INFO L138 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2019-08-05 12:17:17,258 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-08-05 12:17:17,275 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-08-05 12:17:17,280 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-08-05 12:17:17,282 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-08-05 12:17:17,282 INFO L275 PluginConnector]: Boogie PL CUP Parser initialized [2019-08-05 12:17:17,283 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/test-bitfields-2.1_false-valid-free.i_19.bpl [2019-08-05 12:17:17,283 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/test-bitfields-2.1_false-valid-free.i_19.bpl' [2019-08-05 12:17:17,358 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-08-05 12:17:17,359 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2019-08-05 12:17:17,360 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-08-05 12:17:17,360 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-08-05 12:17:17,361 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-08-05 12:17:17,378 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:17" (1/1) ... [2019-08-05 12:17:17,402 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:17" (1/1) ... [2019-08-05 12:17:17,418 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-08-05 12:17:17,419 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-08-05 12:17:17,419 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-08-05 12:17:17,419 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-08-05 12:17:17,431 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:17" (1/1) ... [2019-08-05 12:17:17,431 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:17" (1/1) ... [2019-08-05 12:17:17,437 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:17" (1/1) ... [2019-08-05 12:17:17,438 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:17" (1/1) ... [2019-08-05 12:17:17,469 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:17" (1/1) ... [2019-08-05 12:17:17,474 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:17" (1/1) ... [2019-08-05 12:17:17,477 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:17" (1/1) ... [2019-08-05 12:17:17,487 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-08-05 12:17:17,488 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-08-05 12:17:17,488 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-08-05 12:17:17,489 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-08-05 12:17:17,490 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 05.08 12:17:17" (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:17,568 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2019-08-05 12:17:17,569 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-08-05 12:17:17,569 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-08-05 12:17:17,942 INFO L278 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-08-05 12:17:17,942 INFO L283 CfgBuilder]: Removed 0 assume(true) statements. [2019-08-05 12:17:17,943 INFO L202 PluginConnector]: Adding new model test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:17:17 BoogieIcfgContainer [2019-08-05 12:17:17,944 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-08-05 12:17:17,944 INFO L113 PluginConnector]: ------------------------Abstract Interpretation---------------------------- [2019-08-05 12:17:17,945 INFO L271 PluginConnector]: Initializing Abstract Interpretation... [2019-08-05 12:17:17,945 INFO L275 PluginConnector]: Abstract Interpretation initialized [2019-08-05 12:17:17,946 INFO L185 PluginConnector]: Executing the observer AbstractInterpretationRcfgObserver from plugin Abstract Interpretation for "test-bitfields-2.1_false-valid-free.i_19.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 05.08 12:17:17" (1/1) ... [2019-08-05 12:17:17,975 INFO L101 FixpointEngine]: Starting fixpoint engine with domain CompoundDomain (maxUnwinding=3, maxParallelStates=2) [2019-08-05 12:17:18,190 INFO L263 AbstractInterpreter]: Some error location(s) were reachable [2019-08-05 12:17:18,217 INFO L272 AbstractInterpreter]: Visited 5 different actions 13 times. Merged at 3 different actions 5 times. Never widened. Performed 498 root evaluator evaluations with a maximum evaluation depth of 4. Performed 498 inverse root evaluator evaluations with a maximum inverse evaluation depth of 4. Found 1 fixpoints after 1 different actions. Largest state had 0 variables. [2019-08-05 12:17:18,218 INFO L132 PluginConnector]: ------------------------ END Abstract Interpretation---------------------------- [2019-08-05 12:17:18,221 INFO L168 Benchmark]: Toolchain (without parser) took 860.52 ms. Allocated memory is still 140.0 MB. Free memory was 104.0 MB in the beginning and 67.9 MB in the end (delta: 36.1 MB). Peak memory consumption was 36.1 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:18,223 INFO L168 Benchmark]: Boogie PL CUP Parser took 0.27 ms. Allocated memory is still 140.0 MB. Free memory was 106.1 MB in the beginning and 105.9 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:18,224 INFO L168 Benchmark]: Boogie Procedure Inliner took 58.30 ms. Allocated memory is still 140.0 MB. Free memory was 104.0 MB in the beginning and 102.3 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:17:18,226 INFO L168 Benchmark]: Boogie Preprocessor took 68.81 ms. Allocated memory is still 140.0 MB. Free memory was 102.3 MB in the beginning and 100.7 MB in the end (delta: 1.5 MB). Peak memory consumption was 1.5 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:18,227 INFO L168 Benchmark]: RCFGBuilder took 455.58 ms. Allocated memory is still 140.0 MB. Free memory was 100.7 MB in the beginning and 81.9 MB in the end (delta: 18.8 MB). Peak memory consumption was 18.8 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:18,228 INFO L168 Benchmark]: Abstract Interpretation took 273.53 ms. Allocated memory is still 140.0 MB. Free memory was 81.9 MB in the beginning and 67.9 MB in the end (delta: 14.0 MB). Peak memory consumption was 14.0 MB. Max. memory is 7.1 GB. [2019-08-05 12:17:18,235 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.27 ms. Allocated memory is still 140.0 MB. Free memory was 106.1 MB in the beginning and 105.9 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 58.30 ms. Allocated memory is still 140.0 MB. Free memory was 104.0 MB in the beginning and 102.3 MB in the end (delta: 1.8 MB). Peak memory consumption was 1.8 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 68.81 ms. Allocated memory is still 140.0 MB. Free memory was 102.3 MB in the beginning and 100.7 MB in the end (delta: 1.5 MB). Peak memory consumption was 1.5 MB. Max. memory is 7.1 GB. * RCFGBuilder took 455.58 ms. Allocated memory is still 140.0 MB. Free memory was 100.7 MB in the beginning and 81.9 MB in the end (delta: 18.8 MB). Peak memory consumption was 18.8 MB. Max. memory is 7.1 GB. * Abstract Interpretation took 273.53 ms. Allocated memory is still 140.0 MB. Free memory was 81.9 MB in the beginning and 67.9 MB in the end (delta: 14.0 MB). Peak memory consumption was 14.0 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.analysis.abstractinterpretationv2: - UnprovableResult [Line: 224]: Unable to prove that assertion always holds Unable to prove that assertion always holds Reason: abstract domain could reach this error location. Possible FailurePath: [L62] #NULL.offset, #NULL.base := 0, 0; [L63] #valid := #valid[0 := 0]; [L64] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L65] #Ultimate.alloc_~size := 13; [L66] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L67] havoc #valid, #length; [L68] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L69] assume #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1] == #valid; [L70] assume #Ultimate.alloc_#res.offset == 0; [L71] assume !(0 == #Ultimate.alloc_#res.base); [L72] assume #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size] == #length; [L73] ~#d~0.offset, ~#d~0.base := #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L74] write~unchecked~int_old_#memory_int := #memory_int; [L75] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset, 0, ~#d~0.base; [L76] havoc #memory_int; [L77] assume #memory_int == write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]]; [L78] write~unchecked~int_old_#memory_int := #memory_int; [L79] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 1, 0, ~#d~0.base; [L80] havoc #memory_int; [L81] assume #memory_int == write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]]; [L82] write~unchecked~int_old_#memory_int := #memory_int; [L83] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 2, 0, ~#d~0.base; [L84] havoc #memory_int; [L85] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L86] write~unchecked~int_old_#memory_int := #memory_int; [L87] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 3, 0, ~#d~0.base; [L88] havoc #memory_int; [L89] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L90] write~unchecked~int_old_#memory_int := #memory_int; [L91] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 4, 0, ~#d~0.base; [L92] havoc #memory_int; [L93] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L94] write~unchecked~int_old_#memory_int := #memory_int; [L95] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 4, ~#d~0.offset + 5, 0, ~#d~0.base; [L96] havoc #memory_int; [L97] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L98] write~unchecked~int_old_#memory_int := #memory_int; [L99] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 9, 0, ~#d~0.base; [L100] havoc #memory_int; [L101] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L102] write~unchecked~int_old_#memory_int := #memory_int; [L103] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 10, 0, ~#d~0.base; [L104] havoc #memory_int; [L105] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L106] write~unchecked~int_old_#memory_int := #memory_int; [L107] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 11, 0, ~#d~0.base; [L108] havoc #memory_int; [L109] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L110] write~unchecked~int_old_#memory_int := #memory_int; [L111] write~unchecked~int_#sizeOfWrittenType, write~unchecked~int_#ptr.offset, write~unchecked~int_#value, write~unchecked~int_#ptr.base := 1, ~#d~0.offset + 12, 0, ~#d~0.base; [L112] havoc #memory_int; [L113] assume write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base := write~unchecked~int_old_#memory_int[write~unchecked~int_#ptr.base][write~unchecked~int_#ptr.offset := write~unchecked~int_#value]] == #memory_int; [L114] main_old_#valid := #valid; [L115] havoc main_#res; [L116] havoc main_#t~memcpy1.base, main_#t~malloc0.base, main_#t~memcpy1.offset, main_#t~mem2, main_~p~0.base, main_#t~malloc0.offset, main_#t~mem5, main_#t~mem4, main_~p~0.offset, main_#t~mem3; [L117] havoc main_~p~0.base, main_~p~0.offset; [L118] #Ultimate.alloc_old_#valid, #Ultimate.alloc_old_#length := #valid, #length; [L119] #Ultimate.alloc_~size := 12; [L120] havoc #Ultimate.alloc_#res.offset, #Ultimate.alloc_#res.base; [L121] havoc #valid, #length; [L122] assume 0 == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base]; [L123] assume #valid == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1]; [L124] assume #Ultimate.alloc_#res.offset == 0; [L125] assume !(0 == #Ultimate.alloc_#res.base); [L126] assume #length == #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size]; [L127] main_#t~malloc0.base, main_#t~malloc0.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset; [L128] main_~p~0.base, main_~p~0.offset := main_#t~malloc0.base, main_#t~malloc0.offset; [L129] write~int_old_#memory_int := #memory_int; [L130] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 1, ~#d~0.base, 1, ~#d~0.offset; [L131] assume #valid[write~int_#ptr.base] == 1; [L132] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L133] assume 1 == #valid[write~int_#ptr.base]; [L134] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L135] havoc #memory_int; [L136] 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; [L137] write~int_old_#memory_int := #memory_int; [L138] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 1, ~#d~0.base, 2, ~#d~0.offset + 1; [L139] assume #valid[write~int_#ptr.base] == 1; [L140] assume 0 <= write~int_#ptr.offset && write~int_#ptr.offset + write~int_#sizeOfWrittenType <= #length[write~int_#ptr.base]; [L141] assume #valid[write~int_#ptr.base] == 1; [L142] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L143] havoc #memory_int; [L144] 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; [L145] write~int_old_#memory_int := #memory_int; [L146] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 1, ~#d~0.base, 3, ~#d~0.offset + 2; [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 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L151] havoc #memory_int; [L152] 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; [L153] write~int_old_#memory_int := #memory_int; [L154] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 4, ~#d~0.base, 4, ~#d~0.offset + 5; [L155] assume 1 == #valid[write~int_#ptr.base]; [L156] assume write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L157] assume #valid[write~int_#ptr.base] == 1; [L158] assume 0 <= write~int_#ptr.offset && write~int_#sizeOfWrittenType + write~int_#ptr.offset <= #length[write~int_#ptr.base]; [L159] havoc #memory_int; [L160] 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; [L161] write~int_old_#memory_int := #memory_int; [L162] write~int_#sizeOfWrittenType, write~int_#ptr.base, write~int_#value, write~int_#ptr.offset := 1, ~#d~0.base, 5, ~#d~0.offset + 9; [L163] assume #valid[write~int_#ptr.base] == 1; [L164] assume write~int_#ptr.offset + write~int_#sizeOfWrittenType <= #length[write~int_#ptr.base] && 0 <= write~int_#ptr.offset; [L165] assume #valid[write~int_#ptr.base] == 1; [L166] assume 0 <= write~int_#ptr.offset && write~int_#ptr.offset + write~int_#sizeOfWrittenType <= #length[write~int_#ptr.base]; [L167] havoc #memory_int; [L168] 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; [L169] #Ultimate.C_memcpy_src.base, #Ultimate.C_memcpy_src.offset, #Ultimate.C_memcpy_dest.base, #Ultimate.C_memcpy_dest.offset, #Ultimate.C_memcpy_size := ~#d~0.base, ~#d~0.offset, main_~p~0.base, main_~p~0.offset, 4; [L170] assume #valid[#Ultimate.C_memcpy_dest.base] == 1; [L171] assume #valid[#Ultimate.C_memcpy_src.base] == 1; [L172] assume 0 <= #Ultimate.C_memcpy_dest.offset && #Ultimate.C_memcpy_size + #Ultimate.C_memcpy_dest.offset <= #length[#Ultimate.C_memcpy_dest.base]; [L173] assume 0 <= #Ultimate.C_memcpy_src.offset && #Ultimate.C_memcpy_src.offset + #Ultimate.C_memcpy_size <= #length[#Ultimate.C_memcpy_src.base]; [L174] assume #valid[#Ultimate.C_memcpy_dest.base] == 1; [L175] assume 1 == #valid[#Ultimate.C_memcpy_src.base]; [L176] assume #Ultimate.C_memcpy_dest.offset + #Ultimate.C_memcpy_size <= #length[#Ultimate.C_memcpy_dest.base] && 0 <= #Ultimate.C_memcpy_dest.offset; [L177] assume #Ultimate.C_memcpy_size + #Ultimate.C_memcpy_src.offset <= #length[#Ultimate.C_memcpy_src.base] && 0 <= #Ultimate.C_memcpy_src.offset; [L178] havoc #Ultimate.C_memcpy_#res.base, #Ultimate.C_memcpy_#res.offset; [L179] havoc #Ultimate.C_memcpy_#t~loopctr7; [L180] #Ultimate.C_memcpy_#t~loopctr7 := 0; [L185] assume #Ultimate.C_memcpy_#t~loopctr7 < #Ultimate.C_memcpy_size; [L186] #memory_int := #memory_int[#Ultimate.C_memcpy_dest.base := #memory_int[#Ultimate.C_memcpy_dest.base][#Ultimate.C_memcpy_dest.offset + #Ultimate.C_memcpy_#t~loopctr7 := #memory_int[#Ultimate.C_memcpy_src.base][#Ultimate.C_memcpy_src.offset + #Ultimate.C_memcpy_#t~loopctr7]]]; [L187] #Ultimate.C_memcpy_#t~loopctr7 := #Ultimate.C_memcpy_#t~loopctr7 + 1; [L185] assume #Ultimate.C_memcpy_#t~loopctr7 < #Ultimate.C_memcpy_size; [L186] #memory_int := #memory_int[#Ultimate.C_memcpy_dest.base := #memory_int[#Ultimate.C_memcpy_dest.base][#Ultimate.C_memcpy_dest.offset + #Ultimate.C_memcpy_#t~loopctr7 := #memory_int[#Ultimate.C_memcpy_src.base][#Ultimate.C_memcpy_src.offset + #Ultimate.C_memcpy_#t~loopctr7]]]; [L187] #Ultimate.C_memcpy_#t~loopctr7 := #Ultimate.C_memcpy_#t~loopctr7 + 1; [L190] assume !(#Ultimate.C_memcpy_#t~loopctr7 < #Ultimate.C_memcpy_size); [L191] assume #Ultimate.C_memcpy_dest.base == #Ultimate.C_memcpy_#res.base && #Ultimate.C_memcpy_#res.offset == #Ultimate.C_memcpy_dest.offset; [L192] main_#t~memcpy1.base, main_#t~memcpy1.offset := #Ultimate.C_memcpy_#res.base, #Ultimate.C_memcpy_#res.offset; [L193] havoc main_#t~memcpy1.base, main_#t~memcpy1.offset; [L194] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := main_~p~0.base, main_~p~0.offset, 1; [L195] assume 1 == #valid[read~int_#ptr.base]; [L196] assume 0 <= read~int_#ptr.offset && read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]; [L197] assume #valid[read~int_#ptr.base] == 1; [L198] assume 0 <= read~int_#ptr.offset && read~int_#sizeOfReadType + read~int_#ptr.offset <= #length[read~int_#ptr.base]; [L199] havoc read~int_#value; [L200] assume read~int_#value == #memory_int[read~int_#ptr.base][read~int_#ptr.offset]; [L201] main_#t~mem2 := read~int_#value; [L202] assume 1 == main_#t~mem2 % 256; [L203] havoc main_#t~mem2; [L204] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := main_~p~0.base, main_~p~0.offset + 1, 1; [L205] assume 1 == #valid[read~int_#ptr.base]; [L206] assume 0 <= read~int_#ptr.offset && read~int_#ptr.offset + read~int_#sizeOfReadType <= #length[read~int_#ptr.base]; [L207] assume 1 == #valid[read~int_#ptr.base]; [L208] assume read~int_#ptr.offset + read~int_#sizeOfReadType <= #length[read~int_#ptr.base] && 0 <= read~int_#ptr.offset; [L209] havoc read~int_#value; [L210] assume #memory_int[read~int_#ptr.base][read~int_#ptr.offset] == read~int_#value; [L211] main_#t~mem3 := read~int_#value; [L212] assume !(2 == main_#t~mem3 % 256); [L213] havoc main_#t~mem3; [L214] assume main_~p~0.offset == 0; [L215] assume 1 == #valid[main_~p~0.base] || main_~p~0.base == 0; [L216] ULTIMATE.dealloc_old_#valid := #valid; [L217] ULTIMATE.dealloc_~addr.base, ULTIMATE.dealloc_~addr.offset := main_~p~0.base, main_~p~0.offset; [L218] havoc #valid; [L219] assume #valid == ULTIMATE.dealloc_old_#valid[ULTIMATE.dealloc_~addr.base := 0]; [L220] read~int_#ptr.base, read~int_#ptr.offset, read~int_#sizeOfReadType := main_~p~0.base, main_~p~0.offset + 2, 1; [L221] assume !(#valid[read~int_#ptr.base] == 1); [L224] assert false; RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request...