./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/array-memsafety/lis_unsafe.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 35987657 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.5.800.v20200727-1323.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/lis_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 302a384d858b88c7c93de8a2b1030a1c448a13b5bf510dfc42e11e1c01d4bd66 --- Real Ultimate output --- This is Ultimate 0.2.2-?-3598765 [2022-07-21 16:54:56,853 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-21 16:54:56,854 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-21 16:54:56,872 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-21 16:54:56,872 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-21 16:54:56,873 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-21 16:54:56,874 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-21 16:54:56,875 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-21 16:54:56,876 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-21 16:54:56,877 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-21 16:54:56,877 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-21 16:54:56,878 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-21 16:54:56,878 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-21 16:54:56,879 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-21 16:54:56,880 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-21 16:54:56,880 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-21 16:54:56,881 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-21 16:54:56,881 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-21 16:54:56,882 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-21 16:54:56,884 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-21 16:54:56,884 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-21 16:54:56,892 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-21 16:54:56,894 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-21 16:54:56,895 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-21 16:54:56,895 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-21 16:54:56,898 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-21 16:54:56,901 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-21 16:54:56,902 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-21 16:54:56,903 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-21 16:54:56,903 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-21 16:54:56,904 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-21 16:54:56,904 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-21 16:54:56,905 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-21 16:54:56,906 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-21 16:54:56,906 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-21 16:54:56,908 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-21 16:54:56,908 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-21 16:54:56,908 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-21 16:54:56,908 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-21 16:54:56,909 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-21 16:54:56,909 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-21 16:54:56,911 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-21 16:54:56,913 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2022-07-21 16:54:56,935 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-21 16:54:56,936 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-21 16:54:56,936 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-21 16:54:56,936 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-21 16:54:56,937 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-07-21 16:54:56,937 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-07-21 16:54:56,938 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-21 16:54:56,938 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-21 16:54:56,938 INFO L138 SettingsManager]: * Use SBE=true [2022-07-21 16:54:56,939 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-21 16:54:56,939 INFO L138 SettingsManager]: * sizeof long=4 [2022-07-21 16:54:56,946 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-21 16:54:56,947 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-21 16:54:56,947 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-07-21 16:54:56,947 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-21 16:54:56,947 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-07-21 16:54:56,947 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-07-21 16:54:56,948 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-07-21 16:54:56,948 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-07-21 16:54:56,948 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-07-21 16:54:56,948 INFO L138 SettingsManager]: * sizeof long double=12 [2022-07-21 16:54:56,948 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-21 16:54:56,949 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-21 16:54:56,949 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-21 16:54:56,949 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-07-21 16:54:56,949 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-07-21 16:54:56,949 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-21 16:54:56,950 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-07-21 16:54:56,950 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-07-21 16:54:56,950 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-07-21 16:54:56,950 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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 -> 302a384d858b88c7c93de8a2b1030a1c448a13b5bf510dfc42e11e1c01d4bd66 [2022-07-21 16:54:57,213 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-21 16:54:57,236 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-21 16:54:57,237 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-21 16:54:57,238 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-21 16:54:57,239 INFO L275 PluginConnector]: CDTParser initialized [2022-07-21 16:54:57,240 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/array-memsafety/lis_unsafe.i [2022-07-21 16:54:57,297 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/563e4bfd5/35abf539740741388d5f17278351a4a0/FLAG776aef779 [2022-07-21 16:54:57,700 INFO L306 CDTParser]: Found 1 translation units. [2022-07-21 16:54:57,701 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/lis_unsafe.i [2022-07-21 16:54:57,720 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/563e4bfd5/35abf539740741388d5f17278351a4a0/FLAG776aef779 [2022-07-21 16:54:58,092 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/563e4bfd5/35abf539740741388d5f17278351a4a0 [2022-07-21 16:54:58,096 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-21 16:54:58,098 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-21 16:54:58,100 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-21 16:54:58,101 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-21 16:54:58,103 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-21 16:54:58,103 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 04:54:58" (1/1) ... [2022-07-21 16:54:58,104 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@20d76491 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:54:58, skipping insertion in model container [2022-07-21 16:54:58,104 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 04:54:58" (1/1) ... [2022-07-21 16:54:58,108 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-21 16:54:58,143 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-21 16:54:58,368 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-21 16:54:58,380 ERROR L326 MainTranslator]: Unsupported Syntax: Found a cast between two array/pointer types of different sizes while using memory model HoenickeLindenmann_Original (while Not using bitvector translation) [2022-07-21 16:54:58,403 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@3ea1c277 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:54:58, skipping insertion in model container [2022-07-21 16:54:58,403 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-07-21 16:54:58,403 INFO L184 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2022-07-21 16:54:58,405 INFO L158 Benchmark]: Toolchain (without parser) took 305.80ms. Allocated memory is still 60.8MB. Free memory was 40.5MB in the beginning and 44.7MB in the end (delta: -4.3MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2022-07-21 16:54:58,406 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 60.8MB. Free memory was 43.0MB in the beginning and 43.0MB in the end (delta: 51.0kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-21 16:54:58,407 INFO L158 Benchmark]: CACSL2BoogieTranslator took 303.20ms. Allocated memory is still 60.8MB. Free memory was 40.3MB in the beginning and 44.7MB in the end (delta: -4.4MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2022-07-21 16:54:58,408 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.15ms. Allocated memory is still 60.8MB. Free memory was 43.0MB in the beginning and 43.0MB in the end (delta: 51.0kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 303.20ms. Allocated memory is still 60.8MB. Free memory was 40.3MB in the beginning and 44.7MB in the end (delta: -4.4MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - UnsupportedSyntaxResult [Line: 515]: Unsupported Syntax Found a cast between two array/pointer types of different sizes 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... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### 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.5.800.v20200727-1323.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/lis_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 302a384d858b88c7c93de8a2b1030a1c448a13b5bf510dfc42e11e1c01d4bd66 --- Real Ultimate output --- This is Ultimate 0.2.2-?-3598765 [2022-07-21 16:54:59,775 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-07-21 16:54:59,778 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-07-21 16:54:59,803 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-07-21 16:54:59,804 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-07-21 16:54:59,805 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-07-21 16:54:59,808 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-07-21 16:54:59,811 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-07-21 16:54:59,812 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-07-21 16:54:59,816 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-07-21 16:54:59,817 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-07-21 16:54:59,820 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-07-21 16:54:59,821 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-07-21 16:54:59,822 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-07-21 16:54:59,823 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-07-21 16:54:59,825 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-07-21 16:54:59,826 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-07-21 16:54:59,827 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-07-21 16:54:59,828 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-07-21 16:54:59,832 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-07-21 16:54:59,833 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-07-21 16:54:59,834 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-07-21 16:54:59,835 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-07-21 16:54:59,836 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-07-21 16:54:59,837 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-07-21 16:54:59,849 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-07-21 16:54:59,849 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-07-21 16:54:59,849 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-07-21 16:54:59,850 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-07-21 16:54:59,850 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-07-21 16:54:59,851 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-07-21 16:54:59,851 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-07-21 16:54:59,852 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-07-21 16:54:59,853 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-07-21 16:54:59,854 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-07-21 16:54:59,854 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-07-21 16:54:59,855 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-07-21 16:54:59,855 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-07-21 16:54:59,855 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-07-21 16:54:59,855 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-07-21 16:54:59,856 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-07-21 16:54:59,857 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-07-21 16:54:59,861 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2022-07-21 16:54:59,885 INFO L113 SettingsManager]: Loading preferences was successful [2022-07-21 16:54:59,885 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-07-21 16:54:59,886 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-07-21 16:54:59,886 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-07-21 16:54:59,886 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-07-21 16:54:59,887 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-07-21 16:54:59,887 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-07-21 16:54:59,887 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-07-21 16:54:59,887 INFO L138 SettingsManager]: * Use SBE=true [2022-07-21 16:54:59,888 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-07-21 16:54:59,888 INFO L138 SettingsManager]: * sizeof long=4 [2022-07-21 16:54:59,888 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-07-21 16:54:59,889 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-07-21 16:54:59,889 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-07-21 16:54:59,889 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-07-21 16:54:59,889 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-07-21 16:54:59,889 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-07-21 16:54:59,889 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-07-21 16:54:59,890 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-07-21 16:54:59,890 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-07-21 16:54:59,890 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2022-07-21 16:54:59,890 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2022-07-21 16:54:59,890 INFO L138 SettingsManager]: * sizeof long double=12 [2022-07-21 16:54:59,890 INFO L138 SettingsManager]: * Use constant arrays=true [2022-07-21 16:54:59,890 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-07-21 16:54:59,891 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-07-21 16:54:59,891 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-07-21 16:54:59,891 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-07-21 16:54:59,891 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-07-21 16:54:59,891 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-07-21 16:54:59,892 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2022-07-21 16:54:59,892 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2022-07-21 16:54:59,892 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-07-21 16:54:59,892 INFO L138 SettingsManager]: * Logic for external solver=AUFBV WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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 -> 302a384d858b88c7c93de8a2b1030a1c448a13b5bf510dfc42e11e1c01d4bd66 [2022-07-21 16:55:00,157 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-07-21 16:55:00,185 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-07-21 16:55:00,186 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-07-21 16:55:00,187 INFO L271 PluginConnector]: Initializing CDTParser... [2022-07-21 16:55:00,188 INFO L275 PluginConnector]: CDTParser initialized [2022-07-21 16:55:00,188 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/array-memsafety/lis_unsafe.i [2022-07-21 16:55:00,238 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c03d95a41/d03a145378684dba83c4ce4651b8d8c7/FLAGd46fb3c60 [2022-07-21 16:55:00,634 INFO L306 CDTParser]: Found 1 translation units. [2022-07-21 16:55:00,635 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/lis_unsafe.i [2022-07-21 16:55:00,642 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c03d95a41/d03a145378684dba83c4ce4651b8d8c7/FLAGd46fb3c60 [2022-07-21 16:55:00,652 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c03d95a41/d03a145378684dba83c4ce4651b8d8c7 [2022-07-21 16:55:00,654 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-07-21 16:55:00,654 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-07-21 16:55:00,655 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-07-21 16:55:00,655 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-07-21 16:55:00,659 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-07-21 16:55:00,659 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 04:55:00" (1/1) ... [2022-07-21 16:55:00,660 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@124f434e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:00, skipping insertion in model container [2022-07-21 16:55:00,660 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 04:55:00" (1/1) ... [2022-07-21 16:55:00,664 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-07-21 16:55:00,685 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-21 16:55:00,918 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-21 16:55:00,926 INFO L200 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2022-07-21 16:55:00,936 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-07-21 16:55:00,964 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-21 16:55:00,968 INFO L203 MainTranslator]: Completed pre-run [2022-07-21 16:55:01,002 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-07-21 16:55:01,027 INFO L208 MainTranslator]: Completed translation [2022-07-21 16:55:01,027 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01 WrapperNode [2022-07-21 16:55:01,028 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-07-21 16:55:01,028 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-07-21 16:55:01,029 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-07-21 16:55:01,029 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-07-21 16:55:01,034 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (1/1) ... [2022-07-21 16:55:01,062 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (1/1) ... [2022-07-21 16:55:01,083 INFO L137 Inliner]: procedures = 117, calls = 18, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 101 [2022-07-21 16:55:01,084 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-07-21 16:55:01,084 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-07-21 16:55:01,085 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-07-21 16:55:01,085 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-07-21 16:55:01,090 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (1/1) ... [2022-07-21 16:55:01,091 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (1/1) ... [2022-07-21 16:55:01,096 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (1/1) ... [2022-07-21 16:55:01,096 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (1/1) ... [2022-07-21 16:55:01,112 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (1/1) ... [2022-07-21 16:55:01,115 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (1/1) ... [2022-07-21 16:55:01,121 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (1/1) ... [2022-07-21 16:55:01,123 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-07-21 16:55:01,127 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-07-21 16:55:01,127 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-07-21 16:55:01,127 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-07-21 16:55:01,128 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (1/1) ... [2022-07-21 16:55:01,134 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-07-21 16:55:01,142 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-07-21 16:55:01,151 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-07-21 16:55:01,167 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-07-21 16:55:01,191 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2022-07-21 16:55:01,191 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2022-07-21 16:55:01,191 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-07-21 16:55:01,191 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2022-07-21 16:55:01,191 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-07-21 16:55:01,192 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-07-21 16:55:01,295 INFO L234 CfgBuilder]: Building ICFG [2022-07-21 16:55:01,306 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-07-21 16:55:01,664 INFO L275 CfgBuilder]: Performing block encoding [2022-07-21 16:55:01,669 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-07-21 16:55:01,670 INFO L299 CfgBuilder]: Removed 4 assume(true) statements. [2022-07-21 16:55:01,671 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.07 04:55:01 BoogieIcfgContainer [2022-07-21 16:55:01,671 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-07-21 16:55:01,672 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-07-21 16:55:01,672 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-07-21 16:55:01,674 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-07-21 16:55:01,675 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 21.07 04:55:00" (1/3) ... [2022-07-21 16:55:01,675 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6e54217f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.07 04:55:01, skipping insertion in model container [2022-07-21 16:55:01,675 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 04:55:01" (2/3) ... [2022-07-21 16:55:01,676 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6e54217f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.07 04:55:01, skipping insertion in model container [2022-07-21 16:55:01,676 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.07 04:55:01" (3/3) ... [2022-07-21 16:55:01,677 INFO L111 eAbstractionObserver]: Analyzing ICFG lis_unsafe.i [2022-07-21 16:55:01,687 INFO L201 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-07-21 16:55:01,688 INFO L160 ceAbstractionStarter]: Applying trace abstraction to program that has 29 error locations. [2022-07-21 16:55:01,727 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-07-21 16:55:01,732 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings@3017a873, mLbeIndependenceSettings=de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings@5a5eced8 [2022-07-21 16:55:01,732 INFO L358 AbstractCegarLoop]: Starting to check reachability of 29 error locations. [2022-07-21 16:55:01,735 INFO L276 IsEmpty]: Start isEmpty. Operand has 71 states, 41 states have (on average 2.0) internal successors, (82), 70 states have internal predecessors, (82), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-07-21 16:55:01,739 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2022-07-21 16:55:01,739 INFO L187 NwaCegarLoop]: Found error trace [2022-07-21 16:55:01,740 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1] [2022-07-21 16:55:01,740 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 26 more)] === [2022-07-21 16:55:01,743 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-21 16:55:01,744 INFO L85 PathProgramCache]: Analyzing trace with hash 889508873, now seen corresponding path program 1 times [2022-07-21 16:55:01,751 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2022-07-21 16:55:01,752 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [643207351] [2022-07-21 16:55:01,752 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-21 16:55:01,752 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -unsat_core_generation=3 [2022-07-21 16:55:01,752 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2022-07-21 16:55:01,765 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2022-07-21 16:55:01,766 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2022-07-21 16:55:01,848 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-21 16:55:01,850 INFO L263 TraceCheckSpWp]: Trace formula consists of 35 conjuncts, 4 conjunts are in the unsatisfiable core [2022-07-21 16:55:01,853 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-07-21 16:55:01,946 INFO L356 Elim1Store]: treesize reduction 12, result has 40.0 percent of original size [2022-07-21 16:55:01,947 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 14 [2022-07-21 16:55:01,965 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-21 16:55:01,965 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2022-07-21 16:55:01,966 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2022-07-21 16:55:01,966 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [643207351] [2022-07-21 16:55:01,966 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleMathsat [643207351] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-21 16:55:01,966 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-21 16:55:01,967 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-07-21 16:55:01,968 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [595093048] [2022-07-21 16:55:01,968 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-21 16:55:01,971 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-07-21 16:55:01,971 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2022-07-21 16:55:01,988 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-07-21 16:55:01,988 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-07-21 16:55:01,990 INFO L87 Difference]: Start difference. First operand has 71 states, 41 states have (on average 2.0) internal successors, (82), 70 states have internal predecessors, (82), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 3 states, 2 states have (on average 3.0) internal successors, (6), 3 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-07-21 16:55:02,125 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-21 16:55:02,125 INFO L93 Difference]: Finished difference Result 63 states and 70 transitions. [2022-07-21 16:55:02,127 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-07-21 16:55:02,128 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 3.0) internal successors, (6), 3 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 6 [2022-07-21 16:55:02,128 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-07-21 16:55:02,133 INFO L225 Difference]: With dead ends: 63 [2022-07-21 16:55:02,133 INFO L226 Difference]: Without dead ends: 61 [2022-07-21 16:55:02,134 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-07-21 16:55:02,136 INFO L413 NwaCegarLoop]: 45 mSDtfsCounter, 53 mSDsluCounter, 8 mSDsCounter, 0 mSdLazyCounter, 32 mSolverCounterSat, 7 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 53 SdHoareTripleChecker+Valid, 53 SdHoareTripleChecker+Invalid, 39 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 7 IncrementalHoareTripleChecker+Valid, 32 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2022-07-21 16:55:02,137 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [53 Valid, 53 Invalid, 39 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [7 Valid, 32 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2022-07-21 16:55:02,148 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 61 states. [2022-07-21 16:55:02,156 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 61 to 61. [2022-07-21 16:55:02,157 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 61 states, 40 states have (on average 1.7) internal successors, (68), 60 states have internal predecessors, (68), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-07-21 16:55:02,158 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 61 states and 68 transitions. [2022-07-21 16:55:02,159 INFO L78 Accepts]: Start accepts. Automaton has 61 states and 68 transitions. Word has length 6 [2022-07-21 16:55:02,159 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-07-21 16:55:02,159 INFO L495 AbstractCegarLoop]: Abstraction has 61 states and 68 transitions. [2022-07-21 16:55:02,160 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 3.0) internal successors, (6), 3 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-07-21 16:55:02,160 INFO L276 IsEmpty]: Start isEmpty. Operand 61 states and 68 transitions. [2022-07-21 16:55:02,160 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2022-07-21 16:55:02,160 INFO L187 NwaCegarLoop]: Found error trace [2022-07-21 16:55:02,160 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1] [2022-07-21 16:55:02,169 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (2)] Forceful destruction successful, exit code 0 [2022-07-21 16:55:02,366 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 [2022-07-21 16:55:02,367 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 26 more)] === [2022-07-21 16:55:02,367 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-21 16:55:02,367 INFO L85 PathProgramCache]: Analyzing trace with hash 889508874, now seen corresponding path program 1 times [2022-07-21 16:55:02,368 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2022-07-21 16:55:02,368 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [460725961] [2022-07-21 16:55:02,368 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-21 16:55:02,368 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -unsat_core_generation=3 [2022-07-21 16:55:02,368 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2022-07-21 16:55:02,371 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2022-07-21 16:55:02,373 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2022-07-21 16:55:02,413 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-07-21 16:55:02,414 INFO L263 TraceCheckSpWp]: Trace formula consists of 35 conjuncts, 10 conjunts are in the unsatisfiable core [2022-07-21 16:55:02,416 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-07-21 16:55:02,440 INFO L190 IndexEqualityManager]: detected not equals via solver [2022-07-21 16:55:02,442 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 9 treesize of output 11 [2022-07-21 16:55:02,448 INFO L390 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 9 [2022-07-21 16:55:02,488 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-07-21 16:55:02,489 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2022-07-21 16:55:02,489 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2022-07-21 16:55:02,490 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [460725961] [2022-07-21 16:55:02,491 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleMathsat [460725961] provided 1 perfect and 0 imperfect interpolant sequences [2022-07-21 16:55:02,491 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-07-21 16:55:02,491 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-07-21 16:55:02,491 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1231058447] [2022-07-21 16:55:02,491 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-07-21 16:55:02,492 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-07-21 16:55:02,492 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2022-07-21 16:55:02,494 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-07-21 16:55:02,495 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2022-07-21 16:55:02,496 INFO L87 Difference]: Start difference. First operand 61 states and 68 transitions. Second operand has 4 states, 3 states have (on average 2.0) internal successors, (6), 4 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-07-21 16:55:02,733 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2022-07-21 16:55:02,733 INFO L93 Difference]: Finished difference Result 126 states and 140 transitions. [2022-07-21 16:55:02,734 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2022-07-21 16:55:02,735 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 2.0) internal successors, (6), 4 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 6 [2022-07-21 16:55:02,735 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2022-07-21 16:55:02,736 INFO L225 Difference]: With dead ends: 126 [2022-07-21 16:55:02,736 INFO L226 Difference]: Without dead ends: 126 [2022-07-21 16:55:02,736 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 6 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2022-07-21 16:55:02,737 INFO L413 NwaCegarLoop]: 62 mSDtfsCounter, 76 mSDsluCounter, 92 mSDsCounter, 0 mSdLazyCounter, 57 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.2s Time, 0 mProtectedPredicate, 0 mProtectedAction, 76 SdHoareTripleChecker+Valid, 154 SdHoareTripleChecker+Invalid, 58 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 57 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2022-07-21 16:55:02,737 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [76 Valid, 154 Invalid, 58 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 57 Invalid, 0 Unknown, 0 Unchecked, 0.2s Time] [2022-07-21 16:55:02,738 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 126 states. [2022-07-21 16:55:02,741 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 126 to 64. [2022-07-21 16:55:02,742 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 64 states, 43 states have (on average 1.6744186046511629) internal successors, (72), 63 states have internal predecessors, (72), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-07-21 16:55:02,742 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 64 states to 64 states and 72 transitions. [2022-07-21 16:55:02,742 INFO L78 Accepts]: Start accepts. Automaton has 64 states and 72 transitions. Word has length 6 [2022-07-21 16:55:02,742 INFO L84 Accepts]: Finished accepts. word is rejected. [2022-07-21 16:55:02,742 INFO L495 AbstractCegarLoop]: Abstraction has 64 states and 72 transitions. [2022-07-21 16:55:02,743 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 2.0) internal successors, (6), 4 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-07-21 16:55:02,743 INFO L276 IsEmpty]: Start isEmpty. Operand 64 states and 72 transitions. [2022-07-21 16:55:02,745 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2022-07-21 16:55:02,745 INFO L187 NwaCegarLoop]: Found error trace [2022-07-21 16:55:02,745 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1] [2022-07-21 16:55:02,760 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (3)] Forceful destruction successful, exit code 0 [2022-07-21 16:55:02,951 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 [2022-07-21 16:55:02,952 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 26 more)] === [2022-07-21 16:55:02,952 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-07-21 16:55:02,953 INFO L85 PathProgramCache]: Analyzing trace with hash 889568456, now seen corresponding path program 1 times [2022-07-21 16:55:02,953 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2022-07-21 16:55:02,953 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1538566430] [2022-07-21 16:55:02,953 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-07-21 16:55:02,953 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -unsat_core_generation=3 [2022-07-21 16:55:02,954 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2022-07-21 16:55:02,955 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2022-07-21 16:55:02,957 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (4)] Waiting until timeout for monitored process [2022-07-21 16:55:02,999 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-21 16:55:02,999 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-07-21 16:55:03,011 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-07-21 16:55:03,028 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2022-07-21 16:55:03,029 INFO L271 BasicCegarLoop]: Counterexample is feasible [2022-07-21 16:55:03,029 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (28 of 29 remaining) [2022-07-21 16:55:03,031 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (27 of 29 remaining) [2022-07-21 16:55:03,031 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (26 of 29 remaining) [2022-07-21 16:55:03,031 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (25 of 29 remaining) [2022-07-21 16:55:03,031 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (24 of 29 remaining) [2022-07-21 16:55:03,032 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (23 of 29 remaining) [2022-07-21 16:55:03,032 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (22 of 29 remaining) [2022-07-21 16:55:03,033 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (21 of 29 remaining) [2022-07-21 16:55:03,033 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE (20 of 29 remaining) [2022-07-21 16:55:03,033 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr9REQUIRES_VIOLATIONMEMORY_DEREFERENCE (19 of 29 remaining) [2022-07-21 16:55:03,033 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr10REQUIRES_VIOLATIONMEMORY_DEREFERENCE (18 of 29 remaining) [2022-07-21 16:55:03,033 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr11REQUIRES_VIOLATIONMEMORY_DEREFERENCE (17 of 29 remaining) [2022-07-21 16:55:03,034 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr12REQUIRES_VIOLATIONMEMORY_DEREFERENCE (16 of 29 remaining) [2022-07-21 16:55:03,034 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr13REQUIRES_VIOLATIONMEMORY_DEREFERENCE (15 of 29 remaining) [2022-07-21 16:55:03,034 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr14REQUIRES_VIOLATIONMEMORY_DEREFERENCE (14 of 29 remaining) [2022-07-21 16:55:03,034 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr15REQUIRES_VIOLATIONMEMORY_DEREFERENCE (13 of 29 remaining) [2022-07-21 16:55:03,034 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr16REQUIRES_VIOLATIONMEMORY_DEREFERENCE (12 of 29 remaining) [2022-07-21 16:55:03,034 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr17REQUIRES_VIOLATIONMEMORY_DEREFERENCE (11 of 29 remaining) [2022-07-21 16:55:03,035 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr18REQUIRES_VIOLATIONMEMORY_DEREFERENCE (10 of 29 remaining) [2022-07-21 16:55:03,035 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr19REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 29 remaining) [2022-07-21 16:55:03,035 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr20REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 29 remaining) [2022-07-21 16:55:03,035 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr21REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 29 remaining) [2022-07-21 16:55:03,035 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr22ASSERT_VIOLATIONMEMORY_FREE (6 of 29 remaining) [2022-07-21 16:55:03,035 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr23ASSERT_VIOLATIONMEMORY_FREE (5 of 29 remaining) [2022-07-21 16:55:03,036 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr24ASSERT_VIOLATIONMEMORY_FREE (4 of 29 remaining) [2022-07-21 16:55:03,036 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr25ASSERT_VIOLATIONMEMORY_FREE (3 of 29 remaining) [2022-07-21 16:55:03,036 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr26ASSERT_VIOLATIONMEMORY_FREE (2 of 29 remaining) [2022-07-21 16:55:03,036 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr27ASSERT_VIOLATIONMEMORY_FREE (1 of 29 remaining) [2022-07-21 16:55:03,036 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr28ASSERT_VIOLATIONMEMORY_LEAK (0 of 29 remaining) [2022-07-21 16:55:03,044 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 (4)] Forceful destruction successful, exit code 0 [2022-07-21 16:55:03,243 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -unsat_core_generation=3 [2022-07-21 16:55:03,245 INFO L356 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-07-21 16:55:03,248 INFO L176 ceAbstractionStarter]: Computing trace abstraction results [2022-07-21 16:55:03,267 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 21.07 04:55:03 BoogieIcfgContainer [2022-07-21 16:55:03,267 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2022-07-21 16:55:03,269 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-07-21 16:55:03,269 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-07-21 16:55:03,269 INFO L275 PluginConnector]: Witness Printer initialized [2022-07-21 16:55:03,270 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.07 04:55:01" (3/4) ... [2022-07-21 16:55:03,271 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2022-07-21 16:55:03,293 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2022-07-21 16:55:03,295 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-07-21 16:55:03,295 INFO L158 Benchmark]: Toolchain (without parser) took 2640.78ms. Allocated memory was 67.1MB in the beginning and 94.4MB in the end (delta: 27.3MB). Free memory was 45.6MB in the beginning and 60.8MB in the end (delta: -15.2MB). Peak memory consumption was 11.1MB. Max. memory is 16.1GB. [2022-07-21 16:55:03,295 INFO L158 Benchmark]: CDTParser took 0.10ms. Allocated memory is still 67.1MB. Free memory was 47.2MB in the beginning and 47.2MB in the end (delta: 32.2kB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-21 16:55:03,296 INFO L158 Benchmark]: CACSL2BoogieTranslator took 372.72ms. Allocated memory is still 67.1MB. Free memory was 45.4MB in the beginning and 39.6MB in the end (delta: 5.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2022-07-21 16:55:03,296 INFO L158 Benchmark]: Boogie Procedure Inliner took 55.35ms. Allocated memory is still 67.1MB. Free memory was 39.4MB in the beginning and 37.4MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-07-21 16:55:03,296 INFO L158 Benchmark]: Boogie Preprocessor took 41.77ms. Allocated memory is still 67.1MB. Free memory was 37.2MB in the beginning and 35.7MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-07-21 16:55:03,296 INFO L158 Benchmark]: RCFGBuilder took 544.54ms. Allocated memory is still 67.1MB. Free memory was 35.7MB in the beginning and 36.0MB in the end (delta: -314.0kB). Peak memory consumption was 10.0MB. Max. memory is 16.1GB. [2022-07-21 16:55:03,297 INFO L158 Benchmark]: TraceAbstraction took 1596.28ms. Allocated memory was 67.1MB in the beginning and 94.4MB in the end (delta: 27.3MB). Free memory was 35.4MB in the beginning and 62.4MB in the end (delta: -26.9MB). There was no memory consumed. Max. memory is 16.1GB. [2022-07-21 16:55:03,297 INFO L158 Benchmark]: Witness Printer took 25.89ms. Allocated memory is still 94.4MB. Free memory was 62.4MB in the beginning and 60.8MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-07-21 16:55:03,298 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.10ms. Allocated memory is still 67.1MB. Free memory was 47.2MB in the beginning and 47.2MB in the end (delta: 32.2kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 372.72ms. Allocated memory is still 67.1MB. Free memory was 45.4MB in the beginning and 39.6MB in the end (delta: 5.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 55.35ms. Allocated memory is still 67.1MB. Free memory was 39.4MB in the beginning and 37.4MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 41.77ms. Allocated memory is still 67.1MB. Free memory was 37.2MB in the beginning and 35.7MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 544.54ms. Allocated memory is still 67.1MB. Free memory was 35.7MB in the beginning and 36.0MB in the end (delta: -314.0kB). Peak memory consumption was 10.0MB. Max. memory is 16.1GB. * TraceAbstraction took 1596.28ms. Allocated memory was 67.1MB in the beginning and 94.4MB in the end (delta: 27.3MB). Free memory was 35.4MB in the beginning and 62.4MB in the end (delta: -26.9MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 25.89ms. Allocated memory is still 94.4MB. Free memory was 62.4MB in the beginning and 60.8MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - CounterExampleResult [Line: -1]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L531] int *a; [L532] int N = __VERIFIER_nondet_int(); [L533] COND FALSE !(N < 1) VAL [N=1073741824] [L535] CALL lis(a, N) [L514] int *best, *prev, i, j, max = 0; [L515] best = (int*) malloc(sizeof(int) * N) [L516] prev = (int*) malloc(sizeof(int) * N) [L517] i = 0 VAL [\old(N)=1073741824, a={6:5}, a={6:5}, best={1:0}, i=0, max=0, N=1073741824, prev={2:0}] [L517] COND TRUE i < N VAL [\old(N)=1073741824, a={6:5}, a={6:5}, best={1:0}, i=0, max=0, N=1073741824, prev={2:0}] [L518] best[i] = 1 - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: 526]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 526]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 526]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 527]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 527]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 527]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 530]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data CFG has 1 procedures, 71 locations, 29 error locations. Started 1 CEGAR loops. OverallTime: 1.5s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.4s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 129 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 129 mSDsluCounter, 207 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 100 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 89 IncrementalHoareTripleChecker+Invalid, 97 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 107 mSDtfsCounter, 89 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 11 GetRequests, 7 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=71occurred in iteration=0, InterpolantAutomatonStates: 7, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 62 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 18 NumberOfCodeBlocks, 18 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 10 ConstructedInterpolants, 0 QuantifiedInterpolants, 48 SizeOfPredicates, 5 NumberOfNonLiveVariables, 70 ConjunctsInSsa, 14 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, 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 proved your program to be incorrect! [2022-07-21 16:55:03,325 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-deref)