./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 9a8b2e8d Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -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 -Xmx15G -Xms4m -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-9a8b2e8 [2020-10-20 05:49:53,205 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-20 05:49:53,208 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-20 05:49:53,232 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-20 05:49:53,232 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-20 05:49:53,234 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-20 05:49:53,235 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-20 05:49:53,244 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-20 05:49:53,246 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-20 05:49:53,247 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-20 05:49:53,248 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-20 05:49:53,249 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-20 05:49:53,249 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-20 05:49:53,250 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-20 05:49:53,251 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-20 05:49:53,253 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-20 05:49:53,254 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-20 05:49:53,255 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-20 05:49:53,256 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-20 05:49:53,258 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-20 05:49:53,260 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-20 05:49:53,261 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-20 05:49:53,262 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-20 05:49:53,263 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-20 05:49:53,266 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-20 05:49:53,266 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-20 05:49:53,266 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-20 05:49:53,267 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-20 05:49:53,268 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-20 05:49:53,269 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-20 05:49:53,269 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-20 05:49:53,270 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-20 05:49:53,271 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-20 05:49:53,272 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-20 05:49:53,273 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-20 05:49:53,273 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-20 05:49:53,274 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-20 05:49:53,274 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-20 05:49:53,274 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-20 05:49:53,275 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-20 05:49:53,276 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-20 05:49:53,277 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2020-10-20 05:49:53,300 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-20 05:49:53,300 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-20 05:49:53,302 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-20 05:49:53,302 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-20 05:49:53,302 INFO L138 SettingsManager]: * Use SBE=true [2020-10-20 05:49:53,303 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-20 05:49:53,303 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-20 05:49:53,303 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-20 05:49:53,303 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-20 05:49:53,304 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-20 05:49:53,304 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-20 05:49:53,304 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2020-10-20 05:49:53,304 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2020-10-20 05:49:53,305 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2020-10-20 05:49:53,305 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-10-20 05:49:53,305 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2020-10-20 05:49:53,305 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-20 05:49:53,306 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-20 05:49:53,306 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-20 05:49:53,306 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-20 05:49:53,306 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-10-20 05:49:53,307 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-10-20 05:49:53,307 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-10-20 05:49:53,307 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-20 05:49:53,308 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-10-20 05:49:53,308 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-20 05:49:53,308 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-10-20 05:49:53,308 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-20 05:49:53,308 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-20 05:49:53,505 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-20 05:49:53,529 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-20 05:49:53,533 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-20 05:49:53,534 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-20 05:49:53,535 INFO L275 PluginConnector]: CDTParser initialized [2020-10-20 05:49:53,536 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-20 05:49:53,608 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cdf48bd67/7c2dfbbcdb89444494ea68bb5318cd90/FLAG305256e3c [2020-10-20 05:49:54,168 INFO L306 CDTParser]: Found 1 translation units. [2020-10-20 05:49:54,169 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/knapsack_alloca_unsafe.i [2020-10-20 05:49:54,186 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cdf48bd67/7c2dfbbcdb89444494ea68bb5318cd90/FLAG305256e3c [2020-10-20 05:49:54,405 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cdf48bd67/7c2dfbbcdb89444494ea68bb5318cd90 [2020-10-20 05:49:54,410 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-20 05:49:54,417 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2020-10-20 05:49:54,419 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-20 05:49:54,419 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-20 05:49:54,423 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-20 05:49:54,424 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.10 05:49:54" (1/1) ... [2020-10-20 05:49:54,427 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@9f0f285 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:54, skipping insertion in model container [2020-10-20 05:49:54,428 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.10 05:49:54" (1/1) ... [2020-10-20 05:49:54,435 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-20 05:49:54,492 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-20 05:49:54,923 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-20 05:49:54,937 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-20 05:49:54,938 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@e44935d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:54, skipping insertion in model container [2020-10-20 05:49:54,938 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-20 05:49:54,938 INFO L184 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.preprocessor [2020-10-20 05:49:54,941 INFO L168 Benchmark]: Toolchain (without parser) took 528.14 ms. Allocated memory was 35.7 MB in the beginning and 43.5 MB in the end (delta: 7.9 MB). Free memory was 12.2 MB in the beginning and 21.8 MB in the end (delta: -9.7 MB). Peak memory consumption was 11.6 MB. Max. memory is 14.3 GB. [2020-10-20 05:49:54,942 INFO L168 Benchmark]: CDTParser took 0.18 ms. Allocated memory is still 33.6 MB. Free memory was 18.7 MB in the beginning and 18.7 MB in the end (delta: 29.6 kB). Peak memory consumption was 29.6 kB. Max. memory is 14.3 GB. [2020-10-20 05:49:54,943 INFO L168 Benchmark]: CACSL2BoogieTranslator took 519.01 ms. Allocated memory was 35.7 MB in the beginning and 43.5 MB in the end (delta: 7.9 MB). Free memory was 11.3 MB in the beginning and 21.8 MB in the end (delta: -10.6 MB). Peak memory consumption was 10.7 MB. Max. memory is 14.3 GB. [2020-10-20 05:49:54,945 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.18 ms. Allocated memory is still 33.6 MB. Free memory was 18.7 MB in the beginning and 18.7 MB in the end (delta: 29.6 kB). Peak memory consumption was 29.6 kB. Max. memory is 14.3 GB. * CACSL2BoogieTranslator took 519.01 ms. Allocated memory was 35.7 MB in the beginning and 43.5 MB in the end (delta: 7.9 MB). Free memory was 11.3 MB in the beginning and 21.8 MB in the end (delta: -10.6 MB). Peak memory consumption was 10.7 MB. Max. memory is 14.3 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-9a8b2e8 [2020-10-20 05:49:56,959 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-20 05:49:56,961 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-20 05:49:56,984 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-20 05:49:56,985 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-20 05:49:56,986 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-20 05:49:56,994 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-20 05:49:56,996 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-20 05:49:56,998 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-20 05:49:56,999 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-20 05:49:57,000 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-20 05:49:57,001 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-20 05:49:57,001 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-20 05:49:57,002 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-20 05:49:57,003 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-20 05:49:57,004 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-20 05:49:57,005 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-20 05:49:57,006 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-20 05:49:57,008 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-20 05:49:57,009 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-20 05:49:57,011 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-20 05:49:57,012 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-20 05:49:57,013 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-20 05:49:57,014 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-20 05:49:57,017 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-20 05:49:57,017 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-20 05:49:57,017 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-20 05:49:57,018 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-20 05:49:57,019 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-20 05:49:57,019 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-20 05:49:57,020 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-20 05:49:57,020 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-20 05:49:57,021 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-20 05:49:57,022 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-20 05:49:57,023 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-20 05:49:57,023 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-20 05:49:57,024 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-20 05:49:57,024 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-20 05:49:57,024 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-20 05:49:57,025 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-20 05:49:57,026 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-20 05:49:57,026 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2020-10-20 05:49:57,048 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-20 05:49:57,048 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-20 05:49:57,049 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-20 05:49:57,049 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-20 05:49:57,050 INFO L138 SettingsManager]: * Use SBE=true [2020-10-20 05:49:57,050 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-20 05:49:57,050 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-20 05:49:57,050 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-20 05:49:57,050 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-20 05:49:57,051 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-20 05:49:57,051 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-20 05:49:57,052 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2020-10-20 05:49:57,053 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2020-10-20 05:49:57,053 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2020-10-20 05:49:57,053 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-10-20 05:49:57,053 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2020-10-20 05:49:57,053 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2020-10-20 05:49:57,054 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2020-10-20 05:49:57,054 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-20 05:49:57,054 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-20 05:49:57,054 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-20 05:49:57,055 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-20 05:49:57,055 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-10-20 05:49:57,055 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-10-20 05:49:57,055 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-10-20 05:49:57,055 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-20 05:49:57,056 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-10-20 05:49:57,056 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2020-10-20 05:49:57,056 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --rewrite-divk --print-success --lang smt [2020-10-20 05:49:57,057 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-20 05:49:57,057 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2020-10-20 05:49:57,057 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-20 05:49:57,335 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-20 05:49:57,349 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-20 05:49:57,354 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-20 05:49:57,356 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-20 05:49:57,357 INFO L275 PluginConnector]: CDTParser initialized [2020-10-20 05:49:57,359 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-20 05:49:57,436 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/329e21a47/fe23e7ac90bd46b2adc9f790cb1b7116/FLAG69f35a6ab [2020-10-20 05:49:57,937 INFO L306 CDTParser]: Found 1 translation units. [2020-10-20 05:49:57,938 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/knapsack_alloca_unsafe.i [2020-10-20 05:49:57,952 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/329e21a47/fe23e7ac90bd46b2adc9f790cb1b7116/FLAG69f35a6ab [2020-10-20 05:49:58,264 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/329e21a47/fe23e7ac90bd46b2adc9f790cb1b7116 [2020-10-20 05:49:58,268 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-20 05:49:58,276 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2020-10-20 05:49:58,278 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-20 05:49:58,278 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-20 05:49:58,281 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-20 05:49:58,283 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.10 05:49:58" (1/1) ... [2020-10-20 05:49:58,287 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3c48345d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58, skipping insertion in model container [2020-10-20 05:49:58,287 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.10 05:49:58" (1/1) ... [2020-10-20 05:49:58,296 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-20 05:49:58,364 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-20 05:49:58,757 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-20 05:49:58,776 INFO L200 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2020-10-20 05:49:58,789 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-20 05:49:58,859 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-20 05:49:58,867 INFO L203 MainTranslator]: Completed pre-run [2020-10-20 05:49:58,905 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-20 05:49:58,976 INFO L208 MainTranslator]: Completed translation [2020-10-20 05:49:58,978 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58 WrapperNode [2020-10-20 05:49:58,978 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-20 05:49:58,979 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-20 05:49:58,979 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-20 05:49:58,979 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-20 05:49:58,993 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58" (1/1) ... [2020-10-20 05:49:58,994 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58" (1/1) ... [2020-10-20 05:49:59,013 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58" (1/1) ... [2020-10-20 05:49:59,014 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58" (1/1) ... [2020-10-20 05:49:59,035 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58" (1/1) ... [2020-10-20 05:49:59,041 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58" (1/1) ... [2020-10-20 05:49:59,048 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58" (1/1) ... [2020-10-20 05:49:59,065 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-20 05:49:59,069 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-20 05:49:59,069 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-20 05:49:59,069 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-20 05:49:59,070 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58" (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-20 05:49:59,142 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2020-10-20 05:49:59,142 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-20 05:49:59,143 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.setCurrentRoundingMode [2020-10-20 05:49:59,143 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_32 [2020-10-20 05:49:59,143 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_64 [2020-10-20 05:49:59,143 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint16_identity [2020-10-20 05:49:59,143 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint32_identity [2020-10-20 05:49:59,144 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint64_identity [2020-10-20 05:49:59,144 INFO L138 BoogieDeclarations]: Found implementation of procedure knapsack [2020-10-20 05:49:59,144 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2020-10-20 05:49:59,145 INFO L130 BoogieDeclarations]: Found specification of procedure __ctype_get_mb_cur_max [2020-10-20 05:49:59,145 INFO L130 BoogieDeclarations]: Found specification of procedure atof [2020-10-20 05:49:59,145 INFO L130 BoogieDeclarations]: Found specification of procedure atoi [2020-10-20 05:49:59,145 INFO L130 BoogieDeclarations]: Found specification of procedure atol [2020-10-20 05:49:59,145 INFO L130 BoogieDeclarations]: Found specification of procedure atoll [2020-10-20 05:49:59,146 INFO L130 BoogieDeclarations]: Found specification of procedure strtod [2020-10-20 05:49:59,146 INFO L130 BoogieDeclarations]: Found specification of procedure strtof [2020-10-20 05:49:59,146 INFO L130 BoogieDeclarations]: Found specification of procedure strtold [2020-10-20 05:49:59,146 INFO L130 BoogieDeclarations]: Found specification of procedure strtol [2020-10-20 05:49:59,147 INFO L130 BoogieDeclarations]: Found specification of procedure strtoul [2020-10-20 05:49:59,148 INFO L130 BoogieDeclarations]: Found specification of procedure strtoq [2020-10-20 05:49:59,148 INFO L130 BoogieDeclarations]: Found specification of procedure strtouq [2020-10-20 05:49:59,148 INFO L130 BoogieDeclarations]: Found specification of procedure strtoll [2020-10-20 05:49:59,148 INFO L130 BoogieDeclarations]: Found specification of procedure strtoull [2020-10-20 05:49:59,149 INFO L130 BoogieDeclarations]: Found specification of procedure l64a [2020-10-20 05:49:59,149 INFO L130 BoogieDeclarations]: Found specification of procedure a64l [2020-10-20 05:49:59,149 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_32 [2020-10-20 05:49:59,149 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_64 [2020-10-20 05:49:59,150 INFO L130 BoogieDeclarations]: Found specification of procedure __uint16_identity [2020-10-20 05:49:59,150 INFO L130 BoogieDeclarations]: Found specification of procedure __uint32_identity [2020-10-20 05:49:59,150 INFO L130 BoogieDeclarations]: Found specification of procedure __uint64_identity [2020-10-20 05:49:59,150 INFO L130 BoogieDeclarations]: Found specification of procedure select [2020-10-20 05:49:59,151 INFO L130 BoogieDeclarations]: Found specification of procedure pselect [2020-10-20 05:49:59,151 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_major [2020-10-20 05:49:59,151 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_minor [2020-10-20 05:49:59,151 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_makedev [2020-10-20 05:49:59,151 INFO L130 BoogieDeclarations]: Found specification of procedure random [2020-10-20 05:49:59,152 INFO L130 BoogieDeclarations]: Found specification of procedure srandom [2020-10-20 05:49:59,152 INFO L130 BoogieDeclarations]: Found specification of procedure initstate [2020-10-20 05:49:59,152 INFO L130 BoogieDeclarations]: Found specification of procedure setstate [2020-10-20 05:49:59,152 INFO L130 BoogieDeclarations]: Found specification of procedure random_r [2020-10-20 05:49:59,153 INFO L130 BoogieDeclarations]: Found specification of procedure srandom_r [2020-10-20 05:49:59,153 INFO L130 BoogieDeclarations]: Found specification of procedure initstate_r [2020-10-20 05:49:59,153 INFO L130 BoogieDeclarations]: Found specification of procedure setstate_r [2020-10-20 05:49:59,153 INFO L130 BoogieDeclarations]: Found specification of procedure rand [2020-10-20 05:49:59,153 INFO L130 BoogieDeclarations]: Found specification of procedure srand [2020-10-20 05:49:59,154 INFO L130 BoogieDeclarations]: Found specification of procedure rand_r [2020-10-20 05:49:59,154 INFO L130 BoogieDeclarations]: Found specification of procedure drand48 [2020-10-20 05:49:59,154 INFO L130 BoogieDeclarations]: Found specification of procedure erand48 [2020-10-20 05:49:59,154 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48 [2020-10-20 05:49:59,155 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48 [2020-10-20 05:49:59,155 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48 [2020-10-20 05:49:59,155 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48 [2020-10-20 05:49:59,155 INFO L130 BoogieDeclarations]: Found specification of procedure srand48 [2020-10-20 05:49:59,155 INFO L130 BoogieDeclarations]: Found specification of procedure seed48 [2020-10-20 05:49:59,156 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48 [2020-10-20 05:49:59,156 INFO L130 BoogieDeclarations]: Found specification of procedure drand48_r [2020-10-20 05:49:59,156 INFO L130 BoogieDeclarations]: Found specification of procedure erand48_r [2020-10-20 05:49:59,156 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48_r [2020-10-20 05:49:59,156 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48_r [2020-10-20 05:49:59,157 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48_r [2020-10-20 05:49:59,157 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48_r [2020-10-20 05:49:59,157 INFO L130 BoogieDeclarations]: Found specification of procedure srand48_r [2020-10-20 05:49:59,157 INFO L130 BoogieDeclarations]: Found specification of procedure seed48_r [2020-10-20 05:49:59,157 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48_r [2020-10-20 05:49:59,158 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2020-10-20 05:49:59,158 INFO L130 BoogieDeclarations]: Found specification of procedure calloc [2020-10-20 05:49:59,158 INFO L130 BoogieDeclarations]: Found specification of procedure realloc [2020-10-20 05:49:59,158 INFO L130 BoogieDeclarations]: Found specification of procedure free [2020-10-20 05:49:59,159 INFO L130 BoogieDeclarations]: Found specification of procedure alloca [2020-10-20 05:49:59,159 INFO L130 BoogieDeclarations]: Found specification of procedure valloc [2020-10-20 05:49:59,159 INFO L130 BoogieDeclarations]: Found specification of procedure posix_memalign [2020-10-20 05:49:59,159 INFO L130 BoogieDeclarations]: Found specification of procedure aligned_alloc [2020-10-20 05:49:59,159 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2020-10-20 05:49:59,160 INFO L130 BoogieDeclarations]: Found specification of procedure atexit [2020-10-20 05:49:59,160 INFO L130 BoogieDeclarations]: Found specification of procedure at_quick_exit [2020-10-20 05:49:59,160 INFO L130 BoogieDeclarations]: Found specification of procedure on_exit [2020-10-20 05:49:59,160 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2020-10-20 05:49:59,160 INFO L130 BoogieDeclarations]: Found specification of procedure quick_exit [2020-10-20 05:49:59,161 INFO L130 BoogieDeclarations]: Found specification of procedure _Exit [2020-10-20 05:49:59,161 INFO L130 BoogieDeclarations]: Found specification of procedure getenv [2020-10-20 05:49:59,161 INFO L130 BoogieDeclarations]: Found specification of procedure putenv [2020-10-20 05:49:59,161 INFO L130 BoogieDeclarations]: Found specification of procedure setenv [2020-10-20 05:49:59,161 INFO L130 BoogieDeclarations]: Found specification of procedure unsetenv [2020-10-20 05:49:59,162 INFO L130 BoogieDeclarations]: Found specification of procedure clearenv [2020-10-20 05:49:59,162 INFO L130 BoogieDeclarations]: Found specification of procedure mktemp [2020-10-20 05:49:59,162 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemp [2020-10-20 05:49:59,162 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemps [2020-10-20 05:49:59,162 INFO L130 BoogieDeclarations]: Found specification of procedure mkdtemp [2020-10-20 05:49:59,162 INFO L130 BoogieDeclarations]: Found specification of procedure system [2020-10-20 05:49:59,163 INFO L130 BoogieDeclarations]: Found specification of procedure realpath [2020-10-20 05:49:59,163 INFO L130 BoogieDeclarations]: Found specification of procedure bsearch [2020-10-20 05:49:59,163 INFO L130 BoogieDeclarations]: Found specification of procedure qsort [2020-10-20 05:49:59,163 INFO L130 BoogieDeclarations]: Found specification of procedure abs [2020-10-20 05:49:59,163 INFO L130 BoogieDeclarations]: Found specification of procedure labs [2020-10-20 05:49:59,163 INFO L130 BoogieDeclarations]: Found specification of procedure llabs [2020-10-20 05:49:59,163 INFO L130 BoogieDeclarations]: Found specification of procedure div [2020-10-20 05:49:59,163 INFO L130 BoogieDeclarations]: Found specification of procedure ldiv [2020-10-20 05:49:59,163 INFO L130 BoogieDeclarations]: Found specification of procedure lldiv [2020-10-20 05:49:59,164 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt [2020-10-20 05:49:59,164 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt [2020-10-20 05:49:59,164 INFO L130 BoogieDeclarations]: Found specification of procedure gcvt [2020-10-20 05:49:59,164 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt [2020-10-20 05:49:59,164 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt [2020-10-20 05:49:59,164 INFO L130 BoogieDeclarations]: Found specification of procedure qgcvt [2020-10-20 05:49:59,164 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt_r [2020-10-20 05:49:59,164 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt_r [2020-10-20 05:49:59,164 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt_r [2020-10-20 05:49:59,165 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt_r [2020-10-20 05:49:59,165 INFO L130 BoogieDeclarations]: Found specification of procedure mblen [2020-10-20 05:49:59,165 INFO L130 BoogieDeclarations]: Found specification of procedure mbtowc [2020-10-20 05:49:59,165 INFO L130 BoogieDeclarations]: Found specification of procedure wctomb [2020-10-20 05:49:59,165 INFO L130 BoogieDeclarations]: Found specification of procedure mbstowcs [2020-10-20 05:49:59,165 INFO L130 BoogieDeclarations]: Found specification of procedure wcstombs [2020-10-20 05:49:59,165 INFO L130 BoogieDeclarations]: Found specification of procedure rpmatch [2020-10-20 05:49:59,165 INFO L130 BoogieDeclarations]: Found specification of procedure getsubopt [2020-10-20 05:49:59,166 INFO L130 BoogieDeclarations]: Found specification of procedure getloadavg [2020-10-20 05:49:59,166 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2020-10-20 05:49:59,166 INFO L130 BoogieDeclarations]: Found specification of procedure knapsack [2020-10-20 05:49:59,166 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2020-10-20 05:49:59,166 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2020-10-20 05:49:59,166 INFO L130 BoogieDeclarations]: Found specification of procedure main [2020-10-20 05:49:59,166 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-20 05:49:59,167 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-10-20 05:49:59,167 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2020-10-20 05:49:59,167 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-20 05:49:59,167 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.setCurrentRoundingMode [2020-10-20 05:50:00,081 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-20 05:50:00,081 INFO L298 CfgBuilder]: Removed 4 assume(true) statements. [2020-10-20 05:50:00,083 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 05:50:00 BoogieIcfgContainer [2020-10-20 05:50:00,083 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-20 05:50:00,084 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-10-20 05:50:00,084 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-10-20 05:50:00,088 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-10-20 05:50:00,088 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 20.10 05:49:58" (1/3) ... [2020-10-20 05:50:00,089 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@ab50186 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.10 05:50:00, skipping insertion in model container [2020-10-20 05:50:00,089 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 05:49:58" (2/3) ... [2020-10-20 05:50:00,090 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@ab50186 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.10 05:50:00, skipping insertion in model container [2020-10-20 05:50:00,090 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 05:50:00" (3/3) ... [2020-10-20 05:50:00,092 INFO L111 eAbstractionObserver]: Analyzing ICFG knapsack_alloca_unsafe.i [2020-10-20 05:50:00,103 INFO L164 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2020-10-20 05:50:00,112 INFO L176 ceAbstractionStarter]: Appying trace abstraction to program that has 27 error locations. [2020-10-20 05:50:00,127 INFO L253 AbstractCegarLoop]: Starting to check reachability of 27 error locations. [2020-10-20 05:50:00,144 INFO L377 AbstractCegarLoop]: Interprodecural is true [2020-10-20 05:50:00,144 INFO L378 AbstractCegarLoop]: Hoare is false [2020-10-20 05:50:00,144 INFO L379 AbstractCegarLoop]: Compute interpolants for FPandBP [2020-10-20 05:50:00,145 INFO L380 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-20 05:50:00,145 INFO L381 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-20 05:50:00,145 INFO L382 AbstractCegarLoop]: Difference is false [2020-10-20 05:50:00,145 INFO L383 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-20 05:50:00,145 INFO L387 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-10-20 05:50:00,162 INFO L276 IsEmpty]: Start isEmpty. Operand 73 states. [2020-10-20 05:50:00,171 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2020-10-20 05:50:00,171 INFO L414 BasicCegarLoop]: Found error trace [2020-10-20 05:50:00,172 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 05:50:00,173 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-20 05:50:00,179 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 05:50:00,179 INFO L82 PathProgramCache]: Analyzing trace with hash -1775609137, now seen corresponding path program 1 times [2020-10-20 05:50:00,189 INFO L162 FreeRefinementEngine]: Executing refinement strategy WOLF [2020-10-20 05:50:00,190 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1272976070] [2020-10-20 05:50:00,190 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-20 05:50:00,373 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 05:50:00,377 INFO L263 TraceCheckSpWp]: Trace formula consists of 60 conjuncts, 5 conjunts are in the unsatisfiable core [2020-10-20 05:50:00,382 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 05:50:00,570 INFO L350 Elim1Store]: treesize reduction 93, result has 20.5 percent of original size [2020-10-20 05:50:00,570 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-20 05:50:00,573 INFO L545 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2020-10-20 05:50:00,595 INFO L625 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2020-10-20 05:50:00,605 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1272976070] [2020-10-20 05:50:00,606 WARN L332 FreeRefinementEngine]: Interpolation failed due to KNOWN_DEPENDING: no int: (_ BitVec 32) [2020-10-20 05:50:00,606 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [159531499] [2020-10-20 05:50:00,607 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-20 05:50:00,871 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 05:50:00,874 INFO L263 TraceCheckSpWp]: Trace formula consists of 60 conjuncts, 5 conjunts are in the unsatisfiable core [2020-10-20 05:50:00,875 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 05:50:01,000 INFO L350 Elim1Store]: treesize reduction 93, result has 20.5 percent of original size [2020-10-20 05:50:01,001 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-20 05:50:01,004 INFO L545 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2020-10-20 05:50:01,040 INFO L625 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2020-10-20 05:50:01,043 WARN L332 FreeRefinementEngine]: Interpolation failed due to KNOWN_DEPENDING: no int: (_ BitVec 32) [2020-10-20 05:50:01,044 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1103309460] [2020-10-20 05:50:01,044 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-20 05:50:01,161 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 05:50:01,163 INFO L263 TraceCheckSpWp]: Trace formula consists of 60 conjuncts, 5 conjunts are in the unsatisfiable core [2020-10-20 05:50:01,164 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 05:50:01,310 WARN L193 SmtUtils]: Spent 114.00 ms on a formula simplification. DAG size of input: 38 DAG size of output: 19 [2020-10-20 05:50:01,311 INFO L350 Elim1Store]: treesize reduction 93, result has 20.5 percent of original size [2020-10-20 05:50:01,315 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-20 05:50:01,329 INFO L545 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2020-10-20 05:50:01,361 INFO L625 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2020-10-20 05:50:01,365 WARN L332 FreeRefinementEngine]: Interpolation failed due to KNOWN_DEPENDING: no int: (_ BitVec 32) [2020-10-20 05:50:01,365 INFO L219 FreeRefinementEngine]: Constructing automaton from 0 perfect and 0 imperfect interpolant sequences. [2020-10-20 05:50:01,366 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [] total 0 [2020-10-20 05:50:01,366 ERROR L205 FreeRefinementEngine]: Strategy WOLF failed to provide any proof altough trace is infeasible [2020-10-20 05:50:01,366 INFO L523 BasicCegarLoop]: Counterexample might be feasible [2020-10-20 05:50:01,975 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-20 05:50:02,007 WARN L238 ceAbstractionStarter]: Unable to decide correctness. Please check the following counterexample manually. [2020-10-20 05:50:02,007 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 20.10 05:50:02 BoogieIcfgContainer [2020-10-20 05:50:02,007 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-10-20 05:50:02,008 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-20 05:50:02,011 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-20 05:50:02,011 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-20 05:50:02,012 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 05:50:00" (3/4) ... [2020-10-20 05:50:02,022 INFO L140 WitnessPrinter]: No result that supports witness generation found [2020-10-20 05:50:02,022 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-20 05:50:02,024 INFO L168 Benchmark]: Toolchain (without parser) took 3753.71 ms. Allocated memory was 33.6 MB in the beginning and 57.7 MB in the end (delta: 24.1 MB). Free memory was 9.0 MB in the beginning and 31.6 MB in the end (delta: -22.6 MB). Peak memory consumption was 1.5 MB. Max. memory is 14.3 GB. [2020-10-20 05:50:02,028 INFO L168 Benchmark]: CDTParser took 1.47 ms. Allocated memory is still 33.0 MB. Free memory was 17.3 MB in the beginning and 17.2 MB in the end (delta: 57.8 kB). Peak memory consumption was 57.8 kB. Max. memory is 14.3 GB. [2020-10-20 05:50:02,029 INFO L168 Benchmark]: CACSL2BoogieTranslator took 701.02 ms. Allocated memory was 33.6 MB in the beginning and 43.5 MB in the end (delta: 10.0 MB). Free memory was 8.1 MB in the beginning and 17.6 MB in the end (delta: -9.5 MB). Peak memory consumption was 8.1 MB. Max. memory is 14.3 GB. [2020-10-20 05:50:02,046 INFO L168 Benchmark]: Boogie Preprocessor took 86.62 ms. Allocated memory is still 43.5 MB. Free memory was 17.6 MB in the beginning and 14.3 MB in the end (delta: 3.3 MB). Peak memory consumption was 3.3 MB. Max. memory is 14.3 GB. [2020-10-20 05:50:02,049 INFO L168 Benchmark]: RCFGBuilder took 1014.21 ms. Allocated memory was 43.5 MB in the beginning and 47.7 MB in the end (delta: 4.2 MB). Free memory was 14.3 MB in the beginning and 22.2 MB in the end (delta: -7.9 MB). Peak memory consumption was 8.2 MB. Max. memory is 14.3 GB. [2020-10-20 05:50:02,050 INFO L168 Benchmark]: TraceAbstraction took 1923.23 ms. Allocated memory was 47.7 MB in the beginning and 57.7 MB in the end (delta: 10.0 MB). Free memory was 21.9 MB in the beginning and 32.1 MB in the end (delta: -10.2 MB). Peak memory consumption was 20.6 MB. Max. memory is 14.3 GB. [2020-10-20 05:50:02,055 INFO L168 Benchmark]: Witness Printer took 14.48 ms. Allocated memory is still 57.7 MB. Free memory was 32.1 MB in the beginning and 31.6 MB in the end (delta: 518.5 kB). Peak memory consumption was 518.5 kB. Max. memory is 14.3 GB. [2020-10-20 05:50:02,067 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.47 ms. Allocated memory is still 33.0 MB. Free memory was 17.3 MB in the beginning and 17.2 MB in the end (delta: 57.8 kB). Peak memory consumption was 57.8 kB. Max. memory is 14.3 GB. * CACSL2BoogieTranslator took 701.02 ms. Allocated memory was 33.6 MB in the beginning and 43.5 MB in the end (delta: 10.0 MB). Free memory was 8.1 MB in the beginning and 17.6 MB in the end (delta: -9.5 MB). Peak memory consumption was 8.1 MB. Max. memory is 14.3 GB. * Boogie Preprocessor took 86.62 ms. Allocated memory is still 43.5 MB. Free memory was 17.6 MB in the beginning and 14.3 MB in the end (delta: 3.3 MB). Peak memory consumption was 3.3 MB. Max. memory is 14.3 GB. * RCFGBuilder took 1014.21 ms. Allocated memory was 43.5 MB in the beginning and 47.7 MB in the end (delta: 4.2 MB). Free memory was 14.3 MB in the beginning and 22.2 MB in the end (delta: -7.9 MB). Peak memory consumption was 8.2 MB. Max. memory is 14.3 GB. * TraceAbstraction took 1923.23 ms. Allocated memory was 47.7 MB in the beginning and 57.7 MB in the end (delta: 10.0 MB). Free memory was 21.9 MB in the beginning and 32.1 MB in the end (delta: -10.2 MB). Peak memory consumption was 20.6 MB. Max. memory is 14.3 GB. * Witness Printer took 14.48 ms. Allocated memory is still 57.7 MB. Free memory was 32.1 MB in the beginning and 31.6 MB in the end (delta: 518.5 kB). Peak memory consumption was 518.5 kB. Max. memory is 14.3 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...