./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 9a8b2e8d Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.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 c04652d270e46f53d045684d293397aaf1836f58 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 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-9a8b2e8 [2020-10-20 07:59:53,393 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-20 07:59:53,397 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-20 07:59:53,439 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-20 07:59:53,440 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-20 07:59:53,449 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-20 07:59:53,452 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-20 07:59:53,456 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-20 07:59:53,459 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-20 07:59:53,462 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-20 07:59:53,464 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-20 07:59:53,466 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-20 07:59:53,466 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-20 07:59:53,470 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-20 07:59:53,471 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-20 07:59:53,473 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-20 07:59:53,475 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-20 07:59:53,476 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-20 07:59:53,479 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-20 07:59:53,486 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-20 07:59:53,489 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-20 07:59:53,491 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-20 07:59:53,493 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-20 07:59:53,494 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-20 07:59:53,507 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-20 07:59:53,509 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-20 07:59:53,510 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-20 07:59:53,511 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-20 07:59:53,515 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-20 07:59:53,517 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-20 07:59:53,517 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-20 07:59:53,518 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-20 07:59:53,518 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-20 07:59:53,519 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-20 07:59:53,520 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-20 07:59:53,520 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-20 07:59:53,521 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-20 07:59:53,521 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-20 07:59:53,521 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-20 07:59:53,522 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-20 07:59:53,523 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-20 07:59:53,524 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-10-20 07:59:53,570 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-20 07:59:53,573 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-20 07:59:53,575 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-20 07:59:53,575 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-20 07:59:53,576 INFO L138 SettingsManager]: * Use SBE=true [2020-10-20 07:59:53,576 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-20 07:59:53,577 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-20 07:59:53,577 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-20 07:59:53,577 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-20 07:59:53,577 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-20 07:59:53,579 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-20 07:59:53,579 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-20 07:59:53,579 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-20 07:59:53,580 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-20 07:59:53,580 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-20 07:59:53,581 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-20 07:59:53,582 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-20 07:59:53,582 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-20 07:59:53,582 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-20 07:59:53,583 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-20 07:59:53,583 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-20 07:59:53,583 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-20 07:59:53,584 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-20 07:59:53,584 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-20 07:59:53,584 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-20 07:59:53,584 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-20 07:59:53,585 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-20 07:59:53,585 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-20 07:59:53,585 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-20 07:59:53,585 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-20 07:59:53,586 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-20 07:59:53,586 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-20 07:59:53,587 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-20 07:59:53,587 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 -> c04652d270e46f53d045684d293397aaf1836f58 [2020-10-20 07:59:53,797 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-20 07:59:53,812 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-20 07:59:53,816 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-20 07:59:53,818 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-20 07:59:53,818 INFO L275 PluginConnector]: CDTParser initialized [2020-10-20 07:59:53,819 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/recursive/Primes.c [2020-10-20 07:59:53,881 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/674199ee0/8dbbf9fbf1ce46d18c89e93841d5e1c7/FLAG6970ffdd7 [2020-10-20 07:59:54,381 INFO L306 CDTParser]: Found 1 translation units. [2020-10-20 07:59:54,384 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive/Primes.c [2020-10-20 07:59:54,392 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/674199ee0/8dbbf9fbf1ce46d18c89e93841d5e1c7/FLAG6970ffdd7 [2020-10-20 07:59:54,739 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/674199ee0/8dbbf9fbf1ce46d18c89e93841d5e1c7 [2020-10-20 07:59:54,743 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-20 07:59:54,751 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-20 07:59:54,752 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-20 07:59:54,752 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-20 07:59:54,756 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-20 07:59:54,758 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.10 07:59:54" (1/1) ... [2020-10-20 07:59:54,761 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@ce49abd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:54, skipping insertion in model container [2020-10-20 07:59:54,762 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.10 07:59:54" (1/1) ... [2020-10-20 07:59:54,771 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-20 07:59:54,797 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-20 07:59:55,139 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-20 07:59:55,153 INFO L203 MainTranslator]: Completed pre-run [2020-10-20 07:59:55,178 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-20 07:59:55,197 INFO L208 MainTranslator]: Completed translation [2020-10-20 07:59:55,198 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55 WrapperNode [2020-10-20 07:59:55,198 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-20 07:59:55,199 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-20 07:59:55,199 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-20 07:59:55,200 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-20 07:59:55,210 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55" (1/1) ... [2020-10-20 07:59:55,220 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55" (1/1) ... [2020-10-20 07:59:55,242 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-20 07:59:55,243 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-20 07:59:55,243 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-20 07:59:55,244 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-20 07:59:55,254 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55" (1/1) ... [2020-10-20 07:59:55,254 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55" (1/1) ... [2020-10-20 07:59:55,257 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55" (1/1) ... [2020-10-20 07:59:55,257 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55" (1/1) ... [2020-10-20 07:59:55,262 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55" (1/1) ... [2020-10-20 07:59:55,266 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55" (1/1) ... [2020-10-20 07:59:55,268 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55" (1/1) ... [2020-10-20 07:59:55,271 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-20 07:59:55,271 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-20 07:59:55,272 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-20 07:59:55,272 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-20 07:59:55,273 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59: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 [2020-10-20 07:59:55,345 INFO L130 BoogieDeclarations]: Found specification of procedure multiple_of [2020-10-20 07:59:55,346 INFO L138 BoogieDeclarations]: Found implementation of procedure multiple_of [2020-10-20 07:59:55,346 INFO L130 BoogieDeclarations]: Found specification of procedure mult [2020-10-20 07:59:55,346 INFO L138 BoogieDeclarations]: Found implementation of procedure mult [2020-10-20 07:59:55,347 INFO L130 BoogieDeclarations]: Found specification of procedure is_prime_ [2020-10-20 07:59:55,347 INFO L138 BoogieDeclarations]: Found implementation of procedure is_prime_ [2020-10-20 07:59:55,347 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-10-20 07:59:55,347 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-20 07:59:55,347 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-20 07:59:55,348 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-20 07:59:55,744 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-20 07:59:55,745 INFO L298 CfgBuilder]: Removed 8 assume(true) statements. [2020-10-20 07:59:55,747 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 07:59:55 BoogieIcfgContainer [2020-10-20 07:59:55,747 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-20 07:59:55,748 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-20 07:59:55,748 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-20 07:59:55,752 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-20 07:59:55,753 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-20 07:59:55,754 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 20.10 07:59:54" (1/3) ... [2020-10-20 07:59:55,755 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@13d20fee and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 20.10 07:59:55, skipping insertion in model container [2020-10-20 07:59:55,755 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-20 07:59:55,756 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.10 07:59:55" (2/3) ... [2020-10-20 07:59:55,756 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@13d20fee and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 20.10 07:59:55, skipping insertion in model container [2020-10-20 07:59:55,756 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-20 07:59:55,756 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 07:59:55" (3/3) ... [2020-10-20 07:59:55,759 INFO L373 chiAutomizerObserver]: Analyzing ICFG Primes.c [2020-10-20 07:59:55,819 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-20 07:59:55,819 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-20 07:59:55,819 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-20 07:59:55,819 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-20 07:59:55,822 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-20 07:59:55,822 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-20 07:59:55,822 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-20 07:59:55,823 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-20 07:59:55,844 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 51 states. [2020-10-20 07:59:55,871 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-20 07:59:55,872 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 07:59:55,872 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 07:59:55,880 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-20 07:59:55,880 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 07:59:55,880 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-20 07:59:55,880 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 51 states. [2020-10-20 07:59:55,886 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-20 07:59:55,886 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 07:59:55,886 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 07:59:55,887 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-20 07:59:55,887 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 07:59:55,895 INFO L794 eck$LassoCheckResult]: Stem: 21#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 8#L-1true havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 33#L78true assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 45#L53true call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 7#is_prime_ENTRYtrue [2020-10-20 07:59:55,895 INFO L796 eck$LassoCheckResult]: Loop: 7#is_prime_ENTRYtrue ~n := #in~n;~m := #in~m; 18#L58true assume !(~n <= 1); 6#L61true assume !(2 == ~n); 43#L64true assume ~n > 2; 10#L65true assume !(~m <= 1); 51#L68true call #t~ret13 := multiple_of(~n, ~m);< 50#multiple_ofENTRYtrue ~n := #in~n;~m := #in~m; 52#L32true assume !(~m < 0); 40#L35true assume !(~n < 0); 9#L38true assume 0 == ~m;#res := 0; 20#multiple_ofFINALtrue assume true; 38#multiple_ofEXITtrue >#124#return; 53#L68-1true assume !(0 == #t~ret13);havoc #t~ret13; 41#L71true call #t~ret14 := is_prime_(~n, ~m - 1);< 7#is_prime_ENTRYtrue [2020-10-20 07:59:55,903 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 07:59:55,904 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 1 times [2020-10-20 07:59:55,927 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 07:59:55,927 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1307287151] [2020-10-20 07:59:55,928 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 07:59:56,040 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 07:59:56,041 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 07:59:56,062 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 07:59:56,062 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 07:59:56,088 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 07:59:56,090 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 07:59:56,090 INFO L82 PathProgramCache]: Analyzing trace with hash -2140609117, now seen corresponding path program 1 times [2020-10-20 07:59:56,090 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 07:59:56,091 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1525881617] [2020-10-20 07:59:56,091 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 07:59:56,103 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 07:59:56,169 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-10-20 07:59:56,174 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 07:59:56,244 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 07:59:56,245 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1525881617] [2020-10-20 07:59:56,246 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 07:59:56,246 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 07:59:56,248 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1227828237] [2020-10-20 07:59:56,263 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 07:59:56,265 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 07:59:56,286 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 07:59:56,287 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-20 07:59:56,288 INFO L87 Difference]: Start difference. First operand 51 states. Second operand 5 states. [2020-10-20 07:59:56,429 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 07:59:56,429 INFO L93 Difference]: Finished difference Result 56 states and 80 transitions. [2020-10-20 07:59:56,430 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-20 07:59:56,432 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 56 states and 80 transitions. [2020-10-20 07:59:56,442 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-20 07:59:56,456 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 56 states to 41 states and 54 transitions. [2020-10-20 07:59:56,457 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 41 [2020-10-20 07:59:56,458 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 41 [2020-10-20 07:59:56,459 INFO L73 IsDeterministic]: Start isDeterministic. Operand 41 states and 54 transitions. [2020-10-20 07:59:56,466 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 07:59:56,466 INFO L691 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-10-20 07:59:56,488 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 41 states and 54 transitions. [2020-10-20 07:59:56,511 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 41 to 39. [2020-10-20 07:59:56,512 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 39 states. [2020-10-20 07:59:56,514 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 51 transitions. [2020-10-20 07:59:56,515 INFO L714 BuchiCegarLoop]: Abstraction has 39 states and 51 transitions. [2020-10-20 07:59:56,516 INFO L594 BuchiCegarLoop]: Abstraction has 39 states and 51 transitions. [2020-10-20 07:59:56,516 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-20 07:59:56,516 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 39 states and 51 transitions. [2020-10-20 07:59:56,518 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-20 07:59:56,518 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 07:59:56,519 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 07:59:56,519 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-20 07:59:56,520 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 07:59:56,520 INFO L794 eck$LassoCheckResult]: Stem: 162#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 149#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 150#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 139#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 146#is_prime_ENTRY [2020-10-20 07:59:56,520 INFO L796 eck$LassoCheckResult]: Loop: 146#is_prime_ENTRY ~n := #in~n;~m := #in~m; 147#L58 assume !(~n <= 1); 138#L61 assume !(2 == ~n); 142#L64 assume ~n > 2; 155#L65 assume !(~m <= 1); 135#L68 call #t~ret13 := multiple_of(~n, ~m);< 143#multiple_ofENTRY ~n := #in~n;~m := #in~m; 164#L32 assume !(~m < 0); 161#L35 assume !(~n < 0); 151#L38 assume !(0 == ~m); 152#L41 assume 0 == ~n;#res := 1; 137#multiple_ofFINAL assume true; 158#multiple_ofEXIT >#124#return; 159#L68-1 assume !(0 == #t~ret13);havoc #t~ret13; 140#L71 call #t~ret14 := is_prime_(~n, ~m - 1);< 146#is_prime_ENTRY [2020-10-20 07:59:56,521 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 07:59:56,521 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 2 times [2020-10-20 07:59:56,521 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 07:59:56,522 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [636143248] [2020-10-20 07:59:56,522 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 07:59:56,538 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 07:59:56,539 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 07:59:56,552 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 07:59:56,552 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 07:59:56,558 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 07:59:56,559 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 07:59:56,559 INFO L82 PathProgramCache]: Analyzing trace with hash -1912428317, now seen corresponding path program 1 times [2020-10-20 07:59:56,559 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 07:59:56,560 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1439321023] [2020-10-20 07:59:56,560 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 07:59:56,568 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 07:59:56,588 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-10-20 07:59:56,592 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 07:59:56,618 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 07:59:56,619 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1439321023] [2020-10-20 07:59:56,619 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 07:59:56,619 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-20 07:59:56,620 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1703293872] [2020-10-20 07:59:56,620 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-20 07:59:56,620 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 07:59:56,621 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 07:59:56,621 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-20 07:59:56,622 INFO L87 Difference]: Start difference. First operand 39 states and 51 transitions. cyclomatic complexity: 15 Second operand 5 states. [2020-10-20 07:59:56,724 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 07:59:56,724 INFO L93 Difference]: Finished difference Result 43 states and 57 transitions. [2020-10-20 07:59:56,725 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-20 07:59:56,726 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 43 states and 57 transitions. [2020-10-20 07:59:56,729 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-20 07:59:56,731 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 43 states to 43 states and 57 transitions. [2020-10-20 07:59:56,732 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 43 [2020-10-20 07:59:56,732 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 43 [2020-10-20 07:59:56,733 INFO L73 IsDeterministic]: Start isDeterministic. Operand 43 states and 57 transitions. [2020-10-20 07:59:56,734 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 07:59:56,734 INFO L691 BuchiCegarLoop]: Abstraction has 43 states and 57 transitions. [2020-10-20 07:59:56,734 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 43 states and 57 transitions. [2020-10-20 07:59:56,738 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 43 to 41. [2020-10-20 07:59:56,739 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2020-10-20 07:59:56,740 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 54 transitions. [2020-10-20 07:59:56,740 INFO L714 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-10-20 07:59:56,740 INFO L594 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-10-20 07:59:56,741 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-10-20 07:59:56,741 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 41 states and 54 transitions. [2020-10-20 07:59:56,742 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-20 07:59:56,743 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 07:59:56,743 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 07:59:56,744 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-20 07:59:56,744 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 07:59:56,744 INFO L794 eck$LassoCheckResult]: Stem: 261#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 250#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 251#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 238#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 245#is_prime_ENTRY [2020-10-20 07:59:56,745 INFO L796 eck$LassoCheckResult]: Loop: 245#is_prime_ENTRY ~n := #in~n;~m := #in~m; 246#L58 assume !(~n <= 1); 237#L61 assume !(2 == ~n); 241#L64 assume ~n > 2; 254#L65 assume !(~m <= 1); 233#L68 call #t~ret13 := multiple_of(~n, ~m);< 242#multiple_ofENTRY ~n := #in~n;~m := #in~m; 263#L32 assume !(~m < 0); 260#L35 assume !(~n < 0); 248#L38 assume !(0 == ~m); 249#L41 assume !(0 == ~n); 234#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 242#multiple_ofENTRY ~n := #in~n;~m := #in~m; 263#L32 assume !(~m < 0); 260#L35 assume !(~n < 0); 248#L38 assume !(0 == ~m); 249#L41 assume 0 == ~n;#res := 1; 236#multiple_ofFINAL assume true; 258#multiple_ofEXIT >#114#return; 255#L44-1 #res := #t~ret11;havoc #t~ret11; 256#multiple_ofFINAL assume true; 265#multiple_ofEXIT >#124#return; 264#L68-1 assume !(0 == #t~ret13);havoc #t~ret13; 239#L71 call #t~ret14 := is_prime_(~n, ~m - 1);< 245#is_prime_ENTRY [2020-10-20 07:59:56,745 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 07:59:56,745 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 3 times [2020-10-20 07:59:56,746 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 07:59:56,746 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1498646299] [2020-10-20 07:59:56,746 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 07:59:56,758 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 07:59:56,759 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 07:59:56,785 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 07:59:56,786 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 07:59:56,792 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 07:59:56,797 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 07:59:56,798 INFO L82 PathProgramCache]: Analyzing trace with hash -1879332525, now seen corresponding path program 1 times [2020-10-20 07:59:56,798 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 07:59:56,798 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [859517464] [2020-10-20 07:59:56,799 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 07:59:56,826 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 07:59:56,830 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 07:59:56,852 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 07:59:56,854 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 07:59:56,863 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 07:59:56,864 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 07:59:56,864 INFO L82 PathProgramCache]: Analyzing trace with hash 1583483899, now seen corresponding path program 1 times [2020-10-20 07:59:56,865 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 07:59:56,865 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1963528259] [2020-10-20 07:59:56,867 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 07:59:56,900 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 07:59:56,982 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 9 [2020-10-20 07:59:56,993 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 07:59:57,040 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-10-20 07:59:57,044 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 07:59:57,086 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-10-20 07:59:57,086 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1963528259] [2020-10-20 07:59:57,087 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [947240239] [2020-10-20 07:59:57,087 INFO L95 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 [2020-10-20 07:59:57,147 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 07:59:57,150 INFO L263 TraceCheckSpWp]: Trace formula consists of 99 conjuncts, 11 conjunts are in the unsatisfiable core [2020-10-20 07:59:57,154 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 07:59:57,292 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-10-20 07:59:57,293 INFO L219 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-10-20 07:59:57,293 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 10 [2020-10-20 07:59:57,293 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1686971198] [2020-10-20 07:59:57,632 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 07:59:57,633 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 07:59:57,634 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 07:59:57,634 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 07:59:57,634 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-20 07:59:57,634 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 07:59:57,635 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 07:59:57,635 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 07:59:57,635 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2020-10-20 07:59:57,635 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 07:59:57,636 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 07:59:57,655 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:57,659 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:57,665 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:57,676 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:57,679 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:57,691 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:57,761 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 07:59:57,762 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) [2020-10-20 07:59:57,774 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 07:59:57,774 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 [2020-10-20 07:59:57,786 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 07:59:57,787 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) [2020-10-20 07:59:57,835 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 07:59:57,835 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 [2020-10-20 07:59:57,841 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 07:59:57,841 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__#t~ret13=0} Honda state: {is_prime__#t~ret13=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) [2020-10-20 07:59:57,904 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 07:59:57,904 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 07:59:57,909 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 07:59:57,910 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 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-20 07:59:57,958 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 07:59:57,959 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 [2020-10-20 07:59:57,963 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 07:59:57,963 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__#t~ret14=0} Honda state: {is_prime__#t~ret14=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) [2020-10-20 07:59:58,023 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 07:59:58,023 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) Waiting until toolchain timeout for monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 07:59:58,078 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-20 07:59:58,079 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 07:59:58,322 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-20 07:59:58,324 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 07:59:58,324 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 07:59:58,325 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 07:59:58,325 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 07:59:58,325 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-20 07:59:58,325 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 07:59:58,325 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 07:59:58,325 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 07:59:58,325 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2020-10-20 07:59:58,325 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 07:59:58,325 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 07:59:58,327 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:58,332 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:58,335 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:58,338 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:58,350 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:58,354 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 07:59:58,430 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 07:59:58,437 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) [2020-10-20 07:59:58,463 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 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 07:59:58,466 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 07:59:58,466 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 07:59:58,467 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 07:59:58,467 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 07:59:58,467 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 07:59:58,470 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 07:59:58,470 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 07:59:58,473 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) Waiting until toolchain timeout for monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 07:59:58,513 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 [2020-10-20 07:59:58,515 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 07:59:58,515 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 07:59:58,516 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 07:59:58,516 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 07:59:58,516 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 07:59:58,517 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 07:59:58,517 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 07:59:58,519 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 [2020-10-20 07:59:58,566 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 [2020-10-20 07:59:58,567 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 07:59:58,568 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 07:59:58,568 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 07:59:58,568 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 07:59:58,568 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 07:59:58,569 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 07:59:58,569 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 07:59:58,575 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) Waiting until toolchain timeout for monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 07:59:58,606 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 [2020-10-20 07:59:58,609 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 07:59:58,609 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 07:59:58,609 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 07:59:58,609 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 07:59:58,609 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 07:59:58,612 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 07:59:58,613 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 07:59:58,617 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-20 07:59:58,693 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-10-20 07:59:58,694 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) Waiting until toolchain timeout for monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 07:59:58,730 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-20 07:59:58,730 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-20 07:59:58,730 INFO L510 LassoAnalysis]: Proved termination. [2020-10-20 07:59:58,731 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(is_prime__#in~m) = 1*is_prime__#in~m Supporting invariants [] [2020-10-20 07:59:58,764 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-20 07:59:58,792 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 07:59:58,822 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 07:59:58,823 INFO L263 TraceCheckSpWp]: Trace formula consists of 73 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-20 07:59:58,826 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 07:59:58,879 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 07:59:58,881 INFO L263 TraceCheckSpWp]: Trace formula consists of 140 conjuncts, 18 conjunts are in the unsatisfiable core [2020-10-20 07:59:58,884 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 07:59:59,192 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-10-20 07:59:59,198 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 [2020-10-20 07:59:59,199 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 41 states and 54 transitions. cyclomatic complexity: 16 Second operand 10 states. [2020-10-20 07:59:59,911 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 41 states and 54 transitions. cyclomatic complexity: 16. Second operand 10 states. Result 322 states and 477 transitions. Complement of second has 71 states. [2020-10-20 07:59:59,912 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 13 states 1 stem states 11 non-accepting loop states 1 accepting loop states [2020-10-20 07:59:59,913 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2020-10-20 07:59:59,915 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 77 transitions. [2020-10-20 07:59:59,918 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 4 letters. Loop has 24 letters. [2020-10-20 07:59:59,920 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 07:59:59,921 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 28 letters. Loop has 24 letters. [2020-10-20 07:59:59,922 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 07:59:59,922 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 4 letters. Loop has 48 letters. [2020-10-20 07:59:59,923 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 07:59:59,923 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 322 states and 477 transitions. [2020-10-20 07:59:59,936 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 30 [2020-10-20 07:59:59,948 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 322 states to 264 states and 371 transitions. [2020-10-20 07:59:59,949 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 156 [2020-10-20 07:59:59,950 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 159 [2020-10-20 07:59:59,950 INFO L73 IsDeterministic]: Start isDeterministic. Operand 264 states and 371 transitions. [2020-10-20 07:59:59,952 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 07:59:59,953 INFO L691 BuchiCegarLoop]: Abstraction has 264 states and 371 transitions. [2020-10-20 07:59:59,953 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 264 states and 371 transitions. [2020-10-20 07:59:59,983 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 264 to 163. [2020-10-20 07:59:59,983 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 163 states. [2020-10-20 07:59:59,986 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 163 states to 163 states and 220 transitions. [2020-10-20 07:59:59,986 INFO L714 BuchiCegarLoop]: Abstraction has 163 states and 220 transitions. [2020-10-20 07:59:59,987 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 07:59:59,987 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2020-10-20 07:59:59,987 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=22, Invalid=68, Unknown=0, NotChecked=0, Total=90 [2020-10-20 07:59:59,987 INFO L87 Difference]: Start difference. First operand 163 states and 220 transitions. Second operand 10 states. [2020-10-20 08:00:00,204 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:00:00,205 INFO L93 Difference]: Finished difference Result 171 states and 229 transitions. [2020-10-20 08:00:00,206 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2020-10-20 08:00:00,206 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 171 states and 229 transitions. [2020-10-20 08:00:00,211 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 29 [2020-10-20 08:00:00,214 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 171 states to 107 states and 147 transitions. [2020-10-20 08:00:00,214 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 107 [2020-10-20 08:00:00,215 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 107 [2020-10-20 08:00:00,215 INFO L73 IsDeterministic]: Start isDeterministic. Operand 107 states and 147 transitions. [2020-10-20 08:00:00,217 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:00:00,217 INFO L691 BuchiCegarLoop]: Abstraction has 107 states and 147 transitions. [2020-10-20 08:00:00,217 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 107 states and 147 transitions. [2020-10-20 08:00:00,229 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 107 to 93. [2020-10-20 08:00:00,230 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 93 states. [2020-10-20 08:00:00,232 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 93 states to 93 states and 126 transitions. [2020-10-20 08:00:00,234 INFO L714 BuchiCegarLoop]: Abstraction has 93 states and 126 transitions. [2020-10-20 08:00:00,234 INFO L594 BuchiCegarLoop]: Abstraction has 93 states and 126 transitions. [2020-10-20 08:00:00,235 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-10-20 08:00:00,235 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 93 states and 126 transitions. [2020-10-20 08:00:00,236 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 29 [2020-10-20 08:00:00,237 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:00:00,238 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:00:00,238 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:00:00,239 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-20 08:00:00,239 INFO L794 eck$LassoCheckResult]: Stem: 1287#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 1263#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 1264#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 1270#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 1286#is_prime_ENTRY ~n := #in~n;~m := #in~m; 1302#L58 assume !(~n <= 1); 1303#L61 assume !(2 == ~n); 1306#L64 assume ~n > 2; 1301#L65 assume !(~m <= 1); 1254#L68 call #t~ret13 := multiple_of(~n, ~m);< 1308#multiple_ofENTRY ~n := #in~n;~m := #in~m; 1328#L32 assume ~m < 0; 1272#L33 [2020-10-20 08:00:00,239 INFO L796 eck$LassoCheckResult]: Loop: 1272#L33 call #t~ret9 := multiple_of(~n, -~m);< 1277#multiple_ofENTRY ~n := #in~n;~m := #in~m; 1293#L32 assume ~m < 0; 1272#L33 [2020-10-20 08:00:00,240 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:00,240 INFO L82 PathProgramCache]: Analyzing trace with hash 1581488555, now seen corresponding path program 1 times [2020-10-20 08:00:00,240 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:00,241 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1784864033] [2020-10-20 08:00:00,242 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:00,268 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:00,309 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:00,310 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1784864033] [2020-10-20 08:00:00,310 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:00:00,310 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-20 08:00:00,310 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1439579669] [2020-10-20 08:00:00,311 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:00:00,313 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:00,313 INFO L82 PathProgramCache]: Analyzing trace with hash 134543, now seen corresponding path program 1 times [2020-10-20 08:00:00,313 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:00,314 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [868592479] [2020-10-20 08:00:00,314 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:00,321 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:00,323 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:00,327 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:00,328 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:00,330 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:00,399 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:00,399 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:00,399 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:00,399 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:00,399 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-20 08:00:00,399 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:00,400 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:00,400 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:00,400 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2020-10-20 08:00:00,400 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:00,403 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:00,404 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:00,407 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:00,410 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:00,415 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:00,418 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:00,440 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:00,484 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:00,484 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) [2020-10-20 08:00:00,505 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:00,505 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 [2020-10-20 08:00:00,509 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:00,509 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret11=0} Honda state: {multiple_of_#t~ret11=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) [2020-10-20 08:00:00,565 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:00,565 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:00,569 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:00,569 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret10=0} Honda state: {multiple_of_#t~ret10=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] Waiting until toolchain timeout for monitored process 15 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 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:00,617 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:00,617 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:00,623 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:00,623 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 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:00,662 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:00,662 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:00,667 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:00,667 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret9=0} Honda state: {multiple_of_#t~ret9=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) Waiting until toolchain timeout for monitored process 18 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:00,709 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:00,709 INFO L160 nArgumentSynthesizer]: Using integer mode. 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) Waiting until toolchain timeout for monitored process 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:00,741 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-20 08:00:00,741 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:01,851 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-20 08:00:01,854 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:01,854 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:01,854 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:01,854 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:01,854 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-20 08:00:01,854 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:01,854 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:01,855 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:01,855 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2020-10-20 08:00:01,855 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:01,855 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:01,857 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:01,862 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:01,864 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:01,868 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:01,872 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:01,884 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:01,939 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:01,939 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) [2020-10-20 08:00:01,954 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 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:01,956 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:01,957 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:01,957 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:01,957 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:01,957 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:01,959 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:01,959 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:01,961 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) [2020-10-20 08:00:02,019 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 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:02,021 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:02,021 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:02,021 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:02,021 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:02,021 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:02,022 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:02,022 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:02,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 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:02,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 [2020-10-20 08:00:02,074 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:02,074 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:02,074 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:02,074 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:02,074 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:02,077 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:02,078 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:02,089 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) Waiting until toolchain timeout for monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:02,132 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 [2020-10-20 08:00:02,135 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:02,135 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:02,135 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:02,135 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:02,135 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:02,136 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:02,136 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:02,144 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) Waiting until toolchain timeout for monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:02,179 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 [2020-10-20 08:00:02,181 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:02,182 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:02,182 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:02,182 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:02,182 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:02,184 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:02,184 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:02,194 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-20 08:00:02,199 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-20 08:00:02,200 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) [2020-10-20 08:00:02,211 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-20 08:00:02,212 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-20 08:00:02,212 INFO L510 LassoAnalysis]: Proved termination. [2020-10-20 08:00:02,212 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_~m) = 1*multiple_of_~m Supporting invariants [] Waiting until toolchain timeout for monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:02,242 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-20 08:00:02,254 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:02,275 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:02,277 INFO L263 TraceCheckSpWp]: Trace formula consists of 120 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-20 08:00:02,278 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:02,289 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:02,290 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-20 08:00:02,291 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:02,314 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:02,314 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 [2020-10-20 08:00:02,314 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 93 states and 126 transitions. cyclomatic complexity: 36 Second operand 4 states. [2020-10-20 08:00:02,394 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 93 states and 126 transitions. cyclomatic complexity: 36. Second operand 4 states. Result 191 states and 253 transitions. Complement of second has 18 states. [2020-10-20 08:00:02,397 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 3 non-accepting loop states 1 accepting loop states [2020-10-20 08:00:02,398 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-10-20 08:00:02,398 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 67 transitions. [2020-10-20 08:00:02,398 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 12 letters. Loop has 3 letters. [2020-10-20 08:00:02,399 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:02,399 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 15 letters. Loop has 3 letters. [2020-10-20 08:00:02,399 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:02,399 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 12 letters. Loop has 6 letters. [2020-10-20 08:00:02,399 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:02,400 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 191 states and 253 transitions. [2020-10-20 08:00:02,408 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 42 [2020-10-20 08:00:02,414 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 191 states to 137 states and 182 transitions. [2020-10-20 08:00:02,416 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 113 [2020-10-20 08:00:02,417 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 114 [2020-10-20 08:00:02,418 INFO L73 IsDeterministic]: Start isDeterministic. Operand 137 states and 182 transitions. [2020-10-20 08:00:02,419 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 08:00:02,419 INFO L691 BuchiCegarLoop]: Abstraction has 137 states and 182 transitions. [2020-10-20 08:00:02,419 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 137 states and 182 transitions. [2020-10-20 08:00:02,435 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 137 to 108. [2020-10-20 08:00:02,436 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 108 states. [2020-10-20 08:00:02,437 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 108 states to 108 states and 146 transitions. [2020-10-20 08:00:02,437 INFO L714 BuchiCegarLoop]: Abstraction has 108 states and 146 transitions. [2020-10-20 08:00:02,437 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:00:02,437 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 08:00:02,437 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-20 08:00:02,437 INFO L87 Difference]: Start difference. First operand 108 states and 146 transitions. Second operand 5 states. [2020-10-20 08:00:02,492 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:00:02,492 INFO L93 Difference]: Finished difference Result 98 states and 128 transitions. [2020-10-20 08:00:02,492 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-20 08:00:02,493 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 98 states and 128 transitions. [2020-10-20 08:00:02,494 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-20 08:00:02,496 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 98 states to 98 states and 128 transitions. [2020-10-20 08:00:02,496 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2020-10-20 08:00:02,497 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2020-10-20 08:00:02,497 INFO L73 IsDeterministic]: Start isDeterministic. Operand 98 states and 128 transitions. [2020-10-20 08:00:02,498 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-20 08:00:02,498 INFO L691 BuchiCegarLoop]: Abstraction has 98 states and 128 transitions. [2020-10-20 08:00:02,498 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 98 states and 128 transitions. [2020-10-20 08:00:02,502 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 98 to 92. [2020-10-20 08:00:02,502 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 92 states. [2020-10-20 08:00:02,503 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 92 states to 92 states and 121 transitions. [2020-10-20 08:00:02,503 INFO L714 BuchiCegarLoop]: Abstraction has 92 states and 121 transitions. [2020-10-20 08:00:02,503 INFO L594 BuchiCegarLoop]: Abstraction has 92 states and 121 transitions. [2020-10-20 08:00:02,504 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-10-20 08:00:02,504 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 92 states and 121 transitions. [2020-10-20 08:00:02,507 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-20 08:00:02,507 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:00:02,507 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:00:02,508 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:00:02,508 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-20 08:00:02,511 INFO L794 eck$LassoCheckResult]: Stem: 1864#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 1843#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 1844#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 1850#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 1863#is_prime_ENTRY ~n := #in~n;~m := #in~m; 1889#L58 assume ~n <= 1;#res := 0; 1872#is_prime_FINAL assume true; 1871#is_prime_EXIT >#120#return; 1842#L53-1 is_prime_#res := is_prime_#t~ret12;havoc is_prime_#t~ret12; 1836#L53-2 main_#t~ret16 := is_prime_#res;main_~result~0 := main_#t~ret16;havoc main_#t~ret16;main_~f1~0 := main_#t~nondet17;havoc main_#t~nondet17; 1837#L85 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet18;havoc main_#t~nondet18; 1819#L91 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short20 := 1 == main_~result~0; 1820#L97 assume main_#t~short20; 1816#L97-1 call main_#t~ret19 := mult(main_~f1~0, main_~f2~0);< 1818#multENTRY [2020-10-20 08:00:02,512 INFO L796 eck$LassoCheckResult]: Loop: 1818#multENTRY ~n := #in~n;~m := #in~m; 1853#L18 assume ~m < 0; 1817#L19 call #t~ret7 := mult(~n, -~m);< 1818#multENTRY [2020-10-20 08:00:02,512 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:02,512 INFO L82 PathProgramCache]: Analyzing trace with hash -1704575146, now seen corresponding path program 1 times [2020-10-20 08:00:02,512 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:02,512 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [162995628] [2020-10-20 08:00:02,513 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:02,521 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:02,604 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 3 [2020-10-20 08:00:02,606 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:02,627 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:02,628 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [162995628] [2020-10-20 08:00:02,628 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:00:02,628 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-10-20 08:00:02,629 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [494048213] [2020-10-20 08:00:02,629 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:00:02,630 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:02,630 INFO L82 PathProgramCache]: Analyzing trace with hash 53807, now seen corresponding path program 1 times [2020-10-20 08:00:02,630 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:02,631 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [439295129] [2020-10-20 08:00:02,631 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:02,634 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:02,635 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:02,637 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:02,638 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:02,641 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:02,681 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:02,681 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:02,681 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:02,681 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:02,681 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-20 08:00:02,681 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:02,681 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:02,681 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:02,682 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2020-10-20 08:00:02,682 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:02,682 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:02,683 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,688 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,690 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,692 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,695 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,697 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,702 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,753 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:02,753 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 [2020-10-20 08:00:02,756 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:02,757 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:02,759 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:02,760 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 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:02,784 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:02,784 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:02,787 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:02,787 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 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 [2020-10-20 08:00:02,811 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:02,811 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:02,814 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:02,814 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 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 [2020-10-20 08:00:02,838 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:02,839 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:02,841 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:02,841 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 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 [2020-10-20 08:00:02,873 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:02,874 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:02,876 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:02,876 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret8=0} Honda state: {mult_#t~ret8=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 [2020-10-20 08:00:02,902 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:02,902 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:02,929 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-20 08:00:02,929 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:02,959 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-20 08:00:02,961 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:02,961 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:02,962 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:02,962 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:02,962 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-20 08:00:02,962 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:02,962 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:02,962 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:02,962 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2020-10-20 08:00:02,963 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:02,963 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:02,964 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,968 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,970 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,971 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,973 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,976 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:02,981 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:03,040 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:03,040 INFO L489 LassoAnalysis]: Using template 'affine'. 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) [2020-10-20 08:00:03,052 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 [2020-10-20 08:00:03,054 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:03,054 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:03,054 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:03,054 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:03,054 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:03,055 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:03,055 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:03,061 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 34 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 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:03,087 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 [2020-10-20 08:00:03,088 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:03,088 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:03,088 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:03,088 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:03,088 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:03,089 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:03,089 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:03,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 35 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 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:03,120 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 [2020-10-20 08:00:03,122 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:03,122 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:03,122 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:03,123 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:03,123 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:03,123 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:03,123 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:03,125 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) [2020-10-20 08:00:03,150 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 [2020-10-20 08:00:03,152 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:03,152 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:03,152 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:03,152 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:03,152 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:03,153 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:03,153 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:03,154 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 [2020-10-20 08:00:03,178 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 [2020-10-20 08:00:03,179 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:03,179 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:03,180 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:03,180 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:03,180 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:03,181 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:03,181 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:03,188 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 [2020-10-20 08:00:03,223 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 [2020-10-20 08:00:03,225 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:03,225 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:03,225 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:03,225 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:03,225 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:03,226 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:03,226 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:03,228 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 [2020-10-20 08:00:03,252 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 [2020-10-20 08:00:03,254 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:03,254 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:03,254 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:03,254 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:03,255 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:03,256 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:03,256 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:03,259 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-20 08:00:03,264 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-20 08:00:03,265 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 40 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-20 08:00:03,268 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-20 08:00:03,268 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-20 08:00:03,268 INFO L510 LassoAnalysis]: Proved termination. [2020-10-20 08:00:03,269 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_#in~m) = -1*mult_#in~m Supporting invariants [] Waiting until toolchain timeout for monitored process 40 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:03,292 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-20 08:00:03,312 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:03,336 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:03,338 INFO L263 TraceCheckSpWp]: Trace formula consists of 131 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-20 08:00:03,339 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:03,372 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:03,373 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-20 08:00:03,374 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:03,395 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:03,395 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 [2020-10-20 08:00:03,395 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 92 states and 121 transitions. cyclomatic complexity: 32 Second operand 5 states. [2020-10-20 08:00:03,552 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 92 states and 121 transitions. cyclomatic complexity: 32. Second operand 5 states. Result 114 states and 145 transitions. Complement of second has 14 states. [2020-10-20 08:00:03,553 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2020-10-20 08:00:03,553 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-10-20 08:00:03,553 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 48 transitions. [2020-10-20 08:00:03,553 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 14 letters. Loop has 3 letters. [2020-10-20 08:00:03,554 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:03,554 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 17 letters. Loop has 3 letters. [2020-10-20 08:00:03,554 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:03,554 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 14 letters. Loop has 6 letters. [2020-10-20 08:00:03,554 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:03,554 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 114 states and 145 transitions. [2020-10-20 08:00:03,556 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-20 08:00:03,558 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 114 states to 106 states and 137 transitions. [2020-10-20 08:00:03,558 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 99 [2020-10-20 08:00:03,558 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 101 [2020-10-20 08:00:03,559 INFO L73 IsDeterministic]: Start isDeterministic. Operand 106 states and 137 transitions. [2020-10-20 08:00:03,559 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 08:00:03,559 INFO L691 BuchiCegarLoop]: Abstraction has 106 states and 137 transitions. [2020-10-20 08:00:03,559 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 106 states and 137 transitions. [2020-10-20 08:00:03,563 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 106 to 97. [2020-10-20 08:00:03,564 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 97 states. [2020-10-20 08:00:03,565 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 97 states and 128 transitions. [2020-10-20 08:00:03,565 INFO L714 BuchiCegarLoop]: Abstraction has 97 states and 128 transitions. [2020-10-20 08:00:03,565 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:00:03,565 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-10-20 08:00:03,566 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2020-10-20 08:00:03,566 INFO L87 Difference]: Start difference. First operand 97 states and 128 transitions. Second operand 7 states. [2020-10-20 08:00:03,616 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:00:03,617 INFO L93 Difference]: Finished difference Result 108 states and 139 transitions. [2020-10-20 08:00:03,617 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-20 08:00:03,617 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 108 states and 139 transitions. [2020-10-20 08:00:03,620 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-20 08:00:03,622 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 108 states to 101 states and 131 transitions. [2020-10-20 08:00:03,622 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2020-10-20 08:00:03,622 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2020-10-20 08:00:03,622 INFO L73 IsDeterministic]: Start isDeterministic. Operand 101 states and 131 transitions. [2020-10-20 08:00:03,623 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 08:00:03,623 INFO L691 BuchiCegarLoop]: Abstraction has 101 states and 131 transitions. [2020-10-20 08:00:03,623 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 101 states and 131 transitions. [2020-10-20 08:00:03,627 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 101 to 97. [2020-10-20 08:00:03,627 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 97 states. [2020-10-20 08:00:03,628 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 97 states and 126 transitions. [2020-10-20 08:00:03,628 INFO L714 BuchiCegarLoop]: Abstraction has 97 states and 126 transitions. [2020-10-20 08:00:03,628 INFO L594 BuchiCegarLoop]: Abstraction has 97 states and 126 transitions. [2020-10-20 08:00:03,628 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-10-20 08:00:03,628 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 97 states and 126 transitions. [2020-10-20 08:00:03,629 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-20 08:00:03,629 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:00:03,630 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:00:03,630 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:00:03,630 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2020-10-20 08:00:03,631 INFO L794 eck$LassoCheckResult]: Stem: 2374#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 2350#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 2351#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 2358#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 2373#is_prime_ENTRY ~n := #in~n;~m := #in~m; 2388#L58 assume !(~n <= 1); 2386#L61 assume !(2 == ~n); 2387#L64 assume ~n > 2; 2384#L65 assume !(~m <= 1); 2341#L68 call #t~ret13 := multiple_of(~n, ~m);< 2391#multiple_ofENTRY ~n := #in~n;~m := #in~m; 2407#L32 assume !(~m < 0); 2404#L35 assume ~n < 0; 2334#L36 call #t~ret10 := multiple_of(-~n, ~m);< 2344#multiple_ofENTRY [2020-10-20 08:00:03,631 INFO L796 eck$LassoCheckResult]: Loop: 2344#multiple_ofENTRY ~n := #in~n;~m := #in~m; 2416#L32 assume !(~m < 0); 2415#L35 assume ~n < 0; 2333#L36 call #t~ret10 := multiple_of(-~n, ~m);< 2344#multiple_ofENTRY [2020-10-20 08:00:03,631 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:03,631 INFO L82 PathProgramCache]: Analyzing trace with hash -607918156, now seen corresponding path program 1 times [2020-10-20 08:00:03,631 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:03,632 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [286714007] [2020-10-20 08:00:03,632 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:03,638 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:03,676 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:03,677 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [286714007] [2020-10-20 08:00:03,677 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:00:03,677 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-10-20 08:00:03,677 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [10286867] [2020-10-20 08:00:03,678 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:00:03,678 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:03,678 INFO L82 PathProgramCache]: Analyzing trace with hash 929677, now seen corresponding path program 1 times [2020-10-20 08:00:03,678 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:03,678 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [758723313] [2020-10-20 08:00:03,678 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:03,681 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:03,681 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:03,683 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:03,683 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:03,684 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:03,728 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:03,728 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:03,729 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:03,729 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:03,729 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-20 08:00:03,729 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:03,729 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:03,729 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:03,729 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2020-10-20 08:00:03,729 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:03,729 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:03,731 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:03,733 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:03,736 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:03,738 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:03,740 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:03,743 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:03,745 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:03,751 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:03,802 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:03,803 INFO L404 LassoAnalysis]: Checking for nontermination... 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) [2020-10-20 08:00:03,820 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:03,820 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 41 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:03,824 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:03,824 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret10=0} Honda state: {multiple_of_#t~ret10=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] 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 [2020-10-20 08:00:03,853 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:03,853 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:03,855 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:03,856 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret11=0} Honda state: {multiple_of_#t~ret11=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 [2020-10-20 08:00:03,879 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:03,879 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:03,882 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:03,882 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 44 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 44 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:03,905 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:03,905 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:03,907 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:03,907 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret9=0} Honda state: {multiple_of_#t~ret9=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) Waiting until toolchain timeout for monitored process 45 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:03,931 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:03,931 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:03,933 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:03,934 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 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 [2020-10-20 08:00:03,959 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:03,960 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:03,963 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:03,963 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 47 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 47 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:03,988 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:03,988 INFO L160 nArgumentSynthesizer]: Using integer mode. 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 [2020-10-20 08:00:04,015 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-20 08:00:04,015 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:04,083 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-20 08:00:04,085 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:04,085 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:04,085 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:04,085 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:04,085 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-20 08:00:04,085 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:04,085 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:04,086 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:04,086 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2020-10-20 08:00:04,086 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:04,086 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:04,088 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,090 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,098 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,101 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,103 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,106 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,110 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,115 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,163 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:04,163 INFO L489 LassoAnalysis]: Using template 'affine'. 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) Waiting until toolchain timeout for monitored process 49 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:04,166 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 [2020-10-20 08:00:04,168 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:04,168 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:04,168 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:04,168 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:04,168 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:04,169 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:04,169 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:04,171 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 [2020-10-20 08:00:04,194 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 [2020-10-20 08:00:04,195 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:04,195 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:04,195 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:04,195 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:04,196 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:04,196 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:04,196 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:04,198 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 51 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 51 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:04,223 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 [2020-10-20 08:00:04,224 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:04,224 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:04,225 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:04,225 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:04,225 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:04,225 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:04,225 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:04,227 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 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-20 08:00:04,252 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 [2020-10-20 08:00:04,254 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:04,255 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:04,255 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:04,255 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:04,255 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:04,256 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:04,256 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:04,257 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 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 [2020-10-20 08:00:04,279 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 [2020-10-20 08:00:04,281 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:04,281 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:04,281 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:04,281 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:04,281 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:04,282 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:04,282 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:04,289 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 54 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-20 08:00:04,325 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 [2020-10-20 08:00:04,326 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:04,327 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:04,327 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:04,327 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:04,327 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:04,328 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:04,328 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 54 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:04,330 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 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 [2020-10-20 08:00:04,360 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 [2020-10-20 08:00:04,362 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:04,362 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:04,362 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:04,362 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:04,362 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:04,363 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:04,363 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:04,366 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-20 08:00:04,368 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-20 08:00:04,368 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 56 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 56 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:04,371 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-20 08:00:04,371 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-20 08:00:04,371 INFO L510 LassoAnalysis]: Proved termination. [2020-10-20 08:00:04,372 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = -1*multiple_of_#in~n Supporting invariants [] [2020-10-20 08:00:04,393 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-20 08:00:04,405 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:04,436 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:04,438 INFO L263 TraceCheckSpWp]: Trace formula consists of 155 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-20 08:00:04,440 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:04,454 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:04,455 INFO L263 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-20 08:00:04,456 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:04,481 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:04,481 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 [2020-10-20 08:00:04,481 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 97 states and 126 transitions. cyclomatic complexity: 33 Second operand 4 states. [2020-10-20 08:00:04,572 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 97 states and 126 transitions. cyclomatic complexity: 33. Second operand 4 states. Result 200 states and 269 transitions. Complement of second has 13 states. [2020-10-20 08:00:04,573 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2020-10-20 08:00:04,573 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-10-20 08:00:04,574 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 56 transitions. [2020-10-20 08:00:04,574 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 14 letters. Loop has 4 letters. [2020-10-20 08:00:04,575 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:04,575 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 18 letters. Loop has 4 letters. [2020-10-20 08:00:04,575 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:04,575 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 14 letters. Loop has 8 letters. [2020-10-20 08:00:04,576 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:04,576 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 200 states and 269 transitions. [2020-10-20 08:00:04,579 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 48 [2020-10-20 08:00:04,583 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 200 states to 188 states and 257 transitions. [2020-10-20 08:00:04,583 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 173 [2020-10-20 08:00:04,584 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 175 [2020-10-20 08:00:04,584 INFO L73 IsDeterministic]: Start isDeterministic. Operand 188 states and 257 transitions. [2020-10-20 08:00:04,584 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 08:00:04,585 INFO L691 BuchiCegarLoop]: Abstraction has 188 states and 257 transitions. [2020-10-20 08:00:04,585 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 188 states and 257 transitions. [2020-10-20 08:00:04,591 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 188 to 163. [2020-10-20 08:00:04,591 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 163 states. [2020-10-20 08:00:04,593 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 163 states to 163 states and 223 transitions. [2020-10-20 08:00:04,593 INFO L714 BuchiCegarLoop]: Abstraction has 163 states and 223 transitions. [2020-10-20 08:00:04,594 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:00:04,594 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-10-20 08:00:04,594 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2020-10-20 08:00:04,594 INFO L87 Difference]: Start difference. First operand 163 states and 223 transitions. Second operand 7 states. [2020-10-20 08:00:04,684 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:00:04,684 INFO L93 Difference]: Finished difference Result 161 states and 218 transitions. [2020-10-20 08:00:04,686 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-20 08:00:04,686 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 161 states and 218 transitions. [2020-10-20 08:00:04,689 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-20 08:00:04,691 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 161 states to 161 states and 218 transitions. [2020-10-20 08:00:04,692 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 154 [2020-10-20 08:00:04,692 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 154 [2020-10-20 08:00:04,692 INFO L73 IsDeterministic]: Start isDeterministic. Operand 161 states and 218 transitions. [2020-10-20 08:00:04,692 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 08:00:04,693 INFO L691 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-10-20 08:00:04,693 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 161 states and 218 transitions. [2020-10-20 08:00:04,697 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 161 to 161. [2020-10-20 08:00:04,698 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 161 states. [2020-10-20 08:00:04,699 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 161 states to 161 states and 218 transitions. [2020-10-20 08:00:04,699 INFO L714 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-10-20 08:00:04,700 INFO L594 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-10-20 08:00:04,700 INFO L427 BuchiCegarLoop]: ======== Iteration 7============ [2020-10-20 08:00:04,700 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 161 states and 218 transitions. [2020-10-20 08:00:04,702 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-20 08:00:04,702 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:00:04,702 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:00:04,703 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:00:04,703 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2020-10-20 08:00:04,703 INFO L794 eck$LassoCheckResult]: Stem: 3095#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 3066#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 3067#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 3075#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 3094#is_prime_ENTRY ~n := #in~n;~m := #in~m; 3116#L58 assume !(~n <= 1); 3114#L61 assume !(2 == ~n); 3115#L64 assume ~n > 2; 3112#L65 assume !(~m <= 1); 3098#L68 call #t~ret13 := multiple_of(~n, ~m);< 3132#multiple_ofENTRY ~n := #in~n;~m := #in~m; 3190#L32 assume !(~m < 0); 3189#L35 assume !(~n < 0); 3187#L38 assume !(0 == ~m); 3097#L41 assume !(0 == ~n); 3099#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 3125#multiple_ofENTRY [2020-10-20 08:00:04,703 INFO L796 eck$LassoCheckResult]: Loop: 3125#multiple_ofENTRY ~n := #in~n;~m := #in~m; 3124#L32 assume !(~m < 0); 3122#L35 assume !(~n < 0); 3123#L38 assume !(0 == ~m); 3163#L41 assume !(0 == ~n); 3121#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 3125#multiple_ofENTRY [2020-10-20 08:00:04,704 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:04,704 INFO L82 PathProgramCache]: Analyzing trace with hash -93796849, now seen corresponding path program 1 times [2020-10-20 08:00:04,704 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:04,704 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [895128211] [2020-10-20 08:00:04,705 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:04,714 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:04,715 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:04,723 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:04,724 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:04,728 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:04,729 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:04,729 INFO L82 PathProgramCache]: Analyzing trace with hash 893418408, now seen corresponding path program 1 times [2020-10-20 08:00:04,729 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:04,729 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1327992112] [2020-10-20 08:00:04,730 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:04,732 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:04,733 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:04,735 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:04,735 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:04,737 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:04,737 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:04,737 INFO L82 PathProgramCache]: Analyzing trace with hash -1206649034, now seen corresponding path program 2 times [2020-10-20 08:00:04,738 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:04,738 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [238427734] [2020-10-20 08:00:04,738 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:04,748 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:04,749 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:04,758 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:04,758 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:04,763 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:04,834 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:04,834 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:04,834 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:04,834 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:04,834 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-20 08:00:04,834 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:04,834 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:04,834 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:04,835 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2020-10-20 08:00:04,835 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:04,835 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:04,836 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,838 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,850 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,857 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,859 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,861 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,863 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:04,931 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:04,932 INFO L404 LassoAnalysis]: Checking for nontermination... 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) Waiting until toolchain timeout for monitored process 57 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:04,937 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:04,937 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:04,940 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:04,940 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 58 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-20 08:00:04,965 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:04,965 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 58 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 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 [2020-10-20 08:00:04,990 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-20 08:00:04,990 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:05,131 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-20 08:00:05,133 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:05,133 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:05,133 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:05,133 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:05,133 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-20 08:00:05,133 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:05,134 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:05,134 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:05,134 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2020-10-20 08:00:05,134 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:05,134 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:05,135 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,139 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,151 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,158 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,160 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,163 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,165 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,250 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:05,251 INFO L489 LassoAnalysis]: Using template 'affine'. 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) [2020-10-20 08:00:05,257 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 [2020-10-20 08:00:05,259 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:05,259 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:05,259 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:05,260 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:05,260 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:05,261 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:05,261 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 60 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:05,263 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 61 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 61 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:05,291 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 [2020-10-20 08:00:05,292 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:05,292 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:05,292 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:05,293 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:05,293 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:05,294 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:05,294 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:05,296 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-20 08:00:05,300 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-20 08:00:05,300 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 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 [2020-10-20 08:00:05,302 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-20 08:00:05,302 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-20 08:00:05,302 INFO L510 LassoAnalysis]: Proved termination. [2020-10-20 08:00:05,302 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = 1*multiple_of_#in~n Supporting invariants [] [2020-10-20 08:00:05,324 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-20 08:00:05,337 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:05,383 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:05,384 INFO L263 TraceCheckSpWp]: Trace formula consists of 157 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-20 08:00:05,386 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:05,401 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:05,402 INFO L263 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 10 conjunts are in the unsatisfiable core [2020-10-20 08:00:05,403 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:05,485 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:05,486 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 6 loop predicates [2020-10-20 08:00:05,486 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 161 states and 218 transitions. cyclomatic complexity: 64 Second operand 7 states. [2020-10-20 08:00:05,662 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 161 states and 218 transitions. cyclomatic complexity: 64. Second operand 7 states. Result 214 states and 288 transitions. Complement of second has 25 states. [2020-10-20 08:00:05,663 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 7 states 1 stem states 5 non-accepting loop states 1 accepting loop states [2020-10-20 08:00:05,663 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2020-10-20 08:00:05,664 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 43 transitions. [2020-10-20 08:00:05,664 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 16 letters. Loop has 6 letters. [2020-10-20 08:00:05,665 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:05,665 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 22 letters. Loop has 6 letters. [2020-10-20 08:00:05,666 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:05,666 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 16 letters. Loop has 12 letters. [2020-10-20 08:00:05,667 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:05,668 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 214 states and 288 transitions. [2020-10-20 08:00:05,671 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 48 [2020-10-20 08:00:05,676 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 214 states to 202 states and 274 transitions. [2020-10-20 08:00:05,676 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 179 [2020-10-20 08:00:05,676 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 181 [2020-10-20 08:00:05,677 INFO L73 IsDeterministic]: Start isDeterministic. Operand 202 states and 274 transitions. [2020-10-20 08:00:05,677 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 08:00:05,677 INFO L691 BuchiCegarLoop]: Abstraction has 202 states and 274 transitions. [2020-10-20 08:00:05,677 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 202 states and 274 transitions. [2020-10-20 08:00:05,685 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 202 to 177. [2020-10-20 08:00:05,686 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 177 states. [2020-10-20 08:00:05,688 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 177 states to 177 states and 240 transitions. [2020-10-20 08:00:05,688 INFO L714 BuchiCegarLoop]: Abstraction has 177 states and 240 transitions. [2020-10-20 08:00:05,688 INFO L594 BuchiCegarLoop]: Abstraction has 177 states and 240 transitions. [2020-10-20 08:00:05,688 INFO L427 BuchiCegarLoop]: ======== Iteration 8============ [2020-10-20 08:00:05,689 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 177 states and 240 transitions. [2020-10-20 08:00:05,690 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-20 08:00:05,691 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:00:05,691 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:00:05,692 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:00:05,692 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1] [2020-10-20 08:00:05,694 INFO L794 eck$LassoCheckResult]: Stem: 3597#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 3563#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 3564#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 3576#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 3596#is_prime_ENTRY ~n := #in~n;~m := #in~m; 3626#L58 assume !(~n <= 1); 3622#L61 assume 2 == ~n;#res := 1; 3618#is_prime_FINAL assume true; 3612#is_prime_EXIT >#120#return; 3562#L53-1 is_prime_#res := is_prime_#t~ret12;havoc is_prime_#t~ret12; 3556#L53-2 main_#t~ret16 := is_prime_#res;main_~result~0 := main_#t~ret16;havoc main_#t~ret16;main_~f1~0 := main_#t~nondet17;havoc main_#t~nondet17; 3557#L85 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet18;havoc main_#t~nondet18; 3540#L91 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short20 := 1 == main_~result~0; 3541#L97 assume main_#t~short20; 3536#L97-1 call main_#t~ret19 := mult(main_~f1~0, main_~f2~0);< 3598#multENTRY ~n := #in~n;~m := #in~m; 3580#L18 assume !(~m < 0); 3571#L21 [2020-10-20 08:00:05,694 INFO L796 eck$LassoCheckResult]: Loop: 3571#L21 assume !(0 == ~m); 3572#L24 assume !(1 == ~m); 3535#L27 call #t~ret8 := mult(~n, ~m - 1);< 3539#multENTRY ~n := #in~n;~m := #in~m; 3578#L18 assume !(~m < 0); 3571#L21 [2020-10-20 08:00:05,694 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:05,694 INFO L82 PathProgramCache]: Analyzing trace with hash 1729864318, now seen corresponding path program 1 times [2020-10-20 08:00:05,695 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:05,695 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1241175346] [2020-10-20 08:00:05,695 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:05,718 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:05,719 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:05,733 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:05,734 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:05,742 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:05,743 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:05,743 INFO L82 PathProgramCache]: Analyzing trace with hash 61274134, now seen corresponding path program 1 times [2020-10-20 08:00:05,743 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:05,743 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1634911986] [2020-10-20 08:00:05,744 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:05,747 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:05,747 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:05,749 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:05,750 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:05,752 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:05,753 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:05,753 INFO L82 PathProgramCache]: Analyzing trace with hash 466508729, now seen corresponding path program 1 times [2020-10-20 08:00:05,754 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:05,759 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1463974540] [2020-10-20 08:00:05,760 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:05,781 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:05,781 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:05,809 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:05,809 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:05,820 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:05,892 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:05,893 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:05,893 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:05,893 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:05,893 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-20 08:00:05,893 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:05,893 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:05,893 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:05,893 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2020-10-20 08:00:05,893 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:05,894 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:05,895 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,903 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,909 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,912 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,914 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:05,995 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:05,996 INFO L404 LassoAnalysis]: Checking for nontermination... 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 [2020-10-20 08:00:06,000 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:06,000 INFO L160 nArgumentSynthesizer]: Using integer mode. 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) [2020-10-20 08:00:06,029 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-20 08:00:06,030 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:06,421 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-20 08:00:06,423 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:06,423 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:06,423 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:06,423 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:06,423 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-20 08:00:06,423 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:06,423 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:06,424 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:06,424 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2020-10-20 08:00:06,424 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:06,424 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:06,425 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:06,431 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:06,434 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:06,436 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:06,439 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:06,517 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:06,517 INFO L489 LassoAnalysis]: Using template 'affine'. 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 [2020-10-20 08:00:06,521 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 [2020-10-20 08:00:06,523 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:06,523 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:06,523 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:06,523 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:06,523 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:06,524 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:06,524 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:06,526 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 [2020-10-20 08:00:06,549 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 [2020-10-20 08:00:06,550 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:06,551 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:06,551 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:06,551 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:06,551 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:06,552 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:06,552 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:06,553 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 67 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-20 08:00:06,584 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 67 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:06,585 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:06,586 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:06,586 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:06,586 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:06,586 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:06,587 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:06,587 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:06,588 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 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 [2020-10-20 08:00:06,612 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 [2020-10-20 08:00:06,613 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:06,613 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:06,614 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:06,614 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:06,614 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:06,614 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:06,614 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:06,616 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 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 [2020-10-20 08:00:06,641 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 [2020-10-20 08:00:06,643 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:06,643 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:06,643 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:06,643 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:06,643 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:06,644 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:06,645 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:06,647 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-20 08:00:06,649 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-20 08:00:06,649 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 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 [2020-10-20 08:00:06,652 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-20 08:00:06,652 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-20 08:00:06,652 INFO L510 LassoAnalysis]: Proved termination. [2020-10-20 08:00:06,652 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] [2020-10-20 08:00:06,673 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-20 08:00:06,685 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:06,710 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:06,711 INFO L263 TraceCheckSpWp]: Trace formula consists of 138 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-20 08:00:06,713 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:06,746 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:06,747 INFO L263 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-20 08:00:06,748 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:06,777 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:06,778 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 [2020-10-20 08:00:06,778 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 177 states and 240 transitions. cyclomatic complexity: 71 Second operand 6 states. [2020-10-20 08:00:06,897 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 177 states and 240 transitions. cyclomatic complexity: 71. Second operand 6 states. Result 201 states and 267 transitions. Complement of second has 17 states. [2020-10-20 08:00:06,899 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 2 stem states 3 non-accepting loop states 1 accepting loop states [2020-10-20 08:00:06,899 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2020-10-20 08:00:06,900 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 52 transitions. [2020-10-20 08:00:06,900 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 17 letters. Loop has 5 letters. [2020-10-20 08:00:06,900 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:06,900 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 22 letters. Loop has 5 letters. [2020-10-20 08:00:06,900 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:06,900 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 17 letters. Loop has 10 letters. [2020-10-20 08:00:06,901 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:06,901 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 201 states and 267 transitions. [2020-10-20 08:00:06,904 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-20 08:00:06,907 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 201 states to 200 states and 266 transitions. [2020-10-20 08:00:06,907 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 173 [2020-10-20 08:00:06,907 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 176 [2020-10-20 08:00:06,908 INFO L73 IsDeterministic]: Start isDeterministic. Operand 200 states and 266 transitions. [2020-10-20 08:00:06,908 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 08:00:06,908 INFO L691 BuchiCegarLoop]: Abstraction has 200 states and 266 transitions. [2020-10-20 08:00:06,908 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 200 states and 266 transitions. [2020-10-20 08:00:06,913 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 200 to 187. [2020-10-20 08:00:06,913 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 187 states. [2020-10-20 08:00:06,915 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 187 states to 187 states and 252 transitions. [2020-10-20 08:00:06,915 INFO L714 BuchiCegarLoop]: Abstraction has 187 states and 252 transitions. [2020-10-20 08:00:06,915 INFO L594 BuchiCegarLoop]: Abstraction has 187 states and 252 transitions. [2020-10-20 08:00:06,915 INFO L427 BuchiCegarLoop]: ======== Iteration 9============ [2020-10-20 08:00:06,915 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 187 states and 252 transitions. [2020-10-20 08:00:06,917 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-20 08:00:06,917 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:00:06,917 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:00:06,918 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:00:06,918 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-20 08:00:06,918 INFO L794 eck$LassoCheckResult]: Stem: 4089#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 4054#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 4055#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 4070#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 4088#is_prime_ENTRY ~n := #in~n;~m := #in~m; 4111#L58 assume !(~n <= 1); 4107#L61 assume 2 == ~n;#res := 1; 4104#is_prime_FINAL assume true; 4103#is_prime_EXIT >#120#return; 4053#L53-1 is_prime_#res := is_prime_#t~ret12;havoc is_prime_#t~ret12; 4047#L53-2 main_#t~ret16 := is_prime_#res;main_~result~0 := main_#t~ret16;havoc main_#t~ret16;main_~f1~0 := main_#t~nondet17;havoc main_#t~nondet17; 4048#L85 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet18;havoc main_#t~nondet18; 4026#L91 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short20 := 1 == main_~result~0; 4027#L97 assume main_#t~short20; 4024#L97-1 call main_#t~ret19 := mult(main_~f1~0, main_~f2~0);< 4074#multENTRY ~n := #in~n;~m := #in~m; 4076#L18 assume !(~m < 0); 4099#L21 assume !(0 == ~m); 4065#L24 assume !(1 == ~m); 4068#L27 call #t~ret8 := mult(~n, ~m - 1);< 4205#multENTRY ~n := #in~n;~m := #in~m; 4125#L18 assume ~m < 0; 4020#L19 [2020-10-20 08:00:06,919 INFO L796 eck$LassoCheckResult]: Loop: 4020#L19 call #t~ret7 := mult(~n, -~m);< 4021#multENTRY ~n := #in~n;~m := #in~m; 4135#L18 assume ~m < 0; 4020#L19 [2020-10-20 08:00:06,919 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:06,919 INFO L82 PathProgramCache]: Analyzing trace with hash 466508726, now seen corresponding path program 1 times [2020-10-20 08:00:06,919 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:06,919 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [767847414] [2020-10-20 08:00:06,920 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:06,927 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:06,951 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 3 [2020-10-20 08:00:06,952 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:06,954 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:06,954 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [767847414] [2020-10-20 08:00:06,955 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-20 08:00:06,955 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-20 08:00:06,955 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1677116033] [2020-10-20 08:00:06,955 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:00:06,956 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:06,956 INFO L82 PathProgramCache]: Analyzing trace with hash 141077, now seen corresponding path program 2 times [2020-10-20 08:00:06,956 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:06,956 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [565505570] [2020-10-20 08:00:06,956 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:06,959 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:06,959 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:06,960 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:06,961 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:06,962 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:07,022 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:07,022 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:07,022 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:07,022 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:07,022 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-20 08:00:07,022 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:07,022 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:07,023 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:07,023 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2020-10-20 08:00:07,023 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:07,023 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:07,024 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:07,026 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:07,028 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:07,033 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:07,040 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:07,090 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:07,090 INFO L404 LassoAnalysis]: Checking for nontermination... 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 [2020-10-20 08:00:07,094 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:07,095 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:07,097 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:07,098 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret7=0} Honda state: {mult_#t~ret7=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] 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 [2020-10-20 08:00:07,121 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:07,121 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:07,123 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:07,123 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret8=0} Honda state: {mult_#t~ret8=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] 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 [2020-10-20 08:00:07,146 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:07,146 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:07,150 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-20 08:00:07,151 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~n=0, mult_#in~n=0} Honda state: {mult_~n=0, mult_#in~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] 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) Waiting until toolchain timeout for monitored process 74 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:07,173 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-20 08:00:07,173 INFO L160 nArgumentSynthesizer]: Using integer mode. 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) Waiting until toolchain timeout for monitored process 75 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:07,200 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-20 08:00:07,200 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-20 08:00:08,181 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-20 08:00:08,183 INFO L210 LassoAnalysis]: Preferences: [2020-10-20 08:00:08,183 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-20 08:00:08,183 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-20 08:00:08,183 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-20 08:00:08,183 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-20 08:00:08,184 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:08,184 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-20 08:00:08,184 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-20 08:00:08,184 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2020-10-20 08:00:08,184 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-20 08:00:08,184 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-20 08:00:08,185 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:08,187 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:08,189 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:08,195 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:08,204 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-20 08:00:08,252 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-20 08:00:08,253 INFO L489 LassoAnalysis]: Using template 'affine'. 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) Waiting until toolchain timeout for monitored process 76 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:08,256 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 [2020-10-20 08:00:08,257 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:08,258 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:08,258 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:08,258 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:08,258 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:08,258 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:08,259 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:08,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 77 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 77 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:08,285 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 [2020-10-20 08:00:08,286 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:08,286 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:08,286 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:08,286 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:08,287 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:08,287 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:08,287 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:08,288 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 78 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 78 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-20 08:00:08,313 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 [2020-10-20 08:00:08,314 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:08,314 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:08,315 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:08,315 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:08,315 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:08,316 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:08,316 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:08,317 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 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 [2020-10-20 08:00:08,341 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 [2020-10-20 08:00:08,343 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-20 08:00:08,343 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-20 08:00:08,343 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-20 08:00:08,343 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-20 08:00:08,343 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-20 08:00:08,345 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-20 08:00:08,345 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-20 08:00:08,347 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-20 08:00:08,349 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-20 08:00:08,349 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 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 [2020-10-20 08:00:08,352 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-20 08:00:08,352 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-20 08:00:08,352 INFO L510 LassoAnalysis]: Proved termination. [2020-10-20 08:00:08,352 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] [2020-10-20 08:00:08,373 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-20 08:00:08,385 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:08,420 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:08,422 INFO L263 TraceCheckSpWp]: Trace formula consists of 179 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-20 08:00:08,423 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:08,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:08,467 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-20 08:00:08,468 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:08,499 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:08,499 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 [2020-10-20 08:00:08,500 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 187 states and 252 transitions. cyclomatic complexity: 74 Second operand 5 states. [2020-10-20 08:00:08,617 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 187 states and 252 transitions. cyclomatic complexity: 74. Second operand 5 states. Result 228 states and 298 transitions. Complement of second has 11 states. [2020-10-20 08:00:08,621 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2020-10-20 08:00:08,621 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-10-20 08:00:08,621 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 54 transitions. [2020-10-20 08:00:08,621 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 22 letters. Loop has 3 letters. [2020-10-20 08:00:08,622 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:08,622 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 25 letters. Loop has 3 letters. [2020-10-20 08:00:08,622 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:08,622 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 22 letters. Loop has 6 letters. [2020-10-20 08:00:08,622 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-20 08:00:08,623 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 228 states and 298 transitions. [2020-10-20 08:00:08,625 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-20 08:00:08,628 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 228 states to 218 states and 288 transitions. [2020-10-20 08:00:08,628 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 184 [2020-10-20 08:00:08,629 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 186 [2020-10-20 08:00:08,629 INFO L73 IsDeterministic]: Start isDeterministic. Operand 218 states and 288 transitions. [2020-10-20 08:00:08,629 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 08:00:08,629 INFO L691 BuchiCegarLoop]: Abstraction has 218 states and 288 transitions. [2020-10-20 08:00:08,629 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 218 states and 288 transitions. [2020-10-20 08:00:08,634 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 218 to 205. [2020-10-20 08:00:08,634 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 205 states. [2020-10-20 08:00:08,636 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 205 states to 205 states and 274 transitions. [2020-10-20 08:00:08,636 INFO L714 BuchiCegarLoop]: Abstraction has 205 states and 274 transitions. [2020-10-20 08:00:08,636 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:00:08,636 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-20 08:00:08,636 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2020-10-20 08:00:08,637 INFO L87 Difference]: Start difference. First operand 205 states and 274 transitions. Second operand 5 states. [2020-10-20 08:00:08,668 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:00:08,669 INFO L93 Difference]: Finished difference Result 201 states and 265 transitions. [2020-10-20 08:00:08,669 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-20 08:00:08,669 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 201 states and 265 transitions. [2020-10-20 08:00:08,672 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-20 08:00:08,674 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 201 states to 145 states and 177 transitions. [2020-10-20 08:00:08,674 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 135 [2020-10-20 08:00:08,675 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 135 [2020-10-20 08:00:08,675 INFO L73 IsDeterministic]: Start isDeterministic. Operand 145 states and 177 transitions. [2020-10-20 08:00:08,675 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 08:00:08,675 INFO L691 BuchiCegarLoop]: Abstraction has 145 states and 177 transitions. [2020-10-20 08:00:08,675 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 145 states and 177 transitions. [2020-10-20 08:00:08,678 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 145 to 125. [2020-10-20 08:00:08,679 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 125 states. [2020-10-20 08:00:08,679 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 125 states to 125 states and 154 transitions. [2020-10-20 08:00:08,680 INFO L714 BuchiCegarLoop]: Abstraction has 125 states and 154 transitions. [2020-10-20 08:00:08,680 INFO L594 BuchiCegarLoop]: Abstraction has 125 states and 154 transitions. [2020-10-20 08:00:08,680 INFO L427 BuchiCegarLoop]: ======== Iteration 10============ [2020-10-20 08:00:08,680 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 125 states and 154 transitions. [2020-10-20 08:00:08,681 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-20 08:00:08,681 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:00:08,681 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:00:08,682 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:00:08,682 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2020-10-20 08:00:08,682 INFO L794 eck$LassoCheckResult]: Stem: 5003#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 5000#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 5001#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 4990#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 5002#is_prime_ENTRY ~n := #in~n;~m := #in~m; 5027#L58 assume !(~n <= 1); 5026#L61 assume !(2 == ~n); 5025#L64 assume ~n > 2; 5024#L65 assume !(~m <= 1); 4969#L68 call #t~ret13 := multiple_of(~n, ~m);< 5023#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5022#L32 assume !(~m < 0); 5021#L35 assume !(~n < 0); 5020#L38 assume !(0 == ~m); 5019#L41 assume !(0 == ~n); 4963#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 5017#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5018#L32 assume !(~m < 0); 5038#L35 assume ~n < 0; 4988#L36 call #t~ret10 := multiple_of(-~n, ~m);< 5014#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5015#L32 assume !(~m < 0); 5053#L35 assume !(~n < 0); 5051#L38 assume !(0 == ~m); 5049#L41 assume !(0 == ~n); 4979#L44 [2020-10-20 08:00:08,682 INFO L796 eck$LassoCheckResult]: Loop: 4979#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 5052#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5050#L32 assume !(~m < 0); 5047#L35 assume ~n < 0; 4984#L36 call #t~ret10 := multiple_of(-~n, ~m);< 4985#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5033#L32 assume !(~m < 0); 5028#L35 assume !(~n < 0); 5030#L38 assume !(0 == ~m); 5042#L41 assume !(0 == ~n); 4979#L44 [2020-10-20 08:00:08,683 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:08,683 INFO L82 PathProgramCache]: Analyzing trace with hash 1630507919, now seen corresponding path program 1 times [2020-10-20 08:00:08,683 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:08,683 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [261692143] [2020-10-20 08:00:08,683 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:08,691 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:08,739 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 8 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:08,740 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [261692143] [2020-10-20 08:00:08,740 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [507080734] [2020-10-20 08:00:08,740 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 81 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 81 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-10-20 08:00:08,773 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-20 08:00:08,775 INFO L263 TraceCheckSpWp]: Trace formula consists of 93 conjuncts, 11 conjunts are in the unsatisfiable core [2020-10-20 08:00:08,777 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-20 08:00:08,800 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 8 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-20 08:00:08,801 INFO L219 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-10-20 08:00:08,801 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 8 [2020-10-20 08:00:08,801 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1302722076] [2020-10-20 08:00:08,802 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-20 08:00:08,802 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:08,802 INFO L82 PathProgramCache]: Analyzing trace with hash 1914411566, now seen corresponding path program 1 times [2020-10-20 08:00:08,802 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:08,802 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1051452468] [2020-10-20 08:00:08,802 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:08,806 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:08,807 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:08,809 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:08,809 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:08,811 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:08,993 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-20 08:00:08,993 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2020-10-20 08:00:08,993 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2020-10-20 08:00:08,993 INFO L87 Difference]: Start difference. First operand 125 states and 154 transitions. cyclomatic complexity: 35 Second operand 8 states. [2020-10-20 08:00:09,113 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-20 08:00:09,113 INFO L93 Difference]: Finished difference Result 147 states and 183 transitions. [2020-10-20 08:00:09,114 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2020-10-20 08:00:09,114 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 147 states and 183 transitions. [2020-10-20 08:00:09,116 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-20 08:00:09,117 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 147 states to 145 states and 181 transitions. [2020-10-20 08:00:09,118 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 130 [2020-10-20 08:00:09,118 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 130 [2020-10-20 08:00:09,118 INFO L73 IsDeterministic]: Start isDeterministic. Operand 145 states and 181 transitions. [2020-10-20 08:00:09,118 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-20 08:00:09,118 INFO L691 BuchiCegarLoop]: Abstraction has 145 states and 181 transitions. [2020-10-20 08:00:09,118 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 145 states and 181 transitions. [2020-10-20 08:00:09,121 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 145 to 143. [2020-10-20 08:00:09,121 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 143 states. [2020-10-20 08:00:09,122 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 143 states to 143 states and 173 transitions. [2020-10-20 08:00:09,122 INFO L714 BuchiCegarLoop]: Abstraction has 143 states and 173 transitions. [2020-10-20 08:00:09,123 INFO L594 BuchiCegarLoop]: Abstraction has 143 states and 173 transitions. [2020-10-20 08:00:09,123 INFO L427 BuchiCegarLoop]: ======== Iteration 11============ [2020-10-20 08:00:09,123 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 143 states and 173 transitions. [2020-10-20 08:00:09,124 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-20 08:00:09,124 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-20 08:00:09,124 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-20 08:00:09,125 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [4, 4, 3, 3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-20 08:00:09,125 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2020-10-20 08:00:09,125 INFO L794 eck$LassoCheckResult]: Stem: 5361#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 5353#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 5354#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 5351#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 5360#is_prime_ENTRY ~n := #in~n;~m := #in~m; 5453#L58 assume !(~n <= 1); 5451#L61 assume !(2 == ~n); 5449#L64 assume ~n > 2; 5362#L65 assume !(~m <= 1); 5335#L68 call #t~ret13 := multiple_of(~n, ~m);< 5434#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5457#L32 assume !(~m < 0); 5334#L35 assume !(~n < 0); 5336#L38 assume !(0 == ~m); 5356#L41 assume !(0 == ~n); 5338#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 5428#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5371#L32 assume !(~m < 0); 5337#L35 assume !(~n < 0); 5339#L38 assume !(0 == ~m); 5443#L41 assume !(0 == ~n); 5329#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 5330#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5367#L32 assume !(~m < 0); 5370#L35 assume ~n < 0; 5349#L36 call #t~ret10 := multiple_of(-~n, ~m);< 5378#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5379#L32 assume !(~m < 0); 5395#L35 assume !(~n < 0); 5393#L38 assume !(0 == ~m); 5392#L41 assume !(0 == ~n); 5342#L44 [2020-10-20 08:00:09,125 INFO L796 eck$LassoCheckResult]: Loop: 5342#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 5402#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5405#L32 assume !(~m < 0); 5403#L35 assume ~n < 0; 5346#L36 call #t~ret10 := multiple_of(-~n, ~m);< 5347#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5400#L32 assume !(~m < 0); 5398#L35 assume !(~n < 0); 5399#L38 assume !(0 == ~m); 5390#L41 assume !(0 == ~n); 5342#L44 [2020-10-20 08:00:09,126 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:09,126 INFO L82 PathProgramCache]: Analyzing trace with hash 1699001928, now seen corresponding path program 2 times [2020-10-20 08:00:09,126 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:09,126 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [664820184] [2020-10-20 08:00:09,126 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:09,135 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:09,135 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:09,144 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:09,144 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:09,149 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:09,149 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:09,150 INFO L82 PathProgramCache]: Analyzing trace with hash 1914411566, now seen corresponding path program 2 times [2020-10-20 08:00:09,150 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:09,150 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1522950115] [2020-10-20 08:00:09,150 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:09,153 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:09,154 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:09,156 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:09,156 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:09,158 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:09,158 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-20 08:00:09,158 INFO L82 PathProgramCache]: Analyzing trace with hash -186489931, now seen corresponding path program 3 times [2020-10-20 08:00:09,159 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-20 08:00:09,159 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [164599462] [2020-10-20 08:00:09,159 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-20 08:00:09,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:09,170 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:09,189 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-20 08:00:09,190 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-20 08:00:09,196 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-20 08:00:10,079 WARN L193 SmtUtils]: Spent 176.00 ms on a formula simplification. DAG size of input: 75 DAG size of output: 69 [2020-10-20 08:00:10,388 WARN L193 SmtUtils]: Spent 201.00 ms on a formula simplification. DAG size of input: 84 DAG size of output: 76 [2020-10-20 08:00:10,502 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 20.10 08:00:10 BoogieIcfgContainer [2020-10-20 08:00:10,502 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-20 08:00:10,503 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-20 08:00:10,503 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-20 08:00:10,503 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-20 08:00:10,503 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.10 07:59:55" (3/4) ... [2020-10-20 08:00:10,506 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-10-20 08:00:10,554 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-10-20 08:00:10,554 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-20 08:00:10,555 INFO L168 Benchmark]: Toolchain (without parser) took 15810.78 ms. Allocated memory was 36.7 MB in the beginning and 92.8 MB in the end (delta: 56.1 MB). Free memory was 10.8 MB in the beginning and 63.2 MB in the end (delta: -52.4 MB). Peak memory consumption was 3.7 MB. Max. memory is 14.3 GB. [2020-10-20 08:00:10,556 INFO L168 Benchmark]: CDTParser took 0.26 ms. Allocated memory is still 36.7 MB. Free memory was 15.7 MB in the beginning and 15.6 MB in the end (delta: 49.2 kB). Peak memory consumption was 49.2 kB. Max. memory is 14.3 GB. [2020-10-20 08:00:10,556 INFO L168 Benchmark]: CACSL2BoogieTranslator took 446.59 ms. Allocated memory was 36.7 MB in the beginning and 44.0 MB in the end (delta: 7.3 MB). Free memory was 9.9 MB in the beginning and 26.4 MB in the end (delta: -16.5 MB). Peak memory consumption was 7.0 MB. Max. memory is 14.3 GB. [2020-10-20 08:00:10,557 INFO L168 Benchmark]: Boogie Procedure Inliner took 43.76 ms. Allocated memory is still 44.0 MB. Free memory was 26.4 MB in the beginning and 24.6 MB in the end (delta: 1.8 MB). Peak memory consumption was 1.8 MB. Max. memory is 14.3 GB. [2020-10-20 08:00:10,557 INFO L168 Benchmark]: Boogie Preprocessor took 27.85 ms. Allocated memory is still 44.0 MB. Free memory was 24.6 MB in the beginning and 23.4 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 14.3 GB. [2020-10-20 08:00:10,557 INFO L168 Benchmark]: RCFGBuilder took 476.10 ms. Allocated memory was 44.0 MB in the beginning and 46.7 MB in the end (delta: 2.6 MB). Free memory was 23.2 MB in the beginning and 18.8 MB in the end (delta: 4.4 MB). Peak memory consumption was 13.3 MB. Max. memory is 14.3 GB. [2020-10-20 08:00:10,559 INFO L168 Benchmark]: BuchiAutomizer took 14754.40 ms. Allocated memory was 46.7 MB in the beginning and 92.8 MB in the end (delta: 46.1 MB). Free memory was 18.8 MB in the beginning and 65.8 MB in the end (delta: -47.0 MB). Peak memory consumption was 56.5 MB. Max. memory is 14.3 GB. [2020-10-20 08:00:10,559 INFO L168 Benchmark]: Witness Printer took 51.16 ms. Allocated memory is still 92.8 MB. Free memory was 65.8 MB in the beginning and 63.2 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 14.3 GB. [2020-10-20 08:00:10,561 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.26 ms. Allocated memory is still 36.7 MB. Free memory was 15.7 MB in the beginning and 15.6 MB in the end (delta: 49.2 kB). Peak memory consumption was 49.2 kB. Max. memory is 14.3 GB. * CACSL2BoogieTranslator took 446.59 ms. Allocated memory was 36.7 MB in the beginning and 44.0 MB in the end (delta: 7.3 MB). Free memory was 9.9 MB in the beginning and 26.4 MB in the end (delta: -16.5 MB). Peak memory consumption was 7.0 MB. Max. memory is 14.3 GB. * Boogie Procedure Inliner took 43.76 ms. Allocated memory is still 44.0 MB. Free memory was 26.4 MB in the beginning and 24.6 MB in the end (delta: 1.8 MB). Peak memory consumption was 1.8 MB. Max. memory is 14.3 GB. * Boogie Preprocessor took 27.85 ms. Allocated memory is still 44.0 MB. Free memory was 24.6 MB in the beginning and 23.4 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 14.3 GB. * RCFGBuilder took 476.10 ms. Allocated memory was 44.0 MB in the beginning and 46.7 MB in the end (delta: 2.6 MB). Free memory was 23.2 MB in the beginning and 18.8 MB in the end (delta: 4.4 MB). Peak memory consumption was 13.3 MB. Max. memory is 14.3 GB. * BuchiAutomizer took 14754.40 ms. Allocated memory was 46.7 MB in the beginning and 92.8 MB in the end (delta: 46.1 MB). Free memory was 18.8 MB in the beginning and 65.8 MB in the end (delta: -47.0 MB). Peak memory consumption was 56.5 MB. Max. memory is 14.3 GB. * Witness Printer took 51.16 ms. Allocated memory is still 92.8 MB. Free memory was 65.8 MB in the beginning and 63.2 MB in the end (delta: 2.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 14.3 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 15 terminating modules (8 trivial, 7 deterministic, 0 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function \old(m) and consists of 13 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 7 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. 8 modules have a trivial ranking function, the largest among these consists of 10 locations. The remainder module has 143 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 14.6s and 11 iterations. TraceHistogramMax:4. Analysis of lassos took 10.7s. Construction of modules took 1.0s. Büchi inclusion checks took 2.3s. Highest rank in rank-based complementation 3. Minimization of det autom 4. Minimization of nondet autom 11. Automata minimization 0.1s AutomataMinimizationTime, 15 MinimizatonAttempts, 265 StatesRemovedByMinimization, 14 NontrivialMinimizations. Non-live state removal took 0.1s Buchi closure took 0.0s. Biggest automaton had 187 states and ocurred in iteration 8. Nontrivial modules had stage [7, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 1/7 HoareTripleCheckerStatistics: 661 SDtfs, 649 SDslu, 1243 SDs, 0 SdLazy, 881 SolverSat, 185 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1.0s Time LassoAnalysisResults: nont1 unkn0 SFLI2 SFLT2 conc0 concLT1 SILN1 SILU0 SILI0 SILT4 lasso0 LassoPreprocessingBenchmarks: Lassos: inital19 mio100 ax100 hnf99 lsp78 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq174 hnf92 smp91 dnf100 smp100 tf109 neg98 sie110 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 34ms VariablesStem: 0 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 0 MotzkinApplications: 2 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 23 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 7 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 3.4s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 44]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=30823} State at position 1 is {n=0, NULL=30826, NULL=0, NULL=30824, \result=0, NULL=30823, f1=0, m=0, n=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7dd6cb27=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@bfad0b0=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1de3470=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@65ee54b3=0, NULL=0, result=0, f2=0, m=2, n=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@4eda988a=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4154a310=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7af1ac33=0, \result=0, NULL=30824, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@352eb6b5=0, NULL=0, NULL=0, NULL=0, NULL=30825, NULL=30825, \old(n)=1, \old(m)=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@20ad0fb4=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@572ef9b6=0, n=0, NULL=30826, NULL=0, NULL=0, \old(n)=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@19780252=0, \result=0, \old(m)=0, \old(n)=0, NULL=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@786840d1=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 44]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L77] int n = __VERIFIER_nondet_int(); [L78] COND FALSE !(n < 1 || n > 46340) [L53] CALL is_prime_(n, n - 1) [L58] COND FALSE !(n <= 1) [L61] COND FALSE !(n == 2) [L64] COND TRUE n > 2 [L65] COND FALSE !(m <= 1) [L68] CALL multiple_of(n, m) [L32] COND FALSE !(m < 0) [L35] COND FALSE !(n < 0) [L38] COND FALSE !(m == 0) [L41] COND FALSE !(n == 0) [L44] CALL multiple_of(n - m, m) [L32] COND FALSE !(m < 0) [L35] COND FALSE !(n < 0) [L38] COND FALSE !(m == 0) [L41] COND FALSE !(n == 0) [L44] CALL multiple_of(n - m, m) [L32] COND FALSE !(m < 0) [L35] COND TRUE n < 0 [L36] CALL multiple_of(-n, m) [L32] COND FALSE !(m < 0) [L35] COND FALSE !(n < 0) [L38] COND FALSE !(m == 0) [L41] COND FALSE !(n == 0) Loop: [L44] CALL multiple_of(n - m, m) [L32] COND FALSE !(m < 0) [L35] COND TRUE n < 0 [L36] CALL multiple_of(-n, m) [L32] COND FALSE !(m < 0) [L35] COND FALSE !(n < 0) [L38] COND FALSE !(m == 0) [L41] COND FALSE !(n == 0) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...