./Ultimate.py --spec /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/properties/termination.prp --file /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive-simple/afterrec_2calls-2.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version a046e57d Calling Ultimate with: /root/.sdkman/candidates/java/current/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 /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive-simple/afterrec_2calls-2.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/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 32bit --witnessprinter.graph.data.programhash b329d37fd8bf911c1223006468d56bb06a44739627ad380de3f708faf818709f --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.dk.eval-mul-div-a046e57-m [2024-10-13 17:41:43,663 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-13 17:41:43,742 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2024-10-13 17:41:43,749 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-13 17:41:43,749 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-13 17:41:43,781 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-13 17:41:43,781 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-13 17:41:43,782 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-13 17:41:43,782 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-13 17:41:43,785 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-13 17:41:43,785 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-13 17:41:43,786 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-13 17:41:43,787 INFO L153 SettingsManager]: * Use SBE=true [2024-10-13 17:41:43,787 INFO L151 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2024-10-13 17:41:43,787 INFO L153 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2024-10-13 17:41:43,788 INFO L153 SettingsManager]: * Use old map elimination=false [2024-10-13 17:41:43,788 INFO L153 SettingsManager]: * Use external solver (rank synthesis)=false [2024-10-13 17:41:43,791 INFO L153 SettingsManager]: * Use only trivial implications for array writes=true [2024-10-13 17:41:43,791 INFO L153 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2024-10-13 17:41:43,792 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-13 17:41:43,792 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2024-10-13 17:41:43,792 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-13 17:41:43,793 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-13 17:41:43,793 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-13 17:41:43,793 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-13 17:41:43,793 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2024-10-13 17:41:43,794 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2024-10-13 17:41:43,794 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2024-10-13 17:41:43,794 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-13 17:41:43,794 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-13 17:41:43,794 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-13 17:41:43,795 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-13 17:41:43,795 INFO L153 SettingsManager]: * Assume nondeterminstic values are in range=false [2024-10-13 17:41:43,795 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-13 17:41:43,795 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-13 17:41:43,795 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-13 17:41:43,796 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-13 17:41:43,796 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-13 17:41:43,797 INFO L151 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2024-10-13 17:41:43,798 INFO L153 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 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> b329d37fd8bf911c1223006468d56bb06a44739627ad380de3f708faf818709f [2024-10-13 17:41:44,050 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-13 17:41:44,074 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-13 17:41:44,077 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-13 17:41:44,079 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-13 17:41:44,080 INFO L274 PluginConnector]: CDTParser initialized [2024-10-13 17:41:44,081 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive-simple/afterrec_2calls-2.c [2024-10-13 17:41:45,476 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-13 17:41:45,658 INFO L384 CDTParser]: Found 1 translation units. [2024-10-13 17:41:45,659 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive-simple/afterrec_2calls-2.c [2024-10-13 17:41:45,665 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6fc86423a/861df8ece9574abc9bd22d0322c3e976/FLAGef155478a [2024-10-13 17:41:46,055 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6fc86423a/861df8ece9574abc9bd22d0322c3e976 [2024-10-13 17:41:46,058 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-13 17:41:46,059 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-13 17:41:46,061 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-13 17:41:46,061 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-13 17:41:46,065 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-13 17:41:46,065 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,066 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2d0e0e8b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46, skipping insertion in model container [2024-10-13 17:41:46,066 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,082 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-13 17:41:46,263 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 17:41:46,273 INFO L200 MainTranslator]: Completed pre-run [2024-10-13 17:41:46,287 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 17:41:46,301 INFO L204 MainTranslator]: Completed translation [2024-10-13 17:41:46,302 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46 WrapperNode [2024-10-13 17:41:46,302 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-13 17:41:46,303 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-13 17:41:46,303 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-13 17:41:46,303 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-13 17:41:46,308 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,312 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,327 INFO L138 Inliner]: procedures = 13, calls = 12, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 32 [2024-10-13 17:41:46,328 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-13 17:41:46,328 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-13 17:41:46,329 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-13 17:41:46,329 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-13 17:41:46,340 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,341 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,341 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,350 INFO L175 MemorySlicer]: Split 2 memory accesses to 1 slices as follows [2]. 100 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2]. The 0 writes are split as follows [0]. [2024-10-13 17:41:46,351 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,351 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,353 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,354 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,355 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,355 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,356 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-13 17:41:46,357 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-13 17:41:46,357 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-13 17:41:46,357 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-13 17:41:46,360 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (1/1) ... [2024-10-13 17:41:46,364 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 17:41:46,376 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 17:41:46,392 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) [2024-10-13 17:41:46,396 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 [2024-10-13 17:41:46,445 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-13 17:41:46,445 INFO L130 BoogieDeclarations]: Found specification of procedure f [2024-10-13 17:41:46,445 INFO L138 BoogieDeclarations]: Found implementation of procedure f [2024-10-13 17:41:46,446 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-13 17:41:46,446 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-13 17:41:46,446 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-10-13 17:41:46,446 INFO L130 BoogieDeclarations]: Found specification of procedure f2 [2024-10-13 17:41:46,446 INFO L138 BoogieDeclarations]: Found implementation of procedure f2 [2024-10-13 17:41:46,510 INFO L238 CfgBuilder]: Building ICFG [2024-10-13 17:41:46,512 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-13 17:41:46,609 INFO L? ?]: Removed 4 outVars from TransFormulas that were not future-live. [2024-10-13 17:41:46,609 INFO L287 CfgBuilder]: Performing block encoding [2024-10-13 17:41:46,619 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-13 17:41:46,620 INFO L314 CfgBuilder]: Removed 0 assume(true) statements. [2024-10-13 17:41:46,620 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 05:41:46 BoogieIcfgContainer [2024-10-13 17:41:46,620 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-13 17:41:46,621 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2024-10-13 17:41:46,622 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2024-10-13 17:41:46,625 INFO L274 PluginConnector]: BuchiAutomizer initialized [2024-10-13 17:41:46,626 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-10-13 17:41:46,626 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 13.10 05:41:46" (1/3) ... [2024-10-13 17:41:46,627 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6cf7dcf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 13.10 05:41:46, skipping insertion in model container [2024-10-13 17:41:46,627 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-10-13 17:41:46,628 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 05:41:46" (2/3) ... [2024-10-13 17:41:46,628 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6cf7dcf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 13.10 05:41:46, skipping insertion in model container [2024-10-13 17:41:46,628 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-10-13 17:41:46,628 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 05:41:46" (3/3) ... [2024-10-13 17:41:46,630 INFO L332 chiAutomizerObserver]: Analyzing ICFG afterrec_2calls-2.c [2024-10-13 17:41:46,683 INFO L300 stractBuchiCegarLoop]: Interprodecural is true [2024-10-13 17:41:46,683 INFO L301 stractBuchiCegarLoop]: Hoare is None [2024-10-13 17:41:46,683 INFO L302 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2024-10-13 17:41:46,683 INFO L303 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2024-10-13 17:41:46,683 INFO L304 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2024-10-13 17:41:46,684 INFO L305 stractBuchiCegarLoop]: Difference is false [2024-10-13 17:41:46,684 INFO L306 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2024-10-13 17:41:46,684 INFO L310 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2024-10-13 17:41:46,687 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 20 states, 14 states have (on average 1.1428571428571428) internal successors, (16), 14 states have internal predecessors, (16), 3 states have call successors, (3), 2 states have call predecessors, (3), 2 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2024-10-13 17:41:46,703 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 6 [2024-10-13 17:41:46,703 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-13 17:41:46,703 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-13 17:41:46,709 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1] [2024-10-13 17:41:46,710 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2024-10-13 17:41:46,710 INFO L332 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2024-10-13 17:41:46,710 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 20 states, 14 states have (on average 1.1428571428571428) internal successors, (16), 14 states have internal predecessors, (16), 3 states have call successors, (3), 2 states have call predecessors, (3), 2 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2024-10-13 17:41:46,712 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 6 [2024-10-13 17:41:46,712 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-13 17:41:46,713 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-13 17:41:46,713 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1] [2024-10-13 17:41:46,713 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2024-10-13 17:41:46,720 INFO L745 eck$LassoCheckResult]: Stem: 16#$Ultimate##0true assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(20, 2);call #Ultimate.allocInit(12, 3); 9#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1; 17#L23true call f(2);< 13#$Ultimate##0true [2024-10-13 17:41:46,721 INFO L747 eck$LassoCheckResult]: Loop: 13#$Ultimate##0true ~n#1 := #in~n#1; 5#L9true assume !(~n#1 < 3);#t~post6#1 := ~n#1;~n#1 := #t~post6#1 - 1;havoc #t~post6#1; 7#L11true call f2(~n#1);< 6#$Ultimate##0true ~n#1 := #in~n#1; 12#L16true assume !(~n#1 < 3);#t~post7#1 := ~n#1;~n#1 := #t~post7#1 - 1;havoc #t~post7#1; 18#L18true call f(~n#1);< 13#$Ultimate##0true [2024-10-13 17:41:46,726 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 17:41:46,726 INFO L85 PathProgramCache]: Analyzing trace with hash 40796, now seen corresponding path program 1 times [2024-10-13 17:41:46,734 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 17:41:46,735 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1215647411] [2024-10-13 17:41:46,735 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 17:41:46,736 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 17:41:46,809 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 17:41:46,809 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 17:41:46,817 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 17:41:46,833 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 17:41:46,835 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 17:41:46,836 INFO L85 PathProgramCache]: Analyzing trace with hash 892079717, now seen corresponding path program 1 times [2024-10-13 17:41:46,836 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 17:41:46,836 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [589146255] [2024-10-13 17:41:46,836 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 17:41:46,836 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 17:41:46,852 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 17:41:46,853 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 17:41:46,859 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 17:41:46,862 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 17:41:46,863 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 17:41:46,864 INFO L85 PathProgramCache]: Analyzing trace with hash 30440832, now seen corresponding path program 1 times [2024-10-13 17:41:46,864 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 17:41:46,864 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1693743263] [2024-10-13 17:41:46,864 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 17:41:46,865 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 17:41:46,880 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 17:41:47,000 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 17:41:47,001 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 17:41:47,001 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1693743263] [2024-10-13 17:41:47,002 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1693743263] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 17:41:47,002 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 17:41:47,002 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-10-13 17:41:47,004 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1092855502] [2024-10-13 17:41:47,005 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 17:41:47,185 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 17:41:47,185 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 17:41:47,185 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 17:41:47,186 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 17:41:47,186 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-13 17:41:47,186 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 17:41:47,186 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 17:41:47,187 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 17:41:47,187 INFO L132 ssoRankerPreferences]: Filename of dumped script: afterrec_2calls-2.c_Iteration1_Loop [2024-10-13 17:41:47,187 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 17:41:47,187 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 17:41:47,202 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 17:41:47,213 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 17:41:47,221 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 17:41:47,228 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 17:41:47,272 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 17:41:47,272 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-13 17:41:47,274 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 17:41:47,275 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 17:41:47,277 INFO L229 MonitoredProcess]: Starting monitored process 2 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) [2024-10-13 17:41:47,278 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (2)] Waiting until timeout for monitored process [2024-10-13 17:41:47,280 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 17:41:47,280 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 17:41:47,297 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-13 17:41:47,297 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {f2_#in~n#1=0} Honda state: {f2_#in~n#1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-13 17:41:47,308 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (2)] Ended with exit code 0 [2024-10-13 17:41:47,309 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 17:41:47,310 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 17:41:47,311 INFO L229 MonitoredProcess]: Starting monitored process 3 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) [2024-10-13 17:41:47,312 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Waiting until timeout for monitored process [2024-10-13 17:41:47,313 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 17:41:47,313 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 17:41:47,335 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Ended with exit code 0 [2024-10-13 17:41:47,336 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 17:41:47,337 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 17:41:47,338 INFO L229 MonitoredProcess]: Starting monitored process 4 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) [2024-10-13 17:41:47,340 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Waiting until timeout for monitored process [2024-10-13 17:41:47,341 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-13 17:41:47,341 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 17:41:47,379 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-13 17:41:47,386 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Ended with exit code 0 [2024-10-13 17:41:47,386 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 17:41:47,386 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 17:41:47,387 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 17:41:47,387 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 17:41:47,387 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-13 17:41:47,387 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 17:41:47,387 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 17:41:47,387 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 17:41:47,387 INFO L132 ssoRankerPreferences]: Filename of dumped script: afterrec_2calls-2.c_Iteration1_Loop [2024-10-13 17:41:47,388 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 17:41:47,388 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 17:41:47,389 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 17:41:47,392 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 17:41:47,396 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 17:41:47,404 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 17:41:47,433 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 17:41:47,438 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-13 17:41:47,439 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 17:41:47,439 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 17:41:47,441 INFO L229 MonitoredProcess]: Starting monitored process 5 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) [2024-10-13 17:41:47,443 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Waiting until timeout for monitored process [2024-10-13 17:41:47,444 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-13 17:41:47,458 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 17:41:47,458 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-13 17:41:47,459 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 17:41:47,460 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 17:41:47,462 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 17:41:47,464 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-13 17:41:47,465 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-13 17:41:47,470 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-13 17:41:47,480 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Forceful destruction successful, exit code 0 [2024-10-13 17:41:47,480 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 17:41:47,481 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 17:41:47,482 INFO L229 MonitoredProcess]: Starting monitored process 6 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) [2024-10-13 17:41:47,484 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (6)] Waiting until timeout for monitored process [2024-10-13 17:41:47,485 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-13 17:41:47,495 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 17:41:47,496 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-13 17:41:47,496 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 17:41:47,496 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 17:41:47,496 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 17:41:47,497 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-13 17:41:47,497 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-13 17:41:47,499 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-13 17:41:47,513 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (6)] Ended with exit code 0 [2024-10-13 17:41:47,514 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 17:41:47,514 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 17:41:47,515 INFO L229 MonitoredProcess]: Starting monitored process 7 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) [2024-10-13 17:41:47,516 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (7)] Waiting until timeout for monitored process [2024-10-13 17:41:47,517 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-13 17:41:47,527 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 17:41:47,527 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-13 17:41:47,527 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 17:41:47,527 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 17:41:47,527 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 17:41:47,528 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-13 17:41:47,529 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-13 17:41:47,533 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-13 17:41:47,535 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2024-10-13 17:41:47,535 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. [2024-10-13 17:41:47,537 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 17:41:47,537 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 17:41:47,561 INFO L229 MonitoredProcess]: Starting monitored process 8 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) [2024-10-13 17:41:47,563 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Waiting until timeout for monitored process [2024-10-13 17:41:47,564 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-13 17:41:47,564 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-13 17:41:47,564 INFO L474 LassoAnalysis]: Proved termination. [2024-10-13 17:41:47,565 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(f_#in~n#1) = 1*f_#in~n#1 Supporting invariants [] [2024-10-13 17:41:47,577 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (7)] Forceful destruction successful, exit code 0 [2024-10-13 17:41:47,580 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-13 17:41:47,601 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 17:41:47,626 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 17:41:47,627 INFO L255 TraceCheckSpWp]: Trace formula consists of 54 conjuncts, 4 conjuncts are in the unsatisfiable core [2024-10-13 17:41:47,628 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 17:41:47,663 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 17:41:47,664 INFO L255 TraceCheckSpWp]: Trace formula consists of 76 conjuncts, 13 conjuncts are in the unsatisfiable core [2024-10-13 17:41:47,680 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 17:41:47,713 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Ended with exit code 0 [2024-10-13 17:41:47,817 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 17:41:47,851 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 6 loop predicates [2024-10-13 17:41:47,852 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand has 20 states, 14 states have (on average 1.1428571428571428) internal successors, (16), 14 states have internal predecessors, (16), 3 states have call successors, (3), 2 states have call predecessors, (3), 2 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) Second operand has 7 states, 5 states have (on average 1.2) internal successors, (6), 5 states have internal predecessors, (6), 3 states have call successors, (3), 2 states have call predecessors, (3), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 17:41:48,046 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand has 20 states, 14 states have (on average 1.1428571428571428) internal successors, (16), 14 states have internal predecessors, (16), 3 states have call successors, (3), 2 states have call predecessors, (3), 2 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3). Second operand has 7 states, 5 states have (on average 1.2) internal successors, (6), 5 states have internal predecessors, (6), 3 states have call successors, (3), 2 states have call predecessors, (3), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 61 states and 67 transitions. Complement of second has 30 states. [2024-10-13 17:41:48,050 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 10 states 1 stem states 7 non-accepting loop states 1 accepting loop states [2024-10-13 17:41:48,055 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 7 states, 5 states have (on average 1.2) internal successors, (6), 5 states have internal predecessors, (6), 3 states have call successors, (3), 2 states have call predecessors, (3), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 17:41:48,056 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 26 transitions. [2024-10-13 17:41:48,057 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 10 states and 26 transitions. Stem has 3 letters. Loop has 6 letters. [2024-10-13 17:41:48,058 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 17:41:48,058 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 10 states and 26 transitions. Stem has 9 letters. Loop has 6 letters. [2024-10-13 17:41:48,058 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 17:41:48,058 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 10 states and 26 transitions. Stem has 3 letters. Loop has 12 letters. [2024-10-13 17:41:48,058 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 17:41:48,059 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 61 states and 67 transitions. [2024-10-13 17:41:48,062 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2024-10-13 17:41:48,064 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 61 states to 0 states and 0 transitions. [2024-10-13 17:41:48,065 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2024-10-13 17:41:48,065 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2024-10-13 17:41:48,066 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2024-10-13 17:41:48,066 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-10-13 17:41:48,066 INFO L218 hiAutomatonCegarLoop]: Abstraction has 0 states and 0 transitions. [2024-10-13 17:41:48,066 INFO L240 hiAutomatonCegarLoop]: Abstraction has 0 states and 0 transitions. [2024-10-13 17:41:48,066 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 17:41:48,068 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2024-10-13 17:41:48,069 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2024-10-13 17:41:48,070 INFO L87 Difference]: Start difference. First operand 0 states and 0 transitions. Second operand has 4 states, 4 states have (on average 1.5) internal successors, (6), 3 states have internal predecessors, (6), 2 states have call successors, (3), 2 states have call predecessors, (3), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 17:41:48,072 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-13 17:41:48,072 INFO L93 Difference]: Finished difference Result 0 states and 0 transitions. [2024-10-13 17:41:48,072 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 0 states and 0 transitions. [2024-10-13 17:41:48,072 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2024-10-13 17:41:48,072 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 0 states to 0 states and 0 transitions. [2024-10-13 17:41:48,072 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2024-10-13 17:41:48,072 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2024-10-13 17:41:48,072 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2024-10-13 17:41:48,072 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-10-13 17:41:48,072 INFO L218 hiAutomatonCegarLoop]: Abstraction has 0 states and 0 transitions. [2024-10-13 17:41:48,072 INFO L240 hiAutomatonCegarLoop]: Abstraction has 0 states and 0 transitions. [2024-10-13 17:41:48,073 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-13 17:41:48,073 INFO L425 stractBuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2024-10-13 17:41:48,073 INFO L332 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2024-10-13 17:41:48,073 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2024-10-13 17:41:48,073 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2024-10-13 17:41:48,073 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2024-10-13 17:41:48,080 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 13.10 05:41:48 BoogieIcfgContainer [2024-10-13 17:41:48,080 INFO L131 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2024-10-13 17:41:48,081 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-13 17:41:48,081 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-13 17:41:48,081 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-13 17:41:48,081 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 05:41:46" (3/4) ... [2024-10-13 17:41:48,083 INFO L142 WitnessPrinter]: No result that supports witness generation found [2024-10-13 17:41:48,084 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-13 17:41:48,084 INFO L158 Benchmark]: Toolchain (without parser) took 2025.09ms. Allocated memory was 130.0MB in the beginning and 172.0MB in the end (delta: 41.9MB). Free memory was 61.5MB in the beginning and 120.2MB in the end (delta: -58.7MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 17:41:48,085 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 130.0MB. Free memory is still 92.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 17:41:48,085 INFO L158 Benchmark]: CACSL2BoogieTranslator took 241.74ms. Allocated memory was 130.0MB in the beginning and 172.0MB in the end (delta: 41.9MB). Free memory was 61.3MB in the beginning and 141.1MB in the end (delta: -79.8MB). Peak memory consumption was 17.3MB. Max. memory is 16.1GB. [2024-10-13 17:41:48,086 INFO L158 Benchmark]: Boogie Procedure Inliner took 24.90ms. Allocated memory is still 172.0MB. Free memory was 141.1MB in the beginning and 140.3MB in the end (delta: 794.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 17:41:48,086 INFO L158 Benchmark]: Boogie Preprocessor took 28.03ms. Allocated memory is still 172.0MB. Free memory was 140.3MB in the beginning and 138.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-13 17:41:48,086 INFO L158 Benchmark]: RCFGBuilder took 263.42ms. Allocated memory is still 172.0MB. Free memory was 138.2MB in the beginning and 128.6MB in the end (delta: 9.7MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2024-10-13 17:41:48,087 INFO L158 Benchmark]: BuchiAutomizer took 1458.49ms. Allocated memory is still 172.0MB. Free memory was 128.6MB in the beginning and 120.2MB in the end (delta: 8.3MB). Peak memory consumption was 4.9MB. Max. memory is 16.1GB. [2024-10-13 17:41:48,087 INFO L158 Benchmark]: Witness Printer took 3.30ms. Allocated memory is still 172.0MB. Free memory is still 120.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 17:41:48,089 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.15ms. Allocated memory is still 130.0MB. Free memory is still 92.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 241.74ms. Allocated memory was 130.0MB in the beginning and 172.0MB in the end (delta: 41.9MB). Free memory was 61.3MB in the beginning and 141.1MB in the end (delta: -79.8MB). Peak memory consumption was 17.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 24.90ms. Allocated memory is still 172.0MB. Free memory was 141.1MB in the beginning and 140.3MB in the end (delta: 794.8kB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 28.03ms. Allocated memory is still 172.0MB. Free memory was 140.3MB in the beginning and 138.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 263.42ms. Allocated memory is still 172.0MB. Free memory was 138.2MB in the beginning and 128.6MB in the end (delta: 9.7MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * BuchiAutomizer took 1458.49ms. Allocated memory is still 172.0MB. Free memory was 128.6MB in the beginning and 120.2MB in the end (delta: 8.3MB). Peak memory consumption was 4.9MB. Max. memory is 16.1GB. * Witness Printer took 3.30ms. Allocated memory is still 172.0MB. Free memory is still 120.2MB. 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 2 terminating modules (1 trivial, 1 deterministic, 0 nondeterministic). One deterministic module has affine ranking function \old(n) and consists of 10 locations. 1 modules have a trivial ranking function, the largest among these consists of 4 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 1.4s and 2 iterations. TraceHistogramMax:1. Analysis of lassos took 0.8s. Construction of modules took 0.0s. Büchi inclusion checks took 0.4s. Highest rank in rank-based complementation 3. Minimization of det autom 2. Minimization of nondet autom 0. Automata minimization No data available. 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 [1, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 11 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 10 mSDsluCounter, 15 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 8 mSDsCounter, 10 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 49 IncrementalHoareTripleChecker+Invalid, 59 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 10 mSolverCounterUnsat, 7 mSDtfsCounter, 49 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont0 unkn0 SFLI0 SFLT0 conc0 concLT1 SILN0 SILU0 SILI0 SILT0 lasso0 LassoPreprocessingBenchmarks: Lassos: inital10 mio100 ax100 hnf100 lsp100 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq160 hnf93 smp100 dnf100 smp100 tf113 neg100 sie100 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 31ms VariablesStem: 0 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 0 MotzkinApplications: 2 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 1 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 1 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s InitialAbstractionConstructionTime: 0.0s - TerminationAnalysisResult: Termination proven Buchi Automizer proved that your program is terminating RESULT: Ultimate proved your program to be correct! [2024-10-13 17:41:48,122 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 Writing output log to file Ultimate.log Result: TRUE