./Ultimate.py --spec /storage/repos/svcomp/c/properties/termination.prp --file /storage/repos/svcomp/c/termination-crafted/NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 91b1670e Calling Ultimate with: java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i /storage/repos/svcomp/c/termination-crafted/NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash 0837a1e1d82be1b28ccf3514392f1b01c88a9160 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.1.24-91b1670 [2018-11-28 23:14:04,825 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-28 23:14:04,826 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-28 23:14:04,839 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-28 23:14:04,839 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-28 23:14:04,840 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-28 23:14:04,842 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-28 23:14:04,844 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-28 23:14:04,846 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-28 23:14:04,847 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-28 23:14:04,848 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-28 23:14:04,848 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-28 23:14:04,849 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-28 23:14:04,851 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-28 23:14:04,852 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-28 23:14:04,853 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-28 23:14:04,854 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-28 23:14:04,857 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-28 23:14:04,859 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-28 23:14:04,861 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-28 23:14:04,863 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-28 23:14:04,864 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-28 23:14:04,867 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-28 23:14:04,867 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-28 23:14:04,868 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-28 23:14:04,869 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-28 23:14:04,870 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-28 23:14:04,871 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-28 23:14:04,872 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-28 23:14:04,873 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-28 23:14:04,874 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-28 23:14:04,874 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-28 23:14:04,875 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-28 23:14:04,875 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-28 23:14:04,876 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-28 23:14:04,877 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-28 23:14:04,878 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2018-11-28 23:14:04,904 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-28 23:14:04,904 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-28 23:14:04,905 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-28 23:14:04,905 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-28 23:14:04,908 INFO L133 SettingsManager]: * Use SBE=true [2018-11-28 23:14:04,908 INFO L131 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2018-11-28 23:14:04,908 INFO L133 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2018-11-28 23:14:04,909 INFO L133 SettingsManager]: * Use old map elimination=false [2018-11-28 23:14:04,909 INFO L133 SettingsManager]: * Use external solver (rank synthesis)=false [2018-11-28 23:14:04,909 INFO L133 SettingsManager]: * Use only trivial implications for array writes=true [2018-11-28 23:14:04,909 INFO L133 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2018-11-28 23:14:04,910 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-28 23:14:04,910 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-11-28 23:14:04,910 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-28 23:14:04,910 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-28 23:14:04,910 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2018-11-28 23:14:04,911 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2018-11-28 23:14:04,913 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2018-11-28 23:14:04,913 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-28 23:14:04,913 INFO L133 SettingsManager]: * Assume nondeterminstic values are in range=false [2018-11-28 23:14:04,913 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-28 23:14:04,913 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2018-11-28 23:14:04,913 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-28 23:14:04,915 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-28 23:14:04,915 INFO L133 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2018-11-28 23:14:04,915 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-28 23:14:04,915 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-28 23:14:04,915 INFO L133 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2018-11-28 23:14:04,918 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-11-28 23:14:04,919 INFO L133 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/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 0837a1e1d82be1b28ccf3514392f1b01c88a9160 [2018-11-28 23:14:04,982 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-28 23:14:05,002 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-28 23:14:05,009 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-28 23:14:05,011 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-28 23:14:05,013 INFO L276 PluginConnector]: CDTParser initialized [2018-11-28 23:14:05,014 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/svcomp/c/termination-crafted/NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c [2018-11-28 23:14:05,070 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c8bf44018/614f8ec1e5374b55ac3e04ec0db43189/FLAG66e26b846 [2018-11-28 23:14:05,502 INFO L307 CDTParser]: Found 1 translation units. [2018-11-28 23:14:05,503 INFO L161 CDTParser]: Scanning /storage/repos/svcomp/c/termination-crafted/NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c [2018-11-28 23:14:05,510 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c8bf44018/614f8ec1e5374b55ac3e04ec0db43189/FLAG66e26b846 [2018-11-28 23:14:05,883 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c8bf44018/614f8ec1e5374b55ac3e04ec0db43189 [2018-11-28 23:14:05,888 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-28 23:14:05,890 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-28 23:14:05,891 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-28 23:14:05,891 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-28 23:14:05,897 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-28 23:14:05,898 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 11:14:05" (1/1) ... [2018-11-28 23:14:05,902 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@fd2a2d7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:05, skipping insertion in model container [2018-11-28 23:14:05,902 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 11:14:05" (1/1) ... [2018-11-28 23:14:05,912 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-28 23:14:05,937 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-28 23:14:06,174 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-11-28 23:14:06,180 INFO L191 MainTranslator]: Completed pre-run [2018-11-28 23:14:06,202 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-11-28 23:14:06,222 INFO L195 MainTranslator]: Completed translation [2018-11-28 23:14:06,223 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06 WrapperNode [2018-11-28 23:14:06,223 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-28 23:14:06,224 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-28 23:14:06,225 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-28 23:14:06,225 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-28 23:14:06,237 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (1/1) ... [2018-11-28 23:14:06,243 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (1/1) ... [2018-11-28 23:14:06,265 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-28 23:14:06,266 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-28 23:14:06,266 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-28 23:14:06,266 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-28 23:14:06,277 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (1/1) ... [2018-11-28 23:14:06,278 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (1/1) ... [2018-11-28 23:14:06,279 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (1/1) ... [2018-11-28 23:14:06,279 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (1/1) ... [2018-11-28 23:14:06,282 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (1/1) ... [2018-11-28 23:14:06,285 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (1/1) ... [2018-11-28 23:14:06,286 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (1/1) ... [2018-11-28 23:14:06,287 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-28 23:14:06,288 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-28 23:14:06,288 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-28 23:14:06,288 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-28 23:14:06,289 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:06,478 INFO L130 BoogieDeclarations]: Found specification of procedure rec1 [2018-11-28 23:14:06,479 INFO L138 BoogieDeclarations]: Found implementation of procedure rec1 [2018-11-28 23:14:06,479 INFO L130 BoogieDeclarations]: Found specification of procedure rec2 [2018-11-28 23:14:06,479 INFO L138 BoogieDeclarations]: Found implementation of procedure rec2 [2018-11-28 23:14:06,479 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-28 23:14:06,479 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-28 23:14:06,756 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-28 23:14:06,756 INFO L280 CfgBuilder]: Removed 4 assue(true) statements. [2018-11-28 23:14:06,757 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 11:14:06 BoogieIcfgContainer [2018-11-28 23:14:06,757 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-28 23:14:06,758 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2018-11-28 23:14:06,759 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2018-11-28 23:14:06,763 INFO L276 PluginConnector]: BuchiAutomizer initialized [2018-11-28 23:14:06,765 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-28 23:14:06,765 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.11 11:14:05" (1/3) ... [2018-11-28 23:14:06,768 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@70604859 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 11:14:06, skipping insertion in model container [2018-11-28 23:14:06,768 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-28 23:14:06,768 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 11:14:06" (2/3) ... [2018-11-28 23:14:06,768 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@70604859 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 11:14:06, skipping insertion in model container [2018-11-28 23:14:06,768 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-28 23:14:06,769 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 11:14:06" (3/3) ... [2018-11-28 23:14:06,773 INFO L375 chiAutomizerObserver]: Analyzing ICFG NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c [2018-11-28 23:14:06,880 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-28 23:14:06,881 INFO L374 BuchiCegarLoop]: Interprodecural is true [2018-11-28 23:14:06,881 INFO L375 BuchiCegarLoop]: Hoare is false [2018-11-28 23:14:06,881 INFO L376 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2018-11-28 23:14:06,881 INFO L377 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-28 23:14:06,882 INFO L378 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-28 23:14:06,882 INFO L379 BuchiCegarLoop]: Difference is false [2018-11-28 23:14:06,882 INFO L380 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-28 23:14:06,882 INFO L383 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2018-11-28 23:14:06,901 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 21 states. [2018-11-28 23:14:06,933 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:06,934 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:14:06,934 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:14:06,946 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2018-11-28 23:14:06,946 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:14:06,946 INFO L442 BuchiCegarLoop]: ======== Iteration 1============ [2018-11-28 23:14:06,947 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 21 states. [2018-11-28 23:14:06,950 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:06,950 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:14:06,951 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:14:06,952 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2018-11-28 23:14:06,952 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:14:06,962 INFO L794 eck$LassoCheckResult]: Stem: 13#ULTIMATE.startENTRYtrue havoc main_#res;havoc main_#t~nondet5, main_#t~ret6, main_~x~0;main_~x~0 := main_#t~nondet5;havoc main_#t~nondet5; 22#L25true call main_#t~ret6 := rec2(main_~x~0);< 3#rec2ENTRYtrue [2018-11-28 23:14:06,963 INFO L796 eck$LassoCheckResult]: Loop: 3#rec2ENTRYtrue ~j := #in~j; 20#L18true assume !(~j <= 0); 18#L20true call #t~ret3 := rec1(~j);< 4#rec1ENTRYtrue ~i := #in~i; 9#L12true assume ~i <= 0;#res := 0; 5#rec1FINALtrue assume true; 12#rec1EXITtrue >#33#return; 23#L20-1true call #t~ret4 := rec2(#t~ret3 - 1);< 3#rec2ENTRYtrue [2018-11-28 23:14:06,971 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:06,971 INFO L82 PathProgramCache]: Analyzing trace with hash 1617, now seen corresponding path program 1 times [2018-11-28 23:14:06,974 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:06,975 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:07,039 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:07,040 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:07,040 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:07,067 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:07,072 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:07,094 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:07,095 INFO L82 PathProgramCache]: Analyzing trace with hash -1102838740, now seen corresponding path program 1 times [2018-11-28 23:14:07,095 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:07,095 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:07,097 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:07,097 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:07,097 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:07,121 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:07,350 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:14:07,352 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 23:14:07,352 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-11-28 23:14:07,357 INFO L811 eck$LassoCheckResult]: loop already infeasible [2018-11-28 23:14:07,372 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-28 23:14:07,373 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-11-28 23:14:07,375 INFO L87 Difference]: Start difference. First operand 21 states. Second operand 5 states. [2018-11-28 23:14:07,575 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 23:14:07,576 INFO L93 Difference]: Finished difference Result 25 states and 33 transitions. [2018-11-28 23:14:07,577 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-28 23:14:07,580 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 25 states and 33 transitions. [2018-11-28 23:14:07,584 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:07,592 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 25 states to 16 states and 22 transitions. [2018-11-28 23:14:07,593 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 16 [2018-11-28 23:14:07,594 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 16 [2018-11-28 23:14:07,595 INFO L73 IsDeterministic]: Start isDeterministic. Operand 16 states and 22 transitions. [2018-11-28 23:14:07,597 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2018-11-28 23:14:07,597 INFO L705 BuchiCegarLoop]: Abstraction has 16 states and 22 transitions. [2018-11-28 23:14:07,617 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states and 22 transitions. [2018-11-28 23:14:07,631 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 16. [2018-11-28 23:14:07,632 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 16 states. [2018-11-28 23:14:07,633 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 22 transitions. [2018-11-28 23:14:07,635 INFO L728 BuchiCegarLoop]: Abstraction has 16 states and 22 transitions. [2018-11-28 23:14:07,635 INFO L608 BuchiCegarLoop]: Abstraction has 16 states and 22 transitions. [2018-11-28 23:14:07,635 INFO L442 BuchiCegarLoop]: ======== Iteration 2============ [2018-11-28 23:14:07,635 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 16 states and 22 transitions. [2018-11-28 23:14:07,637 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:07,637 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:14:07,637 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:14:07,638 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2018-11-28 23:14:07,639 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [4, 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:14:07,639 INFO L794 eck$LassoCheckResult]: Stem: 73#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet5, main_#t~ret6, main_~x~0;main_~x~0 := main_#t~nondet5;havoc main_#t~nondet5; 60#L25 call main_#t~ret6 := rec2(main_~x~0);< 59#rec2ENTRY [2018-11-28 23:14:07,639 INFO L796 eck$LassoCheckResult]: Loop: 59#rec2ENTRY ~j := #in~j; 62#L18 assume !(~j <= 0); 66#L20 call #t~ret3 := rec1(~j);< 63#rec1ENTRY ~i := #in~i; 68#L12 assume !(~i <= 0); 67#L14 call #t~ret0 := rec1(~i - 2);< 63#rec1ENTRY ~i := #in~i; 68#L12 assume ~i <= 0;#res := 0; 69#rec1FINAL assume true; 70#rec1EXIT >#27#return; 64#L14-1 call #t~ret1 := rec1(#t~ret0 - 1);< 63#rec1ENTRY ~i := #in~i; 68#L12 assume ~i <= 0;#res := 0; 69#rec1FINAL assume true; 70#rec1EXIT >#29#return; 65#L14-2 call #t~ret2 := rec1(#t~ret1);< 63#rec1ENTRY ~i := #in~i; 68#L12 assume ~i <= 0;#res := 0; 69#rec1FINAL assume true; 70#rec1EXIT >#31#return; 71#L14-3 #res := 1 + #t~ret2;havoc #t~ret0;havoc #t~ret2;havoc #t~ret1; 72#rec1FINAL assume true; 74#rec1EXIT >#33#return; 61#L20-1 call #t~ret4 := rec2(#t~ret3 - 1);< 59#rec2ENTRY [2018-11-28 23:14:07,639 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:07,640 INFO L82 PathProgramCache]: Analyzing trace with hash 1617, now seen corresponding path program 2 times [2018-11-28 23:14:07,640 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:07,640 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:07,641 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:07,641 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:07,641 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:07,643 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:07,645 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:07,646 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:07,646 INFO L82 PathProgramCache]: Analyzing trace with hash -616266826, now seen corresponding path program 1 times [2018-11-28 23:14:07,646 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:07,647 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:07,648 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:07,648 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 23:14:07,648 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:07,662 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:07,677 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:07,682 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:07,683 INFO L82 PathProgramCache]: Analyzing trace with hash 1277860358, now seen corresponding path program 1 times [2018-11-28 23:14:07,683 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:07,683 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:07,684 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:07,684 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:07,684 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:07,697 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:07,722 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:08,455 WARN L180 SmtUtils]: Spent 235.00 ms on a formula simplification. DAG size of input: 42 DAG size of output: 40 [2018-11-28 23:14:08,727 WARN L180 SmtUtils]: Spent 216.00 ms on a formula simplification. DAG size of input: 24 DAG size of output: 22 [2018-11-28 23:14:08,879 WARN L180 SmtUtils]: Spent 149.00 ms on a formula simplification that was a NOOP. DAG size: 16 [2018-11-28 23:14:08,968 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:14:08,969 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:14:08,969 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:14:08,969 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:14:08,970 INFO L127 ssoRankerPreferences]: Use exernal solver: true [2018-11-28 23:14:08,970 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:08,970 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:14:08,970 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:14:08,970 INFO L131 ssoRankerPreferences]: Filename of dumped script: NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c_Iteration2_Loop [2018-11-28 23:14:08,971 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:14:08,971 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:14:08,993 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:09,004 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:09,008 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:09,011 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:09,022 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:09,111 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:14:09,112 INFO L412 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:09,126 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:09,126 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:09,148 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:09,148 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec2_~j=0} Honda state: {rec2_~j=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:09,186 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:09,187 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:09,202 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:09,202 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec2_#t~ret3=0} Honda state: {rec2_#t~ret3=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2018-11-28 23:14:09,252 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:09,253 INFO L163 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:09,268 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:09,269 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec2_#res=0} Honda state: {rec2_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2018-11-28 23:14:09,302 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:09,303 INFO L163 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:09,320 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:09,320 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec2_#t~ret4=0} Honda state: {rec2_#t~ret4=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2018-11-28 23:14:09,371 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:09,372 INFO L163 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2018-11-28 23:14:09,418 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2018-11-28 23:14:09,419 INFO L163 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:09,436 INFO L452 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2018-11-28 23:14:09,454 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:14:09,455 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:14:09,455 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:14:09,455 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:14:09,455 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-28 23:14:09,455 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:09,455 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:14:09,456 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:14:09,456 INFO L131 ssoRankerPreferences]: Filename of dumped script: NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c_Iteration2_Loop [2018-11-28 23:14:09,456 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:14:09,456 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:14:09,458 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:09,468 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:09,472 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:09,478 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:09,488 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:09,548 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:14:09,553 INFO L497 LassoAnalysis]: Using template 'affine'. [2018-11-28 23:14:09,555 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:09,557 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:09,557 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:09,558 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:09,558 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:09,558 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:09,560 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:09,561 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:09,564 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:09,565 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:09,566 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:09,566 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:09,566 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:09,566 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:09,566 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:09,567 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:09,567 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:09,569 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:09,569 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:09,570 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:09,570 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:09,570 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:09,570 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:09,570 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:09,571 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:09,571 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:09,573 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:09,573 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:09,574 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:09,574 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:09,574 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:09,574 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:09,574 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:09,575 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:09,576 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:09,581 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-28 23:14:09,586 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2018-11-28 23:14:09,587 INFO L444 ModelExtractionUtils]: 0 out of 3 variables were initially zero. Simplification set additionally 1 variables to zero. [2018-11-28 23:14:09,589 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-28 23:14:09,589 INFO L440 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2018-11-28 23:14:09,589 INFO L518 LassoAnalysis]: Proved termination. [2018-11-28 23:14:09,590 INFO L520 LassoAnalysis]: Termination argument consisting of: Ranking function f(rec2_#in~j) = 1*rec2_#in~j Supporting invariants [] [2018-11-28 23:14:09,591 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2018-11-28 23:14:09,680 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:09,715 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:09,719 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:09,802 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:09,810 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:10,288 INFO L134 CoverageAnalysis]: Checked inductivity of 24 backedges. 8 proven. 2 refuted. 0 times theorem prover too weak. 14 trivial. 0 not checked. [2018-11-28 23:14:10,293 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 8 loop predicates [2018-11-28 23:14:10,295 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 16 states and 22 transitions. cyclomatic complexity: 8 Second operand 9 states. [2018-11-28 23:14:11,602 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 16 states and 22 transitions. cyclomatic complexity: 8. Second operand 9 states. Result 101 states and 147 transitions. Complement of second has 42 states. [2018-11-28 23:14:11,611 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 10 states 1 stem states 8 non-accepting loop states 1 accepting loop states [2018-11-28 23:14:11,612 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 9 states. [2018-11-28 23:14:11,614 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 36 transitions. [2018-11-28 23:14:11,616 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 10 states and 36 transitions. Stem has 2 letters. Loop has 24 letters. [2018-11-28 23:14:11,618 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:11,619 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 10 states and 36 transitions. Stem has 26 letters. Loop has 24 letters. [2018-11-28 23:14:11,619 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:11,620 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 10 states and 36 transitions. Stem has 2 letters. Loop has 48 letters. [2018-11-28 23:14:11,621 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:11,621 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 101 states and 147 transitions. [2018-11-28 23:14:11,629 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:11,636 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 101 states to 89 states and 135 transitions. [2018-11-28 23:14:11,636 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 38 [2018-11-28 23:14:11,637 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 41 [2018-11-28 23:14:11,637 INFO L73 IsDeterministic]: Start isDeterministic. Operand 89 states and 135 transitions. [2018-11-28 23:14:11,638 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-28 23:14:11,639 INFO L705 BuchiCegarLoop]: Abstraction has 89 states and 135 transitions. [2018-11-28 23:14:11,639 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 89 states and 135 transitions. [2018-11-28 23:14:11,658 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 89 to 62. [2018-11-28 23:14:11,659 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 62 states. [2018-11-28 23:14:11,661 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 62 states to 62 states and 98 transitions. [2018-11-28 23:14:11,662 INFO L728 BuchiCegarLoop]: Abstraction has 62 states and 98 transitions. [2018-11-28 23:14:11,662 INFO L608 BuchiCegarLoop]: Abstraction has 62 states and 98 transitions. [2018-11-28 23:14:11,662 INFO L442 BuchiCegarLoop]: ======== Iteration 3============ [2018-11-28 23:14:11,662 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 62 states and 98 transitions. [2018-11-28 23:14:11,668 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:11,668 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:14:11,668 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:14:11,669 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:14:11,669 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2018-11-28 23:14:11,669 INFO L794 eck$LassoCheckResult]: Stem: 371#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet5, main_#t~ret6, main_~x~0;main_~x~0 := main_#t~nondet5;havoc main_#t~nondet5; 334#L25 call main_#t~ret6 := rec2(main_~x~0);< 333#rec2ENTRY ~j := #in~j; 336#L18 assume !(~j <= 0); 366#L20 call #t~ret3 := rec1(~j);< 378#rec1ENTRY ~i := #in~i; 365#L12 assume !(~i <= 0); 345#L14 call #t~ret0 := rec1(~i - 2);< 339#rec1ENTRY [2018-11-28 23:14:11,669 INFO L796 eck$LassoCheckResult]: Loop: 339#rec1ENTRY ~i := #in~i; 347#L12 assume !(~i <= 0); 344#L14 call #t~ret0 := rec1(~i - 2);< 339#rec1ENTRY [2018-11-28 23:14:11,669 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:11,670 INFO L82 PathProgramCache]: Analyzing trace with hash 874549579, now seen corresponding path program 1 times [2018-11-28 23:14:11,670 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:11,670 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:11,671 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:11,671 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:11,671 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:11,676 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:11,681 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:11,683 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:11,686 INFO L82 PathProgramCache]: Analyzing trace with hash 29941, now seen corresponding path program 1 times [2018-11-28 23:14:11,686 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:11,686 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:11,687 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:11,687 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:11,687 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:11,694 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:11,698 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:11,699 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:11,699 INFO L82 PathProgramCache]: Analyzing trace with hash 434890603, now seen corresponding path program 2 times [2018-11-28 23:14:11,700 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:11,700 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:11,701 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:11,701 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:11,701 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:11,714 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:11,719 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:11,779 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:14:11,779 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:14:11,779 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:14:11,779 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:14:11,779 INFO L127 ssoRankerPreferences]: Use exernal solver: true [2018-11-28 23:14:11,779 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:11,780 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:14:11,780 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:14:11,780 INFO L131 ssoRankerPreferences]: Filename of dumped script: NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c_Iteration3_Loop [2018-11-28 23:14:11,780 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:14:11,780 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:14:11,782 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:11,788 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:11,790 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:11,805 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:11,808 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:11,817 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:11,860 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:14:11,861 INFO L412 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:11,866 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:11,866 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:11,870 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:11,870 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_#t~ret0=0} Honda state: {rec1_#t~ret0=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:11,891 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:11,891 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:11,894 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:11,894 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_#res=0} Honda state: {rec1_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:11,916 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:11,916 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:11,923 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:11,923 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_#t~ret1=0} Honda state: {rec1_#t~ret1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:11,949 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:11,949 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:11,952 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:11,952 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_~i=0} Honda state: {rec1_~i=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:11,974 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:11,974 INFO L163 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:12,006 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2018-11-28 23:14:12,006 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:12,031 INFO L452 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2018-11-28 23:14:12,034 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:14:12,034 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:14:12,034 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:14:12,034 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:14:12,034 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-28 23:14:12,034 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:12,034 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:14:12,034 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:14:12,035 INFO L131 ssoRankerPreferences]: Filename of dumped script: NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c_Iteration3_Loop [2018-11-28 23:14:12,035 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:14:12,035 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:14:12,037 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,039 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,041 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,045 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,060 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,062 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,114 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:14:12,114 INFO L497 LassoAnalysis]: Using template 'affine'. [2018-11-28 23:14:12,115 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:12,116 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:12,116 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:12,116 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:12,117 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:12,117 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:12,117 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:12,117 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:12,119 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:12,119 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:12,120 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:12,120 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:12,120 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:12,120 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:12,121 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:12,121 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:12,121 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:12,122 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:12,123 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:12,124 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:12,124 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:12,124 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:12,124 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:12,124 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:12,125 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:12,125 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:12,126 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:12,127 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:12,127 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:12,127 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:12,128 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:12,128 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:12,128 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:12,129 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:12,129 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:12,133 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-28 23:14:12,136 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2018-11-28 23:14:12,136 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. [2018-11-28 23:14:12,136 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-28 23:14:12,137 INFO L440 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2018-11-28 23:14:12,137 INFO L518 LassoAnalysis]: Proved termination. [2018-11-28 23:14:12,137 INFO L520 LassoAnalysis]: Termination argument consisting of: Ranking function f(rec1_#in~i) = 1*rec1_#in~i Supporting invariants [] [2018-11-28 23:14:12,137 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2018-11-28 23:14:12,175 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:12,212 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:12,215 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:12,231 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:12,232 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:12,260 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:14:12,261 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 3 loop predicates [2018-11-28 23:14:12,261 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 62 states and 98 transitions. cyclomatic complexity: 40 Second operand 4 states. [2018-11-28 23:14:12,330 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 62 states and 98 transitions. cyclomatic complexity: 40. Second operand 4 states. Result 108 states and 165 transitions. Complement of second has 13 states. [2018-11-28 23:14:12,333 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2018-11-28 23:14:12,333 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-28 23:14:12,334 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 13 transitions. [2018-11-28 23:14:12,334 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 13 transitions. Stem has 8 letters. Loop has 3 letters. [2018-11-28 23:14:12,334 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:12,335 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 13 transitions. Stem has 11 letters. Loop has 3 letters. [2018-11-28 23:14:12,335 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:12,335 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 13 transitions. Stem has 8 letters. Loop has 6 letters. [2018-11-28 23:14:12,335 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:12,335 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 108 states and 165 transitions. [2018-11-28 23:14:12,344 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:12,352 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 108 states to 96 states and 153 transitions. [2018-11-28 23:14:12,353 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 40 [2018-11-28 23:14:12,353 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 42 [2018-11-28 23:14:12,353 INFO L73 IsDeterministic]: Start isDeterministic. Operand 96 states and 153 transitions. [2018-11-28 23:14:12,354 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-28 23:14:12,354 INFO L705 BuchiCegarLoop]: Abstraction has 96 states and 153 transitions. [2018-11-28 23:14:12,356 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 96 states and 153 transitions. [2018-11-28 23:14:12,371 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 96 to 92. [2018-11-28 23:14:12,371 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 92 states. [2018-11-28 23:14:12,374 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 92 states to 92 states and 143 transitions. [2018-11-28 23:14:12,374 INFO L728 BuchiCegarLoop]: Abstraction has 92 states and 143 transitions. [2018-11-28 23:14:12,374 INFO L608 BuchiCegarLoop]: Abstraction has 92 states and 143 transitions. [2018-11-28 23:14:12,374 INFO L442 BuchiCegarLoop]: ======== Iteration 4============ [2018-11-28 23:14:12,375 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 92 states and 143 transitions. [2018-11-28 23:14:12,377 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:12,383 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:14:12,383 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:14:12,384 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:14:12,384 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2018-11-28 23:14:12,384 INFO L794 eck$LassoCheckResult]: Stem: 604#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet5, main_#t~ret6, main_~x~0;main_~x~0 := main_#t~nondet5;havoc main_#t~nondet5; 605#L25 call main_#t~ret6 := rec2(main_~x~0);< 609#rec2ENTRY ~j := #in~j; 629#L18 assume !(~j <= 0); 576#L20 call #t~ret3 := rec1(~j);< 575#rec1ENTRY ~i := #in~i; 577#L12 assume !(~i <= 0); 595#L14 call #t~ret0 := rec1(~i - 2);< 606#rec1ENTRY ~i := #in~i; 641#L12 assume ~i <= 0;#res := 0; 640#rec1FINAL assume true; 614#rec1EXIT >#27#return; 588#L14-1 call #t~ret1 := rec1(#t~ret0 - 1);< 590#rec1ENTRY [2018-11-28 23:14:12,387 INFO L796 eck$LassoCheckResult]: Loop: 590#rec1ENTRY ~i := #in~i; 624#L12 assume !(~i <= 0); 596#L14 call #t~ret0 := rec1(~i - 2);< 590#rec1ENTRY [2018-11-28 23:14:12,387 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:12,387 INFO L82 PathProgramCache]: Analyzing trace with hash 1317996508, now seen corresponding path program 1 times [2018-11-28 23:14:12,387 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:12,387 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:12,388 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:12,389 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 23:14:12,389 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:12,398 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:12,410 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:12,415 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:12,416 INFO L82 PathProgramCache]: Analyzing trace with hash 29941, now seen corresponding path program 2 times [2018-11-28 23:14:12,416 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:12,416 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:12,418 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:12,418 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:12,418 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:12,420 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:12,422 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:12,423 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:12,423 INFO L82 PathProgramCache]: Analyzing trace with hash -157050054, now seen corresponding path program 2 times [2018-11-28 23:14:12,424 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:12,424 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:12,425 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:12,425 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 23:14:12,425 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:12,432 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:12,499 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 5 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2018-11-28 23:14:12,499 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 23:14:12,499 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2018-11-28 23:14:12,541 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:14:12,541 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:14:12,541 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:14:12,542 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:14:12,542 INFO L127 ssoRankerPreferences]: Use exernal solver: true [2018-11-28 23:14:12,542 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:12,542 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:14:12,543 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:14:12,543 INFO L131 ssoRankerPreferences]: Filename of dumped script: NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c_Iteration4_Loop [2018-11-28 23:14:12,543 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:14:12,543 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:14:12,544 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,547 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,549 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,553 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,573 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,575 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,606 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:14:12,607 INFO L412 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:12,612 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:12,612 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:12,616 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:12,616 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_#res=0} Honda state: {rec1_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:12,640 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:12,640 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:12,643 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:12,644 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_#t~ret1=0} Honda state: {rec1_#t~ret1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:12,689 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:12,689 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:12,694 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:12,694 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_~i=0} Honda state: {rec1_~i=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:12,715 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:12,715 INFO L163 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 18 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 18 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:12,739 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2018-11-28 23:14:12,739 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:12,761 INFO L452 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2018-11-28 23:14:12,764 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:14:12,764 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:14:12,764 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:14:12,764 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:14:12,765 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-28 23:14:12,765 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:12,765 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:14:12,765 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:14:12,765 INFO L131 ssoRankerPreferences]: Filename of dumped script: NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c_Iteration4_Loop [2018-11-28 23:14:12,765 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:14:12,765 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:14:12,767 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,773 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,779 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,799 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,803 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,806 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:12,857 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:14:12,857 INFO L497 LassoAnalysis]: Using template 'affine'. [2018-11-28 23:14:12,857 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:12,858 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:12,858 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:12,858 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:12,858 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:12,859 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:12,859 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:12,859 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:12,863 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:12,864 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:12,864 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:12,864 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:12,864 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:12,865 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:12,865 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:12,865 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:12,865 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:12,866 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:12,866 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:12,867 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:12,867 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:12,867 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:12,867 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:12,867 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:12,868 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:12,868 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:12,871 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-28 23:14:12,873 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2018-11-28 23:14:12,873 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. [2018-11-28 23:14:12,874 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-28 23:14:12,874 INFO L440 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2018-11-28 23:14:12,874 INFO L518 LassoAnalysis]: Proved termination. [2018-11-28 23:14:12,874 INFO L520 LassoAnalysis]: Termination argument consisting of: Ranking function f(rec1_#in~i) = 1*rec1_#in~i Supporting invariants [] [2018-11-28 23:14:12,874 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2018-11-28 23:14:12,894 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:12,922 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:12,924 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:12,960 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:12,962 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:12,987 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:14:12,987 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2018-11-28 23:14:12,988 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 92 states and 143 transitions. cyclomatic complexity: 57 Second operand 5 states. [2018-11-28 23:14:13,094 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 92 states and 143 transitions. cyclomatic complexity: 57. Second operand 5 states. Result 132 states and 207 transitions. Complement of second has 14 states. [2018-11-28 23:14:13,102 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2018-11-28 23:14:13,102 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-28 23:14:13,102 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 17 transitions. [2018-11-28 23:14:13,103 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 17 transitions. Stem has 13 letters. Loop has 3 letters. [2018-11-28 23:14:13,103 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:13,103 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 17 transitions. Stem has 16 letters. Loop has 3 letters. [2018-11-28 23:14:13,103 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:13,103 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 17 transitions. Stem has 13 letters. Loop has 6 letters. [2018-11-28 23:14:13,104 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:13,104 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 132 states and 207 transitions. [2018-11-28 23:14:13,113 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:13,124 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 132 states to 120 states and 195 transitions. [2018-11-28 23:14:13,124 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 49 [2018-11-28 23:14:13,125 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 51 [2018-11-28 23:14:13,125 INFO L73 IsDeterministic]: Start isDeterministic. Operand 120 states and 195 transitions. [2018-11-28 23:14:13,125 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-28 23:14:13,125 INFO L705 BuchiCegarLoop]: Abstraction has 120 states and 195 transitions. [2018-11-28 23:14:13,125 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 120 states and 195 transitions. [2018-11-28 23:14:13,143 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 120 to 116. [2018-11-28 23:14:13,143 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 116 states. [2018-11-28 23:14:13,145 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 116 states to 116 states and 185 transitions. [2018-11-28 23:14:13,145 INFO L728 BuchiCegarLoop]: Abstraction has 116 states and 185 transitions. [2018-11-28 23:14:13,145 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-28 23:14:13,145 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2018-11-28 23:14:13,145 INFO L87 Difference]: Start difference. First operand 116 states and 185 transitions. Second operand 6 states. [2018-11-28 23:14:13,206 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 23:14:13,206 INFO L93 Difference]: Finished difference Result 129 states and 195 transitions. [2018-11-28 23:14:13,208 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2018-11-28 23:14:13,209 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 129 states and 195 transitions. [2018-11-28 23:14:13,212 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 11 [2018-11-28 23:14:13,217 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 129 states to 127 states and 193 transitions. [2018-11-28 23:14:13,218 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 59 [2018-11-28 23:14:13,218 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 59 [2018-11-28 23:14:13,218 INFO L73 IsDeterministic]: Start isDeterministic. Operand 127 states and 193 transitions. [2018-11-28 23:14:13,218 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-28 23:14:13,218 INFO L705 BuchiCegarLoop]: Abstraction has 127 states and 193 transitions. [2018-11-28 23:14:13,219 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 127 states and 193 transitions. [2018-11-28 23:14:13,229 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 127 to 104. [2018-11-28 23:14:13,230 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 104 states. [2018-11-28 23:14:13,231 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 104 states to 104 states and 157 transitions. [2018-11-28 23:14:13,231 INFO L728 BuchiCegarLoop]: Abstraction has 104 states and 157 transitions. [2018-11-28 23:14:13,231 INFO L608 BuchiCegarLoop]: Abstraction has 104 states and 157 transitions. [2018-11-28 23:14:13,232 INFO L442 BuchiCegarLoop]: ======== Iteration 5============ [2018-11-28 23:14:13,232 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 104 states and 157 transitions. [2018-11-28 23:14:13,233 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 10 [2018-11-28 23:14:13,233 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:14:13,234 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:14:13,234 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:14:13,235 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [3, 2, 2, 1, 1, 1, 1, 1, 1] [2018-11-28 23:14:13,235 INFO L794 eck$LassoCheckResult]: Stem: 1181#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet5, main_#t~ret6, main_~x~0;main_~x~0 := main_#t~nondet5;havoc main_#t~nondet5; 1182#L25 call main_#t~ret6 := rec2(main_~x~0);< 1187#rec2ENTRY ~j := #in~j; 1200#L18 assume !(~j <= 0); 1150#L20 call #t~ret3 := rec1(~j);< 1199#rec1ENTRY ~i := #in~i; 1198#L12 assume !(~i <= 0); 1146#L14 call #t~ret0 := rec1(~i - 2);< 1196#rec1ENTRY ~i := #in~i; 1195#L12 assume !(~i <= 0); 1168#L14 call #t~ret0 := rec1(~i - 2);< 1194#rec1ENTRY ~i := #in~i; 1197#L12 assume ~i <= 0;#res := 0; 1213#rec1FINAL assume true; 1212#rec1EXIT >#27#return; 1139#L14-1 [2018-11-28 23:14:13,235 INFO L796 eck$LassoCheckResult]: Loop: 1139#L14-1 call #t~ret1 := rec1(#t~ret0 - 1);< 1137#rec1ENTRY ~i := #in~i; 1140#L12 assume ~i <= 0;#res := 0; 1216#rec1FINAL assume true; 1207#rec1EXIT >#29#return; 1164#L14-2 call #t~ret2 := rec1(#t~ret1);< 1178#rec1ENTRY ~i := #in~i; 1210#L12 assume !(~i <= 0); 1162#L14 call #t~ret0 := rec1(~i - 2);< 1178#rec1ENTRY ~i := #in~i; 1210#L12 assume ~i <= 0;#res := 0; 1209#rec1FINAL assume true; 1208#rec1EXIT >#27#return; 1139#L14-1 [2018-11-28 23:14:13,235 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:13,235 INFO L82 PathProgramCache]: Analyzing trace with hash -377207200, now seen corresponding path program 1 times [2018-11-28 23:14:13,235 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:13,235 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:13,236 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:13,236 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 23:14:13,237 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:13,241 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:13,245 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:13,247 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:13,248 INFO L82 PathProgramCache]: Analyzing trace with hash 1306212703, now seen corresponding path program 1 times [2018-11-28 23:14:13,248 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:13,248 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:13,249 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:13,249 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:13,249 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:13,252 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:13,592 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 2 proven. 4 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2018-11-28 23:14:13,592 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-28 23:14:13,592 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 19 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 19 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-28 23:14:13,609 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:13,614 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:13,615 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:13,619 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 8 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:14:13,640 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2018-11-28 23:14:13,640 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [6] imperfect sequences [6] total 6 [2018-11-28 23:14:13,640 INFO L811 eck$LassoCheckResult]: loop already infeasible [2018-11-28 23:14:13,641 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-28 23:14:13,641 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2018-11-28 23:14:13,641 INFO L87 Difference]: Start difference. First operand 104 states and 157 transitions. cyclomatic complexity: 59 Second operand 6 states. [2018-11-28 23:14:13,699 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 23:14:13,699 INFO L93 Difference]: Finished difference Result 119 states and 173 transitions. [2018-11-28 23:14:13,700 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2018-11-28 23:14:13,700 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 119 states and 173 transitions. [2018-11-28 23:14:13,703 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:13,708 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 119 states to 114 states and 164 transitions. [2018-11-28 23:14:13,708 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 50 [2018-11-28 23:14:13,708 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 50 [2018-11-28 23:14:13,708 INFO L73 IsDeterministic]: Start isDeterministic. Operand 114 states and 164 transitions. [2018-11-28 23:14:13,708 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-28 23:14:13,709 INFO L705 BuchiCegarLoop]: Abstraction has 114 states and 164 transitions. [2018-11-28 23:14:13,709 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 114 states and 164 transitions. [2018-11-28 23:14:13,720 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 114 to 111. [2018-11-28 23:14:13,720 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 111 states. [2018-11-28 23:14:13,722 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 111 states to 111 states and 161 transitions. [2018-11-28 23:14:13,723 INFO L728 BuchiCegarLoop]: Abstraction has 111 states and 161 transitions. [2018-11-28 23:14:13,723 INFO L608 BuchiCegarLoop]: Abstraction has 111 states and 161 transitions. [2018-11-28 23:14:13,723 INFO L442 BuchiCegarLoop]: ======== Iteration 6============ [2018-11-28 23:14:13,723 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 111 states and 161 transitions. [2018-11-28 23:14:13,724 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2018-11-28 23:14:13,725 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:14:13,725 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:14:13,728 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [5, 4, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:14:13,728 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2018-11-28 23:14:13,728 INFO L794 eck$LassoCheckResult]: Stem: 1455#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet5, main_#t~ret6, main_~x~0;main_~x~0 := main_#t~nondet5;havoc main_#t~nondet5; 1456#L25 call main_#t~ret6 := rec2(main_~x~0);< 1463#rec2ENTRY ~j := #in~j; 1485#L18 assume !(~j <= 0); 1465#L20 call #t~ret3 := rec1(~j);< 1478#rec1ENTRY ~i := #in~i; 1475#L12 assume !(~i <= 0); 1425#L14 call #t~ret0 := rec1(~i - 2);< 1472#rec1ENTRY ~i := #in~i; 1470#L12 assume !(~i <= 0); 1423#L14 call #t~ret0 := rec1(~i - 2);< 1469#rec1ENTRY ~i := #in~i; 1471#L12 assume ~i <= 0;#res := 0; 1489#rec1FINAL assume true; 1480#rec1EXIT >#27#return; 1432#L14-1 call #t~ret1 := rec1(#t~ret0 - 1);< 1433#rec1ENTRY ~i := #in~i; 1492#L12 assume ~i <= 0;#res := 0; 1491#rec1FINAL assume true; 1490#rec1EXIT >#29#return; 1412#L14-2 call #t~ret2 := rec1(#t~ret1);< 1411#rec1ENTRY ~i := #in~i; 1413#L12 assume ~i <= 0;#res := 0; 1449#rec1FINAL assume true; 1451#rec1EXIT >#31#return; 1438#L14-3 #res := 1 + #t~ret2;havoc #t~ret0;havoc #t~ret2;havoc #t~ret1; 1418#rec1FINAL assume true; 1428#rec1EXIT >#27#return; 1427#L14-1 call #t~ret1 := rec1(#t~ret0 - 1);< 1458#rec1ENTRY [2018-11-28 23:14:13,728 INFO L796 eck$LassoCheckResult]: Loop: 1458#rec1ENTRY ~i := #in~i; 1488#L12 assume !(~i <= 0); 1419#L14 call #t~ret0 := rec1(~i - 2);< 1458#rec1ENTRY [2018-11-28 23:14:13,728 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:13,728 INFO L82 PathProgramCache]: Analyzing trace with hash 1733863270, now seen corresponding path program 1 times [2018-11-28 23:14:13,729 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:13,731 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:13,732 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:13,732 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:13,732 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:13,740 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:13,750 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:13,758 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:13,758 INFO L82 PathProgramCache]: Analyzing trace with hash 29941, now seen corresponding path program 3 times [2018-11-28 23:14:13,759 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:13,759 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:13,760 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:13,760 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 23:14:13,760 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:13,762 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:13,765 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:13,773 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:13,773 INFO L82 PathProgramCache]: Analyzing trace with hash -2050992272, now seen corresponding path program 2 times [2018-11-28 23:14:13,773 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:13,773 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:13,774 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:13,774 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 23:14:13,775 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:13,789 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:13,872 INFO L134 CoverageAnalysis]: Checked inductivity of 46 backedges. 21 proven. 2 refuted. 0 times theorem prover too weak. 23 trivial. 0 not checked. [2018-11-28 23:14:13,872 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-28 23:14:13,872 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 20 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 20 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-28 23:14:13,887 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST1 [2018-11-28 23:14:13,923 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2018-11-28 23:14:13,924 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-28 23:14:13,926 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:13,933 INFO L134 CoverageAnalysis]: Checked inductivity of 46 backedges. 21 proven. 2 refuted. 0 times theorem prover too weak. 23 trivial. 0 not checked. [2018-11-28 23:14:13,962 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-28 23:14:13,962 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 8 [2018-11-28 23:14:14,036 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:14:14,036 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:14:14,036 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:14:14,036 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:14:14,037 INFO L127 ssoRankerPreferences]: Use exernal solver: true [2018-11-28 23:14:14,037 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:14,037 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:14:14,037 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:14:14,037 INFO L131 ssoRankerPreferences]: Filename of dumped script: NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c_Iteration6_Loop [2018-11-28 23:14:14,037 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:14:14,037 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:14:14,039 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,050 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,052 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,053 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,058 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,061 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,092 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:14:14,092 INFO L412 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:14,097 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:14,097 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:14,100 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:14,100 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_#t~ret2=0} Honda state: {rec1_#t~ret2=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:14,126 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:14,127 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:14,130 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:14,130 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_#res=0} Honda state: {rec1_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:14,153 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:14,153 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:14,157 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:14,158 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_~i=0} Honda state: {rec1_~i=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:14,180 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:14,180 INFO L163 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:14,207 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2018-11-28 23:14:14,207 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:14,229 INFO L452 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2018-11-28 23:14:14,230 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:14:14,231 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:14:14,231 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:14:14,231 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:14:14,231 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-28 23:14:14,231 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:14,231 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:14:14,231 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:14:14,231 INFO L131 ssoRankerPreferences]: Filename of dumped script: NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c_Iteration6_Loop [2018-11-28 23:14:14,232 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:14:14,232 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:14:14,233 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,260 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,265 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,276 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,278 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,283 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:14,315 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:14:14,316 INFO L497 LassoAnalysis]: Using template 'affine'. [2018-11-28 23:14:14,317 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:14,318 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:14,318 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:14,318 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:14,318 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:14,318 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:14,323 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:14,324 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:14,326 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:14,328 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:14,329 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:14,329 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:14,329 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:14,329 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:14,329 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:14,334 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:14,334 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:14,335 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:14,335 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:14,339 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:14,339 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:14,339 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:14,339 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:14,339 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:14,341 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:14,342 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:14,345 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-28 23:14:14,347 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2018-11-28 23:14:14,348 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. [2018-11-28 23:14:14,348 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-28 23:14:14,348 INFO L440 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2018-11-28 23:14:14,348 INFO L518 LassoAnalysis]: Proved termination. [2018-11-28 23:14:14,349 INFO L520 LassoAnalysis]: Termination argument consisting of: Ranking function f(rec1_#in~i) = 1*rec1_#in~i Supporting invariants [] [2018-11-28 23:14:14,349 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2018-11-28 23:14:14,552 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:14,606 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:14,609 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:14,657 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:14,660 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:14,693 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:14:14,694 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2018-11-28 23:14:14,694 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 111 states and 161 transitions. cyclomatic complexity: 56 Second operand 5 states. [2018-11-28 23:14:14,757 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 111 states and 161 transitions. cyclomatic complexity: 56. Second operand 5 states. Result 128 states and 179 transitions. Complement of second has 7 states. [2018-11-28 23:14:14,763 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 2 stem states 1 non-accepting loop states 1 accepting loop states [2018-11-28 23:14:14,763 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-28 23:14:14,763 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 15 transitions. [2018-11-28 23:14:14,764 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 15 transitions. Stem has 29 letters. Loop has 3 letters. [2018-11-28 23:14:14,764 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:14,764 INFO L642 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2018-11-28 23:14:14,813 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:14,863 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:14,867 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:14,983 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:14,984 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:15,323 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:14:15,324 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and with honda bouncer for loop.2 stem predicates 3 loop predicates [2018-11-28 23:14:15,324 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 111 states and 161 transitions. cyclomatic complexity: 56 Second operand 5 states. [2018-11-28 23:14:15,457 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 111 states and 161 transitions. cyclomatic complexity: 56. Second operand 5 states. Result 128 states and 179 transitions. Complement of second has 7 states. [2018-11-28 23:14:15,461 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 2 stem states 1 non-accepting loop states 1 accepting loop states [2018-11-28 23:14:15,461 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-28 23:14:15,462 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 15 transitions. [2018-11-28 23:14:15,462 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 15 transitions. Stem has 29 letters. Loop has 3 letters. [2018-11-28 23:14:15,462 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:15,462 INFO L642 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2018-11-28 23:14:15,598 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:15,643 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:15,646 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:15,694 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:15,696 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:15,728 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:14:15,728 INFO L152 lantAutomatonBouncer]: Defining Buchi interpolant automaton with scrooge nondeterminism in stemwith honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2018-11-28 23:14:15,729 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 111 states and 161 transitions. cyclomatic complexity: 56 Second operand 5 states. [2018-11-28 23:14:15,848 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 111 states and 161 transitions. cyclomatic complexity: 56. Second operand 5 states. Result 156 states and 218 transitions. Complement of second has 13 states. [2018-11-28 23:14:15,852 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2018-11-28 23:14:15,852 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-28 23:14:15,853 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 24 transitions. [2018-11-28 23:14:15,853 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 24 transitions. Stem has 29 letters. Loop has 3 letters. [2018-11-28 23:14:15,853 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:15,853 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 24 transitions. Stem has 32 letters. Loop has 3 letters. [2018-11-28 23:14:15,854 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:15,854 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 24 transitions. Stem has 29 letters. Loop has 6 letters. [2018-11-28 23:14:15,854 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:15,854 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 156 states and 218 transitions. [2018-11-28 23:14:15,857 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 15 [2018-11-28 23:14:15,861 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 156 states to 138 states and 200 transitions. [2018-11-28 23:14:15,861 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 54 [2018-11-28 23:14:15,861 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 57 [2018-11-28 23:14:15,861 INFO L73 IsDeterministic]: Start isDeterministic. Operand 138 states and 200 transitions. [2018-11-28 23:14:15,862 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-28 23:14:15,862 INFO L705 BuchiCegarLoop]: Abstraction has 138 states and 200 transitions. [2018-11-28 23:14:15,862 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 138 states and 200 transitions. [2018-11-28 23:14:15,871 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 138 to 119. [2018-11-28 23:14:15,871 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 119 states. [2018-11-28 23:14:15,872 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 119 states to 119 states and 169 transitions. [2018-11-28 23:14:15,873 INFO L728 BuchiCegarLoop]: Abstraction has 119 states and 169 transitions. [2018-11-28 23:14:15,873 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-11-28 23:14:15,873 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=42, Unknown=0, NotChecked=0, Total=56 [2018-11-28 23:14:15,873 INFO L87 Difference]: Start difference. First operand 119 states and 169 transitions. Second operand 8 states. [2018-11-28 23:14:16,162 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 23:14:16,163 INFO L93 Difference]: Finished difference Result 97 states and 115 transitions. [2018-11-28 23:14:16,165 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2018-11-28 23:14:16,165 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 97 states and 115 transitions. [2018-11-28 23:14:16,167 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2018-11-28 23:14:16,168 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 97 states to 62 states and 74 transitions. [2018-11-28 23:14:16,168 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 11 [2018-11-28 23:14:16,168 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 11 [2018-11-28 23:14:16,168 INFO L73 IsDeterministic]: Start isDeterministic. Operand 62 states and 74 transitions. [2018-11-28 23:14:16,168 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2018-11-28 23:14:16,168 INFO L705 BuchiCegarLoop]: Abstraction has 62 states and 74 transitions. [2018-11-28 23:14:16,169 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 62 states and 74 transitions. [2018-11-28 23:14:16,175 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 62 to 53. [2018-11-28 23:14:16,175 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 53 states. [2018-11-28 23:14:16,180 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 53 states and 64 transitions. [2018-11-28 23:14:16,180 INFO L728 BuchiCegarLoop]: Abstraction has 53 states and 64 transitions. [2018-11-28 23:14:16,180 INFO L608 BuchiCegarLoop]: Abstraction has 53 states and 64 transitions. [2018-11-28 23:14:16,180 INFO L442 BuchiCegarLoop]: ======== Iteration 7============ [2018-11-28 23:14:16,180 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 53 states and 64 transitions. [2018-11-28 23:14:16,181 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2018-11-28 23:14:16,181 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-28 23:14:16,181 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-28 23:14:16,187 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [4, 4, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 23:14:16,187 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2018-11-28 23:14:16,187 INFO L794 eck$LassoCheckResult]: Stem: 2631#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet5, main_#t~ret6, main_~x~0;main_~x~0 := main_#t~nondet5;havoc main_#t~nondet5; 2602#L25 call main_#t~ret6 := rec2(main_~x~0);< 2601#rec2ENTRY ~j := #in~j; 2603#L18 assume !(~j <= 0); 2633#L20 call #t~ret3 := rec1(~j);< 2651#rec1ENTRY ~i := #in~i; 2649#L12 assume !(~i <= 0); 2621#L14 call #t~ret0 := rec1(~i - 2);< 2647#rec1ENTRY ~i := #in~i; 2650#L12 assume ~i <= 0;#res := 0; 2648#rec1FINAL assume true; 2629#rec1EXIT >#27#return; 2630#L14-1 call #t~ret1 := rec1(#t~ret0 - 1);< 2622#rec1ENTRY ~i := #in~i; 2645#L12 assume ~i <= 0;#res := 0; 2643#rec1FINAL assume true; 2639#rec1EXIT >#29#return; 2638#L14-2 call #t~ret2 := rec1(#t~ret1);< 2628#rec1ENTRY ~i := #in~i; 2641#L12 assume ~i <= 0;#res := 0; 2640#rec1FINAL assume true; 2637#rec1EXIT >#31#return; 2636#L14-3 #res := 1 + #t~ret2;havoc #t~ret0;havoc #t~ret2;havoc #t~ret1; 2635#rec1FINAL assume true; 2634#rec1EXIT >#33#return; 2605#L20-1 call #t~ret4 := rec2(#t~ret3 - 1);< 2604#rec2ENTRY ~j := #in~j; 2607#L18 assume !(~j <= 0); 2611#L20 call #t~ret3 := rec1(~j);< 2608#rec1ENTRY [2018-11-28 23:14:16,187 INFO L796 eck$LassoCheckResult]: Loop: 2608#rec1ENTRY ~i := #in~i; 2610#L12 assume !(~i <= 0); 2609#L14 call #t~ret0 := rec1(~i - 2);< 2608#rec1ENTRY [2018-11-28 23:14:16,188 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:16,188 INFO L82 PathProgramCache]: Analyzing trace with hash -1852176490, now seen corresponding path program 2 times [2018-11-28 23:14:16,188 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:16,188 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:16,189 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:16,190 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 23:14:16,190 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:16,197 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:16,421 INFO L134 CoverageAnalysis]: Checked inductivity of 27 backedges. 11 proven. 2 refuted. 0 times theorem prover too weak. 14 trivial. 0 not checked. [2018-11-28 23:14:16,422 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-28 23:14:16,422 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 26 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 26 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-28 23:14:16,431 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST1 [2018-11-28 23:14:16,442 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2018-11-28 23:14:16,442 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-28 23:14:16,444 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:16,449 INFO L134 CoverageAnalysis]: Checked inductivity of 27 backedges. 11 proven. 2 refuted. 0 times theorem prover too weak. 14 trivial. 0 not checked. [2018-11-28 23:14:16,469 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-28 23:14:16,469 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 8 [2018-11-28 23:14:16,469 INFO L799 eck$LassoCheckResult]: stem already infeasible [2018-11-28 23:14:16,470 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:16,470 INFO L82 PathProgramCache]: Analyzing trace with hash 29941, now seen corresponding path program 4 times [2018-11-28 23:14:16,470 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 23:14:16,470 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 23:14:16,471 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:16,471 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 23:14:16,471 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 23:14:16,472 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:16,473 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 23:14:16,523 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:14:16,523 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:14:16,523 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:14:16,523 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:14:16,524 INFO L127 ssoRankerPreferences]: Use exernal solver: true [2018-11-28 23:14:16,524 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:16,524 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:14:16,524 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:14:16,524 INFO L131 ssoRankerPreferences]: Filename of dumped script: NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c_Iteration7_Loop [2018-11-28 23:14:16,524 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:14:16,524 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:14:16,525 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,533 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,534 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,536 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,538 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,548 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,693 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:14:16,694 INFO L412 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:16,699 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:16,699 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:16,703 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:16,703 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_#t~ret2=0} Honda state: {rec1_#t~ret2=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:16,726 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:16,726 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:16,729 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:16,729 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_#t~ret0=0} Honda state: {rec1_#t~ret0=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:16,750 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:16,750 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:16,752 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:16,753 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_#t~ret1=0} Honda state: {rec1_#t~ret1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:16,772 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:16,773 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:16,775 INFO L445 LassoAnalysis]: Proved nontermination for one component. [2018-11-28 23:14:16,775 INFO L448 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {rec1_~i=0} Honda state: {rec1_~i=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:16,796 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2018-11-28 23:14:16,797 INFO L163 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:16,819 INFO L151 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2018-11-28 23:14:16,820 INFO L163 nArgumentSynthesizer]: Using integer mode. [2018-11-28 23:14:16,841 INFO L452 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2018-11-28 23:14:16,842 INFO L216 LassoAnalysis]: Preferences: [2018-11-28 23:14:16,842 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-28 23:14:16,842 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-28 23:14:16,843 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-28 23:14:16,843 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-28 23:14:16,843 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-28 23:14:16,843 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-28 23:14:16,843 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-28 23:14:16,843 INFO L131 ssoRankerPreferences]: Filename of dumped script: NestedRecursion_1d_true-no-overflow_true-termination_true-valid-memsafety.c_Iteration7_Loop [2018-11-28 23:14:16,843 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-28 23:14:16,844 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2018-11-28 23:14:16,845 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,874 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,896 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,921 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,927 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,931 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-28 23:14:16,962 INFO L300 LassoAnalysis]: Preprocessing complete. [2018-11-28 23:14:16,962 INFO L497 LassoAnalysis]: Using template 'affine'. [2018-11-28 23:14:16,963 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:16,963 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:16,964 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:16,964 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:16,964 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:16,964 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:16,965 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:16,965 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:16,966 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:16,966 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:16,967 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:16,967 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:16,967 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:16,967 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:16,967 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:16,968 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:16,968 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:16,968 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:16,969 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:16,969 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:16,970 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:16,970 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:16,970 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:16,970 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:16,970 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:16,970 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:16,971 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:16,972 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:16,972 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:16,972 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:16,972 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:16,972 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:16,973 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:16,973 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:16,973 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:16,974 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-28 23:14:16,974 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2018-11-28 23:14:16,975 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-28 23:14:16,975 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-28 23:14:16,975 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-28 23:14:16,975 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-28 23:14:16,975 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-28 23:14:16,976 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-28 23:14:16,976 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-28 23:14:16,978 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-28 23:14:16,980 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2018-11-28 23:14:16,980 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. [2018-11-28 23:14:16,980 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-28 23:14:16,980 INFO L440 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2018-11-28 23:14:16,981 INFO L518 LassoAnalysis]: Proved termination. [2018-11-28 23:14:16,981 INFO L520 LassoAnalysis]: Termination argument consisting of: Ranking function f(rec1_#in~i) = 1*rec1_#in~i Supporting invariants [] [2018-11-28 23:14:16,981 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2018-11-28 23:14:17,040 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:17,090 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:17,093 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:17,153 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:17,155 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:17,221 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:14:17,221 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2018-11-28 23:14:17,222 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 53 states and 64 transitions. cyclomatic complexity: 15 Second operand 5 states. [2018-11-28 23:14:17,304 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 53 states and 64 transitions. cyclomatic complexity: 15. Second operand 5 states. Result 63 states and 75 transitions. Complement of second has 13 states. [2018-11-28 23:14:17,306 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2018-11-28 23:14:17,306 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-28 23:14:17,307 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 10 transitions. [2018-11-28 23:14:17,307 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 10 transitions. Stem has 29 letters. Loop has 3 letters. [2018-11-28 23:14:17,307 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:17,307 INFO L642 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2018-11-28 23:14:17,326 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:17,376 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:17,379 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:17,425 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:17,426 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:17,457 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:14:17,458 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and with honda bouncer for loop.2 stem predicates 3 loop predicates [2018-11-28 23:14:17,458 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 53 states and 64 transitions. cyclomatic complexity: 15 Second operand 5 states. [2018-11-28 23:14:17,555 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 53 states and 64 transitions. cyclomatic complexity: 15. Second operand 5 states. Result 63 states and 75 transitions. Complement of second has 13 states. [2018-11-28 23:14:17,556 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2018-11-28 23:14:17,556 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-28 23:14:17,556 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 10 transitions. [2018-11-28 23:14:17,557 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 10 transitions. Stem has 29 letters. Loop has 3 letters. [2018-11-28 23:14:17,557 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:17,557 INFO L642 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2018-11-28 23:14:17,572 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 23:14:17,605 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:17,608 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:17,646 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 23:14:17,647 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 23:14:17,665 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 23:14:17,665 INFO L152 lantAutomatonBouncer]: Defining Buchi interpolant automaton with scrooge nondeterminism in stemwith honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2018-11-28 23:14:17,665 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 53 states and 64 transitions. cyclomatic complexity: 15 Second operand 5 states. [2018-11-28 23:14:17,765 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 53 states and 64 transitions. cyclomatic complexity: 15. Second operand 5 states. Result 77 states and 89 transitions. Complement of second has 13 states. [2018-11-28 23:14:17,767 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2018-11-28 23:14:17,767 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-28 23:14:17,768 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 24 transitions. [2018-11-28 23:14:17,768 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 24 transitions. Stem has 29 letters. Loop has 3 letters. [2018-11-28 23:14:17,768 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:17,770 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 24 transitions. Stem has 32 letters. Loop has 3 letters. [2018-11-28 23:14:17,771 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:17,771 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 24 transitions. Stem has 29 letters. Loop has 6 letters. [2018-11-28 23:14:17,771 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-28 23:14:17,772 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 77 states and 89 transitions. [2018-11-28 23:14:17,773 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2018-11-28 23:14:17,773 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 77 states to 0 states and 0 transitions. [2018-11-28 23:14:17,773 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2018-11-28 23:14:17,773 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2018-11-28 23:14:17,773 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2018-11-28 23:14:17,774 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2018-11-28 23:14:17,774 INFO L705 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-28 23:14:17,774 INFO L728 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-28 23:14:17,774 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-11-28 23:14:17,774 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=42, Unknown=0, NotChecked=0, Total=56 [2018-11-28 23:14:17,774 INFO L87 Difference]: Start difference. First operand 0 states and 0 transitions. Second operand 8 states. [2018-11-28 23:14:17,774 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 23:14:17,775 INFO L93 Difference]: Finished difference Result 0 states and 0 transitions. [2018-11-28 23:14:17,775 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-28 23:14:17,775 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 0 states and 0 transitions. [2018-11-28 23:14:17,775 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2018-11-28 23:14:17,775 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 0 states to 0 states and 0 transitions. [2018-11-28 23:14:17,775 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2018-11-28 23:14:17,775 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2018-11-28 23:14:17,775 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2018-11-28 23:14:17,776 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2018-11-28 23:14:17,776 INFO L705 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-28 23:14:17,776 INFO L728 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-28 23:14:17,776 INFO L608 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-28 23:14:17,776 INFO L442 BuchiCegarLoop]: ======== Iteration 8============ [2018-11-28 23:14:17,776 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2018-11-28 23:14:17,776 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2018-11-28 23:14:17,776 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2018-11-28 23:14:17,784 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.11 11:14:17 BoogieIcfgContainer [2018-11-28 23:14:17,785 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2018-11-28 23:14:17,785 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-28 23:14:17,785 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-28 23:14:17,785 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-28 23:14:17,786 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 11:14:06" (3/4) ... [2018-11-28 23:14:17,791 INFO L147 WitnessPrinter]: No result that supports witness generation found [2018-11-28 23:14:17,791 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-28 23:14:17,792 INFO L168 Benchmark]: Toolchain (without parser) took 11903.09 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 306.2 MB). Free memory was 948.7 MB in the beginning and 1.3 GB in the end (delta: -307.8 MB). There was no memory consumed. Max. memory is 11.5 GB. [2018-11-28 23:14:17,793 INFO L168 Benchmark]: CDTParser took 0.47 ms. Allocated memory is still 1.0 GB. Free memory is still 978.2 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-28 23:14:17,793 INFO L168 Benchmark]: CACSL2BoogieTranslator took 332.17 ms. Allocated memory is still 1.0 GB. Free memory was 948.7 MB in the beginning and 937.9 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2018-11-28 23:14:17,794 INFO L168 Benchmark]: Boogie Procedure Inliner took 41.41 ms. Allocated memory is still 1.0 GB. Free memory is still 937.9 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-28 23:14:17,794 INFO L168 Benchmark]: Boogie Preprocessor took 21.28 ms. Allocated memory is still 1.0 GB. Free memory is still 937.9 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-28 23:14:17,795 INFO L168 Benchmark]: RCFGBuilder took 469.45 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 147.8 MB). Free memory was 937.9 MB in the beginning and 1.1 GB in the end (delta: -181.9 MB). Peak memory consumption was 25.0 MB. Max. memory is 11.5 GB. [2018-11-28 23:14:17,796 INFO L168 Benchmark]: BuchiAutomizer took 11026.27 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 158.3 MB). Free memory was 1.1 GB in the beginning and 1.3 GB in the end (delta: -136.6 MB). Peak memory consumption was 21.7 MB. Max. memory is 11.5 GB. [2018-11-28 23:14:17,797 INFO L168 Benchmark]: Witness Printer took 5.64 ms. Allocated memory is still 1.3 GB. Free memory is still 1.3 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-28 23:14:17,801 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.47 ms. Allocated memory is still 1.0 GB. Free memory is still 978.2 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 332.17 ms. Allocated memory is still 1.0 GB. Free memory was 948.7 MB in the beginning and 937.9 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 41.41 ms. Allocated memory is still 1.0 GB. Free memory is still 937.9 MB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 21.28 ms. Allocated memory is still 1.0 GB. Free memory is still 937.9 MB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 469.45 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 147.8 MB). Free memory was 937.9 MB in the beginning and 1.1 GB in the end (delta: -181.9 MB). Peak memory consumption was 25.0 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 11026.27 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 158.3 MB). Free memory was 1.1 GB in the beginning and 1.3 GB in the end (delta: -136.6 MB). Peak memory consumption was 21.7 MB. Max. memory is 11.5 GB. * Witness Printer took 5.64 ms. Allocated memory is still 1.3 GB. Free memory is still 1.3 GB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 10 terminating modules (5 trivial, 3 deterministic, 2 nondeterministic). One deterministic module has affine ranking function \old(j) and consists of 10 locations. One deterministic module has affine ranking function \old(i) and consists of 4 locations. One deterministic module has affine ranking function \old(i) and consists of 5 locations. One nondeterministic module has affine ranking function \old(i) and consists of 5 locations. One nondeterministic module has affine ranking function \old(i) and consists of 5 locations. 5 modules have a trivial ranking function, the largest among these consists of 8 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 10.9s and 8 iterations. TraceHistogramMax:5. Analysis of lassos took 5.1s. Construction of modules took 0.9s. Büchi inclusion checks took 4.3s. Highest rank in rank-based complementation 3. Minimization of det autom 3. Minimization of nondet autom 7. Automata minimization 0.1s AutomataMinimizationTime, 8 MinimizatonAttempts, 89 StatesRemovedByMinimization, 7 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 111 states and ocurred in iteration 5. Nontrivial modules had stage [3, 0, 2, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 22/24 HoareTripleCheckerStatistics: 188 SDtfs, 186 SDslu, 311 SDs, 0 SdLazy, 306 SolverSat, 135 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.9s Time LassoAnalysisResults: nont0 unkn0 SFLI2 SFLT2 conc0 concLT2 SILN0 SILU0 SILI0 SILT1 lasso0 LassoPreprocessingBenchmarks: Lassos: inital10 mio100 ax100 hnf100 lsp100 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq155 hnf93 smp100 dnf100 smp100 tf113 neg100 sie111 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 9ms VariablesStem: 0 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 0 MotzkinApplications: 2 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 18 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 5 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.5s - TerminationAnalysisResult: Termination proven Buchi Automizer proved that your program is terminating RESULT: Ultimate proved your program to be correct! Received shutdown request...