java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/Sifa.xml -i ../../../trunk/examples/programs/20181010-MemSafetyPathprograms/ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl -------------------------------------------------------------------------------- This is Ultimate 0.1.24-3b9210c [2019-08-06 16:56:26,564 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-08-06 16:56:26,566 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-08-06 16:56:26,578 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-08-06 16:56:26,579 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-08-06 16:56:26,580 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-08-06 16:56:26,581 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-08-06 16:56:26,583 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-08-06 16:56:26,585 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-08-06 16:56:26,586 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-08-06 16:56:26,587 INFO L181 SettingsManager]: Resetting Symbolic Interpretation preferences to default values [2019-08-06 16:56:26,588 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-08-06 16:56:26,588 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-08-06 16:56:26,589 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-08-06 16:56:26,591 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-08-06 16:56:26,592 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-08-06 16:56:26,593 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-08-06 16:56:26,594 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-08-06 16:56:26,596 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-08-06 16:56:26,598 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-08-06 16:56:26,600 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-08-06 16:56:26,601 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-08-06 16:56:26,602 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-08-06 16:56:26,603 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-08-06 16:56:26,605 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-08-06 16:56:26,606 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-08-06 16:56:26,606 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-08-06 16:56:26,607 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-08-06 16:56:26,608 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-08-06 16:56:26,609 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-08-06 16:56:26,609 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-08-06 16:56:26,610 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-08-06 16:56:26,611 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-08-06 16:56:26,611 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-08-06 16:56:26,613 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-08-06 16:56:26,613 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-08-06 16:56:26,614 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-08-06 16:56:26,614 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-08-06 16:56:26,614 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-08-06 16:56:26,615 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-08-06 16:56:26,616 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-08-06 16:56:26,643 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-08-06 16:56:26,656 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-08-06 16:56:26,660 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-08-06 16:56:26,661 INFO L271 PluginConnector]: Initializing Boogie PL CUP Parser... [2019-08-06 16:56:26,662 INFO L275 PluginConnector]: Boogie PL CUP Parser initialized [2019-08-06 16:56:26,663 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl [2019-08-06 16:56:26,663 INFO L110 BoogieParser]: Parsing: '/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/programs/20181010-MemSafetyPathprograms/ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl' [2019-08-06 16:56:26,711 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-08-06 16:56:26,713 INFO L131 ToolchainWalker]: Walking toolchain with 3 elements. [2019-08-06 16:56:26,713 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-08-06 16:56:26,714 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-08-06 16:56:26,714 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-08-06 16:56:26,738 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 06.08 04:56:26" (1/1) ... [2019-08-06 16:56:26,739 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 06.08 04:56:26" (1/1) ... [2019-08-06 16:56:26,751 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 06.08 04:56:26" (1/1) ... [2019-08-06 16:56:26,751 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 06.08 04:56:26" (1/1) ... [2019-08-06 16:56:26,757 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 06.08 04:56:26" (1/1) ... [2019-08-06 16:56:26,759 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 06.08 04:56:26" (1/1) ... [2019-08-06 16:56:26,760 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 06.08 04:56:26" (1/1) ... [2019-08-06 16:56:26,763 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-08-06 16:56:26,764 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-08-06 16:56:26,764 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-08-06 16:56:26,764 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-08-06 16:56:26,765 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl de.uni_freiburg.informatik.ultimate.boogie.parser AST 06.08 04:56:26" (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:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-08-06 16:56:26,838 INFO L124 BoogieDeclarations]: Specification and implementation of procedure ULTIMATE.start given in one single declaration [2019-08-06 16:56:26,839 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-08-06 16:56:26,839 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-08-06 16:56:27,179 INFO L278 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-08-06 16:56:27,179 INFO L283 CfgBuilder]: Removed 0 assume(true) statements. [2019-08-06 16:56:27,180 INFO L202 PluginConnector]: Adding new model ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.08 04:56:27 BoogieIcfgContainer [2019-08-06 16:56:27,180 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-08-06 16:56:27,181 INFO L113 PluginConnector]: ------------------------Symbolic Interpretation---------------------------- [2019-08-06 16:56:27,181 INFO L271 PluginConnector]: Initializing Symbolic Interpretation... [2019-08-06 16:56:27,181 INFO L275 PluginConnector]: Symbolic Interpretation initialized [2019-08-06 16:56:27,182 INFO L185 PluginConnector]: Executing the observer SymbolicInterpretationObserver from plugin Symbolic Interpretation for "ArraysOfVariableLength2_true-valid-memsafety.c_12.bpl de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.08 04:56:27" (1/1) ... [2019-08-06 16:56:27,192 INFO L148 IcfgInterpreter]: Started Sifa with 1 locations of interest [2019-08-06 16:56:27,195 INFO L155 IcfgInterpreter]: Building call graph [2019-08-06 16:56:27,202 INFO L160 IcfgInterpreter]: Initial procedures are [ULTIMATE.start] [2019-08-06 16:56:27,210 INFO L165 IcfgInterpreter]: Starting interpretation [2019-08-06 16:56:27,212 INFO L185 IcfgInterpreter]: Interpreting procedure ULTIMATE.start with input of size 1 [2019-08-06 16:56:27,328 INFO L169 IcfgInterpreter]: Interpretation finished [2019-08-06 16:56:27,328 INFO L177 IcfgInterpreter]: Final predicates for locations of interest are: [2019-08-06 16:56:27,332 INFO L179 IcfgInterpreter]: Location ULTIMATE.startErr0ASSERT_VIOLATIONASSERT has predicate 12#(and (= 0 |ULTIMATE.start_#Ultimate.alloc_#res.offset|) (= |ULTIMATE.start_foo_~#a~0.offset| |ULTIMATE.start_#Ultimate.alloc_#res.offset|) (= |ULTIMATE.start_foo_~#a~0.base| |ULTIMATE.start_bar_#in~b.base|) (not (< ULTIMATE.start_foo_~i~1 ULTIMATE.start_foo_~size)) (<= |ULTIMATE.start_write~int_#value| 2147483647) (= 1 (select |#valid| |ULTIMATE.start_read~int_#ptr.base|)) (<= (+ |ULTIMATE.start_write~int_#sizeOfWrittenType| |ULTIMATE.start_write~int_#ptr.offset|) (select |ULTIMATE.start_#Ultimate.alloc_old_#length| |ULTIMATE.start_write~int_#ptr.base|)) (= 0 ULTIMATE.start_bar_~res~0) (< ULTIMATE.start_bar_~i~0 ULTIMATE.start_bar_~size) (= |ULTIMATE.start_read~int_#sizeOfReadType| 4) (= |ULTIMATE.start_foo_#in~size| ULTIMATE.start_foo_~size) (= |ULTIMATE.start_write~int_#ptr.base| |ULTIMATE.start_main_~#b~0.base|) (= |ULTIMATE.start_foo_#in~b.base| ULTIMATE.start_foo_~b.base) (<= 0 (+ |ULTIMATE.start_write~int_#value| 2147483648)) (= (select |ULTIMATE.start_#Ultimate.alloc_old_#valid| |ULTIMATE.start_write~int_#ptr.base|) 1) (= (store |ULTIMATE.start_ULTIMATE.dealloc_old_#valid| ULTIMATE.start_ULTIMATE.dealloc_~addr.base 0) |ULTIMATE.start_#Ultimate.alloc_old_#valid|) (<= 0 |ULTIMATE.start_write~int_#value|) (= |ULTIMATE.start_bar_#in~size| ULTIMATE.start_foo_~size) (= ULTIMATE.start_main_~i~2 1) (not (= 0 |ULTIMATE.start_main_~#b~0.base|)) (= |ULTIMATE.start_bar_#in~size| ULTIMATE.start_bar_~size) (not (= ULTIMATE.start_ULTIMATE.dealloc_~addr.base 0)) (= |ULTIMATE.start_write~int_#value| 0) (= 0 |#NULL.base|) (= |ULTIMATE.start_foo_#in~b.base| |ULTIMATE.start_main_~#b~0.base|) (= (* 4 ULTIMATE.start_foo_~n) |ULTIMATE.start_#Ultimate.alloc_~size|) (or (not (<= (+ |ULTIMATE.start_read~int_#sizeOfReadType| |ULTIMATE.start_read~int_#ptr.offset|) (select |#length| |ULTIMATE.start_read~int_#ptr.base|))) (not (<= 0 |ULTIMATE.start_read~int_#ptr.offset|))) (= 0 ULTIMATE.start_foo_~i~1) (= ULTIMATE.start_main_~i~2 |ULTIMATE.start_foo_#in~n|) (= |ULTIMATE.start_foo_~#a~0.base| |ULTIMATE.start_#Ultimate.alloc_#res.base|) (not (= |ULTIMATE.start_#Ultimate.alloc_#res.base| 0)) (= (store |ULTIMATE.start_#Ultimate.alloc_old_#length| |ULTIMATE.start_#Ultimate.alloc_#res.base| |ULTIMATE.start_#Ultimate.alloc_~size|) |#length|) (= |ULTIMATE.start_main_~#b~0.offset| 0) (exists ((|v_ULTIMATE.start_#Ultimate.alloc_old_#valid_4| (Array Int Int))) (and (exists ((|v_ULTIMATE.start_#Ultimate.alloc_old_#valid_3| (Array Int Int))) (and (exists ((|v_#valid_9| (Array Int Int))) (and (= |v_ULTIMATE.start_#Ultimate.alloc_old_#valid_3| (store |v_#valid_9| 0 0)) (= |ULTIMATE.start_main_old_#valid| (store |v_#valid_9| 0 0)))) (= 0 (select |v_ULTIMATE.start_#Ultimate.alloc_old_#valid_3| |ULTIMATE.start_main_~#b~0.base|)) (= (store |v_ULTIMATE.start_#Ultimate.alloc_old_#valid_3| |ULTIMATE.start_main_~#b~0.base| 1) |v_ULTIMATE.start_#Ultimate.alloc_old_#valid_4|))) (= |ULTIMATE.start_ULTIMATE.dealloc_old_#valid| (store |v_ULTIMATE.start_#Ultimate.alloc_old_#valid_4| ULTIMATE.start_ULTIMATE.dealloc_~addr.base 1)) (= 0 (select |v_ULTIMATE.start_#Ultimate.alloc_old_#valid_4| ULTIMATE.start_ULTIMATE.dealloc_~addr.base)))) (= |ULTIMATE.start_read~int_#ptr.offset| (+ (* 4 ULTIMATE.start_bar_~i~0) ULTIMATE.start_bar_~b.offset)) (<= 0 |ULTIMATE.start_write~int_#ptr.offset|) (= ULTIMATE.start_main_~i~2 |ULTIMATE.start_foo_#in~size|) (= |ULTIMATE.start_write~int_#sizeOfWrittenType| 4) (= |ULTIMATE.start_bar_#in~b.offset| |ULTIMATE.start_foo_~#a~0.offset|) (exists ((|v_ULTIMATE.start_#Ultimate.alloc_old_#length_4| (Array Int Int))) (and (exists ((|v_ULTIMATE.start_#Ultimate.alloc_old_#length_3| (Array Int Int))) (= (store |v_ULTIMATE.start_#Ultimate.alloc_old_#length_3| |ULTIMATE.start_main_~#b~0.base| 400) |v_ULTIMATE.start_#Ultimate.alloc_old_#length_4|)) (= (store |v_ULTIMATE.start_#Ultimate.alloc_old_#length_4| ULTIMATE.start_ULTIMATE.dealloc_~addr.base 0) |ULTIMATE.start_#Ultimate.alloc_old_#length|))) (= ULTIMATE.start_ULTIMATE.dealloc_~addr.offset 0) (= |ULTIMATE.start_foo_#in~b.offset| ULTIMATE.start_foo_~b.offset) (= ULTIMATE.start_bar_~b.base |ULTIMATE.start_bar_#in~b.base|) (= |#valid| (store |ULTIMATE.start_#Ultimate.alloc_old_#valid| |ULTIMATE.start_#Ultimate.alloc_#res.base| 1)) (= |ULTIMATE.start_foo_#in~b.offset| |ULTIMATE.start_main_~#b~0.offset|) (= (store |ULTIMATE.start_write~int_old_#memory_int| |ULTIMATE.start_write~int_#ptr.base| (store (select |ULTIMATE.start_write~int_old_#memory_int| |ULTIMATE.start_write~int_#ptr.base|) |ULTIMATE.start_write~int_#ptr.offset| |ULTIMATE.start_write~int_#value|)) |#memory_int|) (= 0 (select |ULTIMATE.start_#Ultimate.alloc_old_#valid| |ULTIMATE.start_#Ultimate.alloc_#res.base|)) (= ULTIMATE.start_bar_~b.base |ULTIMATE.start_read~int_#ptr.base|) (= ULTIMATE.start_foo_~n |ULTIMATE.start_foo_#in~n|) (< ULTIMATE.start_main_~i~2 100) (= |#NULL.offset| 0) (= |ULTIMATE.start_main_~#b~0.offset| |ULTIMATE.start_write~int_#ptr.offset|) (= |ULTIMATE.start_bar_#in~b.offset| ULTIMATE.start_bar_~b.offset) (= 0 ULTIMATE.start_bar_~i~0)) [2019-08-06 16:56:27,334 WARN L88 terpretationObserver]: Some locations of interest might be reachable, see reported results. [2019-08-06 16:56:27,342 INFO L132 PluginConnector]: ------------------------ END Symbolic Interpretation---------------------------- [2019-08-06 16:56:27,345 INFO L168 Benchmark]: Toolchain (without parser) took 631.25 ms. Allocated memory is still 132.1 MB. Free memory was 106.8 MB in the beginning and 83.4 MB in the end (delta: 23.4 MB). Peak memory consumption was 23.4 MB. Max. memory is 7.1 GB. [2019-08-06 16:56:27,346 INFO L168 Benchmark]: Boogie PL CUP Parser took 0.24 ms. Allocated memory is still 132.1 MB. Free memory is still 108.1 MB. There was no memory consumed. Max. memory is 7.1 GB. [2019-08-06 16:56:27,348 INFO L168 Benchmark]: Boogie Preprocessor took 49.90 ms. Allocated memory is still 132.1 MB. Free memory was 106.8 MB in the beginning and 104.6 MB in the end (delta: 2.2 MB). Peak memory consumption was 2.2 MB. Max. memory is 7.1 GB. [2019-08-06 16:56:27,349 INFO L168 Benchmark]: RCFGBuilder took 416.83 ms. Allocated memory is still 132.1 MB. Free memory was 104.6 MB in the beginning and 91.0 MB in the end (delta: 13.6 MB). Peak memory consumption was 13.6 MB. Max. memory is 7.1 GB. [2019-08-06 16:56:27,350 INFO L168 Benchmark]: Symbolic Interpretation took 161.28 ms. Allocated memory is still 132.1 MB. Free memory was 91.0 MB in the beginning and 83.4 MB in the end (delta: 7.6 MB). Peak memory consumption was 7.6 MB. Max. memory is 7.1 GB. [2019-08-06 16:56:27,354 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.symbolicinterpretation: - UnprovableResult [Line: 151]: Unable to prove that assertion always holds Unable to prove that assertion always holds Reason: Interpreter reached this location of interest. Location might be reachable.. Possible FailurePath: * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Boogie PL CUP Parser took 0.24 ms. Allocated memory is still 132.1 MB. Free memory is still 108.1 MB. There was no memory consumed. Max. memory is 7.1 GB. * Boogie Preprocessor took 49.90 ms. Allocated memory is still 132.1 MB. Free memory was 106.8 MB in the beginning and 104.6 MB in the end (delta: 2.2 MB). Peak memory consumption was 2.2 MB. Max. memory is 7.1 GB. * RCFGBuilder took 416.83 ms. Allocated memory is still 132.1 MB. Free memory was 104.6 MB in the beginning and 91.0 MB in the end (delta: 13.6 MB). Peak memory consumption was 13.6 MB. Max. memory is 7.1 GB. * Symbolic Interpretation took 161.28 ms. Allocated memory is still 132.1 MB. Free memory was 91.0 MB in the beginning and 83.4 MB in the end (delta: 7.6 MB). Peak memory consumption was 7.6 MB. Max. memory is 7.1 GB. RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request...