./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/recursive/Primes.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version f470102c Calling Ultimate with: /usr/bin/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 ../sv-benchmarks/c/recursive/Primes.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.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 32bit --witnessprinter.graph.data.programhash 82151ec4435da78821025b3100fe51201edc8f02 ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.1.25-f470102 [2019-11-28 21:15:53,626 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-11-28 21:15:53,628 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-11-28 21:15:53,641 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-11-28 21:15:53,641 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-11-28 21:15:53,642 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-11-28 21:15:53,644 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-11-28 21:15:53,646 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-11-28 21:15:53,648 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-11-28 21:15:53,649 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-11-28 21:15:53,650 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2019-11-28 21:15:53,651 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-11-28 21:15:53,652 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-11-28 21:15:53,653 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-11-28 21:15:53,654 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-11-28 21:15:53,655 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-11-28 21:15:53,656 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-11-28 21:15:53,657 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-11-28 21:15:53,659 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-11-28 21:15:53,661 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-11-28 21:15:53,663 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-11-28 21:15:53,664 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-11-28 21:15:53,665 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-11-28 21:15:53,666 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-11-28 21:15:53,669 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-11-28 21:15:53,669 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-11-28 21:15:53,669 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-11-28 21:15:53,670 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-11-28 21:15:53,671 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-11-28 21:15:53,672 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-11-28 21:15:53,672 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-11-28 21:15:53,673 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-11-28 21:15:53,674 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-11-28 21:15:53,675 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-11-28 21:15:53,676 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-11-28 21:15:53,676 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-11-28 21:15:53,677 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-11-28 21:15:53,677 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-11-28 21:15:53,677 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-11-28 21:15:53,678 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-11-28 21:15:53,679 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-11-28 21:15:53,680 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2019-11-28 21:15:53,705 INFO L113 SettingsManager]: Loading preferences was successful [2019-11-28 21:15:53,705 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-11-28 21:15:53,707 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-11-28 21:15:53,708 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-11-28 21:15:53,708 INFO L138 SettingsManager]: * Use SBE=true [2019-11-28 21:15:53,708 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2019-11-28 21:15:53,709 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2019-11-28 21:15:53,709 INFO L138 SettingsManager]: * Use old map elimination=false [2019-11-28 21:15:53,709 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2019-11-28 21:15:53,709 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2019-11-28 21:15:53,711 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2019-11-28 21:15:53,711 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-11-28 21:15:53,711 INFO L138 SettingsManager]: * sizeof long=4 [2019-11-28 21:15:53,712 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2019-11-28 21:15:53,712 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-11-28 21:15:53,712 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-11-28 21:15:53,713 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-11-28 21:15:53,713 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2019-11-28 21:15:53,713 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2019-11-28 21:15:53,714 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2019-11-28 21:15:53,714 INFO L138 SettingsManager]: * sizeof long double=12 [2019-11-28 21:15:53,714 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-11-28 21:15:53,714 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2019-11-28 21:15:53,715 INFO L138 SettingsManager]: * Use constant arrays=true [2019-11-28 21:15:53,715 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2019-11-28 21:15:53,715 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-11-28 21:15:53,716 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-11-28 21:15:53,716 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2019-11-28 21:15:53,716 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-11-28 21:15:53,716 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2019-11-28 21:15:53,717 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2019-11-28 21:15:53,718 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2019-11-28 21:15:53,719 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2019-11-28 21:15:53,719 INFO L138 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 82151ec4435da78821025b3100fe51201edc8f02 [2019-11-28 21:15:54,031 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-11-28 21:15:54,057 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-11-28 21:15:54,061 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-11-28 21:15:54,062 INFO L271 PluginConnector]: Initializing CDTParser... [2019-11-28 21:15:54,062 INFO L275 PluginConnector]: CDTParser initialized [2019-11-28 21:15:54,063 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/recursive/Primes.c [2019-11-28 21:15:54,147 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4b1daac3f/d581bca08cf549eb9ec281bf4dc70804/FLAG0364296df [2019-11-28 21:15:54,650 INFO L306 CDTParser]: Found 1 translation units. [2019-11-28 21:15:54,651 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive/Primes.c [2019-11-28 21:15:54,662 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4b1daac3f/d581bca08cf549eb9ec281bf4dc70804/FLAG0364296df [2019-11-28 21:15:54,999 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4b1daac3f/d581bca08cf549eb9ec281bf4dc70804 [2019-11-28 21:15:55,002 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-11-28 21:15:55,003 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2019-11-28 21:15:55,004 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2019-11-28 21:15:55,004 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2019-11-28 21:15:55,008 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2019-11-28 21:15:55,008 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,011 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@52ee0255 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55, skipping insertion in model container [2019-11-28 21:15:55,012 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,019 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2019-11-28 21:15:55,041 INFO L178 MainTranslator]: Built tables and reachable declarations [2019-11-28 21:15:55,240 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 21:15:55,245 INFO L203 MainTranslator]: Completed pre-run [2019-11-28 21:15:55,280 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 21:15:55,359 INFO L208 MainTranslator]: Completed translation [2019-11-28 21:15:55,359 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55 WrapperNode [2019-11-28 21:15:55,359 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2019-11-28 21:15:55,360 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-11-28 21:15:55,360 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-11-28 21:15:55,360 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-11-28 21:15:55,370 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,377 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,394 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-11-28 21:15:55,395 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-11-28 21:15:55,395 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-11-28 21:15:55,395 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-11-28 21:15:55,402 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,402 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,404 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,404 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,408 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,411 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,412 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (1/1) ... [2019-11-28 21:15:55,414 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-11-28 21:15:55,415 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-11-28 21:15:55,415 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-11-28 21:15:55,415 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-11-28 21:15:55,416 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (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 [2019-11-28 21:15:55,484 INFO L130 BoogieDeclarations]: Found specification of procedure multiple_of [2019-11-28 21:15:55,486 INFO L138 BoogieDeclarations]: Found implementation of procedure multiple_of [2019-11-28 21:15:55,486 INFO L130 BoogieDeclarations]: Found specification of procedure mult [2019-11-28 21:15:55,486 INFO L138 BoogieDeclarations]: Found implementation of procedure mult [2019-11-28 21:15:55,486 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-11-28 21:15:55,488 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-11-28 21:15:55,489 INFO L130 BoogieDeclarations]: Found specification of procedure is_prime_ [2019-11-28 21:15:55,489 INFO L138 BoogieDeclarations]: Found implementation of procedure is_prime_ [2019-11-28 21:15:55,824 INFO L282 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-11-28 21:15:55,825 INFO L287 CfgBuilder]: Removed 6 assume(true) statements. [2019-11-28 21:15:55,826 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 09:15:55 BoogieIcfgContainer [2019-11-28 21:15:55,826 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-11-28 21:15:55,827 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2019-11-28 21:15:55,827 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2019-11-28 21:15:55,830 INFO L275 PluginConnector]: BuchiAutomizer initialized [2019-11-28 21:15:55,831 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 21:15:55,831 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.11 09:15:55" (1/3) ... [2019-11-28 21:15:55,832 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@35e88de6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 09:15:55, skipping insertion in model container [2019-11-28 21:15:55,832 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 21:15:55,833 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 09:15:55" (2/3) ... [2019-11-28 21:15:55,833 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@35e88de6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 09:15:55, skipping insertion in model container [2019-11-28 21:15:55,833 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 21:15:55,833 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 09:15:55" (3/3) ... [2019-11-28 21:15:55,837 INFO L371 chiAutomizerObserver]: Analyzing ICFG Primes.c [2019-11-28 21:15:55,888 INFO L356 BuchiCegarLoop]: Interprodecural is true [2019-11-28 21:15:55,888 INFO L357 BuchiCegarLoop]: Hoare is false [2019-11-28 21:15:55,888 INFO L358 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2019-11-28 21:15:55,889 INFO L359 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2019-11-28 21:15:55,889 INFO L360 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-11-28 21:15:55,889 INFO L361 BuchiCegarLoop]: Difference is false [2019-11-28 21:15:55,889 INFO L362 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-11-28 21:15:55,889 INFO L365 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2019-11-28 21:15:55,904 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 49 states. [2019-11-28 21:15:55,932 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 21:15:55,932 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:15:55,933 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:15:55,941 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 21:15:55,941 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:15:55,941 INFO L424 BuchiCegarLoop]: ======== Iteration 1============ [2019-11-28 21:15:55,942 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 49 states. [2019-11-28 21:15:55,951 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 21:15:55,951 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:15:55,951 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:15:55,953 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 21:15:55,953 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:15:55,961 INFO L794 eck$LassoCheckResult]: Stem: 29#ULTIMATE.startENTRYtrue havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 13#L76true assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 10#L51true call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 12#is_prime_ENTRYtrue [2019-11-28 21:15:55,962 INFO L796 eck$LassoCheckResult]: Loop: 12#is_prime_ENTRYtrue ~n := #in~n;~m := #in~m; 41#L56true assume !(~n <= 1); 35#L59true assume !(2 == ~n); 25#L62true assume ~n > 2; 39#L63true assume !(~m <= 1); 32#L66true call #t~ret6 := multiple_of(~n, ~m);< 51#multiple_ofENTRYtrue ~n := #in~n;~m := #in~m; 31#L30true assume !(~m < 0); 24#L33true assume !(~n < 0); 37#L36true assume 0 == ~m;#res := 0; 27#multiple_ofFINALtrue assume true; 46#multiple_ofEXITtrue >#121#return; 30#L66-1true assume !(0 == #t~ret6);havoc #t~ret6; 23#L69true call #t~ret7 := is_prime_(~n, ~m - 1);< 12#is_prime_ENTRYtrue [2019-11-28 21:15:55,968 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:15:55,968 INFO L82 PathProgramCache]: Analyzing trace with hash 72718, now seen corresponding path program 1 times [2019-11-28 21:15:55,975 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:15:55,975 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1339765887] [2019-11-28 21:15:55,976 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:15:56,069 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:15:56,091 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:15:56,112 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:15:56,113 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:15:56,113 INFO L82 PathProgramCache]: Analyzing trace with hash -1613119264, now seen corresponding path program 1 times [2019-11-28 21:15:56,114 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:15:56,114 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1125563450] [2019-11-28 21:15:56,114 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:15:56,129 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:56,183 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:56,230 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:15:56,231 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1125563450] [2019-11-28 21:15:56,232 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 21:15:56,232 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2019-11-28 21:15:56,233 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1311402975] [2019-11-28 21:15:56,238 INFO L811 eck$LassoCheckResult]: loop already infeasible [2019-11-28 21:15:56,240 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 21:15:56,251 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2019-11-28 21:15:56,252 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2019-11-28 21:15:56,254 INFO L87 Difference]: Start difference. First operand 49 states. Second operand 5 states. [2019-11-28 21:15:56,402 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 21:15:56,402 INFO L93 Difference]: Finished difference Result 55 states and 79 transitions. [2019-11-28 21:15:56,403 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2019-11-28 21:15:56,405 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 55 states and 79 transitions. [2019-11-28 21:15:56,411 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 21:15:56,420 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 55 states to 40 states and 53 transitions. [2019-11-28 21:15:56,421 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 40 [2019-11-28 21:15:56,422 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 40 [2019-11-28 21:15:56,423 INFO L73 IsDeterministic]: Start isDeterministic. Operand 40 states and 53 transitions. [2019-11-28 21:15:56,425 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2019-11-28 21:15:56,426 INFO L688 BuchiCegarLoop]: Abstraction has 40 states and 53 transitions. [2019-11-28 21:15:56,444 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 40 states and 53 transitions. [2019-11-28 21:15:56,458 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 40 to 38. [2019-11-28 21:15:56,459 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 38 states. [2019-11-28 21:15:56,461 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 38 states and 50 transitions. [2019-11-28 21:15:56,462 INFO L711 BuchiCegarLoop]: Abstraction has 38 states and 50 transitions. [2019-11-28 21:15:56,463 INFO L591 BuchiCegarLoop]: Abstraction has 38 states and 50 transitions. [2019-11-28 21:15:56,463 INFO L424 BuchiCegarLoop]: ======== Iteration 2============ [2019-11-28 21:15:56,463 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 38 states and 50 transitions. [2019-11-28 21:15:56,465 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 21:15:56,465 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:15:56,465 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:15:56,466 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 21:15:56,466 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:15:56,467 INFO L794 eck$LassoCheckResult]: Stem: 158#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 149#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 138#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 146#is_prime_ENTRY [2019-11-28 21:15:56,467 INFO L796 eck$LassoCheckResult]: Loop: 146#is_prime_ENTRY ~n := #in~n;~m := #in~m; 147#L56 assume !(~n <= 1); 137#L59 assume !(2 == ~n); 141#L62 assume ~n > 2; 148#L63 assume !(~m <= 1); 124#L66 call #t~ret6 := multiple_of(~n, ~m);< 134#multiple_ofENTRY ~n := #in~n;~m := #in~m; 159#L30 assume !(~m < 0); 155#L33 assume !(~n < 0); 144#L36 assume !(0 == ~m); 145#L39 assume 0 == ~n;#res := 1; 128#multiple_ofFINAL assume true; 156#multiple_ofEXIT >#121#return; 157#L66-1 assume !(0 == #t~ret6);havoc #t~ret6; 139#L69 call #t~ret7 := is_prime_(~n, ~m - 1);< 146#is_prime_ENTRY [2019-11-28 21:15:56,467 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:15:56,468 INFO L82 PathProgramCache]: Analyzing trace with hash 72718, now seen corresponding path program 2 times [2019-11-28 21:15:56,468 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:15:56,469 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [242886656] [2019-11-28 21:15:56,469 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:15:56,475 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:15:56,479 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:15:56,482 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:15:56,482 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:15:56,482 INFO L82 PathProgramCache]: Analyzing trace with hash 1554944608, now seen corresponding path program 1 times [2019-11-28 21:15:56,483 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:15:56,483 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [432548971] [2019-11-28 21:15:56,484 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:15:56,491 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:56,518 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:56,558 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:15:56,558 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [432548971] [2019-11-28 21:15:56,558 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 21:15:56,559 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2019-11-28 21:15:56,562 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [132488808] [2019-11-28 21:15:56,563 INFO L811 eck$LassoCheckResult]: loop already infeasible [2019-11-28 21:15:56,563 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 21:15:56,563 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2019-11-28 21:15:56,565 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2019-11-28 21:15:56,565 INFO L87 Difference]: Start difference. First operand 38 states and 50 transitions. cyclomatic complexity: 15 Second operand 5 states. [2019-11-28 21:15:56,666 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 21:15:56,667 INFO L93 Difference]: Finished difference Result 42 states and 56 transitions. [2019-11-28 21:15:56,667 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2019-11-28 21:15:56,668 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 42 states and 56 transitions. [2019-11-28 21:15:56,670 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 21:15:56,673 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 42 states to 42 states and 56 transitions. [2019-11-28 21:15:56,673 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 42 [2019-11-28 21:15:56,674 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 42 [2019-11-28 21:15:56,674 INFO L73 IsDeterministic]: Start isDeterministic. Operand 42 states and 56 transitions. [2019-11-28 21:15:56,675 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2019-11-28 21:15:56,675 INFO L688 BuchiCegarLoop]: Abstraction has 42 states and 56 transitions. [2019-11-28 21:15:56,676 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 42 states and 56 transitions. [2019-11-28 21:15:56,680 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 42 to 40. [2019-11-28 21:15:56,680 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 40 states. [2019-11-28 21:15:56,682 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 40 states and 53 transitions. [2019-11-28 21:15:56,682 INFO L711 BuchiCegarLoop]: Abstraction has 40 states and 53 transitions. [2019-11-28 21:15:56,683 INFO L591 BuchiCegarLoop]: Abstraction has 40 states and 53 transitions. [2019-11-28 21:15:56,683 INFO L424 BuchiCegarLoop]: ======== Iteration 3============ [2019-11-28 21:15:56,683 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 40 states and 53 transitions. [2019-11-28 21:15:56,684 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 21:15:56,684 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:15:56,685 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:15:56,686 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 21:15:56,686 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:15:56,686 INFO L794 eck$LassoCheckResult]: Stem: 255#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 246#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 235#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 243#is_prime_ENTRY [2019-11-28 21:15:56,687 INFO L796 eck$LassoCheckResult]: Loop: 243#is_prime_ENTRY ~n := #in~n;~m := #in~m; 244#L56 assume !(~n <= 1); 234#L59 assume !(2 == ~n); 238#L62 assume ~n > 2; 245#L63 assume !(~m <= 1); 223#L66 call #t~ret6 := multiple_of(~n, ~m);< 231#multiple_ofENTRY ~n := #in~n;~m := #in~m; 257#L30 assume !(~m < 0); 253#L33 assume !(~n < 0); 241#L36 assume !(0 == ~m); 242#L39 assume !(0 == ~n); 224#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 231#multiple_ofENTRY ~n := #in~n;~m := #in~m; 257#L30 assume !(~m < 0); 253#L33 assume !(~n < 0); 241#L36 assume !(0 == ~m); 242#L39 assume 0 == ~n;#res := 1; 225#multiple_ofFINAL assume true; 254#multiple_ofEXIT >#111#return; 247#L42-1 #res := #t~ret4;havoc #t~ret4; 248#multiple_ofFINAL assume true; 259#multiple_ofEXIT >#121#return; 256#L66-1 assume !(0 == #t~ret6);havoc #t~ret6; 236#L69 call #t~ret7 := is_prime_(~n, ~m - 1);< 243#is_prime_ENTRY [2019-11-28 21:15:56,687 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:15:56,687 INFO L82 PathProgramCache]: Analyzing trace with hash 72718, now seen corresponding path program 3 times [2019-11-28 21:15:56,688 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:15:56,688 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [693962733] [2019-11-28 21:15:56,688 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:15:56,694 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:15:56,697 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:15:56,703 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:15:56,705 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:15:56,706 INFO L82 PathProgramCache]: Analyzing trace with hash 326750000, now seen corresponding path program 1 times [2019-11-28 21:15:56,706 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:15:56,706 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [235453707] [2019-11-28 21:15:56,707 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:15:56,733 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:15:56,765 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:15:56,771 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:15:56,773 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:15:56,773 INFO L82 PathProgramCache]: Analyzing trace with hash 1599788093, now seen corresponding path program 1 times [2019-11-28 21:15:56,773 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:15:56,774 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2125129189] [2019-11-28 21:15:56,774 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:15:56,805 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:56,863 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:56,920 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:56,973 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2019-11-28 21:15:56,974 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2125129189] [2019-11-28 21:15:56,974 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1626631085] [2019-11-28 21:15:56,974 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 21:15:57,033 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:57,035 INFO L264 TraceCheckSpWp]: Trace formula consists of 70 conjuncts, 11 conjunts are in the unsatisfiable core [2019-11-28 21:15:57,039 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:15:57,124 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2019-11-28 21:15:57,124 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2019-11-28 21:15:57,124 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 10 [2019-11-28 21:15:57,125 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1720487152] [2019-11-28 21:15:57,489 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:15:57,490 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:15:57,491 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:15:57,491 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:15:57,491 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 21:15:57,492 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:57,492 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:15:57,492 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:15:57,492 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2019-11-28 21:15:57,493 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:15:57,493 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:15:57,511 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,518 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,521 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,524 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,527 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,540 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,606 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:15:57,607 INFO L404 LassoAnalysis]: Checking for nontermination... 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) [2019-11-28 21:15:57,616 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:15:57,617 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:57,629 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:15:57,629 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__~n=0} Honda state: {is_prime__~n=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) [2019-11-28 21:15:57,642 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:15:57,643 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:57,648 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:15:57,649 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__~m=0} Honda state: {is_prime__~m=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) Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:57,664 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:15:57,664 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:15:57,669 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:15:57,670 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__#t~ret6=0} Honda state: {is_prime__#t~ret6=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) [2019-11-28 21:15:57,710 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:15:57,710 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:57,717 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:15:57,718 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__#t~ret7=0} Honda state: {is_prime__#t~ret7=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] 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) [2019-11-28 21:15:57,741 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:15:57,741 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 7 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 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:15:57,766 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 21:15:57,767 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:57,880 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 21:15:57,883 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:15:57,884 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:15:57,884 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:15:57,884 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:15:57,884 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 21:15:57,884 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:57,884 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:15:57,889 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:15:57,889 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2019-11-28 21:15:57,889 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:15:57,889 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:15:57,892 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,897 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,902 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,906 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,923 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,927 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:57,990 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:15:57,996 INFO L489 LassoAnalysis]: Using template 'affine'. 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 [2019-11-28 21:15:58,015 INFO L120 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 [2019-11-28 21:15:58,018 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:15:58,018 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:15:58,019 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:15:58,019 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:15:58,019 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:15:58,022 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:15:58,022 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:15:58,025 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. 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) [2019-11-28 21:15:58,044 INFO L120 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 [2019-11-28 21:15:58,046 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:15:58,046 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:15:58,047 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:15:58,047 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:15:58,047 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:15:58,048 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:15:58,048 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:58,051 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. 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 [2019-11-28 21:15:58,069 INFO L120 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 [2019-11-28 21:15:58,071 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:15:58,071 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:15:58,071 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:15:58,071 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:15:58,071 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:15:58,072 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:15:58,072 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:15:58,074 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. 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) [2019-11-28 21:15:58,092 INFO L120 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 Waiting until toolchain timeout for monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:58,094 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:15:58,094 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:15:58,095 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:15:58,095 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:15:58,095 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:15:58,097 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:15:58,097 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:15:58,101 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 21:15:58,108 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2019-11-28 21:15:58,108 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. 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) [2019-11-28 21:15:58,184 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 21:15:58,184 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 21:15:58,185 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 21:15:58,186 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(is_prime__#in~m) = 1*is_prime__#in~m Supporting invariants [] [2019-11-28 21:15:58,192 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed Waiting until toolchain timeout for monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:58,268 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:15:58,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:58,286 INFO L264 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-28 21:15:58,287 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:15:58,316 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:58,318 INFO L264 TraceCheckSpWp]: Trace formula consists of 140 conjuncts, 18 conjunts are in the unsatisfiable core [2019-11-28 21:15:58,320 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:15:58,465 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2019-11-28 21:15:58,470 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 9 loop predicates [2019-11-28 21:15:58,471 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 40 states and 53 transitions. cyclomatic complexity: 16 Second operand 10 states. [2019-11-28 21:15:59,041 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 40 states and 53 transitions. cyclomatic complexity: 16. Second operand 10 states. Result 174 states and 238 transitions. Complement of second has 40 states. [2019-11-28 21:15:59,043 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 9 states 1 stem states 7 non-accepting loop states 1 accepting loop states [2019-11-28 21:15:59,044 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2019-11-28 21:15:59,046 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 44 transitions. [2019-11-28 21:15:59,050 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 44 transitions. Stem has 3 letters. Loop has 24 letters. [2019-11-28 21:15:59,053 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:15:59,055 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 44 transitions. Stem has 27 letters. Loop has 24 letters. [2019-11-28 21:15:59,056 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:15:59,057 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 44 transitions. Stem has 3 letters. Loop has 48 letters. [2019-11-28 21:15:59,060 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:15:59,061 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 174 states and 238 transitions. [2019-11-28 21:15:59,072 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 22 [2019-11-28 21:15:59,083 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 174 states to 150 states and 200 transitions. [2019-11-28 21:15:59,087 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 89 [2019-11-28 21:15:59,088 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 91 [2019-11-28 21:15:59,091 INFO L73 IsDeterministic]: Start isDeterministic. Operand 150 states and 200 transitions. [2019-11-28 21:15:59,093 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:15:59,096 INFO L688 BuchiCegarLoop]: Abstraction has 150 states and 200 transitions. [2019-11-28 21:15:59,097 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 150 states and 200 transitions. [2019-11-28 21:15:59,119 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 150 to 107. [2019-11-28 21:15:59,119 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 107 states. [2019-11-28 21:15:59,121 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 107 states to 107 states and 138 transitions. [2019-11-28 21:15:59,124 INFO L711 BuchiCegarLoop]: Abstraction has 107 states and 138 transitions. [2019-11-28 21:15:59,124 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 21:15:59,124 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2019-11-28 21:15:59,125 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=22, Invalid=68, Unknown=0, NotChecked=0, Total=90 [2019-11-28 21:15:59,125 INFO L87 Difference]: Start difference. First operand 107 states and 138 transitions. Second operand 10 states. [2019-11-28 21:15:59,380 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 21:15:59,380 INFO L93 Difference]: Finished difference Result 145 states and 192 transitions. [2019-11-28 21:15:59,381 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2019-11-28 21:15:59,381 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 145 states and 192 transitions. [2019-11-28 21:15:59,385 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 21 [2019-11-28 21:15:59,389 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 145 states to 139 states and 184 transitions. [2019-11-28 21:15:59,389 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 84 [2019-11-28 21:15:59,390 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 84 [2019-11-28 21:15:59,390 INFO L73 IsDeterministic]: Start isDeterministic. Operand 139 states and 184 transitions. [2019-11-28 21:15:59,391 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:15:59,391 INFO L688 BuchiCegarLoop]: Abstraction has 139 states and 184 transitions. [2019-11-28 21:15:59,391 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 139 states and 184 transitions. [2019-11-28 21:15:59,401 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 139 to 111. [2019-11-28 21:15:59,401 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 111 states. [2019-11-28 21:15:59,404 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 111 states to 111 states and 144 transitions. [2019-11-28 21:15:59,407 INFO L711 BuchiCegarLoop]: Abstraction has 111 states and 144 transitions. [2019-11-28 21:15:59,407 INFO L591 BuchiCegarLoop]: Abstraction has 111 states and 144 transitions. [2019-11-28 21:15:59,407 INFO L424 BuchiCegarLoop]: ======== Iteration 4============ [2019-11-28 21:15:59,408 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 111 states and 144 transitions. [2019-11-28 21:15:59,413 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 21 [2019-11-28 21:15:59,413 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:15:59,414 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:15:59,414 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:15:59,414 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 21:15:59,415 INFO L794 eck$LassoCheckResult]: Stem: 1023#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 1002#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 979#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 994#is_prime_ENTRY ~n := #in~n;~m := #in~m; 996#L56 assume !(~n <= 1); 978#L59 assume !(2 == ~n); 981#L62 assume ~n > 2; 999#L63 assume !(~m <= 1); 972#L66 call #t~ret6 := multiple_of(~n, ~m);< 1031#multiple_ofENTRY ~n := #in~n;~m := #in~m; 1059#L30 assume ~m < 0; 1006#L31 [2019-11-28 21:15:59,415 INFO L796 eck$LassoCheckResult]: Loop: 1006#L31 call #t~ret2 := multiple_of(~n, -~m);< 1010#multiple_ofENTRY ~n := #in~n;~m := #in~m; 1027#L30 assume ~m < 0; 1006#L31 [2019-11-28 21:15:59,415 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:15:59,415 INFO L82 PathProgramCache]: Analyzing trace with hash 313603312, now seen corresponding path program 1 times [2019-11-28 21:15:59,416 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:15:59,418 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [48791719] [2019-11-28 21:15:59,418 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:15:59,427 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:15:59,462 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:15:59,463 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [48791719] [2019-11-28 21:15:59,464 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 21:15:59,464 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2019-11-28 21:15:59,464 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [247222200] [2019-11-28 21:15:59,465 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 21:15:59,465 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:15:59,465 INFO L82 PathProgramCache]: Analyzing trace with hash 131660, now seen corresponding path program 1 times [2019-11-28 21:15:59,465 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:15:59,465 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [738621207] [2019-11-28 21:15:59,466 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:15:59,471 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:15:59,475 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:15:59,481 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:15:59,540 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:15:59,540 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:15:59,541 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:15:59,541 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:15:59,541 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 21:15:59,542 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:59,542 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:15:59,542 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:15:59,542 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2019-11-28 21:15:59,543 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:15:59,543 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:15:59,547 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:59,552 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:59,557 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:59,559 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:59,561 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:59,568 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:15:59,614 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:15:59,614 INFO L404 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) [2019-11-28 21:15:59,629 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:15:59,629 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:59,636 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:15:59,636 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret4=0} Honda state: {multiple_of_#t~ret4=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) [2019-11-28 21:15:59,653 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:15:59,654 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:59,660 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:15:59,661 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~n=0, multiple_of_#in~n=0} Honda state: {multiple_of_~n=0, multiple_of_#in~n=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) [2019-11-28 21:15:59,676 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:15:59,677 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:59,681 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:15:59,682 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret2=0} Honda state: {multiple_of_#t~ret2=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) [2019-11-28 21:15:59,700 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:15:59,700 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:15:59,707 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:15:59,707 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret3=0} Honda state: {multiple_of_#t~ret3=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] 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) [2019-11-28 21:15:59,727 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:15:59,727 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 18 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 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:15:59,751 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 21:15:59,751 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,135 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 21:16:01,137 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:01,137 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:01,138 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:01,138 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:01,138 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 21:16:01,138 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,138 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:01,138 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:01,138 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2019-11-28 21:16:01,138 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:01,138 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:01,139 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,145 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,153 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,155 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,156 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,162 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,215 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:01,216 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:01,227 INFO L120 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 [2019-11-28 21:16:01,229 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:01,230 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:01,230 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:01,230 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:01,230 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:01,231 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:01,231 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,233 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. 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 [2019-11-28 21:16:01,253 INFO L120 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 [2019-11-28 21:16:01,255 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:01,255 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:01,256 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:01,256 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:01,256 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:01,257 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:01,258 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:01,260 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. 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) [2019-11-28 21:16:01,277 INFO L120 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 [2019-11-28 21:16:01,279 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:01,279 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:01,279 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:01,279 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:01,280 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:01,280 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:01,281 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,292 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. 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) [2019-11-28 21:16:01,300 INFO L120 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 [2019-11-28 21:16:01,302 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:01,302 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:01,303 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:01,303 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:01,303 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:01,304 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:01,304 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,306 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. 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) [2019-11-28 21:16:01,320 INFO L120 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 [2019-11-28 21:16:01,323 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:01,323 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:01,323 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:01,323 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:01,324 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:01,327 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:01,328 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,332 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 21:16:01,336 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2019-11-28 21:16:01,336 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. 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) [2019-11-28 21:16:01,341 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 21:16:01,342 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 21:16:01,342 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 21:16:01,342 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_~m) = 1*multiple_of_~m Supporting invariants [] [2019-11-28 21:16:01,345 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed Waiting until toolchain timeout for monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,376 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:01,393 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:01,394 INFO L264 TraceCheckSpWp]: Trace formula consists of 91 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-28 21:16:01,395 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:01,405 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:01,406 INFO L264 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 21:16:01,406 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:01,437 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:01,437 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 [2019-11-28 21:16:01,437 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 111 states and 144 transitions. cyclomatic complexity: 37 Second operand 4 states. [2019-11-28 21:16:01,515 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 111 states and 144 transitions. cyclomatic complexity: 37. Second operand 4 states. Result 209 states and 271 transitions. Complement of second has 18 states. [2019-11-28 21:16:01,516 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 3 non-accepting loop states 1 accepting loop states [2019-11-28 21:16:01,516 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2019-11-28 21:16:01,517 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 66 transitions. [2019-11-28 21:16:01,517 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 66 transitions. Stem has 11 letters. Loop has 3 letters. [2019-11-28 21:16:01,517 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:01,517 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 66 transitions. Stem has 14 letters. Loop has 3 letters. [2019-11-28 21:16:01,517 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:01,518 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 66 transitions. Stem has 11 letters. Loop has 6 letters. [2019-11-28 21:16:01,518 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:01,519 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 209 states and 271 transitions. [2019-11-28 21:16:01,524 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 34 [2019-11-28 21:16:01,528 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 209 states to 155 states and 200 transitions. [2019-11-28 21:16:01,528 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 90 [2019-11-28 21:16:01,529 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 91 [2019-11-28 21:16:01,529 INFO L73 IsDeterministic]: Start isDeterministic. Operand 155 states and 200 transitions. [2019-11-28 21:16:01,529 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:01,529 INFO L688 BuchiCegarLoop]: Abstraction has 155 states and 200 transitions. [2019-11-28 21:16:01,530 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 155 states and 200 transitions. [2019-11-28 21:16:01,538 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 155 to 126. [2019-11-28 21:16:01,538 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 126 states. [2019-11-28 21:16:01,539 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 126 states to 126 states and 164 transitions. [2019-11-28 21:16:01,540 INFO L711 BuchiCegarLoop]: Abstraction has 126 states and 164 transitions. [2019-11-28 21:16:01,540 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 21:16:01,540 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2019-11-28 21:16:01,541 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2019-11-28 21:16:01,541 INFO L87 Difference]: Start difference. First operand 126 states and 164 transitions. Second operand 5 states. [2019-11-28 21:16:01,596 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 21:16:01,597 INFO L93 Difference]: Finished difference Result 114 states and 144 transitions. [2019-11-28 21:16:01,599 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2019-11-28 21:16:01,599 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 114 states and 144 transitions. [2019-11-28 21:16:01,601 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 21:16:01,604 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 114 states to 114 states and 144 transitions. [2019-11-28 21:16:01,604 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 73 [2019-11-28 21:16:01,605 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 73 [2019-11-28 21:16:01,605 INFO L73 IsDeterministic]: Start isDeterministic. Operand 114 states and 144 transitions. [2019-11-28 21:16:01,606 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:01,606 INFO L688 BuchiCegarLoop]: Abstraction has 114 states and 144 transitions. [2019-11-28 21:16:01,606 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 114 states and 144 transitions. [2019-11-28 21:16:01,617 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 114 to 110. [2019-11-28 21:16:01,618 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 110 states. [2019-11-28 21:16:01,619 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 110 states to 110 states and 140 transitions. [2019-11-28 21:16:01,621 INFO L711 BuchiCegarLoop]: Abstraction has 110 states and 140 transitions. [2019-11-28 21:16:01,621 INFO L591 BuchiCegarLoop]: Abstraction has 110 states and 140 transitions. [2019-11-28 21:16:01,621 INFO L424 BuchiCegarLoop]: ======== Iteration 5============ [2019-11-28 21:16:01,621 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 110 states and 140 transitions. [2019-11-28 21:16:01,624 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 21:16:01,624 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:16:01,625 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:16:01,625 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:16:01,626 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 21:16:01,626 INFO L794 eck$LassoCheckResult]: Stem: 1660#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 1642#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 1626#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 1634#is_prime_ENTRY ~n := #in~n;~m := #in~m; 1636#L56 assume ~n <= 1;#res := 0; 1707#is_prime_FINAL assume true; 1668#is_prime_EXIT >#117#return; 1629#L51-1 is_prime_#res := is_prime_#t~ret5;havoc is_prime_#t~ret5; 1619#L51-2 main_#t~ret9 := is_prime_#res;main_~result~0 := main_#t~ret9;havoc main_#t~ret9;main_~f1~0 := main_#t~nondet10;havoc main_#t~nondet10; 1620#L83 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet11;havoc main_#t~nondet11; 1652#L89 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short13 := 1 == main_~result~0; 1653#L95 assume main_#t~short13; 1612#L95-1 call main_#t~ret12 := mult(main_~f1~0, main_~f2~0);< 1628#multENTRY [2019-11-28 21:16:01,627 INFO L796 eck$LassoCheckResult]: Loop: 1628#multENTRY ~n := #in~n;~m := #in~m; 1610#L16 assume ~m < 0; 1613#L17 call #t~ret0 := mult(~n, -~m);< 1628#multENTRY [2019-11-28 21:16:01,627 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:01,627 INFO L82 PathProgramCache]: Analyzing trace with hash -312507047, now seen corresponding path program 1 times [2019-11-28 21:16:01,627 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:01,628 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [133867134] [2019-11-28 21:16:01,628 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:01,641 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:01,697 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:01,724 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:01,724 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [133867134] [2019-11-28 21:16:01,724 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 21:16:01,724 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2019-11-28 21:16:01,725 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1607128302] [2019-11-28 21:16:01,725 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 21:16:01,725 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:01,725 INFO L82 PathProgramCache]: Analyzing trace with hash 53804, now seen corresponding path program 1 times [2019-11-28 21:16:01,726 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:01,727 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1270712184] [2019-11-28 21:16:01,727 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:01,731 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:01,735 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:01,742 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:01,791 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:01,792 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:01,792 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:01,792 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:01,792 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 21:16:01,793 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,793 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:01,793 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:01,793 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2019-11-28 21:16:01,793 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:01,794 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:01,795 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,797 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,799 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,800 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,802 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,804 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,808 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,862 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:01,862 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 26 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 26 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,869 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:01,869 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:01,875 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:01,875 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret1=0} Honda state: {mult_#t~ret1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] 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) [2019-11-28 21:16:01,887 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:01,887 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,890 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:01,890 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~n=0} Honda state: {mult_~n=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 [2019-11-28 21:16:01,896 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:01,897 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:01,900 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:01,900 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~m=0} Honda state: {mult_~m=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 [2019-11-28 21:16:01,906 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:01,906 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:01,908 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:01,908 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#res=0} Honda state: {mult_#res=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 [2019-11-28 21:16:01,914 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:01,914 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:01,916 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:01,916 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret0=0} Honda state: {mult_#t~ret0=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 [2019-11-28 21:16:01,922 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:01,923 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:01,925 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:01,926 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#in~n=0} Honda state: {mult_#in~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] 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 [2019-11-28 21:16:01,931 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:01,931 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 33 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 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,939 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 21:16:01,939 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:01,953 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 21:16:01,954 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:01,954 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:01,955 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:01,955 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:01,955 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 21:16:01,955 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:01,955 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:01,955 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:01,955 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2019-11-28 21:16:01,955 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:01,956 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:01,957 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,963 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,965 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,967 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,969 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,971 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:01,974 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,032 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:02,032 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:02,042 INFO L120 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 [2019-11-28 21:16:02,044 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,044 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,044 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,045 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,045 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,046 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,046 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,048 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:02,054 INFO L120 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 [2019-11-28 21:16:02,056 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,057 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,057 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,057 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,057 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,058 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,058 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,060 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 36 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 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,070 INFO L120 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 [2019-11-28 21:16:02,071 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,071 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,071 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,072 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,072 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,072 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,072 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:02,074 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 37 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 37 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,082 INFO L120 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 [2019-11-28 21:16:02,084 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,084 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,084 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,084 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,084 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,085 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,085 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:02,091 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 38 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 38 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,096 INFO L120 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 [2019-11-28 21:16:02,097 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,097 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,097 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,097 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,097 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,102 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,102 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:02,104 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 39 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 39 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,110 INFO L120 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 [2019-11-28 21:16:02,112 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,112 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,112 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,113 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,113 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,113 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,113 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:02,115 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 40 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 40 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,122 INFO L120 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 [2019-11-28 21:16:02,123 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,124 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,124 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,124 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,124 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,125 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,125 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:02,127 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 21:16:02,129 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2019-11-28 21:16:02,129 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 41 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 41 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,134 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 21:16:02,134 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 21:16:02,134 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 21:16:02,134 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_#in~m) = -1*mult_#in~m Supporting invariants [] [2019-11-28 21:16:02,136 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 21:16:02,152 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:02,175 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:02,176 INFO L264 TraceCheckSpWp]: Trace formula consists of 102 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-28 21:16:02,178 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:02,203 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:02,204 INFO L264 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 21:16:02,204 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:02,225 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:02,226 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 [2019-11-28 21:16:02,226 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 110 states and 140 transitions. cyclomatic complexity: 34 Second operand 5 states. [2019-11-28 21:16:02,357 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 110 states and 140 transitions. cyclomatic complexity: 34. Second operand 5 states. Result 142 states and 176 transitions. Complement of second has 14 states. [2019-11-28 21:16:02,360 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 [2019-11-28 21:16:02,361 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2019-11-28 21:16:02,361 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 47 transitions. [2019-11-28 21:16:02,361 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 47 transitions. Stem has 13 letters. Loop has 3 letters. [2019-11-28 21:16:02,362 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:02,362 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 47 transitions. Stem has 16 letters. Loop has 3 letters. [2019-11-28 21:16:02,362 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:02,362 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 47 transitions. Stem has 13 letters. Loop has 6 letters. [2019-11-28 21:16:02,362 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:02,362 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 142 states and 176 transitions. [2019-11-28 21:16:02,364 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 21:16:02,367 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 142 states to 134 states and 168 transitions. [2019-11-28 21:16:02,367 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 79 [2019-11-28 21:16:02,367 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 81 [2019-11-28 21:16:02,367 INFO L73 IsDeterministic]: Start isDeterministic. Operand 134 states and 168 transitions. [2019-11-28 21:16:02,368 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:02,368 INFO L688 BuchiCegarLoop]: Abstraction has 134 states and 168 transitions. [2019-11-28 21:16:02,368 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 134 states and 168 transitions. [2019-11-28 21:16:02,383 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 134 to 121. [2019-11-28 21:16:02,386 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 121 states. [2019-11-28 21:16:02,387 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 121 states to 121 states and 154 transitions. [2019-11-28 21:16:02,389 INFO L711 BuchiCegarLoop]: Abstraction has 121 states and 154 transitions. [2019-11-28 21:16:02,389 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 21:16:02,389 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2019-11-28 21:16:02,390 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2019-11-28 21:16:02,390 INFO L87 Difference]: Start difference. First operand 121 states and 154 transitions. Second operand 7 states. [2019-11-28 21:16:02,456 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 21:16:02,456 INFO L93 Difference]: Finished difference Result 130 states and 163 transitions. [2019-11-28 21:16:02,457 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2019-11-28 21:16:02,457 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 130 states and 163 transitions. [2019-11-28 21:16:02,459 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 21:16:02,462 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 130 states to 122 states and 154 transitions. [2019-11-28 21:16:02,462 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 71 [2019-11-28 21:16:02,464 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 71 [2019-11-28 21:16:02,464 INFO L73 IsDeterministic]: Start isDeterministic. Operand 122 states and 154 transitions. [2019-11-28 21:16:02,464 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:02,465 INFO L688 BuchiCegarLoop]: Abstraction has 122 states and 154 transitions. [2019-11-28 21:16:02,465 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 122 states and 154 transitions. [2019-11-28 21:16:02,477 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 122 to 120. [2019-11-28 21:16:02,480 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 120 states. [2019-11-28 21:16:02,481 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 120 states to 120 states and 151 transitions. [2019-11-28 21:16:02,482 INFO L711 BuchiCegarLoop]: Abstraction has 120 states and 151 transitions. [2019-11-28 21:16:02,482 INFO L591 BuchiCegarLoop]: Abstraction has 120 states and 151 transitions. [2019-11-28 21:16:02,482 INFO L424 BuchiCegarLoop]: ======== Iteration 6============ [2019-11-28 21:16:02,482 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 120 states and 151 transitions. [2019-11-28 21:16:02,484 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 21:16:02,484 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:16:02,484 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:16:02,485 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:16:02,486 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2019-11-28 21:16:02,486 INFO L794 eck$LassoCheckResult]: Stem: 2269#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 2250#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 2229#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 2239#is_prime_ENTRY ~n := #in~n;~m := #in~m; 2241#L56 assume !(~n <= 1); 2284#L59 assume !(2 == ~n); 2285#L62 assume ~n > 2; 2246#L63 assume !(~m <= 1); 2214#L66 call #t~ret6 := multiple_of(~n, ~m);< 2276#multiple_ofENTRY ~n := #in~n;~m := #in~m; 2273#L30 assume !(~m < 0); 2261#L33 assume ~n < 0; 2201#L34 call #t~ret3 := multiple_of(-~n, ~m);< 2216#multiple_ofENTRY [2019-11-28 21:16:02,486 INFO L796 eck$LassoCheckResult]: Loop: 2216#multiple_ofENTRY ~n := #in~n;~m := #in~m; 2306#L30 assume !(~m < 0); 2305#L33 assume ~n < 0; 2202#L34 call #t~ret3 := multiple_of(-~n, ~m);< 2216#multiple_ofENTRY [2019-11-28 21:16:02,487 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:02,487 INFO L82 PathProgramCache]: Analyzing trace with hash 725075382, now seen corresponding path program 1 times [2019-11-28 21:16:02,487 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:02,487 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [316390508] [2019-11-28 21:16:02,488 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:02,505 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:02,548 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:02,549 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [316390508] [2019-11-28 21:16:02,549 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 21:16:02,549 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2019-11-28 21:16:02,549 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [687938192] [2019-11-28 21:16:02,550 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 21:16:02,550 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:02,550 INFO L82 PathProgramCache]: Analyzing trace with hash 929674, now seen corresponding path program 1 times [2019-11-28 21:16:02,550 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:02,550 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1990907086] [2019-11-28 21:16:02,550 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:02,552 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:02,553 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:02,554 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:02,597 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:02,597 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:02,597 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:02,598 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:02,598 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 21:16:02,598 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,598 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:02,598 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:02,599 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2019-11-28 21:16:02,599 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:02,599 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:02,601 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,604 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,605 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,607 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,612 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,614 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,620 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,622 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,670 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:02,670 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 42 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 42 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,675 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:02,676 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:02,678 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:02,678 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~n=0} Honda state: {multiple_of_~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 43 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 43 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,684 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:02,685 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:02,692 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:02,692 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#res=0} Honda state: {multiple_of_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 44 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:02,701 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:02,701 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 44 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,705 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:02,705 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~m=0} Honda state: {multiple_of_~m=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 45 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:02,712 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:02,712 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 45 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 46 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 46 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,727 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 21:16:02,727 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:02,739 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 21:16:02,741 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:02,741 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:02,741 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:02,741 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:02,741 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 21:16:02,741 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,741 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:02,742 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:02,742 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2019-11-28 21:16:02,742 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:02,742 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:02,743 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,745 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,747 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,748 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,756 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,758 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,768 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,769 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:02,808 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:02,808 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 47 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:02,820 INFO L120 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 [2019-11-28 21:16:02,821 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,822 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,822 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,822 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,822 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,823 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,823 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 47 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,825 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 48 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 48 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,830 INFO L120 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 [2019-11-28 21:16:02,832 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,832 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,832 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,832 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,832 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,833 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,833 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:02,838 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 49 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:02,845 INFO L120 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 [2019-11-28 21:16:02,847 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,848 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,848 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,848 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,848 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,849 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,849 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 49 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,851 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 50 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 50 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,884 INFO L120 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 [2019-11-28 21:16:02,887 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:02,887 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:02,887 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:02,887 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:02,887 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:02,889 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:02,889 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:02,892 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 21:16:02,897 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2019-11-28 21:16:02,897 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 51 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:02,903 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 21:16:02,903 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 21:16:02,903 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 21:16:02,904 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = -1*multiple_of_#in~n Supporting invariants [] [2019-11-28 21:16:02,906 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed Waiting until toolchain timeout for monitored process 51 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:02,917 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:02,938 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:02,939 INFO L264 TraceCheckSpWp]: Trace formula consists of 126 conjuncts, 8 conjunts are in the unsatisfiable core [2019-11-28 21:16:02,940 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:02,948 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:02,949 INFO L264 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 21:16:02,953 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:02,967 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:02,968 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 [2019-11-28 21:16:02,968 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 120 states and 151 transitions. cyclomatic complexity: 36 Second operand 4 states. [2019-11-28 21:16:03,039 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 120 states and 151 transitions. cyclomatic complexity: 36. Second operand 4 states. Result 270 states and 352 transitions. Complement of second has 13 states. [2019-11-28 21:16:03,041 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 [2019-11-28 21:16:03,041 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2019-11-28 21:16:03,041 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 55 transitions. [2019-11-28 21:16:03,042 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 55 transitions. Stem has 13 letters. Loop has 4 letters. [2019-11-28 21:16:03,042 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:03,042 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 55 transitions. Stem has 17 letters. Loop has 4 letters. [2019-11-28 21:16:03,043 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:03,043 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 55 transitions. Stem has 13 letters. Loop has 8 letters. [2019-11-28 21:16:03,043 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:03,043 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 270 states and 352 transitions. [2019-11-28 21:16:03,047 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 32 [2019-11-28 21:16:03,052 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 270 states to 246 states and 328 transitions. [2019-11-28 21:16:03,052 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 130 [2019-11-28 21:16:03,052 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 132 [2019-11-28 21:16:03,053 INFO L73 IsDeterministic]: Start isDeterministic. Operand 246 states and 328 transitions. [2019-11-28 21:16:03,053 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:03,053 INFO L688 BuchiCegarLoop]: Abstraction has 246 states and 328 transitions. [2019-11-28 21:16:03,054 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 246 states and 328 transitions. [2019-11-28 21:16:03,061 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 246 to 216. [2019-11-28 21:16:03,061 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 216 states. [2019-11-28 21:16:03,063 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 216 states to 216 states and 283 transitions. [2019-11-28 21:16:03,063 INFO L711 BuchiCegarLoop]: Abstraction has 216 states and 283 transitions. [2019-11-28 21:16:03,064 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 21:16:03,064 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2019-11-28 21:16:03,064 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2019-11-28 21:16:03,064 INFO L87 Difference]: Start difference. First operand 216 states and 283 transitions. Second operand 7 states. [2019-11-28 21:16:03,182 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 21:16:03,182 INFO L93 Difference]: Finished difference Result 220 states and 287 transitions. [2019-11-28 21:16:03,183 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2019-11-28 21:16:03,183 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 220 states and 287 transitions. [2019-11-28 21:16:03,186 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 21:16:03,190 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 220 states to 220 states and 287 transitions. [2019-11-28 21:16:03,190 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 117 [2019-11-28 21:16:03,190 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 117 [2019-11-28 21:16:03,190 INFO L73 IsDeterministic]: Start isDeterministic. Operand 220 states and 287 transitions. [2019-11-28 21:16:03,191 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:03,191 INFO L688 BuchiCegarLoop]: Abstraction has 220 states and 287 transitions. [2019-11-28 21:16:03,191 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 220 states and 287 transitions. [2019-11-28 21:16:03,197 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 220 to 216. [2019-11-28 21:16:03,198 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 216 states. [2019-11-28 21:16:03,200 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 216 states to 216 states and 282 transitions. [2019-11-28 21:16:03,200 INFO L711 BuchiCegarLoop]: Abstraction has 216 states and 282 transitions. [2019-11-28 21:16:03,200 INFO L591 BuchiCegarLoop]: Abstraction has 216 states and 282 transitions. [2019-11-28 21:16:03,200 INFO L424 BuchiCegarLoop]: ======== Iteration 7============ [2019-11-28 21:16:03,201 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 216 states and 282 transitions. [2019-11-28 21:16:03,202 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 21:16:03,202 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:16:03,203 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:16:03,203 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:16:03,203 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2019-11-28 21:16:03,204 INFO L794 eck$LassoCheckResult]: Stem: 3207#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 3176#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 3163#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 3164#is_prime_ENTRY ~n := #in~n;~m := #in~m; 3166#L56 assume !(~n <= 1); 3270#L59 assume !(2 == ~n); 3269#L62 assume ~n > 2; 3266#L63 assume !(~m <= 1); 3239#L66 call #t~ret6 := multiple_of(~n, ~m);< 3261#multiple_ofENTRY ~n := #in~n;~m := #in~m; 3260#L30 assume !(~m < 0); 3259#L33 assume !(~n < 0); 3258#L36 assume !(0 == ~m); 3257#L39 assume !(0 == ~n); 3122#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 3237#multiple_ofENTRY [2019-11-28 21:16:03,204 INFO L796 eck$LassoCheckResult]: Loop: 3237#multiple_ofENTRY ~n := #in~n;~m := #in~m; 3235#L30 assume !(~m < 0); 3229#L33 assume !(~n < 0); 3230#L36 assume !(0 == ~m); 3255#L39 assume !(0 == ~n); 3121#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 3237#multiple_ofENTRY [2019-11-28 21:16:03,204 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:03,204 INFO L82 PathProgramCache]: Analyzing trace with hash 1012741841, now seen corresponding path program 1 times [2019-11-28 21:16:03,205 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:03,205 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1560472572] [2019-11-28 21:16:03,205 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:03,211 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:03,217 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:03,220 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:03,220 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:03,220 INFO L82 PathProgramCache]: Analyzing trace with hash 893418405, now seen corresponding path program 1 times [2019-11-28 21:16:03,221 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:03,221 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [519004187] [2019-11-28 21:16:03,221 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:03,224 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:03,226 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:03,227 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:03,228 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:03,228 INFO L82 PathProgramCache]: Analyzing trace with hash -2089986443, now seen corresponding path program 2 times [2019-11-28 21:16:03,228 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:03,228 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [624416372] [2019-11-28 21:16:03,229 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:03,235 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:03,242 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:03,244 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:03,305 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:03,305 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:03,305 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:03,305 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:03,305 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 21:16:03,305 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:03,305 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:03,305 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:03,306 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2019-11-28 21:16:03,306 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:03,306 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:03,308 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,312 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,323 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,325 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,326 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,328 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,330 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,391 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:03,391 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 52 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 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:03,402 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:03,402 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:03,405 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:03,405 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#res=0} Honda state: {multiple_of_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 53 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 53 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:03,411 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:03,411 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 54 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:03,429 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 21:16:03,430 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 54 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:03,544 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 21:16:03,545 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:03,546 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:03,546 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:03,546 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:03,546 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 21:16:03,546 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:03,546 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:03,546 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:03,546 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2019-11-28 21:16:03,546 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:03,546 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:03,547 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,552 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,565 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,572 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,580 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,584 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,585 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:03,661 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:03,662 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 55 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 55 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:03,671 INFO L120 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 [2019-11-28 21:16:03,672 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:03,672 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:03,672 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:03,672 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:03,672 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:03,673 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:03,673 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:03,674 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 56 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:03,689 INFO L120 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 [2019-11-28 21:16:03,691 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:03,692 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:03,692 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:03,692 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:03,692 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:03,693 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:03,693 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 56 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:03,697 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 21:16:03,700 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2019-11-28 21:16:03,700 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 57 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:03,705 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 21:16:03,705 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 21:16:03,706 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 21:16:03,706 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = 1*multiple_of_#in~n Supporting invariants [] [2019-11-28 21:16:03,708 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed Waiting until toolchain timeout for monitored process 57 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:03,755 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:03,776 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:03,777 INFO L264 TraceCheckSpWp]: Trace formula consists of 128 conjuncts, 8 conjunts are in the unsatisfiable core [2019-11-28 21:16:03,778 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:03,789 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:03,790 INFO L264 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 9 conjunts are in the unsatisfiable core [2019-11-28 21:16:03,790 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:03,832 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:03,833 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 5 loop predicates [2019-11-28 21:16:03,833 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 216 states and 282 transitions. cyclomatic complexity: 76 Second operand 6 states. [2019-11-28 21:16:03,960 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 216 states and 282 transitions. cyclomatic complexity: 76. Second operand 6 states. Result 315 states and 416 transitions. Complement of second has 21 states. [2019-11-28 21:16:03,961 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 1 stem states 4 non-accepting loop states 1 accepting loop states [2019-11-28 21:16:03,962 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 21:16:03,962 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 42 transitions. [2019-11-28 21:16:03,962 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 42 transitions. Stem has 15 letters. Loop has 6 letters. [2019-11-28 21:16:03,963 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:03,963 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 42 transitions. Stem has 21 letters. Loop has 6 letters. [2019-11-28 21:16:03,963 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:03,964 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 42 transitions. Stem has 15 letters. Loop has 12 letters. [2019-11-28 21:16:03,964 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:03,965 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 315 states and 416 transitions. [2019-11-28 21:16:03,969 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 32 [2019-11-28 21:16:03,975 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 315 states to 284 states and 368 transitions. [2019-11-28 21:16:03,975 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 140 [2019-11-28 21:16:03,975 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 142 [2019-11-28 21:16:03,976 INFO L73 IsDeterministic]: Start isDeterministic. Operand 284 states and 368 transitions. [2019-11-28 21:16:03,977 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:03,978 INFO L688 BuchiCegarLoop]: Abstraction has 284 states and 368 transitions. [2019-11-28 21:16:03,978 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 284 states and 368 transitions. [2019-11-28 21:16:03,987 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 284 to 251. [2019-11-28 21:16:03,987 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 251 states. [2019-11-28 21:16:03,989 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 251 states to 251 states and 326 transitions. [2019-11-28 21:16:03,989 INFO L711 BuchiCegarLoop]: Abstraction has 251 states and 326 transitions. [2019-11-28 21:16:03,989 INFO L591 BuchiCegarLoop]: Abstraction has 251 states and 326 transitions. [2019-11-28 21:16:03,989 INFO L424 BuchiCegarLoop]: ======== Iteration 8============ [2019-11-28 21:16:03,990 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 251 states and 326 transitions. [2019-11-28 21:16:03,991 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 21:16:03,992 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:16:03,992 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:16:03,992 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:16:03,993 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1] [2019-11-28 21:16:03,993 INFO L794 eck$LassoCheckResult]: Stem: 3849#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 3814#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 3788#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 3803#is_prime_ENTRY ~n := #in~n;~m := #in~m; 3805#L56 assume !(~n <= 1); 3787#L59 assume 2 == ~n;#res := 1; 3789#is_prime_FINAL assume true; 3863#is_prime_EXIT >#117#return; 3798#L51-1 is_prime_#res := is_prime_#t~ret5;havoc is_prime_#t~ret5; 3785#L51-2 main_#t~ret9 := is_prime_#res;main_~result~0 := main_#t~ret9;havoc main_#t~ret9;main_~f1~0 := main_#t~nondet10;havoc main_#t~nondet10; 3786#L83 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet11;havoc main_#t~nondet11; 3827#L89 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short13 := 1 == main_~result~0; 3828#L95 assume main_#t~short13; 3774#L95-1 call main_#t~ret12 := mult(main_~f1~0, main_~f2~0);< 3804#multENTRY ~n := #in~n;~m := #in~m; 3773#L16 assume !(~m < 0); 3776#L19 [2019-11-28 21:16:03,994 INFO L796 eck$LassoCheckResult]: Loop: 3776#L19 assume !(0 == ~m); 3820#L22 assume !(1 == ~m); 3795#L25 call #t~ret1 := mult(~n, ~m - 1);< 3797#multENTRY ~n := #in~n;~m := #in~m; 3833#L16 assume !(~m < 0); 3776#L19 [2019-11-28 21:16:03,994 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:03,995 INFO L82 PathProgramCache]: Analyzing trace with hash -53610220, now seen corresponding path program 1 times [2019-11-28 21:16:03,995 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:03,995 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1393868770] [2019-11-28 21:16:03,995 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:04,014 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:04,027 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:04,030 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:04,031 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:04,032 INFO L82 PathProgramCache]: Analyzing trace with hash 61271251, now seen corresponding path program 1 times [2019-11-28 21:16:04,032 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:04,033 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [648041374] [2019-11-28 21:16:04,033 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:04,039 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:04,043 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:04,046 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:04,048 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:04,049 INFO L82 PathProgramCache]: Analyzing trace with hash 102279072, now seen corresponding path program 1 times [2019-11-28 21:16:04,049 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:04,049 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1317261839] [2019-11-28 21:16:04,050 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:04,065 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:04,073 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:04,079 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:04,155 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:04,155 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:04,155 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:04,155 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:04,156 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 21:16:04,156 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:04,156 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:04,156 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:04,156 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2019-11-28 21:16:04,157 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:04,157 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:04,158 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:04,160 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:04,162 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:04,169 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:04,174 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:04,233 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:04,234 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 58 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 58 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:04,240 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:04,240 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:04,248 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:04,248 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret0=0} Honda state: {mult_#t~ret0=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 59 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 59 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:04,253 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:04,253 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:04,260 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:04,260 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret1=0} Honda state: {mult_#t~ret1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 60 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:04,267 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:04,267 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 60 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 61 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:04,285 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 21:16:04,285 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 61 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,245 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 21:16:05,247 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:05,247 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:05,247 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:05,247 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:05,248 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 21:16:05,248 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,248 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:05,248 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:05,248 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2019-11-28 21:16:05,248 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:05,248 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:05,249 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:05,250 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:05,251 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:05,256 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:05,258 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:05,327 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:05,327 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 62 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 62 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,332 INFO L120 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 [2019-11-28 21:16:05,333 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:05,333 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:05,333 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:05,333 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:05,334 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:05,334 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:05,334 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:05,336 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 63 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 63 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,347 INFO L120 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 [2019-11-28 21:16:05,349 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:05,349 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:05,349 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:05,349 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:05,349 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:05,349 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:05,349 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:05,351 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:05,357 INFO L120 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 [2019-11-28 21:16:05,359 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:05,360 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:05,360 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:05,360 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:05,360 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:05,361 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:05,362 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,366 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 65 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 65 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,371 INFO L120 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 [2019-11-28 21:16:05,373 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:05,373 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:05,373 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:05,373 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:05,373 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:05,373 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:05,374 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:05,375 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 66 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 66 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,380 INFO L120 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 [2019-11-28 21:16:05,381 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:05,382 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:05,382 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:05,382 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:05,382 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:05,383 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:05,383 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:05,385 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 21:16:05,386 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2019-11-28 21:16:05,387 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 67 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:05,391 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 21:16:05,391 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. Waiting until toolchain timeout for monitored process 67 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,391 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 21:16:05,392 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] [2019-11-28 21:16:05,393 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 21:16:05,403 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:05,426 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:05,426 INFO L264 TraceCheckSpWp]: Trace formula consists of 109 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-28 21:16:05,428 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:05,454 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:05,455 INFO L264 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 21:16:05,455 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:05,478 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:05,479 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 [2019-11-28 21:16:05,479 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 251 states and 326 transitions. cyclomatic complexity: 87 Second operand 6 states. [2019-11-28 21:16:05,585 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 251 states and 326 transitions. cyclomatic complexity: 87. Second operand 6 states. Result 275 states and 353 transitions. Complement of second has 17 states. [2019-11-28 21:16:05,586 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 2 stem states 3 non-accepting loop states 1 accepting loop states [2019-11-28 21:16:05,586 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 21:16:05,586 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 51 transitions. [2019-11-28 21:16:05,587 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 51 transitions. Stem has 16 letters. Loop has 5 letters. [2019-11-28 21:16:05,587 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:05,587 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 51 transitions. Stem has 21 letters. Loop has 5 letters. [2019-11-28 21:16:05,587 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:05,587 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 51 transitions. Stem has 16 letters. Loop has 10 letters. [2019-11-28 21:16:05,587 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:05,588 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 275 states and 353 transitions. [2019-11-28 21:16:05,591 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 21:16:05,595 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 275 states to 274 states and 352 transitions. [2019-11-28 21:16:05,595 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 132 [2019-11-28 21:16:05,596 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 135 [2019-11-28 21:16:05,596 INFO L73 IsDeterministic]: Start isDeterministic. Operand 274 states and 352 transitions. [2019-11-28 21:16:05,596 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:05,596 INFO L688 BuchiCegarLoop]: Abstraction has 274 states and 352 transitions. [2019-11-28 21:16:05,597 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 274 states and 352 transitions. [2019-11-28 21:16:05,604 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 274 to 261. [2019-11-28 21:16:05,604 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 261 states. [2019-11-28 21:16:05,606 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 261 states to 261 states and 338 transitions. [2019-11-28 21:16:05,606 INFO L711 BuchiCegarLoop]: Abstraction has 261 states and 338 transitions. [2019-11-28 21:16:05,607 INFO L591 BuchiCegarLoop]: Abstraction has 261 states and 338 transitions. [2019-11-28 21:16:05,607 INFO L424 BuchiCegarLoop]: ======== Iteration 9============ [2019-11-28 21:16:05,607 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 261 states and 338 transitions. [2019-11-28 21:16:05,609 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 21:16:05,609 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:16:05,609 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:16:05,610 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:16:05,610 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 21:16:05,611 INFO L794 eck$LassoCheckResult]: Stem: 4481#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 4451#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 4438#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 4439#is_prime_ENTRY ~n := #in~n;~m := #in~m; 4441#L56 assume !(~n <= 1); 4495#L59 assume 2 == ~n;#res := 1; 4494#is_prime_FINAL assume true; 4492#is_prime_EXIT >#117#return; 4430#L51-1 is_prime_#res := is_prime_#t~ret5;havoc is_prime_#t~ret5; 4414#L51-2 main_#t~ret9 := is_prime_#res;main_~result~0 := main_#t~ret9;havoc main_#t~ret9;main_~f1~0 := main_#t~nondet10;havoc main_#t~nondet10; 4415#L83 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet11;havoc main_#t~nondet11; 4470#L89 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short13 := 1 == main_~result~0; 4471#L95 assume main_#t~short13; 4403#L95-1 call main_#t~ret12 := mult(main_~f1~0, main_~f2~0);< 4440#multENTRY ~n := #in~n;~m := #in~m; 4402#L16 assume !(~m < 0); 4404#L19 assume !(0 == ~m); 4466#L22 assume !(1 == ~m); 4472#L25 call #t~ret1 := mult(~n, ~m - 1);< 4649#multENTRY ~n := #in~n;~m := #in~m; 4500#L16 assume ~m < 0; 4426#L17 [2019-11-28 21:16:05,611 INFO L796 eck$LassoCheckResult]: Loop: 4426#L17 call #t~ret0 := mult(~n, -~m);< 4427#multENTRY ~n := #in~n;~m := #in~m; 4501#L16 assume ~m < 0; 4426#L17 [2019-11-28 21:16:05,611 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:05,611 INFO L82 PathProgramCache]: Analyzing trace with hash 102279069, now seen corresponding path program 1 times [2019-11-28 21:16:05,612 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:05,612 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [462481210] [2019-11-28 21:16:05,612 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:05,617 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:05,657 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:05,660 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:05,660 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [462481210] [2019-11-28 21:16:05,660 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 21:16:05,660 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2019-11-28 21:16:05,660 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [976143824] [2019-11-28 21:16:05,661 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 21:16:05,661 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:05,661 INFO L82 PathProgramCache]: Analyzing trace with hash 138194, now seen corresponding path program 2 times [2019-11-28 21:16:05,661 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:05,661 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2032145620] [2019-11-28 21:16:05,662 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:05,663 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:05,665 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:05,667 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:05,712 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:05,712 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:05,713 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:05,713 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:05,713 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 21:16:05,713 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,713 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:05,713 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:05,714 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2019-11-28 21:16:05,714 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:05,714 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:05,715 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:05,716 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:05,717 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:05,722 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:05,730 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:05,778 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:05,779 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 68 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 68 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,785 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:05,785 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:05,788 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:05,788 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret0=0} Honda state: {mult_#t~ret0=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 69 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 69 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,793 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:05,793 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:05,797 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:05,797 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret1=0} Honda state: {mult_#t~ret1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 70 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 70 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,802 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:05,802 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:05,807 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:05,807 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~n=4, mult_#in~n=4} Honda state: {mult_~n=4, mult_#in~n=4} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 71 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 71 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,812 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:05,813 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 72 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 72 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:05,823 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 21:16:05,823 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:06,482 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 21:16:06,484 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:06,484 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:06,484 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:06,484 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:06,484 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 21:16:06,484 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:06,485 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:06,485 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:06,485 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2019-11-28 21:16:06,485 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:06,485 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:06,486 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:06,487 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:06,493 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:06,497 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:06,503 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:06,547 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:06,548 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 73 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 73 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:06,554 INFO L120 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 [2019-11-28 21:16:06,556 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:06,556 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:06,556 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:06,557 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:06,557 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:06,558 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:06,558 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:06,564 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 74 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:06,570 INFO L120 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 [2019-11-28 21:16:06,572 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:06,572 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:06,572 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:06,572 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:06,572 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:06,573 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:06,573 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 74 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:06,576 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 75 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:06,588 INFO L120 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 [2019-11-28 21:16:06,589 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:06,590 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:06,590 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:06,590 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:06,590 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:06,591 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:06,591 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 75 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:06,593 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 76 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:06,599 INFO L120 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 [2019-11-28 21:16:06,601 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:06,602 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:06,602 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:06,602 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:06,602 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:06,603 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:06,603 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 76 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:06,607 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 21:16:06,609 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2019-11-28 21:16:06,609 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 77 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:06,614 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 21:16:06,614 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 21:16:06,614 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 21:16:06,614 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] [2019-11-28 21:16:06,616 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed Waiting until toolchain timeout for monitored process 77 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:06,652 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:06,684 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:06,685 INFO L264 TraceCheckSpWp]: Trace formula consists of 150 conjuncts, 8 conjunts are in the unsatisfiable core [2019-11-28 21:16:06,687 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:06,712 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:06,712 INFO L264 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 21:16:06,713 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:06,734 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:06,734 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 [2019-11-28 21:16:06,735 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 261 states and 338 transitions. cyclomatic complexity: 90 Second operand 5 states. [2019-11-28 21:16:06,830 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 261 states and 338 transitions. cyclomatic complexity: 90. Second operand 5 states. Result 302 states and 384 transitions. Complement of second has 11 states. [2019-11-28 21:16:06,830 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 [2019-11-28 21:16:06,830 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2019-11-28 21:16:06,831 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 53 transitions. [2019-11-28 21:16:06,831 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 53 transitions. Stem has 21 letters. Loop has 3 letters. [2019-11-28 21:16:06,831 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:06,832 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 53 transitions. Stem has 24 letters. Loop has 3 letters. [2019-11-28 21:16:06,832 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:06,832 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 53 transitions. Stem has 21 letters. Loop has 6 letters. [2019-11-28 21:16:06,832 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:06,833 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 302 states and 384 transitions. [2019-11-28 21:16:06,837 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 21:16:06,841 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 302 states to 292 states and 374 transitions. [2019-11-28 21:16:06,841 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 143 [2019-11-28 21:16:06,842 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 145 [2019-11-28 21:16:06,842 INFO L73 IsDeterministic]: Start isDeterministic. Operand 292 states and 374 transitions. [2019-11-28 21:16:06,842 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:06,842 INFO L688 BuchiCegarLoop]: Abstraction has 292 states and 374 transitions. [2019-11-28 21:16:06,843 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 292 states and 374 transitions. [2019-11-28 21:16:06,850 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 292 to 279. [2019-11-28 21:16:06,851 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 279 states. [2019-11-28 21:16:06,853 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 279 states to 279 states and 360 transitions. [2019-11-28 21:16:06,853 INFO L711 BuchiCegarLoop]: Abstraction has 279 states and 360 transitions. [2019-11-28 21:16:06,853 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 21:16:06,854 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2019-11-28 21:16:06,854 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=12, Invalid=18, Unknown=0, NotChecked=0, Total=30 [2019-11-28 21:16:06,854 INFO L87 Difference]: Start difference. First operand 279 states and 360 transitions. Second operand 6 states. [2019-11-28 21:16:06,895 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 21:16:06,895 INFO L93 Difference]: Finished difference Result 275 states and 351 transitions. [2019-11-28 21:16:06,895 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2019-11-28 21:16:06,896 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 275 states and 351 transitions. [2019-11-28 21:16:06,899 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 21:16:06,902 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 275 states to 196 states and 236 transitions. [2019-11-28 21:16:06,903 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 71 [2019-11-28 21:16:06,903 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 71 [2019-11-28 21:16:06,903 INFO L73 IsDeterministic]: Start isDeterministic. Operand 196 states and 236 transitions. [2019-11-28 21:16:06,903 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:06,903 INFO L688 BuchiCegarLoop]: Abstraction has 196 states and 236 transitions. [2019-11-28 21:16:06,904 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 196 states and 236 transitions. [2019-11-28 21:16:06,909 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 196 to 170. [2019-11-28 21:16:06,909 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 170 states. [2019-11-28 21:16:06,910 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 170 states to 170 states and 209 transitions. [2019-11-28 21:16:06,911 INFO L711 BuchiCegarLoop]: Abstraction has 170 states and 209 transitions. [2019-11-28 21:16:06,911 INFO L591 BuchiCegarLoop]: Abstraction has 170 states and 209 transitions. [2019-11-28 21:16:06,911 INFO L424 BuchiCegarLoop]: ======== Iteration 10============ [2019-11-28 21:16:06,911 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 170 states and 209 transitions. [2019-11-28 21:16:06,913 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 13 [2019-11-28 21:16:06,913 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:16:06,913 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:16:06,914 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:16:06,914 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2019-11-28 21:16:06,914 INFO L794 eck$LassoCheckResult]: Stem: 5667#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 5668#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 5642#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 5655#is_prime_ENTRY ~n := #in~n;~m := #in~m; 5656#L56 assume !(~n <= 1); 5649#L59 assume !(2 == ~n); 5650#L62 assume ~n > 2; 5661#L63 assume !(~m <= 1); 5742#L66 call #t~ret6 := multiple_of(~n, ~m);< 5761#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5758#L30 assume !(~m < 0); 5747#L33 assume !(~n < 0); 5745#L36 assume !(0 == ~m); 5744#L39 assume !(0 == ~n); 5687#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 5738#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5739#L30 assume !(~m < 0); 5764#L33 assume ~n < 0; 5626#L34 call #t~ret3 := multiple_of(-~n, ~m);< 5763#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5679#L30 assume !(~m < 0); 5623#L33 assume !(~n < 0); 5625#L36 [2019-11-28 21:16:06,915 INFO L796 eck$LassoCheckResult]: Loop: 5625#L36 assume !(0 == ~m); 5653#L39 assume !(0 == ~n); 5645#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 5644#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5789#L30 assume !(~m < 0); 5782#L33 assume !(~n < 0); 5625#L36 [2019-11-28 21:16:06,915 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:06,915 INFO L82 PathProgramCache]: Analyzing trace with hash -365122516, now seen corresponding path program 1 times [2019-11-28 21:16:06,916 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:06,916 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [872876847] [2019-11-28 21:16:06,916 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:06,921 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:06,987 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:06,988 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [872876847] [2019-11-28 21:16:06,988 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [17621555] [2019-11-28 21:16:06,988 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 78 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 78 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 21:16:07,030 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:07,031 INFO L264 TraceCheckSpWp]: Trace formula consists of 62 conjuncts, 11 conjunts are in the unsatisfiable core [2019-11-28 21:16:07,034 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:07,049 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:07,049 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2019-11-28 21:16:07,049 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 8 [2019-11-28 21:16:07,050 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1805329478] [2019-11-28 21:16:07,051 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 21:16:07,051 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:07,052 INFO L82 PathProgramCache]: Analyzing trace with hash 1367317725, now seen corresponding path program 2 times [2019-11-28 21:16:07,052 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:07,052 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1595083460] [2019-11-28 21:16:07,052 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:07,056 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:07,059 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:07,062 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [MP z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (51)] Exception during sending of exit command (exit): Stream closed [2019-11-28 21:16:07,192 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:07,192 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:07,192 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:07,193 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:07,193 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 21:16:07,193 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:07,193 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:07,193 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:07,193 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration10_Loop [2019-11-28 21:16:07,193 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:07,194 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:07,194 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:07,199 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:07,218 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:07,220 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:07,222 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:07,299 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:07,299 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 79 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 79 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:07,304 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:07,304 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:07,306 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 21:16:07,306 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret2=0} Honda state: {multiple_of_#t~ret2=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 80 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 80 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:07,312 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 21:16:07,312 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 81 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 81 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:07,324 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 21:16:07,324 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 21:16:09,753 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 21:16:09,755 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 21:16:09,755 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 21:16:09,755 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 21:16:09,755 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 21:16:09,755 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 21:16:09,755 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:09,755 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 21:16:09,755 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 21:16:09,756 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration10_Loop [2019-11-28 21:16:09,756 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 21:16:09,756 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 21:16:09,757 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:09,769 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:09,771 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:09,778 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:09,779 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 21:16:09,849 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 21:16:09,849 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 82 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 82 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:09,857 INFO L120 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 [2019-11-28 21:16:09,859 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 21:16:09,860 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 21:16:09,860 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 21:16:09,860 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 21:16:09,860 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 21:16:09,862 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 21:16:09,862 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 21:16:09,873 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 21:16:09,878 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2019-11-28 21:16:09,878 INFO L444 ModelExtractionUtils]: 3 out of 6 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 83 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 21:16:09,883 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 21:16:09,883 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 21:16:09,884 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 21:16:09,884 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_~n) = 1*multiple_of_~n Supporting invariants [] [2019-11-28 21:16:09,886 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed Waiting until toolchain timeout for monitored process 83 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 21:16:09,934 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:09,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:09,959 INFO L264 TraceCheckSpWp]: Trace formula consists of 174 conjuncts, 10 conjunts are in the unsatisfiable core [2019-11-28 21:16:09,960 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:09,975 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:09,976 INFO L264 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 11 conjunts are in the unsatisfiable core [2019-11-28 21:16:09,977 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:10,005 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 21:16:10,028 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 21:16:10,044 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:10,045 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 5 loop predicates [2019-11-28 21:16:10,045 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49 Second operand 6 states. [2019-11-28 21:16:10,189 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49. Second operand 6 states. Result 197 states and 241 transitions. Complement of second has 15 states. [2019-11-28 21:16:10,189 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 1 stem states 4 non-accepting loop states 1 accepting loop states [2019-11-28 21:16:10,189 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 21:16:10,190 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 21 transitions. [2019-11-28 21:16:10,190 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 21 transitions. Stem has 22 letters. Loop has 6 letters. [2019-11-28 21:16:10,190 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:10,190 INFO L639 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2019-11-28 21:16:10,198 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:10,224 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:10,225 INFO L264 TraceCheckSpWp]: Trace formula consists of 174 conjuncts, 10 conjunts are in the unsatisfiable core [2019-11-28 21:16:10,226 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:10,236 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:10,237 INFO L264 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 11 conjunts are in the unsatisfiable core [2019-11-28 21:16:10,238 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:10,272 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 21:16:10,287 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 21:16:10,301 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:10,302 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and with honda bouncer for loop.1 stem predicates 5 loop predicates [2019-11-28 21:16:10,302 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49 Second operand 6 states. [2019-11-28 21:16:10,450 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49. Second operand 6 states. Result 197 states and 241 transitions. Complement of second has 15 states. [2019-11-28 21:16:10,451 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 1 stem states 4 non-accepting loop states 1 accepting loop states [2019-11-28 21:16:10,451 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 21:16:10,452 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 21 transitions. [2019-11-28 21:16:10,452 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 21 transitions. Stem has 22 letters. Loop has 6 letters. [2019-11-28 21:16:10,452 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:10,452 INFO L639 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2019-11-28 21:16:10,470 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:10,498 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:10,500 INFO L264 TraceCheckSpWp]: Trace formula consists of 174 conjuncts, 10 conjunts are in the unsatisfiable core [2019-11-28 21:16:10,500 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:10,510 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 21:16:10,511 INFO L264 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 11 conjunts are in the unsatisfiable core [2019-11-28 21:16:10,512 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 21:16:10,537 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 21:16:10,557 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 21:16:10,569 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 21:16:10,569 INFO L152 lantAutomatonBouncer]: Defining Buchi interpolant automaton with scrooge nondeterminism in stemwith honda bouncer for stem and without honda bouncer for loop.1 stem predicates 5 loop predicates [2019-11-28 21:16:10,570 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49 Second operand 6 states. [2019-11-28 21:16:10,741 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49. Second operand 6 states. Result 265 states and 319 transitions. Complement of second has 16 states. [2019-11-28 21:16:10,741 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 1 stem states 4 non-accepting loop states 1 accepting loop states [2019-11-28 21:16:10,742 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 21:16:10,742 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 36 transitions. [2019-11-28 21:16:10,742 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 36 transitions. Stem has 22 letters. Loop has 6 letters. [2019-11-28 21:16:10,742 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:10,742 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 36 transitions. Stem has 28 letters. Loop has 6 letters. [2019-11-28 21:16:10,743 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:10,743 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 36 transitions. Stem has 22 letters. Loop has 12 letters. [2019-11-28 21:16:10,744 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 21:16:10,744 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 265 states and 319 transitions. [2019-11-28 21:16:10,747 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 21 [2019-11-28 21:16:10,749 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 265 states to 223 states and 270 transitions. [2019-11-28 21:16:10,750 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 52 [2019-11-28 21:16:10,750 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 60 [2019-11-28 21:16:10,750 INFO L73 IsDeterministic]: Start isDeterministic. Operand 223 states and 270 transitions. [2019-11-28 21:16:10,750 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:10,751 INFO L688 BuchiCegarLoop]: Abstraction has 223 states and 270 transitions. [2019-11-28 21:16:10,751 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 223 states and 270 transitions. [2019-11-28 21:16:10,756 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 223 to 182. [2019-11-28 21:16:10,756 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 182 states. [2019-11-28 21:16:10,757 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 182 states to 182 states and 226 transitions. [2019-11-28 21:16:10,757 INFO L711 BuchiCegarLoop]: Abstraction has 182 states and 226 transitions. [2019-11-28 21:16:10,758 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 21:16:10,758 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2019-11-28 21:16:10,758 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2019-11-28 21:16:10,758 INFO L87 Difference]: Start difference. First operand 182 states and 226 transitions. Second operand 8 states. [2019-11-28 21:16:10,889 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 21:16:10,889 INFO L93 Difference]: Finished difference Result 243 states and 299 transitions. [2019-11-28 21:16:10,889 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2019-11-28 21:16:10,890 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 243 states and 299 transitions. [2019-11-28 21:16:10,893 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 16 [2019-11-28 21:16:10,895 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 243 states to 233 states and 289 transitions. [2019-11-28 21:16:10,896 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 45 [2019-11-28 21:16:10,896 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 45 [2019-11-28 21:16:10,896 INFO L73 IsDeterministic]: Start isDeterministic. Operand 233 states and 289 transitions. [2019-11-28 21:16:10,897 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 21:16:10,897 INFO L688 BuchiCegarLoop]: Abstraction has 233 states and 289 transitions. [2019-11-28 21:16:10,897 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 233 states and 289 transitions. [2019-11-28 21:16:10,902 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 233 to 212. [2019-11-28 21:16:10,902 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 212 states. [2019-11-28 21:16:10,904 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 212 states to 212 states and 266 transitions. [2019-11-28 21:16:10,904 INFO L711 BuchiCegarLoop]: Abstraction has 212 states and 266 transitions. [2019-11-28 21:16:10,904 INFO L591 BuchiCegarLoop]: Abstraction has 212 states and 266 transitions. [2019-11-28 21:16:10,904 INFO L424 BuchiCegarLoop]: ======== Iteration 11============ [2019-11-28 21:16:10,905 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 212 states and 266 transitions. [2019-11-28 21:16:10,906 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 16 [2019-11-28 21:16:10,906 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 21:16:10,906 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 21:16:10,907 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [4, 4, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 21:16:10,907 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2019-11-28 21:16:10,908 INFO L794 eck$LassoCheckResult]: Stem: 7342#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 7343#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 7301#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 7325#is_prime_ENTRY ~n := #in~n;~m := #in~m; 7326#L56 assume !(~n <= 1); 7349#L59 assume !(2 == ~n); 7331#L62 assume ~n > 2; 7332#L63 assume !(~m <= 1); 7352#L66 call #t~ret6 := multiple_of(~n, ~m);< 7353#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7403#L30 assume !(~m < 0); 7402#L33 assume !(~n < 0); 7401#L36 assume !(0 == ~m); 7386#L39 assume !(0 == ~n); 7379#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 7395#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7394#L30 assume !(~m < 0); 7393#L33 assume !(~n < 0); 7385#L36 assume !(0 == ~m); 7382#L39 assume !(0 == ~n); 7369#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 7378#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7377#L30 assume !(~m < 0); 7368#L33 assume ~n < 0; 7294#L34 call #t~ret3 := multiple_of(-~n, ~m);< 7373#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7372#L30 assume !(~m < 0); 7292#L33 assume !(~n < 0); 7295#L36 [2019-11-28 21:16:10,908 INFO L796 eck$LassoCheckResult]: Loop: 7295#L36 assume !(0 == ~m); 7338#L39 assume !(0 == ~n); 7313#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 7358#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7396#L30 assume !(~m < 0); 7374#L33 assume ~n < 0; 7312#L34 call #t~ret3 := multiple_of(-~n, ~m);< 7314#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7375#L30 assume !(~m < 0); 7376#L33 assume !(~n < 0); 7295#L36 [2019-11-28 21:16:10,908 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:10,908 INFO L82 PathProgramCache]: Analyzing trace with hash 1641835528, now seen corresponding path program 2 times [2019-11-28 21:16:10,909 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:10,909 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [387256295] [2019-11-28 21:16:10,909 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:10,916 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:10,922 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:10,925 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:10,925 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:10,926 INFO L82 PathProgramCache]: Analyzing trace with hash 478329012, now seen corresponding path program 1 times [2019-11-28 21:16:10,926 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:10,926 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1282176118] [2019-11-28 21:16:10,926 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:10,929 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:10,931 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:10,933 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:10,934 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 21:16:10,934 INFO L82 PathProgramCache]: Analyzing trace with hash 1762199547, now seen corresponding path program 3 times [2019-11-28 21:16:10,934 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 21:16:10,934 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [991829151] [2019-11-28 21:16:10,935 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 21:16:10,942 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:10,949 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 21:16:10,955 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 21:16:11,755 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.11 09:16:11 BoogieIcfgContainer [2019-11-28 21:16:11,755 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2019-11-28 21:16:11,756 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2019-11-28 21:16:11,756 INFO L271 PluginConnector]: Initializing Witness Printer... [2019-11-28 21:16:11,756 INFO L275 PluginConnector]: Witness Printer initialized [2019-11-28 21:16:11,757 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 09:15:55" (3/4) ... [2019-11-28 21:16:11,761 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2019-11-28 21:16:11,809 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2019-11-28 21:16:11,811 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2019-11-28 21:16:11,813 INFO L168 Benchmark]: Toolchain (without parser) took 16809.76 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 316.7 MB). Free memory was 952.3 MB in the beginning and 964.3 MB in the end (delta: -11.9 MB). Peak memory consumption was 304.7 MB. Max. memory is 11.5 GB. [2019-11-28 21:16:11,818 INFO L168 Benchmark]: CDTParser took 0.19 ms. Allocated memory is still 1.0 GB. Free memory is still 981.8 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 21:16:11,818 INFO L168 Benchmark]: CACSL2BoogieTranslator took 355.88 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 137.9 MB). Free memory was 952.3 MB in the beginning and 1.1 GB in the end (delta: -182.2 MB). Peak memory consumption was 20.4 MB. Max. memory is 11.5 GB. [2019-11-28 21:16:11,819 INFO L168 Benchmark]: Boogie Procedure Inliner took 34.46 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.6 MB). Peak memory consumption was 6.6 MB. Max. memory is 11.5 GB. [2019-11-28 21:16:11,819 INFO L168 Benchmark]: Boogie Preprocessor took 19.50 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 21:16:11,820 INFO L168 Benchmark]: RCFGBuilder took 411.76 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 24.3 MB). Peak memory consumption was 24.3 MB. Max. memory is 11.5 GB. [2019-11-28 21:16:11,821 INFO L168 Benchmark]: BuchiAutomizer took 15928.60 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 178.8 MB). Free memory was 1.1 GB in the beginning and 964.3 MB in the end (delta: 139.4 MB). Peak memory consumption was 318.2 MB. Max. memory is 11.5 GB. [2019-11-28 21:16:11,822 INFO L168 Benchmark]: Witness Printer took 54.96 ms. Allocated memory is still 1.3 GB. Free memory is still 964.3 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 21:16:11,824 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.19 ms. Allocated memory is still 1.0 GB. Free memory is still 981.8 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 355.88 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 137.9 MB). Free memory was 952.3 MB in the beginning and 1.1 GB in the end (delta: -182.2 MB). Peak memory consumption was 20.4 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 34.46 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.6 MB). Peak memory consumption was 6.6 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 19.50 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 411.76 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 24.3 MB). Peak memory consumption was 24.3 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 15928.60 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 178.8 MB). Free memory was 1.1 GB in the beginning and 964.3 MB in the end (delta: 139.4 MB). Peak memory consumption was 318.2 MB. Max. memory is 11.5 GB. * Witness Printer took 54.96 ms. Allocated memory is still 1.3 GB. Free memory is still 964.3 MB. 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 16 terminating modules (8 trivial, 7 deterministic, 1 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function \old(m) and consists of 9 locations. One deterministic module has affine ranking function m and consists of 5 locations. One deterministic module has affine ranking function -1 * \old(m) and consists of 5 locations. One deterministic module has affine ranking function -1 * \old(n) and consists of 4 locations. One deterministic module has affine ranking function \old(n) and consists of 6 locations. One deterministic module has affine ranking function m and consists of 6 locations. One deterministic module has affine ranking function m and consists of 5 locations. One nondeterministic module has affine ranking function n and consists of 6 locations. 8 modules have a trivial ranking function, the largest among these consists of 10 locations. The remainder module has 212 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 15.8s and 11 iterations. TraceHistogramMax:4. Analysis of lassos took 11.4s. Construction of modules took 1.1s. Büchi inclusion checks took 2.6s. Highest rank in rank-based complementation 3. Minimization of det autom 2. Minimization of nondet autom 14. Automata minimization 0.2s AutomataMinimizationTime, 16 MinimizatonAttempts, 304 StatesRemovedByMinimization, 16 NontrivialMinimizations. Non-live state removal took 0.1s Buchi closure took 0.0s. Biggest automaton had 261 states and ocurred in iteration 8. Nontrivial modules had stage [7, 0, 1, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 1/7 HoareTripleCheckerStatistics: 693 SDtfs, 703 SDslu, 1178 SDs, 0 SdLazy, 968 SolverSat, 199 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1.1s Time LassoAnalysisResults: nont1 unkn0 SFLI2 SFLT2 conc0 concLT1 SILN0 SILU0 SILI0 SILT5 lasso0 LassoPreprocessingBenchmarks: Lassos: inital20 mio100 ax100 hnf99 lsp81 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq175 hnf92 smp90 dnf100 smp100 tf109 neg98 sie109 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 27ms VariablesStem: 0 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 0 MotzkinApplications: 2 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 24 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 8 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 6.2s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 36]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {} State at position 1 is {n=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1adcb728=0, \result=0, f1=0, m=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@34fbdc55=0, n=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@70998603=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1e48c745=0, result=0, f2=0, m=2, n=1, \result=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@23be5ecf=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@54601aa6=0, \old(n)=1, \old(m)=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@29644eba=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@12a96479=0, n=0, \old(n)=0, \result=0, \old(m)=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@561214d6=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@134889a2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@11ab82c=0, \old(n)=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@5d4023ed=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 36]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L75] int n = __VERIFIER_nondet_int(); [L76] COND FALSE !(n < 1 || n > 46340) [L51] CALL is_prime_(n, n - 1) [L56] COND FALSE !(n <= 1) [L59] COND FALSE !(n == 2) [L62] COND TRUE n > 2 [L63] COND FALSE !(m <= 1) [L66] CALL multiple_of(n, m) [L30] COND FALSE !(m < 0) [L33] COND FALSE !(n < 0) [L36] COND FALSE !(m == 0) [L39] COND FALSE !(n == 0) [L42] CALL multiple_of(n - m, m) [L30] COND FALSE !(m < 0) [L33] COND FALSE !(n < 0) [L36] COND FALSE !(m == 0) [L39] COND FALSE !(n == 0) [L42] CALL multiple_of(n - m, m) [L30] COND FALSE !(m < 0) [L33] COND TRUE n < 0 [L34] CALL multiple_of(-n, m) [L30] COND FALSE !(m < 0) [L33] COND FALSE !(n < 0) Loop: [L36] COND FALSE !(m == 0) [L39] COND FALSE !(n == 0) [L42] CALL multiple_of(n - m, m) [L30] COND FALSE !(m < 0) [L33] COND TRUE n < 0 [L34] CALL multiple_of(-n, m) [L30] COND FALSE !(m < 0) [L33] COND FALSE !(n < 0) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...