./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/termination-crafted/NestedRecursion_1a-2.c --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 4f9af400 extending candidate: java ['java'] extending candidate: /usr/bin/java ['java', '/usr/bin/java'] extending candidate: /opt/oracle-jdk-bin-*/bin/java ['java', '/usr/bin/java'] extending candidate: /opt/openjdk-*/bin/java ['java', '/usr/bin/java'] extending candidate: /usr/lib/jvm/java-*-openjdk-amd64/bin/java ['java', '/usr/bin/java', '/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java', '/usr/lib/jvm/java-17-openjdk-amd64/bin/java', '/usr/lib/jvm/java-11-openjdk-amd64/bin/java', '/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin/java'] ['/root/.sdkman/candidates/java/21.0.5-tem/bin/java', '-Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config', '-Xmx15G', '-Xms4m', '-jar', '/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar', '-data', '@noDefault', '-ultimatedata', '/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data', '-tc', '/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml', '-i', '../sv-benchmarks/c/termination-crafted/NestedRecursion_1a-2.c', '-s', '/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf', '--cacsl2boogietranslator.entry.function', 'main', '--witnessprinter.witness.directory', '/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux', '--witnessprinter.witness.filename', 'witness', '--witnessprinter.write.witness.besides.input.file', 'false', '--witnessprinter.graph.data.specification', 'CHECK( init(main()), LTL(F end) )\n\n', '--witnessprinter.graph.data.producer', 'Automizer', '--witnessprinter.graph.data.architecture', '64bit', '--witnessprinter.graph.data.programhash', 'd925f1aaa578011e84cee59af464c9f4e53ab5dc54b7f9269f34505d8383253a'] Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/termination-crafted/NestedRecursion_1a-2.c -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --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 d925f1aaa578011e84cee59af464c9f4e53ab5dc54b7f9269f34505d8383253a --- Real Ultimate output --- This is Ultimate 0.3.0-?-4f9af40 [2024-11-07 23:46:12,110 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-07 23:46:12,191 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2024-11-07 23:46:12,198 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-07 23:46:12,200 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-07 23:46:12,224 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-07 23:46:12,225 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-07 23:46:12,225 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-07 23:46:12,225 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-07 23:46:12,225 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-07 23:46:12,229 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-07 23:46:12,229 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-07 23:46:12,229 INFO L153 SettingsManager]: * Use SBE=true [2024-11-07 23:46:12,230 INFO L151 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2024-11-07 23:46:12,230 INFO L153 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2024-11-07 23:46:12,230 INFO L153 SettingsManager]: * Use old map elimination=false [2024-11-07 23:46:12,230 INFO L153 SettingsManager]: * Use external solver (rank synthesis)=false [2024-11-07 23:46:12,231 INFO L153 SettingsManager]: * Use only trivial implications for array writes=true [2024-11-07 23:46:12,231 INFO L153 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2024-11-07 23:46:12,231 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-07 23:46:12,231 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2024-11-07 23:46:12,231 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-07 23:46:12,231 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-07 23:46:12,231 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2024-11-07 23:46:12,231 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2024-11-07 23:46:12,231 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2024-11-07 23:46:12,232 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-07 23:46:12,232 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-07 23:46:12,232 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-07 23:46:12,232 INFO L153 SettingsManager]: * Assume nondeterminstic values are in range=false [2024-11-07 23:46:12,232 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-07 23:46:12,232 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-07 23:46:12,232 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-07 23:46:12,232 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-07 23:46:12,232 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-07 23:46:12,233 INFO L151 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2024-11-07 23:46:12,233 INFO L153 SettingsManager]: * TransformationType=MODULO_NEIGHBOR 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-jdk21/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 -> d925f1aaa578011e84cee59af464c9f4e53ab5dc54b7f9269f34505d8383253a [2024-11-07 23:46:12,489 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-07 23:46:12,497 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-07 23:46:12,501 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-07 23:46:12,502 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-07 23:46:12,502 INFO L274 PluginConnector]: CDTParser initialized [2024-11-07 23:46:12,503 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-crafted/NestedRecursion_1a-2.c [2024-11-07 23:46:14,313 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-07 23:46:14,529 INFO L384 CDTParser]: Found 1 translation units. [2024-11-07 23:46:14,530 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/termination-crafted/NestedRecursion_1a-2.c [2024-11-07 23:46:14,535 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/5e82e87f7/31dd22c93c784cecbd1b8e0d5bfcb737/FLAGd03e71e7c [2024-11-07 23:46:14,545 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/5e82e87f7/31dd22c93c784cecbd1b8e0d5bfcb737 [2024-11-07 23:46:14,547 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-07 23:46:14,548 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-07 23:46:14,549 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-07 23:46:14,549 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-07 23:46:14,552 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-07 23:46:14,553 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,553 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@39cc493c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14, skipping insertion in model container [2024-11-07 23:46:14,553 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,561 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-07 23:46:14,659 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 23:46:14,665 INFO L200 MainTranslator]: Completed pre-run [2024-11-07 23:46:14,673 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 23:46:14,683 INFO L204 MainTranslator]: Completed translation [2024-11-07 23:46:14,685 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14 WrapperNode [2024-11-07 23:46:14,685 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-07 23:46:14,686 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-07 23:46:14,686 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-07 23:46:14,686 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-07 23:46:14,691 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,693 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,704 INFO L138 Inliner]: procedures = 6, calls = 8, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 10 [2024-11-07 23:46:14,705 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-07 23:46:14,705 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-07 23:46:14,706 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-07 23:46:14,706 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-07 23:46:14,711 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,711 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,712 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,716 INFO L175 MemorySlicer]: No memory access in input program. [2024-11-07 23:46:14,716 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,716 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,717 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,719 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,719 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,721 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,723 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-07 23:46:14,724 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-07 23:46:14,724 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-07 23:46:14,727 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-07 23:46:14,728 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (1/1) ... [2024-11-07 23:46:14,732 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-11-07 23:46:14,744 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 23:46:14,761 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-11-07 23:46:14,764 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2024-11-07 23:46:14,785 INFO L130 BoogieDeclarations]: Found specification of procedure rec1 [2024-11-07 23:46:14,785 INFO L138 BoogieDeclarations]: Found implementation of procedure rec1 [2024-11-07 23:46:14,785 INFO L130 BoogieDeclarations]: Found specification of procedure rec2 [2024-11-07 23:46:14,785 INFO L138 BoogieDeclarations]: Found implementation of procedure rec2 [2024-11-07 23:46:14,785 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-07 23:46:14,786 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-07 23:46:14,832 INFO L238 CfgBuilder]: Building ICFG [2024-11-07 23:46:14,833 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-07 23:46:14,913 INFO L? ?]: Removed 6 outVars from TransFormulas that were not future-live. [2024-11-07 23:46:14,914 INFO L287 CfgBuilder]: Performing block encoding [2024-11-07 23:46:14,922 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-07 23:46:14,923 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-07 23:46:14,923 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 11:46:14 BoogieIcfgContainer [2024-11-07 23:46:14,923 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-07 23:46:14,924 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2024-11-07 23:46:14,925 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2024-11-07 23:46:14,928 INFO L274 PluginConnector]: BuchiAutomizer initialized [2024-11-07 23:46:14,929 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-11-07 23:46:14,930 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 07.11 11:46:14" (1/3) ... [2024-11-07 23:46:14,930 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6608a463 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 07.11 11:46:14, skipping insertion in model container [2024-11-07 23:46:14,931 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-11-07 23:46:14,931 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 11:46:14" (2/3) ... [2024-11-07 23:46:14,931 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6608a463 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 07.11 11:46:14, skipping insertion in model container [2024-11-07 23:46:14,931 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-11-07 23:46:14,931 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 11:46:14" (3/3) ... [2024-11-07 23:46:14,932 INFO L332 chiAutomizerObserver]: Analyzing ICFG NestedRecursion_1a-2.c [2024-11-07 23:46:14,977 INFO L300 stractBuchiCegarLoop]: Interprodecural is true [2024-11-07 23:46:14,977 INFO L301 stractBuchiCegarLoop]: Hoare is None [2024-11-07 23:46:14,978 INFO L302 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2024-11-07 23:46:14,978 INFO L303 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2024-11-07 23:46:14,978 INFO L304 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2024-11-07 23:46:14,978 INFO L305 stractBuchiCegarLoop]: Difference is false [2024-11-07 23:46:14,978 INFO L306 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2024-11-07 23:46:14,979 INFO L310 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2024-11-07 23:46:14,983 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 23 states, 14 states have (on average 1.2142857142857142) internal successors, (17), 14 states have internal predecessors, (17), 6 states have call successors, (6), 2 states have call predecessors, (6), 2 states have return successors, (6), 6 states have call predecessors, (6), 6 states have call successors, (6) [2024-11-07 23:46:14,997 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2024-11-07 23:46:14,997 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-07 23:46:14,998 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-07 23:46:15,002 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2024-11-07 23:46:15,002 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 23:46:15,003 INFO L332 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2024-11-07 23:46:15,003 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 23 states, 14 states have (on average 1.2142857142857142) internal successors, (17), 14 states have internal predecessors, (17), 6 states have call successors, (6), 2 states have call predecessors, (6), 2 states have return successors, (6), 6 states have call predecessors, (6), 6 states have call successors, (6) [2024-11-07 23:46:15,006 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2024-11-07 23:46:15,007 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-07 23:46:15,007 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-07 23:46:15,007 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2024-11-07 23:46:15,007 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 23:46:15,012 INFO L745 eck$LassoCheckResult]: Stem: 21#$Ultimate##0true assume { :begin_inline_ULTIMATE.init } true; 14#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet5#1, main_#t~ret6#1, main_~x~0#1;havoc main_#t~nondet5#1;main_~x~0#1 := main_#t~nondet5#1;havoc main_#t~nondet5#1; 13#L26true assume !!(main_~x~0#1 <= 2147483646); 8#L27true call main_#t~ret6#1 := rec2(main_~x~0#1);< 7#$Ultimate##0true [2024-11-07 23:46:15,013 INFO L747 eck$LassoCheckResult]: Loop: 7#$Ultimate##0true ~j := #in~j; 17#L18true assume !(~j <= 0); 20#L20true call #t~ret3 := rec1(1 + ~j);< 4#$Ultimate##0true ~i := #in~i; 18#L12true assume ~i <= 0;#res := 0; 15#rec1FINALtrue assume true; 16#rec1EXITtrue >#39#return; 3#L20-1true call #t~ret4 := rec2(#t~ret3);< 7#$Ultimate##0true [2024-11-07 23:46:15,017 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 23:46:15,017 INFO L85 PathProgramCache]: Analyzing trace with hash 1510579, now seen corresponding path program 1 times [2024-11-07 23:46:15,026 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 23:46:15,026 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [862475094] [2024-11-07 23:46:15,026 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 23:46:15,027 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 23:46:15,079 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 23:46:15,079 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 23:46:15,081 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 23:46:15,090 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 23:46:15,092 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 23:46:15,092 INFO L85 PathProgramCache]: Analyzing trace with hash -931063642, now seen corresponding path program 1 times [2024-11-07 23:46:15,092 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 23:46:15,092 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [929350363] [2024-11-07 23:46:15,092 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 23:46:15,092 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 23:46:15,100 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 23:46:15,137 INFO L368 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 2 [2024-11-07 23:46:15,141 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 23:46:15,189 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 23:46:15,189 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 23:46:15,189 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [929350363] [2024-11-07 23:46:15,190 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [929350363] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 23:46:15,190 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 23:46:15,190 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2024-11-07 23:46:15,190 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [386423281] [2024-11-07 23:46:15,191 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 23:46:15,193 INFO L762 eck$LassoCheckResult]: loop already infeasible [2024-11-07 23:46:15,193 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 23:46:15,218 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-11-07 23:46:15,222 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2024-11-07 23:46:15,223 INFO L87 Difference]: Start difference. First operand has 23 states, 14 states have (on average 1.2142857142857142) internal successors, (17), 14 states have internal predecessors, (17), 6 states have call successors, (6), 2 states have call predecessors, (6), 2 states have return successors, (6), 6 states have call predecessors, (6), 6 states have call successors, (6) Second operand has 5 states, 3 states have (on average 1.6666666666666667) internal successors, (5), 4 states have internal predecessors, (5), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-11-07 23:46:15,319 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-11-07 23:46:15,321 INFO L93 Difference]: Finished difference Result 27 states and 36 transitions. [2024-11-07 23:46:15,322 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 27 states and 36 transitions. [2024-11-07 23:46:15,324 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2024-11-07 23:46:15,331 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 27 states to 18 states and 24 transitions. [2024-11-07 23:46:15,333 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 18 [2024-11-07 23:46:15,333 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 18 [2024-11-07 23:46:15,333 INFO L73 IsDeterministic]: Start isDeterministic. Operand 18 states and 24 transitions. [2024-11-07 23:46:15,334 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-11-07 23:46:15,334 INFO L218 hiAutomatonCegarLoop]: Abstraction has 18 states and 24 transitions. [2024-11-07 23:46:15,343 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 18 states and 24 transitions. [2024-11-07 23:46:15,353 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 18 to 18. [2024-11-07 23:46:15,354 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 18 states, 10 states have (on average 1.1) internal successors, (11), 11 states have internal predecessors, (11), 6 states have call successors, (6), 2 states have call predecessors, (6), 2 states have return successors, (7), 4 states have call predecessors, (7), 4 states have call successors, (7) [2024-11-07 23:46:15,355 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 18 states and 24 transitions. [2024-11-07 23:46:15,356 INFO L240 hiAutomatonCegarLoop]: Abstraction has 18 states and 24 transitions. [2024-11-07 23:46:15,357 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-11-07 23:46:15,360 INFO L425 stractBuchiCegarLoop]: Abstraction has 18 states and 24 transitions. [2024-11-07 23:46:15,361 INFO L332 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2024-11-07 23:46:15,361 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 18 states and 24 transitions. [2024-11-07 23:46:15,362 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2024-11-07 23:46:15,363 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-11-07 23:46:15,363 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-11-07 23:46:15,364 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2024-11-07 23:46:15,364 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [4, 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 23:46:15,364 INFO L745 eck$LassoCheckResult]: Stem: 81#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true; 78#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet5#1, main_#t~ret6#1, main_~x~0#1;havoc main_#t~nondet5#1;main_~x~0#1 := main_#t~nondet5#1;havoc main_#t~nondet5#1; 77#L26 assume !!(main_~x~0#1 <= 2147483646); 66#L27 call main_#t~ret6#1 := rec2(main_~x~0#1);< 67#$Ultimate##0 [2024-11-07 23:46:15,365 INFO L747 eck$LassoCheckResult]: Loop: 67#$Ultimate##0 ~j := #in~j; 74#L18 assume !(~j <= 0); 69#L20 call #t~ret3 := rec1(1 + ~j);< 68#$Ultimate##0 ~i := #in~i; 73#L12 assume !(~i <= 0); 70#L14 call #t~ret0 := rec1(~i - 2);< 68#$Ultimate##0 ~i := #in~i; 73#L12 assume ~i <= 0;#res := 0; 79#rec1FINAL assume true; 80#rec1EXIT >#33#return; 71#L14-1 call #t~ret1 := rec1(#t~ret0 - 1);< 68#$Ultimate##0 ~i := #in~i; 73#L12 assume ~i <= 0;#res := 0; 79#rec1FINAL assume true; 80#rec1EXIT >#35#return; 72#L14-2 call #t~ret2 := rec1(#t~ret1);< 68#$Ultimate##0 ~i := #in~i; 73#L12 assume ~i <= 0;#res := 0; 79#rec1FINAL assume true; 80#rec1EXIT >#37#return; 75#L14-3 #res := 1 + #t~ret2;havoc #t~ret0;havoc #t~ret1;havoc #t~ret2; 76#rec1FINAL assume true; 82#rec1EXIT >#39#return; 65#L20-1 call #t~ret4 := rec2(#t~ret3);< 67#$Ultimate##0 [2024-11-07 23:46:15,365 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 23:46:15,365 INFO L85 PathProgramCache]: Analyzing trace with hash 1510579, now seen corresponding path program 2 times [2024-11-07 23:46:15,368 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 23:46:15,368 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1259445607] [2024-11-07 23:46:15,369 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 23:46:15,369 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 23:46:15,374 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 23:46:15,374 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 23:46:15,376 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 23:46:15,376 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 23:46:15,377 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 23:46:15,377 INFO L85 PathProgramCache]: Analyzing trace with hash 1852060604, now seen corresponding path program 1 times [2024-11-07 23:46:15,377 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 23:46:15,379 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [742032388] [2024-11-07 23:46:15,379 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 23:46:15,379 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 23:46:15,402 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 23:46:15,403 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 23:46:15,416 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 23:46:15,419 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 23:46:15,419 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 23:46:15,419 INFO L85 PathProgramCache]: Analyzing trace with hash -2035496338, now seen corresponding path program 1 times [2024-11-07 23:46:15,419 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 23:46:15,419 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1613947470] [2024-11-07 23:46:15,419 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 23:46:15,420 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 23:46:15,454 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 23:46:15,456 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 23:46:15,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 23:46:15,472 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 23:46:15,812 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 23:46:15,812 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 23:46:15,814 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 23:46:15,831 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 07.11 11:46:15 BoogieIcfgContainer [2024-11-07 23:46:15,832 INFO L131 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2024-11-07 23:46:15,832 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-07 23:46:15,832 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-07 23:46:15,832 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-07 23:46:15,833 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 11:46:14" (3/4) ... [2024-11-07 23:46:15,834 INFO L139 WitnessPrinter]: Generating witness for non-termination counterexample [2024-11-07 23:46:15,854 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/witness.graphml [2024-11-07 23:46:15,854 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-07 23:46:15,854 INFO L158 Benchmark]: Toolchain (without parser) took 1306.13ms. Allocated memory is still 109.1MB. Free memory was 85.7MB in the beginning and 60.7MB in the end (delta: 25.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2024-11-07 23:46:15,855 INFO L158 Benchmark]: CDTParser took 0.75ms. Allocated memory is still 83.9MB. Free memory is still 48.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-07 23:46:15,855 INFO L158 Benchmark]: CACSL2BoogieTranslator took 136.04ms. Allocated memory is still 109.1MB. Free memory was 85.6MB in the beginning and 75.8MB in the end (delta: 9.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-07 23:46:15,855 INFO L158 Benchmark]: Boogie Procedure Inliner took 19.07ms. Allocated memory is still 109.1MB. Free memory was 75.7MB in the beginning and 74.9MB in the end (delta: 874.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-07 23:46:15,855 INFO L158 Benchmark]: Boogie Preprocessor took 18.43ms. Allocated memory is still 109.1MB. Free memory was 74.7MB in the beginning and 74.0MB in the end (delta: 785.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-07 23:46:15,855 INFO L158 Benchmark]: RCFGBuilder took 198.90ms. Allocated memory is still 109.1MB. Free memory was 73.8MB in the beginning and 64.3MB in the end (delta: 9.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-07 23:46:15,856 INFO L158 Benchmark]: BuchiAutomizer took 908.11ms. Allocated memory is still 109.1MB. Free memory was 64.2MB in the beginning and 62.9MB in the end (delta: 1.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-07 23:46:15,856 INFO L158 Benchmark]: Witness Printer took 21.58ms. Allocated memory is still 109.1MB. Free memory was 62.4MB in the beginning and 60.7MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-07 23:46:15,857 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.75ms. Allocated memory is still 83.9MB. Free memory is still 48.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 136.04ms. Allocated memory is still 109.1MB. Free memory was 85.6MB in the beginning and 75.8MB in the end (delta: 9.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 19.07ms. Allocated memory is still 109.1MB. Free memory was 75.7MB in the beginning and 74.9MB in the end (delta: 874.9kB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 18.43ms. Allocated memory is still 109.1MB. Free memory was 74.7MB in the beginning and 74.0MB in the end (delta: 785.8kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 198.90ms. Allocated memory is still 109.1MB. Free memory was 73.8MB in the beginning and 64.3MB in the end (delta: 9.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * BuchiAutomizer took 908.11ms. Allocated memory is still 109.1MB. Free memory was 64.2MB in the beginning and 62.9MB in the end (delta: 1.3MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Witness Printer took 21.58ms. Allocated memory is still 109.1MB. Free memory was 62.4MB in the beginning and 60.7MB in the end (delta: 1.7MB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 1 terminating modules (1 trivial, 0 deterministic, 0 nondeterministic) and one nonterminating remainder module.1 modules have a trivial ranking function, the largest among these consists of 5 locations. The remainder module has 18 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 0.8s and 2 iterations. TraceHistogramMax:4. Analysis of lassos took 0.6s. Construction of modules took 0.0s. Büchi inclusion checks took 0.0s. Highest rank in rank-based complementation 0. Minimization of det autom 1. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had -1 states and ocurred in iteration -1. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 13 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 5 mSDsluCounter, 85 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 58 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 41 IncrementalHoareTripleChecker+Invalid, 41 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 27 mSDtfsCounter, 41 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI1 SFLT0 conc0 concLT0 SILN0 SILU0 SILI0 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s InitialAbstractionConstructionTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - LassoShapedNonTerminationArgument [Line: 17]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite program execution. Stem: [L24] int x = __VERIFIER_nondet_int(); [L26] COND FALSE !(!(x<=2147483646)) VAL [x=1] [L27] CALL rec2(x) VAL [\old(j)=1] Loop: [L18] COND FALSE !(j <= 0) [L20] CALL, EXPR rec1(j+1) [L12] COND FALSE !(i <= 0) [L14] CALL, EXPR rec1(i-2) [L12] COND TRUE i <= 0 [L13] return 0; [L14] RET, EXPR rec1(i-2) [L14] CALL, EXPR rec1(rec1(i-2) - 1) [L12] COND TRUE i <= 0 [L13] return 0; [L14] RET, EXPR rec1(rec1(i-2) - 1) [L14] CALL, EXPR rec1(rec1(rec1(i-2) - 1)) [L12] COND TRUE i <= 0 [L13] return 0; [L14] RET, EXPR rec1(rec1(rec1(i-2) - 1)) [L14] return rec1(rec1(rec1(i-2) - 1)) + 1; [L20] RET, EXPR rec1(j+1) [L20] CALL rec2(rec1(j+1)) End of lasso representation. - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 17]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L24] int x = __VERIFIER_nondet_int(); [L26] COND FALSE !(!(x<=2147483646)) VAL [x=1] [L27] CALL rec2(x) VAL [\old(j)=1] Loop: [L18] COND FALSE !(j <= 0) [L20] CALL, EXPR rec1(j+1) [L12] COND FALSE !(i <= 0) [L14] CALL, EXPR rec1(i-2) [L12] COND TRUE i <= 0 [L13] return 0; [L14] RET, EXPR rec1(i-2) [L14] CALL, EXPR rec1(rec1(i-2) - 1) [L12] COND TRUE i <= 0 [L13] return 0; [L14] RET, EXPR rec1(rec1(i-2) - 1) [L14] CALL, EXPR rec1(rec1(rec1(i-2) - 1)) [L12] COND TRUE i <= 0 [L13] return 0; [L14] RET, EXPR rec1(rec1(rec1(i-2) - 1)) [L14] return rec1(rec1(rec1(i-2) - 1)) + 1; [L20] RET, EXPR rec1(j+1) [L20] CALL rec2(rec1(j+1)) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2024-11-07 23:46:15,876 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (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(TERM)