./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/termination-recursive-malloc/rec_malloc_ex6.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 3a877d22 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/AutomizerTermination.xml -i ../sv-benchmarks/c/termination-recursive-malloc/rec_malloc_ex6.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-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(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 17c86d2b8a28fdd005d6739fc4a1f20e5e9dce3ceff149b41d42da89d2ce4175 --- Real Ultimate output --- This is Ultimate 0.2.2-3a877d227dc491413fd706022d0c47cd97beb353-3a877d2 [2021-12-15 17:05:58,965 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-15 17:05:58,966 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-15 17:05:59,018 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-15 17:05:59,019 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-15 17:05:59,022 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-15 17:05:59,023 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-15 17:05:59,026 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-15 17:05:59,027 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-15 17:05:59,031 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-15 17:05:59,032 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-15 17:05:59,033 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-15 17:05:59,034 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-15 17:05:59,036 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-15 17:05:59,038 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-15 17:05:59,043 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-15 17:05:59,045 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-15 17:05:59,046 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-15 17:05:59,048 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-15 17:05:59,053 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-15 17:05:59,054 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-15 17:05:59,055 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-15 17:05:59,057 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-15 17:05:59,058 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-15 17:05:59,068 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-15 17:05:59,068 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-15 17:05:59,068 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-15 17:05:59,070 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-15 17:05:59,071 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-15 17:05:59,072 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-15 17:05:59,072 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-15 17:05:59,073 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-15 17:05:59,075 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-15 17:05:59,076 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-15 17:05:59,077 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-15 17:05:59,077 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-15 17:05:59,079 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-15 17:05:59,079 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-15 17:05:59,079 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-15 17:05:59,080 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-15 17:05:59,080 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-15 17:05:59,081 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2021-12-15 17:05:59,120 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-15 17:05:59,120 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-15 17:05:59,121 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-15 17:05:59,121 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-15 17:05:59,122 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-15 17:05:59,122 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-15 17:05:59,123 INFO L138 SettingsManager]: * Use SBE=true [2021-12-15 17:05:59,123 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-12-15 17:05:59,123 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-12-15 17:05:59,123 INFO L138 SettingsManager]: * Use old map elimination=false [2021-12-15 17:05:59,124 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-12-15 17:05:59,124 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-12-15 17:05:59,125 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-12-15 17:05:59,125 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-15 17:05:59,125 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-12-15 17:05:59,125 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-12-15 17:05:59,125 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-15 17:05:59,126 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-12-15 17:05:59,126 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-12-15 17:05:59,126 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-12-15 17:05:59,126 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-12-15 17:05:59,126 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-12-15 17:05:59,127 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-15 17:05:59,127 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-12-15 17:05:59,127 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-15 17:05:59,127 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-15 17:05:59,128 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-15 17:05:59,128 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-12-15 17:05:59,128 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-15 17:05:59,130 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-12-15 17:05:59,130 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR 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(F end) ) 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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 17c86d2b8a28fdd005d6739fc4a1f20e5e9dce3ceff149b41d42da89d2ce4175 [2021-12-15 17:05:59,390 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-15 17:05:59,415 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-15 17:05:59,418 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-15 17:05:59,419 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-15 17:05:59,420 INFO L275 PluginConnector]: CDTParser initialized [2021-12-15 17:05:59,421 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-recursive-malloc/rec_malloc_ex6.i [2021-12-15 17:05:59,479 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/055dbf070/83eb05c6332c4c3e83c098f315d69780/FLAG447a3b51a [2021-12-15 17:05:59,891 INFO L306 CDTParser]: Found 1 translation units. [2021-12-15 17:05:59,891 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-recursive-malloc/rec_malloc_ex6.i [2021-12-15 17:05:59,900 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/055dbf070/83eb05c6332c4c3e83c098f315d69780/FLAG447a3b51a [2021-12-15 17:06:00,313 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/055dbf070/83eb05c6332c4c3e83c098f315d69780 [2021-12-15 17:06:00,315 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-15 17:06:00,316 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-15 17:06:00,318 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-15 17:06:00,319 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-15 17:06:00,321 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-15 17:06:00,322 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,323 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7e4e9415 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00, skipping insertion in model container [2021-12-15 17:06:00,323 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,329 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-15 17:06:00,341 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-15 17:06:00,484 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-15 17:06:00,497 INFO L203 MainTranslator]: Completed pre-run [2021-12-15 17:06:00,510 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-15 17:06:00,519 INFO L208 MainTranslator]: Completed translation [2021-12-15 17:06:00,520 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00 WrapperNode [2021-12-15 17:06:00,520 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-12-15 17:06:00,521 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-12-15 17:06:00,522 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-12-15 17:06:00,522 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-12-15 17:06:00,529 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,537 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,551 INFO L137 Inliner]: procedures = 12, calls = 20, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 34 [2021-12-15 17:06:00,551 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-12-15 17:06:00,552 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-12-15 17:06:00,552 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-12-15 17:06:00,552 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-12-15 17:06:00,559 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,559 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,561 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,561 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,565 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,566 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,567 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,569 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-12-15 17:06:00,570 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-12-15 17:06:00,570 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-12-15 17:06:00,570 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-12-15 17:06:00,571 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (1/1) ... [2021-12-15 17:06:00,584 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:06:00,592 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:06:00,638 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:06:00,647 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-12-15 17:06:00,680 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-12-15 17:06:00,681 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-12-15 17:06:00,681 INFO L130 BoogieDeclarations]: Found specification of procedure g [2021-12-15 17:06:00,681 INFO L138 BoogieDeclarations]: Found implementation of procedure g [2021-12-15 17:06:00,682 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-12-15 17:06:00,682 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-12-15 17:06:00,682 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-12-15 17:06:00,682 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-12-15 17:06:00,746 INFO L236 CfgBuilder]: Building ICFG [2021-12-15 17:06:00,747 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2021-12-15 17:06:00,919 INFO L277 CfgBuilder]: Performing block encoding [2021-12-15 17:06:00,924 INFO L296 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-12-15 17:06:00,926 INFO L301 CfgBuilder]: Removed 0 assume(true) statements. [2021-12-15 17:06:00,927 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 05:06:00 BoogieIcfgContainer [2021-12-15 17:06:00,928 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-12-15 17:06:00,929 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-12-15 17:06:00,929 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-12-15 17:06:00,932 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-12-15 17:06:00,933 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-15 17:06:00,934 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 15.12 05:06:00" (1/3) ... [2021-12-15 17:06:00,935 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@1b95ea89 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 15.12 05:06:00, skipping insertion in model container [2021-12-15 17:06:00,935 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-15 17:06:00,935 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:06:00" (2/3) ... [2021-12-15 17:06:00,935 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@1b95ea89 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 15.12 05:06:00, skipping insertion in model container [2021-12-15 17:06:00,936 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-15 17:06:00,936 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 05:06:00" (3/3) ... [2021-12-15 17:06:00,937 INFO L388 chiAutomizerObserver]: Analyzing ICFG rec_malloc_ex6.i [2021-12-15 17:06:00,985 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-12-15 17:06:00,985 INFO L360 BuchiCegarLoop]: Hoare is false [2021-12-15 17:06:00,985 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-12-15 17:06:00,985 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-12-15 17:06:00,986 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-12-15 17:06:00,986 INFO L364 BuchiCegarLoop]: Difference is false [2021-12-15 17:06:00,986 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-12-15 17:06:00,986 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-12-15 17:06:00,999 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 13 states, 9 states have (on average 1.2222222222222223) internal successors, (11), 11 states have internal predecessors, (11), 2 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2021-12-15 17:06:01,027 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2021-12-15 17:06:01,027 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-15 17:06:01,028 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-15 17:06:01,039 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2021-12-15 17:06:01,039 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-12-15 17:06:01,039 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-12-15 17:06:01,039 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 13 states, 9 states have (on average 1.2222222222222223) internal successors, (11), 11 states have internal predecessors, (11), 2 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2021-12-15 17:06:01,042 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2021-12-15 17:06:01,043 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-15 17:06:01,043 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-15 17:06:01,043 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2021-12-15 17:06:01,043 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-12-15 17:06:01,049 INFO L791 eck$LassoCheckResult]: Stem: 4#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 8#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~malloc9#1.base, main_#t~malloc9#1.offset, main_#t~malloc10#1.base, main_#t~malloc10#1.offset, main_#t~nondet11#1, main_#t~nondet12#1, main_~p1~0#1.base, main_~p1~0#1.offset, main_~p2~0#1.base, main_~p2~0#1.offset;call main_#t~malloc9#1.base, main_#t~malloc9#1.offset := #Ultimate.allocOnHeap(4);main_~p1~0#1.base, main_~p1~0#1.offset := main_#t~malloc9#1.base, main_#t~malloc9#1.offset;havoc main_#t~malloc9#1.base, main_#t~malloc9#1.offset;call main_#t~malloc10#1.base, main_#t~malloc10#1.offset := #Ultimate.allocOnHeap(4);main_~p2~0#1.base, main_~p2~0#1.offset := main_#t~malloc10#1.base, main_#t~malloc10#1.offset;havoc main_#t~malloc10#1.base, main_#t~malloc10#1.offset;call write~int(main_#t~nondet11#1, main_~p1~0#1.base, main_~p1~0#1.offset, 4);havoc main_#t~nondet11#1;call write~int(main_#t~nondet12#1, main_~p2~0#1.base, main_~p2~0#1.offset, 4);havoc main_#t~nondet12#1;assume { :begin_inline_f } true;f_#in~p#1.base, f_#in~p#1.offset, f_#in~q#1.base, f_#in~q#1.offset := main_~p1~0#1.base, main_~p1~0#1.offset, main_~p2~0#1.base, main_~p2~0#1.offset;havoc f_#t~mem1#1, f_#t~mem2#1, f_#t~malloc3#1.base, f_#t~malloc3#1.offset, f_#t~mem4#1, f_~p#1.base, f_~p#1.offset, f_~q#1.base, f_~q#1.offset, f_~np~0#1.base, f_~np~0#1.offset;f_~p#1.base, f_~p#1.offset := f_#in~p#1.base, f_#in~p#1.offset;f_~q#1.base, f_~q#1.offset := f_#in~q#1.base, f_#in~q#1.offset;call f_#t~mem1#1 := read~int(f_~p#1.base, f_~p#1.offset, 4);call f_#t~mem2#1 := read~int(f_~q#1.base, f_~q#1.offset, 4); 11#L13true assume !(f_#t~mem1#1 + f_#t~mem2#1 < 0);havoc f_#t~mem1#1;havoc f_#t~mem2#1;call f_#t~malloc3#1.base, f_#t~malloc3#1.offset := #Ultimate.allocOnHeap(4);f_~np~0#1.base, f_~np~0#1.offset := f_#t~malloc3#1.base, f_#t~malloc3#1.offset;havoc f_#t~malloc3#1.base, f_#t~malloc3#1.offset;call f_#t~mem4#1 := read~int(f_~p#1.base, f_~p#1.offset, 4);call write~int(f_#t~mem4#1 - 1, f_~np~0#1.base, f_~np~0#1.offset, 4);havoc f_#t~mem4#1;call ULTIMATE.dealloc(f_~p#1.base, f_~p#1.offset); 14#L23true call g(f_~q#1.base, f_~q#1.offset, f_~np~0#1.base, f_~np~0#1.offset);< 10#gENTRYtrue [2021-12-15 17:06:01,050 INFO L793 eck$LassoCheckResult]: Loop: 10#gENTRYtrue ~p.base, ~p.offset := #in~p.base, #in~p.offset;~q.base, ~q.offset := #in~q.base, #in~q.offset;call #t~mem5 := read~int(~p.base, ~p.offset, 4);call #t~mem6 := read~int(~q.base, ~q.offset, 4); 13#L31true assume !(#t~mem5 + #t~mem6 < 0);havoc #t~mem5;havoc #t~mem6;call #t~malloc7.base, #t~malloc7.offset := #Ultimate.allocOnHeap(4);~qp~0.base, ~qp~0.offset := #t~malloc7.base, #t~malloc7.offset;havoc #t~malloc7.base, #t~malloc7.offset;call #t~mem8 := read~int(~q.base, ~q.offset, 4);call write~int(#t~mem8 - 1, ~qp~0.base, ~qp~0.offset, 4);havoc #t~mem8; 7#L38true call g(~q.base, ~q.offset, ~p.base, ~p.offset);< 10#gENTRYtrue [2021-12-15 17:06:01,055 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:06:01,056 INFO L85 PathProgramCache]: Analyzing trace with hash 1141164, now seen corresponding path program 1 times [2021-12-15 17:06:01,063 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:06:01,064 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1130043649] [2021-12-15 17:06:01,064 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:06:01,065 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:06:01,137 FATAL L? ?]: The Plugin de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer has thrown an exception: java.lang.UnsupportedOperationException: Set is immutable at de.uni_freiburg.informatik.ultimate.util.datastructures.ImmutableSet.retainAll(ImmutableSet.java:338) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.UnmodifiableTransFormula.removeSuperfluousVars(UnmodifiableTransFormula.java:212) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaBuilder.finishConstruction(TransFormulaBuilder.java:273) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.OldVarsAssignmentCache.constructGlobalVarsAssignment(OldVarsAssignmentCache.java:155) at de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.OldVarsAssignmentCache.getGlobalVarsAssignment(OldVarsAssignmentCache.java:93) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.DefaultTransFormulas.getGlobalVarAssignmentFromValidPos(DefaultTransFormulas.java:89) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.DefaultTransFormulas.getGlobalVarAssignmentFromValidPos(DefaultTransFormulas.java:1) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.NestedFormulas.getGlobalVarAssignment(NestedFormulas.java:126) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.TraceCheckUtils.decoupleArrayValues(TraceCheckUtils.java:384) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.InterpolatingTraceCheck.(InterpolatingTraceCheck.java:87) at de.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.singletracecheck.InterpolatingTraceCheckCraig.(InterpolatingTraceCheckCraig.java:89) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleCraig.construct(IpTcStrategyModuleCraig.java:79) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleCraig.construct(IpTcStrategyModuleCraig.java:1) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleBase.getOrConstruct(IpTcStrategyModuleBase.java:100) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.IpTcStrategyModuleBase.isCorrect(IpTcStrategyModuleBase.java:56) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.AutomatonFreeRefinementEngine.checkFeasibility(AutomatonFreeRefinementEngine.java:211) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.AutomatonFreeRefinementEngine.executeStrategy(AutomatonFreeRefinementEngine.java:124) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.AutomatonFreeRefinementEngine.(AutomatonFreeRefinementEngine.java:88) at de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.tracehandling.TraceAbstractionRefinementEngine.(TraceAbstractionRefinementEngine.java:76) at de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.LassoCheck$LassoCheckResult.checkFeasibilityAndComputeInterpolants(LassoCheck.java:924) at de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.LassoCheck$LassoCheckResult.checkStemFeasibility(LassoCheck.java:879) at de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.LassoCheck$LassoCheckResult.(LassoCheck.java:794) at de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.LassoCheck.(LassoCheck.java:252) at de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiCegarLoop.iterate(BuchiCegarLoop.java:457) at de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver.doTerminationAnalysis(BuchiAutomizerObserver.java:142) at de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver.finish(BuchiAutomizerObserver.java:397) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runObserver(PluginConnector.java:168) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.runTool(PluginConnector.java:151) at de.uni_freiburg.informatik.ultimate.core.coreplugin.PluginConnector.run(PluginConnector.java:128) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.executePluginConnector(ToolchainWalker.java:232) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.processPlugin(ToolchainWalker.java:226) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walkUnprotected(ToolchainWalker.java:142) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainWalker.walk(ToolchainWalker.java:104) at de.uni_freiburg.informatik.ultimate.core.coreplugin.ToolchainManager$Toolchain.processToolchain(ToolchainManager.java:320) at de.uni_freiburg.informatik.ultimate.core.coreplugin.toolchain.DefaultToolchainJob.run(DefaultToolchainJob.java:145) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63) [2021-12-15 17:06:01,142 INFO L158 Benchmark]: Toolchain (without parser) took 824.87ms. Allocated memory was 94.4MB in the beginning and 113.2MB in the end (delta: 18.9MB). Free memory was 64.2MB in the beginning and 66.9MB in the end (delta: -2.7MB). Peak memory consumption was 15.9MB. Max. memory is 16.1GB. [2021-12-15 17:06:01,147 INFO L158 Benchmark]: CDTParser took 0.25ms. Allocated memory is still 94.4MB. Free memory is still 51.6MB. There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 17:06:01,148 INFO L158 Benchmark]: CACSL2BoogieTranslator took 202.22ms. Allocated memory was 94.4MB in the beginning and 113.2MB in the end (delta: 18.9MB). Free memory was 64.2MB in the beginning and 90.5MB in the end (delta: -26.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2021-12-15 17:06:01,149 INFO L158 Benchmark]: Boogie Procedure Inliner took 30.15ms. Allocated memory is still 113.2MB. Free memory was 90.5MB in the beginning and 88.9MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-15 17:06:01,150 INFO L158 Benchmark]: Boogie Preprocessor took 16.97ms. Allocated memory is still 113.2MB. Free memory was 88.9MB in the beginning and 87.9MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 17:06:01,151 INFO L158 Benchmark]: RCFGBuilder took 358.39ms. Allocated memory is still 113.2MB. Free memory was 87.9MB in the beginning and 76.9MB in the end (delta: 11.0MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2021-12-15 17:06:01,151 INFO L158 Benchmark]: BuchiAutomizer took 210.92ms. Allocated memory is still 113.2MB. Free memory was 76.9MB in the beginning and 66.9MB in the end (delta: 10.0MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2021-12-15 17:06:01,155 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.25ms. Allocated memory is still 94.4MB. Free memory is still 51.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 202.22ms. Allocated memory was 94.4MB in the beginning and 113.2MB in the end (delta: 18.9MB). Free memory was 64.2MB in the beginning and 90.5MB in the end (delta: -26.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 30.15ms. Allocated memory is still 113.2MB. Free memory was 90.5MB in the beginning and 88.9MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 16.97ms. Allocated memory is still 113.2MB. Free memory was 88.9MB in the beginning and 87.9MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 358.39ms. Allocated memory is still 113.2MB. Free memory was 87.9MB in the beginning and 76.9MB in the end (delta: 11.0MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * BuchiAutomizer took 210.92ms. Allocated memory is still 113.2MB. Free memory was 76.9MB in the beginning and 66.9MB in the end (delta: 10.0MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer: - ExceptionOrErrorResult: UnsupportedOperationException: Set is immutable de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer: UnsupportedOperationException: Set is immutable: de.uni_freiburg.informatik.ultimate.util.datastructures.ImmutableSet.retainAll(ImmutableSet.java:338) RESULT: Ultimate could not prove your program: Toolchain returned no result. [2021-12-15 17:06:01,220 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis No suitable file found in config dir /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config using search string *Termination*64bit*_Bitvector*.epf No suitable settings file found using Termination*64bit*_Bitvector ERROR: UNSUPPORTED PROPERTY Writing output log to file Ultimate.log Result: ERROR: ExceptionOrErrorResult: UnsupportedOperationException: Set is immutable