./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/array-memsafety/knapsack_alloca_unsafe.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 906a4fb5 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/array-memsafety/knapsack_alloca_unsafe.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 134c0db99ce5251339642354d8ec6411765b7878 ............................................................................................................................. Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/array-memsafety/knapsack_alloca_unsafe.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 134c0db99ce5251339642354d8ec6411765b7878 ..................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN --- Real Ultimate output --- This is Ultimate 0.1.25-906a4fb [2020-10-19 17:57:05,813 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-19 17:57:05,816 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-19 17:57:05,854 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-19 17:57:05,855 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-19 17:57:05,864 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-19 17:57:05,866 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-19 17:57:05,869 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-19 17:57:05,872 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-19 17:57:05,875 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-19 17:57:05,877 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-19 17:57:05,878 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-19 17:57:05,878 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-19 17:57:05,882 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-19 17:57:05,883 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-19 17:57:05,885 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-19 17:57:05,887 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-19 17:57:05,888 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-19 17:57:05,890 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-19 17:57:05,896 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-19 17:57:05,898 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-19 17:57:05,899 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-19 17:57:05,901 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-19 17:57:05,901 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-19 17:57:05,913 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-19 17:57:05,915 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-19 17:57:05,915 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-19 17:57:05,916 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-19 17:57:05,918 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-19 17:57:05,919 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-19 17:57:05,921 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-19 17:57:05,922 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-19 17:57:05,923 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-19 17:57:05,925 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-19 17:57:05,927 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-19 17:57:05,929 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-19 17:57:05,930 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-19 17:57:05,931 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-19 17:57:05,931 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-19 17:57:05,932 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-19 17:57:05,934 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-19 17:57:05,936 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2020-10-19 17:57:05,981 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-19 17:57:05,981 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-19 17:57:05,983 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-19 17:57:05,984 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-19 17:57:05,984 INFO L138 SettingsManager]: * Use SBE=true [2020-10-19 17:57:05,985 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-19 17:57:05,985 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-19 17:57:05,985 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-19 17:57:05,986 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-19 17:57:05,986 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-19 17:57:05,987 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-19 17:57:05,987 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2020-10-19 17:57:05,988 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2020-10-19 17:57:05,988 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2020-10-19 17:57:05,988 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-10-19 17:57:05,989 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2020-10-19 17:57:05,989 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-19 17:57:05,989 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-19 17:57:05,990 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-19 17:57:05,990 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-19 17:57:05,990 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-10-19 17:57:05,991 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-10-19 17:57:05,991 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-10-19 17:57:05,991 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-19 17:57:05,992 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-10-19 17:57:05,992 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-19 17:57:05,992 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-10-19 17:57:05,992 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-19 17:57:05,993 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 134c0db99ce5251339642354d8ec6411765b7878 [2020-10-19 17:57:06,301 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-19 17:57:06,313 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-19 17:57:06,316 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-19 17:57:06,318 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-19 17:57:06,318 INFO L275 PluginConnector]: CDTParser initialized [2020-10-19 17:57:06,319 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/array-memsafety/knapsack_alloca_unsafe.i [2020-10-19 17:57:06,376 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3a8e13b74/6798f7e9d95f48f8807b224d51596865/FLAG6e29acce5 [2020-10-19 17:57:06,933 INFO L306 CDTParser]: Found 1 translation units. [2020-10-19 17:57:06,935 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/knapsack_alloca_unsafe.i [2020-10-19 17:57:06,955 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3a8e13b74/6798f7e9d95f48f8807b224d51596865/FLAG6e29acce5 [2020-10-19 17:57:07,130 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3a8e13b74/6798f7e9d95f48f8807b224d51596865 [2020-10-19 17:57:07,134 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-19 17:57:07,141 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2020-10-19 17:57:07,142 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-19 17:57:07,143 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-19 17:57:07,147 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-19 17:57:07,148 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 05:57:07" (1/1) ... [2020-10-19 17:57:07,151 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@22f062c3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:07, skipping insertion in model container [2020-10-19 17:57:07,151 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 05:57:07" (1/1) ... [2020-10-19 17:57:07,160 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-19 17:57:07,218 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 17:57:07,573 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 17:57:07,591 ERROR L326 MainTranslator]: Unsupported Syntax: Found a cast between two array/pointer types where the value type is smaller than the cast-to type while using memory model HoenickeLindenmann_Original (while Not using bitvector translation) [2020-10-19 17:57:07,591 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@7858afe5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:07, skipping insertion in model container [2020-10-19 17:57:07,592 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-19 17:57:07,592 INFO L184 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2020-10-19 17:57:07,597 INFO L168 Benchmark]: Toolchain (without parser) took 459.08 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.3 MB). Free memory was 955.9 MB in the beginning and 1.1 GB in the end (delta: -179.4 MB). Peak memory consumption was 26.4 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:07,597 INFO L168 Benchmark]: CDTParser took 0.29 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 17:57:07,600 INFO L168 Benchmark]: CACSL2BoogieTranslator took 449.88 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.3 MB). Free memory was 950.6 MB in the beginning and 1.1 GB in the end (delta: -184.8 MB). Peak memory consumption was 21.1 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:07,603 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.29 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 449.88 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 146.3 MB). Free memory was 950.6 MB in the beginning and 1.1 GB in the end (delta: -184.8 MB). Peak memory consumption was 21.1 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - UnsupportedSyntaxResult [Line: 535]: Unsupported Syntax Found a cast between two array/pointer types where the value type is smaller than the cast-to type while using memory model HoenickeLindenmann_Original (while Not using bitvector translation) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... ### Bit-precise run ### This is Ultimate 0.1.25-906a4fb [2020-10-19 17:57:09,352 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-19 17:57:09,355 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-19 17:57:09,397 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-19 17:57:09,397 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-19 17:57:09,407 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-19 17:57:09,410 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-19 17:57:09,414 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-19 17:57:09,417 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-19 17:57:09,420 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-19 17:57:09,422 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-19 17:57:09,423 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-19 17:57:09,423 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-19 17:57:09,427 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-19 17:57:09,429 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-19 17:57:09,431 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-19 17:57:09,432 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-19 17:57:09,434 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-19 17:57:09,436 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-19 17:57:09,443 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-19 17:57:09,445 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-19 17:57:09,446 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-19 17:57:09,448 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-19 17:57:09,449 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-19 17:57:09,462 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-19 17:57:09,467 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-19 17:57:09,468 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-19 17:57:09,469 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-19 17:57:09,471 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-19 17:57:09,472 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-19 17:57:09,473 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-19 17:57:09,475 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-19 17:57:09,477 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-19 17:57:09,479 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-19 17:57:09,480 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-19 17:57:09,481 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-19 17:57:09,482 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-19 17:57:09,482 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-19 17:57:09,483 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-19 17:57:09,484 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-19 17:57:09,484 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-19 17:57:09,486 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2020-10-19 17:57:09,527 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-19 17:57:09,527 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-19 17:57:09,529 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-19 17:57:09,529 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-19 17:57:09,530 INFO L138 SettingsManager]: * Use SBE=true [2020-10-19 17:57:09,530 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-19 17:57:09,530 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-19 17:57:09,531 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-19 17:57:09,531 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-19 17:57:09,531 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-19 17:57:09,532 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-19 17:57:09,532 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2020-10-19 17:57:09,533 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2020-10-19 17:57:09,533 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2020-10-19 17:57:09,534 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-10-19 17:57:09,534 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2020-10-19 17:57:09,534 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2020-10-19 17:57:09,534 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2020-10-19 17:57:09,535 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-19 17:57:09,535 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-19 17:57:09,535 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-19 17:57:09,536 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-19 17:57:09,536 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-10-19 17:57:09,536 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-10-19 17:57:09,536 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-10-19 17:57:09,537 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-19 17:57:09,537 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-10-19 17:57:09,537 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2020-10-19 17:57:09,537 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --rewrite-divk --print-success --lang smt [2020-10-19 17:57:09,538 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-19 17:57:09,538 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2020-10-19 17:57:09,538 INFO L138 SettingsManager]: * Logic for external solver=AUFBV Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 134c0db99ce5251339642354d8ec6411765b7878 [2020-10-19 17:57:09,872 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-19 17:57:09,891 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-19 17:57:09,895 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-19 17:57:09,896 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-19 17:57:09,897 INFO L275 PluginConnector]: CDTParser initialized [2020-10-19 17:57:09,897 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/array-memsafety/knapsack_alloca_unsafe.i [2020-10-19 17:57:09,956 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/496666580/116090395d8c48f08d78390e6ff4e1b8/FLAG22cca6ffa [2020-10-19 17:57:10,463 INFO L306 CDTParser]: Found 1 translation units. [2020-10-19 17:57:10,464 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/knapsack_alloca_unsafe.i [2020-10-19 17:57:10,478 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/496666580/116090395d8c48f08d78390e6ff4e1b8/FLAG22cca6ffa [2020-10-19 17:57:10,802 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/496666580/116090395d8c48f08d78390e6ff4e1b8 [2020-10-19 17:57:10,806 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-19 17:57:10,813 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2020-10-19 17:57:10,815 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-19 17:57:10,815 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-19 17:57:10,819 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-19 17:57:10,820 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 05:57:10" (1/1) ... [2020-10-19 17:57:10,824 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@43e7a406 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:10, skipping insertion in model container [2020-10-19 17:57:10,825 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 05:57:10" (1/1) ... [2020-10-19 17:57:10,834 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-19 17:57:10,894 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 17:57:11,287 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 17:57:11,301 INFO L200 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2020-10-19 17:57:11,308 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 17:57:11,352 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 17:57:11,358 INFO L203 MainTranslator]: Completed pre-run [2020-10-19 17:57:11,404 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 17:57:11,464 INFO L208 MainTranslator]: Completed translation [2020-10-19 17:57:11,465 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:11 WrapperNode [2020-10-19 17:57:11,465 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-19 17:57:11,466 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-19 17:57:11,466 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-19 17:57:11,466 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-19 17:57:11,481 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:11" (1/1) ... [2020-10-19 17:57:11,481 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:11" (1/1) ... [2020-10-19 17:57:11,501 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:11" (1/1) ... [2020-10-19 17:57:11,502 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:11" (1/1) ... [2020-10-19 17:57:11,524 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:11" (1/1) ... [2020-10-19 17:57:11,531 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:11" (1/1) ... [2020-10-19 17:57:11,536 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:11" (1/1) ... [2020-10-19 17:57:11,544 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-19 17:57:11,544 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-19 17:57:11,545 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-19 17:57:11,545 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-19 17:57:11,546 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:11" (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 [2020-10-19 17:57:11,616 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2020-10-19 17:57:11,616 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-19 17:57:11,616 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.setCurrentRoundingMode [2020-10-19 17:57:11,616 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_32 [2020-10-19 17:57:11,617 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_64 [2020-10-19 17:57:11,617 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint16_identity [2020-10-19 17:57:11,617 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint32_identity [2020-10-19 17:57:11,617 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint64_identity [2020-10-19 17:57:11,617 INFO L138 BoogieDeclarations]: Found implementation of procedure knapsack [2020-10-19 17:57:11,617 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2020-10-19 17:57:11,618 INFO L130 BoogieDeclarations]: Found specification of procedure __ctype_get_mb_cur_max [2020-10-19 17:57:11,618 INFO L130 BoogieDeclarations]: Found specification of procedure atof [2020-10-19 17:57:11,618 INFO L130 BoogieDeclarations]: Found specification of procedure atoi [2020-10-19 17:57:11,618 INFO L130 BoogieDeclarations]: Found specification of procedure atol [2020-10-19 17:57:11,618 INFO L130 BoogieDeclarations]: Found specification of procedure atoll [2020-10-19 17:57:11,618 INFO L130 BoogieDeclarations]: Found specification of procedure strtod [2020-10-19 17:57:11,618 INFO L130 BoogieDeclarations]: Found specification of procedure strtof [2020-10-19 17:57:11,619 INFO L130 BoogieDeclarations]: Found specification of procedure strtold [2020-10-19 17:57:11,619 INFO L130 BoogieDeclarations]: Found specification of procedure strtol [2020-10-19 17:57:11,619 INFO L130 BoogieDeclarations]: Found specification of procedure strtoul [2020-10-19 17:57:11,619 INFO L130 BoogieDeclarations]: Found specification of procedure strtoq [2020-10-19 17:57:11,619 INFO L130 BoogieDeclarations]: Found specification of procedure strtouq [2020-10-19 17:57:11,619 INFO L130 BoogieDeclarations]: Found specification of procedure strtoll [2020-10-19 17:57:11,619 INFO L130 BoogieDeclarations]: Found specification of procedure strtoull [2020-10-19 17:57:11,620 INFO L130 BoogieDeclarations]: Found specification of procedure l64a [2020-10-19 17:57:11,620 INFO L130 BoogieDeclarations]: Found specification of procedure a64l [2020-10-19 17:57:11,620 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_32 [2020-10-19 17:57:11,620 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_64 [2020-10-19 17:57:11,620 INFO L130 BoogieDeclarations]: Found specification of procedure __uint16_identity [2020-10-19 17:57:11,620 INFO L130 BoogieDeclarations]: Found specification of procedure __uint32_identity [2020-10-19 17:57:11,620 INFO L130 BoogieDeclarations]: Found specification of procedure __uint64_identity [2020-10-19 17:57:11,621 INFO L130 BoogieDeclarations]: Found specification of procedure select [2020-10-19 17:57:11,621 INFO L130 BoogieDeclarations]: Found specification of procedure pselect [2020-10-19 17:57:11,621 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_major [2020-10-19 17:57:11,621 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_minor [2020-10-19 17:57:11,621 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_makedev [2020-10-19 17:57:11,621 INFO L130 BoogieDeclarations]: Found specification of procedure random [2020-10-19 17:57:11,621 INFO L130 BoogieDeclarations]: Found specification of procedure srandom [2020-10-19 17:57:11,622 INFO L130 BoogieDeclarations]: Found specification of procedure initstate [2020-10-19 17:57:11,622 INFO L130 BoogieDeclarations]: Found specification of procedure setstate [2020-10-19 17:57:11,622 INFO L130 BoogieDeclarations]: Found specification of procedure random_r [2020-10-19 17:57:11,622 INFO L130 BoogieDeclarations]: Found specification of procedure srandom_r [2020-10-19 17:57:11,622 INFO L130 BoogieDeclarations]: Found specification of procedure initstate_r [2020-10-19 17:57:11,622 INFO L130 BoogieDeclarations]: Found specification of procedure setstate_r [2020-10-19 17:57:11,622 INFO L130 BoogieDeclarations]: Found specification of procedure rand [2020-10-19 17:57:11,622 INFO L130 BoogieDeclarations]: Found specification of procedure srand [2020-10-19 17:57:11,623 INFO L130 BoogieDeclarations]: Found specification of procedure rand_r [2020-10-19 17:57:11,623 INFO L130 BoogieDeclarations]: Found specification of procedure drand48 [2020-10-19 17:57:11,623 INFO L130 BoogieDeclarations]: Found specification of procedure erand48 [2020-10-19 17:57:11,623 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48 [2020-10-19 17:57:11,623 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48 [2020-10-19 17:57:11,623 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48 [2020-10-19 17:57:11,623 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48 [2020-10-19 17:57:11,624 INFO L130 BoogieDeclarations]: Found specification of procedure srand48 [2020-10-19 17:57:11,624 INFO L130 BoogieDeclarations]: Found specification of procedure seed48 [2020-10-19 17:57:11,624 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48 [2020-10-19 17:57:11,624 INFO L130 BoogieDeclarations]: Found specification of procedure drand48_r [2020-10-19 17:57:11,624 INFO L130 BoogieDeclarations]: Found specification of procedure erand48_r [2020-10-19 17:57:11,624 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48_r [2020-10-19 17:57:11,624 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48_r [2020-10-19 17:57:11,625 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48_r [2020-10-19 17:57:11,625 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48_r [2020-10-19 17:57:11,625 INFO L130 BoogieDeclarations]: Found specification of procedure srand48_r [2020-10-19 17:57:11,625 INFO L130 BoogieDeclarations]: Found specification of procedure seed48_r [2020-10-19 17:57:11,625 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48_r [2020-10-19 17:57:11,625 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2020-10-19 17:57:11,625 INFO L130 BoogieDeclarations]: Found specification of procedure calloc [2020-10-19 17:57:11,625 INFO L130 BoogieDeclarations]: Found specification of procedure realloc [2020-10-19 17:57:11,626 INFO L130 BoogieDeclarations]: Found specification of procedure free [2020-10-19 17:57:11,626 INFO L130 BoogieDeclarations]: Found specification of procedure alloca [2020-10-19 17:57:11,626 INFO L130 BoogieDeclarations]: Found specification of procedure valloc [2020-10-19 17:57:11,626 INFO L130 BoogieDeclarations]: Found specification of procedure posix_memalign [2020-10-19 17:57:11,626 INFO L130 BoogieDeclarations]: Found specification of procedure aligned_alloc [2020-10-19 17:57:11,626 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2020-10-19 17:57:11,626 INFO L130 BoogieDeclarations]: Found specification of procedure atexit [2020-10-19 17:57:11,627 INFO L130 BoogieDeclarations]: Found specification of procedure at_quick_exit [2020-10-19 17:57:11,627 INFO L130 BoogieDeclarations]: Found specification of procedure on_exit [2020-10-19 17:57:11,627 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2020-10-19 17:57:11,627 INFO L130 BoogieDeclarations]: Found specification of procedure quick_exit [2020-10-19 17:57:11,627 INFO L130 BoogieDeclarations]: Found specification of procedure _Exit [2020-10-19 17:57:11,627 INFO L130 BoogieDeclarations]: Found specification of procedure getenv [2020-10-19 17:57:11,627 INFO L130 BoogieDeclarations]: Found specification of procedure putenv [2020-10-19 17:57:11,628 INFO L130 BoogieDeclarations]: Found specification of procedure setenv [2020-10-19 17:57:11,628 INFO L130 BoogieDeclarations]: Found specification of procedure unsetenv [2020-10-19 17:57:11,629 INFO L130 BoogieDeclarations]: Found specification of procedure clearenv [2020-10-19 17:57:11,629 INFO L130 BoogieDeclarations]: Found specification of procedure mktemp [2020-10-19 17:57:11,629 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemp [2020-10-19 17:57:11,629 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemps [2020-10-19 17:57:11,629 INFO L130 BoogieDeclarations]: Found specification of procedure mkdtemp [2020-10-19 17:57:11,629 INFO L130 BoogieDeclarations]: Found specification of procedure system [2020-10-19 17:57:11,629 INFO L130 BoogieDeclarations]: Found specification of procedure realpath [2020-10-19 17:57:11,630 INFO L130 BoogieDeclarations]: Found specification of procedure bsearch [2020-10-19 17:57:11,630 INFO L130 BoogieDeclarations]: Found specification of procedure qsort [2020-10-19 17:57:11,630 INFO L130 BoogieDeclarations]: Found specification of procedure abs [2020-10-19 17:57:11,630 INFO L130 BoogieDeclarations]: Found specification of procedure labs [2020-10-19 17:57:11,630 INFO L130 BoogieDeclarations]: Found specification of procedure llabs [2020-10-19 17:57:11,630 INFO L130 BoogieDeclarations]: Found specification of procedure div [2020-10-19 17:57:11,630 INFO L130 BoogieDeclarations]: Found specification of procedure ldiv [2020-10-19 17:57:11,630 INFO L130 BoogieDeclarations]: Found specification of procedure lldiv [2020-10-19 17:57:11,631 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt [2020-10-19 17:57:11,631 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt [2020-10-19 17:57:11,631 INFO L130 BoogieDeclarations]: Found specification of procedure gcvt [2020-10-19 17:57:11,631 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt [2020-10-19 17:57:11,631 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt [2020-10-19 17:57:11,631 INFO L130 BoogieDeclarations]: Found specification of procedure qgcvt [2020-10-19 17:57:11,631 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt_r [2020-10-19 17:57:11,632 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt_r [2020-10-19 17:57:11,632 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt_r [2020-10-19 17:57:11,632 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt_r [2020-10-19 17:57:11,632 INFO L130 BoogieDeclarations]: Found specification of procedure mblen [2020-10-19 17:57:11,632 INFO L130 BoogieDeclarations]: Found specification of procedure mbtowc [2020-10-19 17:57:11,632 INFO L130 BoogieDeclarations]: Found specification of procedure wctomb [2020-10-19 17:57:11,632 INFO L130 BoogieDeclarations]: Found specification of procedure mbstowcs [2020-10-19 17:57:11,632 INFO L130 BoogieDeclarations]: Found specification of procedure wcstombs [2020-10-19 17:57:11,633 INFO L130 BoogieDeclarations]: Found specification of procedure rpmatch [2020-10-19 17:57:11,633 INFO L130 BoogieDeclarations]: Found specification of procedure getsubopt [2020-10-19 17:57:11,633 INFO L130 BoogieDeclarations]: Found specification of procedure getloadavg [2020-10-19 17:57:11,633 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2020-10-19 17:57:11,633 INFO L130 BoogieDeclarations]: Found specification of procedure knapsack [2020-10-19 17:57:11,633 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2020-10-19 17:57:11,633 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2020-10-19 17:57:11,633 INFO L130 BoogieDeclarations]: Found specification of procedure main [2020-10-19 17:57:11,634 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-19 17:57:11,634 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-10-19 17:57:11,634 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2020-10-19 17:57:11,634 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-19 17:57:11,634 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.setCurrentRoundingMode [2020-10-19 17:57:12,542 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-19 17:57:12,542 INFO L298 CfgBuilder]: Removed 4 assume(true) statements. [2020-10-19 17:57:12,544 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 05:57:12 BoogieIcfgContainer [2020-10-19 17:57:12,545 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-19 17:57:12,546 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-10-19 17:57:12,546 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-10-19 17:57:12,549 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-10-19 17:57:12,549 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 19.10 05:57:10" (1/3) ... [2020-10-19 17:57:12,550 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@402f2a1c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 19.10 05:57:12, skipping insertion in model container [2020-10-19 17:57:12,551 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:11" (2/3) ... [2020-10-19 17:57:12,551 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@402f2a1c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 19.10 05:57:12, skipping insertion in model container [2020-10-19 17:57:12,551 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 05:57:12" (3/3) ... [2020-10-19 17:57:12,553 INFO L111 eAbstractionObserver]: Analyzing ICFG knapsack_alloca_unsafe.i [2020-10-19 17:57:12,565 INFO L164 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2020-10-19 17:57:12,573 INFO L176 ceAbstractionStarter]: Appying trace abstraction to program that has 27 error locations. [2020-10-19 17:57:12,586 INFO L253 AbstractCegarLoop]: Starting to check reachability of 27 error locations. [2020-10-19 17:57:12,606 INFO L377 AbstractCegarLoop]: Interprodecural is true [2020-10-19 17:57:12,606 INFO L378 AbstractCegarLoop]: Hoare is false [2020-10-19 17:57:12,606 INFO L379 AbstractCegarLoop]: Compute interpolants for FPandBP [2020-10-19 17:57:12,607 INFO L380 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-19 17:57:12,607 INFO L381 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-19 17:57:12,607 INFO L382 AbstractCegarLoop]: Difference is false [2020-10-19 17:57:12,607 INFO L383 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-19 17:57:12,608 INFO L387 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-10-19 17:57:12,625 INFO L276 IsEmpty]: Start isEmpty. Operand 73 states. [2020-10-19 17:57:12,635 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2020-10-19 17:57:12,635 INFO L414 BasicCegarLoop]: Found error trace [2020-10-19 17:57:12,637 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 17:57:12,637 INFO L429 AbstractCegarLoop]: === Iteration 1 === [knapsackErr6REQUIRES_VIOLATION, knapsackErr17REQUIRES_VIOLATION, knapsackErr7REQUIRES_VIOLATION, knapsackErr5REQUIRES_VIOLATION, knapsackErr16REQUIRES_VIOLATION, knapsackErr14REQUIRES_VIOLATION, knapsackErr4REQUIRES_VIOLATION, knapsackErr15REQUIRES_VIOLATION, knapsackErr2REQUIRES_VIOLATION, knapsackErr13REQUIRES_VIOLATION, knapsackErr3REQUIRES_VIOLATION, knapsackErr0REQUIRES_VIOLATION, knapsackErr1REQUIRES_VIOLATION, knapsackErr12REQUIRES_VIOLATION, knapsackErr10REQUIRES_VIOLATION, knapsackErr11REQUIRES_VIOLATION, knapsackErr9REQUIRES_VIOLATION, knapsackErr18REQUIRES_VIOLATION, knapsackErr8REQUIRES_VIOLATION, knapsackErr19REQUIRES_VIOLATION, mainErr2REQUIRES_VIOLATION, mainErr3REQUIRES_VIOLATION, mainErr4REQUIRES_VIOLATION, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr1REQUIRES_VIOLATION]=== [2020-10-19 17:57:12,643 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 17:57:12,644 INFO L82 PathProgramCache]: Analyzing trace with hash -1775609137, now seen corresponding path program 1 times [2020-10-19 17:57:12,658 INFO L162 FreeRefinementEngine]: Executing refinement strategy WOLF [2020-10-19 17:57:12,658 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1418568468] [2020-10-19 17:57:12,658 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat Starting monitored process 2 with mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with mathsat -unsat_core_generation=3 [2020-10-19 17:57:12,854 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 17:57:12,860 INFO L263 TraceCheckSpWp]: Trace formula consists of 60 conjuncts, 5 conjunts are in the unsatisfiable core [2020-10-19 17:57:12,867 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 17:57:13,140 INFO L350 Elim1Store]: treesize reduction 93, result has 20.5 percent of original size [2020-10-19 17:57:13,141 INFO L384 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 6 case distinctions, treesize of input 38 treesize of output 47 [2020-10-19 17:57:13,144 INFO L545 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2020-10-19 17:57:13,167 INFO L625 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2020-10-19 17:57:13,177 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1418568468] [2020-10-19 17:57:13,178 WARN L332 FreeRefinementEngine]: Interpolation failed due to KNOWN_DEPENDING: no int: (_ BitVec 32) [2020-10-19 17:57:13,178 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [1525605756] [2020-10-19 17:57:13,178 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 3 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2020-10-19 17:57:13,425 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 17:57:13,427 INFO L263 TraceCheckSpWp]: Trace formula consists of 60 conjuncts, 5 conjunts are in the unsatisfiable core [2020-10-19 17:57:13,429 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 17:57:13,536 INFO L350 Elim1Store]: treesize reduction 93, result has 20.5 percent of original size [2020-10-19 17:57:13,537 INFO L384 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 5 case distinctions, treesize of input 42 treesize of output 51 [2020-10-19 17:57:13,539 INFO L545 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2020-10-19 17:57:13,573 INFO L625 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2020-10-19 17:57:13,577 WARN L332 FreeRefinementEngine]: Interpolation failed due to KNOWN_DEPENDING: no int: (_ BitVec 32) [2020-10-19 17:57:13,577 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [515116707] [2020-10-19 17:57:13,578 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-10-19 17:57:13,699 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 17:57:13,701 INFO L263 TraceCheckSpWp]: Trace formula consists of 60 conjuncts, 5 conjunts are in the unsatisfiable core [2020-10-19 17:57:13,703 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 17:57:13,804 INFO L350 Elim1Store]: treesize reduction 93, result has 20.5 percent of original size [2020-10-19 17:57:13,805 INFO L384 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 5 case distinctions, treesize of input 42 treesize of output 51 [2020-10-19 17:57:13,807 INFO L545 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2020-10-19 17:57:13,835 INFO L625 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2020-10-19 17:57:13,838 WARN L332 FreeRefinementEngine]: Interpolation failed due to KNOWN_DEPENDING: no int: (_ BitVec 32) [2020-10-19 17:57:13,838 INFO L219 FreeRefinementEngine]: Constructing automaton from 0 perfect and 0 imperfect interpolant sequences. [2020-10-19 17:57:13,839 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [] total 0 [2020-10-19 17:57:13,839 ERROR L205 FreeRefinementEngine]: Strategy WOLF failed to provide any proof altough trace is infeasible [2020-10-19 17:57:13,839 INFO L523 BasicCegarLoop]: Counterexample might be feasible [2020-10-19 17:57:14,462 WARN L518 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 cvc4 --incremental --print-success --lang smt --rewrite-divk,2 mathsat -unsat_core_generation=3,4 z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-10-19 17:57:14,474 WARN L238 ceAbstractionStarter]: Unable to decide correctness. Please check the following counterexample manually. [2020-10-19 17:57:14,475 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 19.10 05:57:14 BoogieIcfgContainer [2020-10-19 17:57:14,475 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-10-19 17:57:14,476 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-19 17:57:14,476 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-19 17:57:14,476 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-19 17:57:14,477 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 05:57:12" (3/4) ... [2020-10-19 17:57:14,481 INFO L140 WitnessPrinter]: No result that supports witness generation found [2020-10-19 17:57:14,481 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-19 17:57:14,483 INFO L168 Benchmark]: Toolchain (without parser) took 3675.20 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 135.8 MB). Free memory was 960.0 MB in the beginning and 900.2 MB in the end (delta: 59.8 MB). Peak memory consumption was 195.5 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:14,484 INFO L168 Benchmark]: CDTParser took 0.13 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 17:57:14,485 INFO L168 Benchmark]: CACSL2BoogieTranslator took 650.73 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 135.8 MB). Free memory was 954.6 MB in the beginning and 1.1 GB in the end (delta: -155.1 MB). Peak memory consumption was 20.9 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:14,486 INFO L168 Benchmark]: Boogie Preprocessor took 78.29 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.7 MB). Peak memory consumption was 6.7 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:14,486 INFO L168 Benchmark]: RCFGBuilder took 1000.24 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 58.7 MB). Peak memory consumption was 58.7 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:14,487 INFO L168 Benchmark]: TraceAbstraction took 1929.48 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 900.2 MB in the end (delta: 144.1 MB). Peak memory consumption was 144.1 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:14,488 INFO L168 Benchmark]: Witness Printer took 5.57 ms. Allocated memory is still 1.2 GB. Free memory is still 900.2 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 17:57:14,492 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.13 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 650.73 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 135.8 MB). Free memory was 954.6 MB in the beginning and 1.1 GB in the end (delta: -155.1 MB). Peak memory consumption was 20.9 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 78.29 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.7 MB). Peak memory consumption was 6.7 MB. Max. memory is 11.5 GB. * RCFGBuilder took 1000.24 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 58.7 MB). Peak memory consumption was 58.7 MB. Max. memory is 11.5 GB. * TraceAbstraction took 1929.48 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 900.2 MB in the end (delta: 144.1 MB). Peak memory consumption was 144.1 MB. Max. memory is 11.5 GB. * Witness Printer took 5.57 ms. Allocated memory is still 1.2 GB. Free memory is still 900.2 MB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 542]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: unable to decide satisfiability of path constraint. Possible FailurePath: [L527] int N = __VERIFIER_nondet_int(); [L528] int M = __VERIFIER_nondet_int(); [L529] COND TRUE N < 1 [L530] N = 1 [L532] COND TRUE M < 1 [L533] M = 1 [L535] int *size = (int*) __builtin_alloca (N * sizeof(int)); [L536] int *val = (int*) __builtin_alloca (N * sizeof(int)); [L537] int *cost = (int*) __builtin_alloca (M * sizeof(int)); [L538] int *best = (int*) __builtin_alloca (M * sizeof(int)); [L540] int i = 0; [L540] COND TRUE i < N [L542] size[i] = __VERIFIER_nondet_int() - StatisticsResult: Ultimate Automizer benchmark data CFG has 10 procedures, 94 locations, 27 error locations. Started 1 CEGAR loops. VerificationResult: UNKNOWN, OverallTime: 1.8s, OverallIterations: 1, TraceHistogramMax: 1, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: No data available, PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=73occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: No data available, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces Received shutdown request...