./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 30f4e4ab Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/recursive/Primes.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 82151ec4435da78821025b3100fe51201edc8f02 ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.1.24-30f4e4a [2019-11-28 03:43:28,128 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-11-28 03:43:28,130 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-11-28 03:43:28,148 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-11-28 03:43:28,148 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-11-28 03:43:28,151 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-11-28 03:43:28,153 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-11-28 03:43:28,165 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-11-28 03:43:28,167 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-11-28 03:43:28,169 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-11-28 03:43:28,170 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2019-11-28 03:43:28,173 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-11-28 03:43:28,173 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-11-28 03:43:28,178 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-11-28 03:43:28,180 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-11-28 03:43:28,182 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-11-28 03:43:28,184 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-11-28 03:43:28,187 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-11-28 03:43:28,189 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-11-28 03:43:28,195 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-11-28 03:43:28,200 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-11-28 03:43:28,201 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-11-28 03:43:28,204 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-11-28 03:43:28,206 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-11-28 03:43:28,209 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-11-28 03:43:28,210 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-11-28 03:43:28,210 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-11-28 03:43:28,212 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-11-28 03:43:28,212 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-11-28 03:43:28,213 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-11-28 03:43:28,214 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-11-28 03:43:28,214 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-11-28 03:43:28,215 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-11-28 03:43:28,216 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-11-28 03:43:28,218 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-11-28 03:43:28,218 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-11-28 03:43:28,219 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-11-28 03:43:28,219 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-11-28 03:43:28,219 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-11-28 03:43:28,222 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-11-28 03:43:28,223 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-11-28 03:43:28,224 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2019-11-28 03:43:28,244 INFO L113 SettingsManager]: Loading preferences was successful [2019-11-28 03:43:28,245 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-11-28 03:43:28,246 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-11-28 03:43:28,247 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-11-28 03:43:28,247 INFO L138 SettingsManager]: * Use SBE=true [2019-11-28 03:43:28,247 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2019-11-28 03:43:28,248 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2019-11-28 03:43:28,248 INFO L138 SettingsManager]: * Use old map elimination=false [2019-11-28 03:43:28,248 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2019-11-28 03:43:28,249 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2019-11-28 03:43:28,249 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2019-11-28 03:43:28,249 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-11-28 03:43:28,249 INFO L138 SettingsManager]: * sizeof long=4 [2019-11-28 03:43:28,251 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2019-11-28 03:43:28,251 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-11-28 03:43:28,251 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-11-28 03:43:28,252 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-11-28 03:43:28,252 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2019-11-28 03:43:28,252 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2019-11-28 03:43:28,252 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2019-11-28 03:43:28,253 INFO L138 SettingsManager]: * sizeof long double=12 [2019-11-28 03:43:28,253 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-11-28 03:43:28,253 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2019-11-28 03:43:28,253 INFO L138 SettingsManager]: * Use constant arrays=true [2019-11-28 03:43:28,253 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2019-11-28 03:43:28,254 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-11-28 03:43:28,254 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-11-28 03:43:28,254 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2019-11-28 03:43:28,254 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-11-28 03:43:28,255 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2019-11-28 03:43:28,255 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2019-11-28 03:43:28,258 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2019-11-28 03:43:28,258 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 82151ec4435da78821025b3100fe51201edc8f02 [2019-11-28 03:43:28,598 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-11-28 03:43:28,617 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-11-28 03:43:28,621 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-11-28 03:43:28,622 INFO L271 PluginConnector]: Initializing CDTParser... [2019-11-28 03:43:28,623 INFO L275 PluginConnector]: CDTParser initialized [2019-11-28 03:43:28,623 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/recursive/Primes.c [2019-11-28 03:43:28,696 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4f2311d7f/3bc498a21a1342be866786ff9efa9bdf/FLAG4282f8d5c [2019-11-28 03:43:29,167 INFO L306 CDTParser]: Found 1 translation units. [2019-11-28 03:43:29,168 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive/Primes.c [2019-11-28 03:43:29,175 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4f2311d7f/3bc498a21a1342be866786ff9efa9bdf/FLAG4282f8d5c [2019-11-28 03:43:29,593 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4f2311d7f/3bc498a21a1342be866786ff9efa9bdf [2019-11-28 03:43:29,597 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-11-28 03:43:29,598 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2019-11-28 03:43:29,599 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2019-11-28 03:43:29,600 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2019-11-28 03:43:29,605 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2019-11-28 03:43:29,606 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:29,609 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@49b9b596 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29, skipping insertion in model container [2019-11-28 03:43:29,609 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:29,617 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2019-11-28 03:43:29,645 INFO L178 MainTranslator]: Built tables and reachable declarations [2019-11-28 03:43:29,853 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 03:43:29,857 INFO L203 MainTranslator]: Completed pre-run [2019-11-28 03:43:29,876 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 03:43:29,888 INFO L208 MainTranslator]: Completed translation [2019-11-28 03:43:29,889 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29 WrapperNode [2019-11-28 03:43:29,889 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2019-11-28 03:43:29,890 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-11-28 03:43:29,890 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-11-28 03:43:29,890 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-11-28 03:43:29,954 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:29,960 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:29,981 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-11-28 03:43:29,981 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-11-28 03:43:29,981 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-11-28 03:43:29,981 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-11-28 03:43:29,991 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:29,991 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:29,999 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:30,000 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:30,004 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:30,007 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:30,009 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (1/1) ... [2019-11-28 03:43:30,011 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-11-28 03:43:30,012 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-11-28 03:43:30,012 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-11-28 03:43:30,012 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-11-28 03:43:30,013 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:30,070 INFO L130 BoogieDeclarations]: Found specification of procedure multiple_of [2019-11-28 03:43:30,070 INFO L138 BoogieDeclarations]: Found implementation of procedure multiple_of [2019-11-28 03:43:30,070 INFO L130 BoogieDeclarations]: Found specification of procedure mult [2019-11-28 03:43:30,070 INFO L138 BoogieDeclarations]: Found implementation of procedure mult [2019-11-28 03:43:30,070 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-11-28 03:43:30,070 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-11-28 03:43:30,073 INFO L130 BoogieDeclarations]: Found specification of procedure is_prime_ [2019-11-28 03:43:30,073 INFO L138 BoogieDeclarations]: Found implementation of procedure is_prime_ [2019-11-28 03:43:30,429 INFO L292 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-11-28 03:43:30,429 INFO L297 CfgBuilder]: Removed 6 assume(true) statements. [2019-11-28 03:43:30,430 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 03:43:30 BoogieIcfgContainer [2019-11-28 03:43:30,430 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-11-28 03:43:30,431 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2019-11-28 03:43:30,431 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2019-11-28 03:43:30,435 INFO L275 PluginConnector]: BuchiAutomizer initialized [2019-11-28 03:43:30,435 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 03:43:30,436 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.11 03:43:29" (1/3) ... [2019-11-28 03:43:30,437 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2fc106be and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 03:43:30, skipping insertion in model container [2019-11-28 03:43:30,437 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 03:43:30,437 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 03:43:29" (2/3) ... [2019-11-28 03:43:30,437 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2fc106be and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 03:43:30, skipping insertion in model container [2019-11-28 03:43:30,437 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 03:43:30,437 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 03:43:30" (3/3) ... [2019-11-28 03:43:30,439 INFO L371 chiAutomizerObserver]: Analyzing ICFG Primes.c [2019-11-28 03:43:30,479 INFO L356 BuchiCegarLoop]: Interprodecural is true [2019-11-28 03:43:30,479 INFO L357 BuchiCegarLoop]: Hoare is false [2019-11-28 03:43:30,479 INFO L358 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2019-11-28 03:43:30,479 INFO L359 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2019-11-28 03:43:30,479 INFO L360 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-11-28 03:43:30,479 INFO L361 BuchiCegarLoop]: Difference is false [2019-11-28 03:43:30,479 INFO L362 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-11-28 03:43:30,480 INFO L365 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2019-11-28 03:43:30,495 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 49 states. [2019-11-28 03:43:30,523 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 03:43:30,523 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:30,524 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:30,533 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 03:43:30,534 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:30,534 INFO L424 BuchiCegarLoop]: ======== Iteration 1============ [2019-11-28 03:43:30,534 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 49 states. [2019-11-28 03:43:30,540 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 03:43:30,540 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:30,540 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:30,541 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 03:43:30,541 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:30,549 INFO L794 eck$LassoCheckResult]: Stem: 29#ULTIMATE.startENTRYtrue havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 13#L76true assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 10#L51true call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 12#is_prime_ENTRYtrue [2019-11-28 03:43:30,550 INFO L796 eck$LassoCheckResult]: Loop: 12#is_prime_ENTRYtrue ~n := #in~n;~m := #in~m; 41#L56true assume !(~n <= 1); 35#L59true assume !(2 == ~n); 25#L62true assume ~n > 2; 39#L63true assume !(~m <= 1); 32#L66true call #t~ret6 := multiple_of(~n, ~m);< 51#multiple_ofENTRYtrue ~n := #in~n;~m := #in~m; 31#L30true assume !(~m < 0); 24#L33true assume !(~n < 0); 37#L36true assume 0 == ~m;#res := 0; 27#multiple_ofFINALtrue assume true; 46#multiple_ofEXITtrue >#121#return; 30#L66-1true assume !(0 == #t~ret6);havoc #t~ret6; 23#L69true call #t~ret7 := is_prime_(~n, ~m - 1);< 12#is_prime_ENTRYtrue [2019-11-28 03:43:30,556 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:30,557 INFO L82 PathProgramCache]: Analyzing trace with hash 72718, now seen corresponding path program 1 times [2019-11-28 03:43:30,564 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:30,565 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1918948199] [2019-11-28 03:43:30,565 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:30,648 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:30,654 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:30,674 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:30,675 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:30,676 INFO L82 PathProgramCache]: Analyzing trace with hash -1613119264, now seen corresponding path program 1 times [2019-11-28 03:43:30,676 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:30,676 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1280120101] [2019-11-28 03:43:30,677 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:30,688 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:30,749 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:30,785 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:30,786 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1280120101] [2019-11-28 03:43:30,788 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 03:43:30,788 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2019-11-28 03:43:30,790 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1008428161] [2019-11-28 03:43:30,800 INFO L811 eck$LassoCheckResult]: loop already infeasible [2019-11-28 03:43:30,801 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 03:43:30,820 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2019-11-28 03:43:30,821 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2019-11-28 03:43:30,824 INFO L87 Difference]: Start difference. First operand 49 states. Second operand 5 states. [2019-11-28 03:43:30,993 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 03:43:30,994 INFO L93 Difference]: Finished difference Result 55 states and 79 transitions. [2019-11-28 03:43:30,994 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2019-11-28 03:43:30,996 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 55 states and 79 transitions. [2019-11-28 03:43:31,002 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 03:43:31,010 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 55 states to 40 states and 53 transitions. [2019-11-28 03:43:31,011 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 40 [2019-11-28 03:43:31,012 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 40 [2019-11-28 03:43:31,013 INFO L73 IsDeterministic]: Start isDeterministic. Operand 40 states and 53 transitions. [2019-11-28 03:43:31,015 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2019-11-28 03:43:31,015 INFO L688 BuchiCegarLoop]: Abstraction has 40 states and 53 transitions. [2019-11-28 03:43:31,032 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 40 states and 53 transitions. [2019-11-28 03:43:31,045 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 40 to 38. [2019-11-28 03:43:31,045 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 38 states. [2019-11-28 03:43:31,047 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 38 states and 50 transitions. [2019-11-28 03:43:31,048 INFO L711 BuchiCegarLoop]: Abstraction has 38 states and 50 transitions. [2019-11-28 03:43:31,049 INFO L591 BuchiCegarLoop]: Abstraction has 38 states and 50 transitions. [2019-11-28 03:43:31,049 INFO L424 BuchiCegarLoop]: ======== Iteration 2============ [2019-11-28 03:43:31,049 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 38 states and 50 transitions. [2019-11-28 03:43:31,050 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 03:43:31,051 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:31,051 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:31,052 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 03:43:31,052 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:31,052 INFO L794 eck$LassoCheckResult]: Stem: 158#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 149#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 138#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 146#is_prime_ENTRY [2019-11-28 03:43:31,052 INFO L796 eck$LassoCheckResult]: Loop: 146#is_prime_ENTRY ~n := #in~n;~m := #in~m; 147#L56 assume !(~n <= 1); 137#L59 assume !(2 == ~n); 141#L62 assume ~n > 2; 148#L63 assume !(~m <= 1); 124#L66 call #t~ret6 := multiple_of(~n, ~m);< 134#multiple_ofENTRY ~n := #in~n;~m := #in~m; 159#L30 assume !(~m < 0); 155#L33 assume !(~n < 0); 144#L36 assume !(0 == ~m); 145#L39 assume 0 == ~n;#res := 1; 128#multiple_ofFINAL assume true; 156#multiple_ofEXIT >#121#return; 157#L66-1 assume !(0 == #t~ret6);havoc #t~ret6; 139#L69 call #t~ret7 := is_prime_(~n, ~m - 1);< 146#is_prime_ENTRY [2019-11-28 03:43:31,053 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:31,053 INFO L82 PathProgramCache]: Analyzing trace with hash 72718, now seen corresponding path program 2 times [2019-11-28 03:43:31,053 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:31,054 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [20141183] [2019-11-28 03:43:31,054 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:31,059 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:31,063 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:31,066 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:31,066 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:31,067 INFO L82 PathProgramCache]: Analyzing trace with hash 1554944608, now seen corresponding path program 1 times [2019-11-28 03:43:31,067 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:31,067 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1933250106] [2019-11-28 03:43:31,068 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:31,076 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:31,106 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:31,157 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:31,158 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1933250106] [2019-11-28 03:43:31,158 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 03:43:31,158 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2019-11-28 03:43:31,159 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1005326261] [2019-11-28 03:43:31,159 INFO L811 eck$LassoCheckResult]: loop already infeasible [2019-11-28 03:43:31,159 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 03:43:31,160 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2019-11-28 03:43:31,161 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2019-11-28 03:43:31,161 INFO L87 Difference]: Start difference. First operand 38 states and 50 transitions. cyclomatic complexity: 15 Second operand 5 states. [2019-11-28 03:43:31,253 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 03:43:31,253 INFO L93 Difference]: Finished difference Result 42 states and 56 transitions. [2019-11-28 03:43:31,254 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2019-11-28 03:43:31,255 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 42 states and 56 transitions. [2019-11-28 03:43:31,257 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 03:43:31,260 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 42 states to 42 states and 56 transitions. [2019-11-28 03:43:31,260 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 42 [2019-11-28 03:43:31,260 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 42 [2019-11-28 03:43:31,261 INFO L73 IsDeterministic]: Start isDeterministic. Operand 42 states and 56 transitions. [2019-11-28 03:43:31,262 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2019-11-28 03:43:31,262 INFO L688 BuchiCegarLoop]: Abstraction has 42 states and 56 transitions. [2019-11-28 03:43:31,262 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 42 states and 56 transitions. [2019-11-28 03:43:31,269 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 42 to 40. [2019-11-28 03:43:31,269 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 40 states. [2019-11-28 03:43:31,270 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 40 states and 53 transitions. [2019-11-28 03:43:31,271 INFO L711 BuchiCegarLoop]: Abstraction has 40 states and 53 transitions. [2019-11-28 03:43:31,271 INFO L591 BuchiCegarLoop]: Abstraction has 40 states and 53 transitions. [2019-11-28 03:43:31,271 INFO L424 BuchiCegarLoop]: ======== Iteration 3============ [2019-11-28 03:43:31,271 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 40 states and 53 transitions. [2019-11-28 03:43:31,273 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2019-11-28 03:43:31,273 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:31,273 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:31,275 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 03:43:31,276 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:31,276 INFO L794 eck$LassoCheckResult]: Stem: 255#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 246#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 235#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 243#is_prime_ENTRY [2019-11-28 03:43:31,278 INFO L796 eck$LassoCheckResult]: Loop: 243#is_prime_ENTRY ~n := #in~n;~m := #in~m; 244#L56 assume !(~n <= 1); 234#L59 assume !(2 == ~n); 238#L62 assume ~n > 2; 245#L63 assume !(~m <= 1); 223#L66 call #t~ret6 := multiple_of(~n, ~m);< 231#multiple_ofENTRY ~n := #in~n;~m := #in~m; 257#L30 assume !(~m < 0); 253#L33 assume !(~n < 0); 241#L36 assume !(0 == ~m); 242#L39 assume !(0 == ~n); 224#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 231#multiple_ofENTRY ~n := #in~n;~m := #in~m; 257#L30 assume !(~m < 0); 253#L33 assume !(~n < 0); 241#L36 assume !(0 == ~m); 242#L39 assume 0 == ~n;#res := 1; 225#multiple_ofFINAL assume true; 254#multiple_ofEXIT >#111#return; 247#L42-1 #res := #t~ret4;havoc #t~ret4; 248#multiple_ofFINAL assume true; 259#multiple_ofEXIT >#121#return; 256#L66-1 assume !(0 == #t~ret6);havoc #t~ret6; 236#L69 call #t~ret7 := is_prime_(~n, ~m - 1);< 243#is_prime_ENTRY [2019-11-28 03:43:31,278 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:31,278 INFO L82 PathProgramCache]: Analyzing trace with hash 72718, now seen corresponding path program 3 times [2019-11-28 03:43:31,279 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:31,279 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [257455156] [2019-11-28 03:43:31,279 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:31,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:31,290 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:31,293 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:31,293 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:31,294 INFO L82 PathProgramCache]: Analyzing trace with hash 326750000, now seen corresponding path program 1 times [2019-11-28 03:43:31,294 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:31,294 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1215209697] [2019-11-28 03:43:31,294 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:31,323 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:31,352 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:31,357 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:31,359 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:31,359 INFO L82 PathProgramCache]: Analyzing trace with hash 1599788093, now seen corresponding path program 1 times [2019-11-28 03:43:31,360 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:31,360 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [513854044] [2019-11-28 03:43:31,361 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:31,388 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:31,449 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:31,498 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:31,545 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2019-11-28 03:43:31,546 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [513854044] [2019-11-28 03:43:31,546 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [2090189984] [2019-11-28 03:43:31,547 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 03:43:31,603 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:31,607 INFO L255 TraceCheckSpWp]: Trace formula consists of 70 conjuncts, 11 conjunts are in the unsatisfiable core [2019-11-28 03:43:31,613 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:31,719 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2019-11-28 03:43:31,720 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2019-11-28 03:43:31,720 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 10 [2019-11-28 03:43:31,721 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1348068623] [2019-11-28 03:43:32,100 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:32,101 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:32,101 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:32,101 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:32,102 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 03:43:32,102 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:32,103 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:32,103 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:32,103 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2019-11-28 03:43:32,103 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:32,104 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:32,124 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,132 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,135 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,138 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,142 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,158 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,217 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:32,218 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:32,228 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:32,229 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:32,238 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:32,239 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__~n=0} Honda state: {is_prime__~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:32,256 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:32,257 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:32,271 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:32,272 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__~m=0} Honda state: {is_prime__~m=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [MP z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Exception during sending of exit command (exit): Broken pipe 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) [2019-11-28 03:43:32,300 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:32,300 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 [2019-11-28 03:43:32,306 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:32,306 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__#t~ret6=0} Honda state: {is_prime__#t~ret6=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:32,325 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:32,325 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:32,330 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:32,330 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__#t~ret7=0} Honda state: {is_prime__#t~ret7=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:32,342 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:32,343 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:32,359 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 03:43:32,359 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:32,433 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 03:43:32,436 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:32,436 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:32,436 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:32,436 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:32,436 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 03:43:32,437 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:32,437 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:32,437 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:32,438 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2019-11-28 03:43:32,438 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:32,438 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:32,439 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,452 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,455 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,458 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,468 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,472 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:32,556 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:32,561 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:32,568 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:32,570 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:32,571 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:32,571 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:32,571 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:32,572 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:32,574 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:32,575 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:32,578 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:32,602 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:32,604 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:32,605 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:32,605 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:32,605 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:32,605 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:32,606 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:32,606 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:32,609 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:32,621 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:32,629 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:32,629 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:32,629 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:32,630 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:32,630 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:32,631 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:32,631 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:32,633 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 [2019-11-28 03:43:32,651 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:32,654 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:32,654 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:32,655 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:32,655 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:32,655 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:32,657 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:32,657 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:32,661 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 03:43:32,708 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2019-11-28 03:43:32,709 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:32,728 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 03:43:32,728 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 03:43:32,728 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 03:43:32,729 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(is_prime__#in~m) = 1*is_prime__#in~m Supporting invariants [] [2019-11-28 03:43:32,735 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed Waiting until toolchain timeout for monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:32,767 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:32,795 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:32,796 INFO L255 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-28 03:43:32,797 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:32,824 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:32,825 INFO L255 TraceCheckSpWp]: Trace formula consists of 140 conjuncts, 18 conjunts are in the unsatisfiable core [2019-11-28 03:43:32,828 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:32,980 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2019-11-28 03:43:32,985 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 9 loop predicates [2019-11-28 03:43:32,986 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 40 states and 53 transitions. cyclomatic complexity: 16 Second operand 10 states. [2019-11-28 03:43:33,455 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 40 states and 53 transitions. cyclomatic complexity: 16. Second operand 10 states. Result 174 states and 238 transitions. Complement of second has 40 states. [2019-11-28 03:43:33,456 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 9 states 1 stem states 7 non-accepting loop states 1 accepting loop states [2019-11-28 03:43:33,456 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2019-11-28 03:43:33,458 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 44 transitions. [2019-11-28 03:43:33,460 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 44 transitions. Stem has 3 letters. Loop has 24 letters. [2019-11-28 03:43:33,462 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:33,462 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 44 transitions. Stem has 27 letters. Loop has 24 letters. [2019-11-28 03:43:33,463 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:33,464 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 44 transitions. Stem has 3 letters. Loop has 48 letters. [2019-11-28 03:43:33,465 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:33,465 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 174 states and 238 transitions. [2019-11-28 03:43:33,471 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 22 [2019-11-28 03:43:33,478 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 174 states to 150 states and 200 transitions. [2019-11-28 03:43:33,478 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 89 [2019-11-28 03:43:33,479 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 91 [2019-11-28 03:43:33,479 INFO L73 IsDeterministic]: Start isDeterministic. Operand 150 states and 200 transitions. [2019-11-28 03:43:33,481 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:33,481 INFO L688 BuchiCegarLoop]: Abstraction has 150 states and 200 transitions. [2019-11-28 03:43:33,481 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 150 states and 200 transitions. [2019-11-28 03:43:33,494 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 150 to 107. [2019-11-28 03:43:33,495 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 107 states. [2019-11-28 03:43:33,496 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 107 states to 107 states and 138 transitions. [2019-11-28 03:43:33,497 INFO L711 BuchiCegarLoop]: Abstraction has 107 states and 138 transitions. [2019-11-28 03:43:33,497 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 03:43:33,497 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2019-11-28 03:43:33,498 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=22, Invalid=68, Unknown=0, NotChecked=0, Total=90 [2019-11-28 03:43:33,498 INFO L87 Difference]: Start difference. First operand 107 states and 138 transitions. Second operand 10 states. [MP z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (13)] Exception during sending of exit command (exit): Broken pipe [2019-11-28 03:43:33,790 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 03:43:33,790 INFO L93 Difference]: Finished difference Result 145 states and 192 transitions. [2019-11-28 03:43:33,792 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2019-11-28 03:43:33,792 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 145 states and 192 transitions. [2019-11-28 03:43:33,800 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 21 [2019-11-28 03:43:33,811 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 145 states to 139 states and 184 transitions. [2019-11-28 03:43:33,812 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 84 [2019-11-28 03:43:33,812 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 84 [2019-11-28 03:43:33,815 INFO L73 IsDeterministic]: Start isDeterministic. Operand 139 states and 184 transitions. [2019-11-28 03:43:33,815 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:33,815 INFO L688 BuchiCegarLoop]: Abstraction has 139 states and 184 transitions. [2019-11-28 03:43:33,816 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 139 states and 184 transitions. [2019-11-28 03:43:33,838 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 139 to 111. [2019-11-28 03:43:33,838 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 111 states. [2019-11-28 03:43:33,840 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 111 states to 111 states and 144 transitions. [2019-11-28 03:43:33,842 INFO L711 BuchiCegarLoop]: Abstraction has 111 states and 144 transitions. [2019-11-28 03:43:33,843 INFO L591 BuchiCegarLoop]: Abstraction has 111 states and 144 transitions. [2019-11-28 03:43:33,845 INFO L424 BuchiCegarLoop]: ======== Iteration 4============ [2019-11-28 03:43:33,845 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 111 states and 144 transitions. [2019-11-28 03:43:33,850 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 21 [2019-11-28 03:43:33,850 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:33,850 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:33,851 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:33,851 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 03:43:33,851 INFO L794 eck$LassoCheckResult]: Stem: 1023#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 1002#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 979#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 994#is_prime_ENTRY ~n := #in~n;~m := #in~m; 996#L56 assume !(~n <= 1); 978#L59 assume !(2 == ~n); 981#L62 assume ~n > 2; 999#L63 assume !(~m <= 1); 972#L66 call #t~ret6 := multiple_of(~n, ~m);< 1031#multiple_ofENTRY ~n := #in~n;~m := #in~m; 1059#L30 assume ~m < 0; 1006#L31 [2019-11-28 03:43:33,852 INFO L796 eck$LassoCheckResult]: Loop: 1006#L31 call #t~ret2 := multiple_of(~n, -~m);< 1010#multiple_ofENTRY ~n := #in~n;~m := #in~m; 1027#L30 assume ~m < 0; 1006#L31 [2019-11-28 03:43:33,852 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:33,852 INFO L82 PathProgramCache]: Analyzing trace with hash 313603312, now seen corresponding path program 1 times [2019-11-28 03:43:33,852 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:33,853 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1239557542] [2019-11-28 03:43:33,853 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:33,867 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:33,905 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:33,905 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1239557542] [2019-11-28 03:43:33,905 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 03:43:33,906 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2019-11-28 03:43:33,906 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1800282210] [2019-11-28 03:43:33,906 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 03:43:33,906 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:33,907 INFO L82 PathProgramCache]: Analyzing trace with hash 131660, now seen corresponding path program 1 times [2019-11-28 03:43:33,908 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:33,908 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [295444411] [2019-11-28 03:43:33,908 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:33,911 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:33,913 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:33,915 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:33,958 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:33,959 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:33,959 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:33,959 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:33,959 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 03:43:33,959 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:33,959 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:33,959 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:33,959 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2019-11-28 03:43:33,959 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:33,960 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:33,961 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:33,968 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:33,972 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:33,974 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:33,976 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:33,982 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:34,028 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:34,028 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:34,045 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:34,045 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:34,050 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:34,050 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret4=0} Honda state: {multiple_of_#t~ret4=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:34,069 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:34,069 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:34,090 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:34,090 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~n=0, multiple_of_#in~n=0} Honda state: {multiple_of_~n=0, multiple_of_#in~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:34,103 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:34,103 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:34,108 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:34,108 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret2=0} Honda state: {multiple_of_#t~ret2=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:34,127 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:34,127 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:34,133 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:34,134 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret3=0} Honda state: {multiple_of_#t~ret3=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 18 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:34,151 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:34,152 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 18 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:34,175 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 03:43:34,176 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:35,517 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 03:43:35,519 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:35,519 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:35,519 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:35,519 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:35,519 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 03:43:35,520 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:35,520 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:35,520 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:35,520 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2019-11-28 03:43:35,520 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:35,520 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:35,521 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:35,523 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:35,527 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:35,529 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:35,532 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:35,544 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:35,600 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:35,600 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:35,611 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:35,613 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:35,614 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:35,614 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:35,614 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:35,614 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:35,615 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:35,615 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:35,618 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) [2019-11-28 03:43:35,630 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:35,632 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:35,632 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:35,632 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:35,633 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:35,633 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:35,635 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:35,635 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:35,639 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 [2019-11-28 03:43:35,657 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:35,663 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:35,663 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:35,663 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:35,663 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:35,664 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:35,664 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:35,665 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:35,673 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:35,690 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:35,693 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:35,693 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:35,693 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:35,693 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:35,694 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:35,695 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:35,695 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:35,700 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:35,709 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:35,711 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:35,712 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:35,712 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:35,712 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:35,712 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:35,714 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:35,714 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:35,718 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 03:43:35,722 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2019-11-28 03:43:35,722 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:35,727 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 03:43:35,727 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 03:43:35,727 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 03:43:35,727 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 [2019-11-28 03:43:35,737 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 03:43:35,751 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:35,768 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:35,769 INFO L255 TraceCheckSpWp]: Trace formula consists of 91 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-28 03:43:35,770 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:35,779 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:35,780 INFO L255 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 03:43:35,781 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:35,798 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:35,798 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 3 loop predicates [2019-11-28 03:43:35,798 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 111 states and 144 transitions. cyclomatic complexity: 37 Second operand 4 states. [2019-11-28 03:43:35,874 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 111 states and 144 transitions. cyclomatic complexity: 37. Second operand 4 states. Result 209 states and 271 transitions. Complement of second has 18 states. [2019-11-28 03:43:35,876 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 3 non-accepting loop states 1 accepting loop states [2019-11-28 03:43:35,876 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2019-11-28 03:43:35,877 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 66 transitions. [2019-11-28 03:43:35,877 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 66 transitions. Stem has 11 letters. Loop has 3 letters. [2019-11-28 03:43:35,878 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:35,878 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 66 transitions. Stem has 14 letters. Loop has 3 letters. [2019-11-28 03:43:35,879 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:35,879 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 66 transitions. Stem has 11 letters. Loop has 6 letters. [2019-11-28 03:43:35,880 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:35,880 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 209 states and 271 transitions. [2019-11-28 03:43:35,892 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 34 [2019-11-28 03:43:35,897 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 209 states to 155 states and 200 transitions. [2019-11-28 03:43:35,898 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 90 [2019-11-28 03:43:35,899 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 91 [2019-11-28 03:43:35,900 INFO L73 IsDeterministic]: Start isDeterministic. Operand 155 states and 200 transitions. [2019-11-28 03:43:35,900 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:35,900 INFO L688 BuchiCegarLoop]: Abstraction has 155 states and 200 transitions. [2019-11-28 03:43:35,901 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 155 states and 200 transitions. [2019-11-28 03:43:35,918 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 155 to 126. [2019-11-28 03:43:35,922 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 126 states. [2019-11-28 03:43:35,924 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 126 states to 126 states and 164 transitions. [2019-11-28 03:43:35,927 INFO L711 BuchiCegarLoop]: Abstraction has 126 states and 164 transitions. [2019-11-28 03:43:35,927 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 03:43:35,929 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2019-11-28 03:43:35,929 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2019-11-28 03:43:35,929 INFO L87 Difference]: Start difference. First operand 126 states and 164 transitions. Second operand 5 states. [2019-11-28 03:43:35,988 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 03:43:35,989 INFO L93 Difference]: Finished difference Result 114 states and 144 transitions. [2019-11-28 03:43:35,992 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2019-11-28 03:43:35,992 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 114 states and 144 transitions. [2019-11-28 03:43:35,995 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 03:43:35,997 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 114 states to 114 states and 144 transitions. [2019-11-28 03:43:35,997 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 73 [2019-11-28 03:43:35,998 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 73 [2019-11-28 03:43:35,998 INFO L73 IsDeterministic]: Start isDeterministic. Operand 114 states and 144 transitions. [2019-11-28 03:43:35,999 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:35,999 INFO L688 BuchiCegarLoop]: Abstraction has 114 states and 144 transitions. [2019-11-28 03:43:36,000 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 114 states and 144 transitions. [2019-11-28 03:43:36,004 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 114 to 110. [2019-11-28 03:43:36,005 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 110 states. [2019-11-28 03:43:36,006 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 110 states to 110 states and 140 transitions. [2019-11-28 03:43:36,006 INFO L711 BuchiCegarLoop]: Abstraction has 110 states and 140 transitions. [2019-11-28 03:43:36,006 INFO L591 BuchiCegarLoop]: Abstraction has 110 states and 140 transitions. [2019-11-28 03:43:36,006 INFO L424 BuchiCegarLoop]: ======== Iteration 5============ [2019-11-28 03:43:36,007 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 110 states and 140 transitions. [2019-11-28 03:43:36,008 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 03:43:36,008 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:36,008 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:36,009 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:36,009 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 03:43:36,009 INFO L794 eck$LassoCheckResult]: Stem: 1660#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 1642#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 1626#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 1634#is_prime_ENTRY ~n := #in~n;~m := #in~m; 1636#L56 assume ~n <= 1;#res := 0; 1707#is_prime_FINAL assume true; 1668#is_prime_EXIT >#117#return; 1629#L51-1 is_prime_#res := is_prime_#t~ret5;havoc is_prime_#t~ret5; 1619#L51-2 main_#t~ret9 := is_prime_#res;main_~result~0 := main_#t~ret9;havoc main_#t~ret9;main_~f1~0 := main_#t~nondet10;havoc main_#t~nondet10; 1620#L83 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet11;havoc main_#t~nondet11; 1652#L89 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short13 := 1 == main_~result~0; 1653#L95 assume main_#t~short13; 1612#L95-1 call main_#t~ret12 := mult(main_~f1~0, main_~f2~0);< 1628#multENTRY [2019-11-28 03:43:36,010 INFO L796 eck$LassoCheckResult]: Loop: 1628#multENTRY ~n := #in~n;~m := #in~m; 1610#L16 assume ~m < 0; 1613#L17 call #t~ret0 := mult(~n, -~m);< 1628#multENTRY [2019-11-28 03:43:36,010 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:36,010 INFO L82 PathProgramCache]: Analyzing trace with hash -312507047, now seen corresponding path program 1 times [2019-11-28 03:43:36,010 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:36,011 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1361536125] [2019-11-28 03:43:36,011 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:36,022 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:36,054 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:36,070 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:36,071 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1361536125] [2019-11-28 03:43:36,071 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 03:43:36,071 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2019-11-28 03:43:36,071 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1473689434] [2019-11-28 03:43:36,071 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 03:43:36,072 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:36,072 INFO L82 PathProgramCache]: Analyzing trace with hash 53804, now seen corresponding path program 1 times [2019-11-28 03:43:36,072 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:36,072 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [8370747] [2019-11-28 03:43:36,072 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:36,075 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:36,076 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:36,078 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:36,117 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:36,118 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:36,118 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:36,118 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:36,118 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 03:43:36,118 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,118 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:36,118 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:36,118 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2019-11-28 03:43:36,118 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:36,118 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:36,119 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,123 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,125 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,127 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,128 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,130 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,133 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,186 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:36,187 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) [2019-11-28 03:43:36,193 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,193 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 26 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,197 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:36,197 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret1=0} Honda state: {mult_#t~ret1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:36,209 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,209 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,213 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:36,213 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~n=0} Honda state: {mult_~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,220 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,220 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:36,222 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:36,223 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~m=0} Honda state: {mult_~m=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,229 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,229 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:36,232 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:36,232 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#res=0} Honda state: {mult_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,239 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,239 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:36,242 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:36,242 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret0=0} Honda state: {mult_#t~ret0=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,249 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,249 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:36,252 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:36,253 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#in~n=0} Honda state: {mult_#in~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,258 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,258 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:36,266 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true Waiting until toolchain timeout for monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,266 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:36,277 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 03:43:36,279 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:36,279 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:36,279 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:36,280 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:36,280 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 03:43:36,280 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,280 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:36,280 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:36,280 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2019-11-28 03:43:36,280 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:36,280 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:36,283 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,286 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,288 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,290 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,293 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,295 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,298 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,341 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:36,341 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,352 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:36,353 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:36,353 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:36,354 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:36,354 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:36,354 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:36,355 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:36,355 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:36,357 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:36,368 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:36,370 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:36,370 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:36,371 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:36,371 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:36,371 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:36,371 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:36,372 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,373 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,380 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:36,382 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:36,382 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:36,382 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:36,382 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:36,382 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:36,383 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:36,383 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:36,384 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 37 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 37 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,390 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:36,391 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:36,391 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:36,391 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:36,391 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:36,391 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:36,392 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:36,392 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:36,393 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 38 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 38 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,399 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:36,400 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:36,400 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:36,400 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:36,400 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:36,400 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:36,401 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:36,401 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:36,405 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) [2019-11-28 03:43:36,411 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 39 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,413 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:36,413 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:36,414 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:36,414 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:36,414 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:36,415 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:36,415 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:36,416 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 40 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 40 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,430 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:36,432 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:36,432 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:36,432 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:36,432 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:36,432 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:36,433 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:36,433 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:36,435 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 03:43:36,437 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2019-11-28 03:43:36,437 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 41 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 41 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,442 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 03:43:36,443 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 03:43:36,443 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 03:43:36,443 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_#in~m) = -1*mult_#in~m Supporting invariants [] [2019-11-28 03:43:36,445 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 03:43:36,458 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:36,484 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:36,485 INFO L255 TraceCheckSpWp]: Trace formula consists of 102 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-28 03:43:36,487 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:36,516 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:36,516 INFO L255 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 03:43:36,517 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:36,540 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:36,540 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2019-11-28 03:43:36,540 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 110 states and 140 transitions. cyclomatic complexity: 34 Second operand 5 states. [2019-11-28 03:43:36,646 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 110 states and 140 transitions. cyclomatic complexity: 34. Second operand 5 states. Result 142 states and 176 transitions. Complement of second has 14 states. [2019-11-28 03:43:36,649 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2019-11-28 03:43:36,649 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2019-11-28 03:43:36,650 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 47 transitions. [2019-11-28 03:43:36,650 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 47 transitions. Stem has 13 letters. Loop has 3 letters. [2019-11-28 03:43:36,650 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:36,650 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 47 transitions. Stem has 16 letters. Loop has 3 letters. [2019-11-28 03:43:36,650 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:36,650 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 47 transitions. Stem has 13 letters. Loop has 6 letters. [2019-11-28 03:43:36,651 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:36,651 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 142 states and 176 transitions. [2019-11-28 03:43:36,654 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 03:43:36,656 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 142 states to 134 states and 168 transitions. [2019-11-28 03:43:36,656 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 79 [2019-11-28 03:43:36,657 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 81 [2019-11-28 03:43:36,657 INFO L73 IsDeterministic]: Start isDeterministic. Operand 134 states and 168 transitions. [2019-11-28 03:43:36,657 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:36,658 INFO L688 BuchiCegarLoop]: Abstraction has 134 states and 168 transitions. [2019-11-28 03:43:36,658 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 134 states and 168 transitions. [2019-11-28 03:43:36,662 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 134 to 121. [2019-11-28 03:43:36,663 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 121 states. [2019-11-28 03:43:36,664 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 121 states to 121 states and 154 transitions. [2019-11-28 03:43:36,664 INFO L711 BuchiCegarLoop]: Abstraction has 121 states and 154 transitions. [2019-11-28 03:43:36,664 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 03:43:36,665 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2019-11-28 03:43:36,665 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2019-11-28 03:43:36,665 INFO L87 Difference]: Start difference. First operand 121 states and 154 transitions. Second operand 7 states. [2019-11-28 03:43:36,712 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 03:43:36,712 INFO L93 Difference]: Finished difference Result 130 states and 163 transitions. [2019-11-28 03:43:36,712 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2019-11-28 03:43:36,712 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 130 states and 163 transitions. [2019-11-28 03:43:36,715 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 03:43:36,717 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 130 states to 122 states and 154 transitions. [2019-11-28 03:43:36,717 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 71 [2019-11-28 03:43:36,717 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 71 [2019-11-28 03:43:36,717 INFO L73 IsDeterministic]: Start isDeterministic. Operand 122 states and 154 transitions. [2019-11-28 03:43:36,718 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:36,718 INFO L688 BuchiCegarLoop]: Abstraction has 122 states and 154 transitions. [2019-11-28 03:43:36,718 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 122 states and 154 transitions. [2019-11-28 03:43:36,722 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 122 to 120. [2019-11-28 03:43:36,722 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 120 states. [2019-11-28 03:43:36,723 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 120 states to 120 states and 151 transitions. [2019-11-28 03:43:36,724 INFO L711 BuchiCegarLoop]: Abstraction has 120 states and 151 transitions. [2019-11-28 03:43:36,724 INFO L591 BuchiCegarLoop]: Abstraction has 120 states and 151 transitions. [2019-11-28 03:43:36,724 INFO L424 BuchiCegarLoop]: ======== Iteration 6============ [2019-11-28 03:43:36,724 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 120 states and 151 transitions. [2019-11-28 03:43:36,725 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 03:43:36,725 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:36,725 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:36,726 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:36,726 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2019-11-28 03:43:36,727 INFO L794 eck$LassoCheckResult]: Stem: 2269#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 2250#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 2229#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 2239#is_prime_ENTRY ~n := #in~n;~m := #in~m; 2241#L56 assume !(~n <= 1); 2284#L59 assume !(2 == ~n); 2285#L62 assume ~n > 2; 2246#L63 assume !(~m <= 1); 2214#L66 call #t~ret6 := multiple_of(~n, ~m);< 2276#multiple_ofENTRY ~n := #in~n;~m := #in~m; 2273#L30 assume !(~m < 0); 2261#L33 assume ~n < 0; 2201#L34 call #t~ret3 := multiple_of(-~n, ~m);< 2216#multiple_ofENTRY [2019-11-28 03:43:36,727 INFO L796 eck$LassoCheckResult]: Loop: 2216#multiple_ofENTRY ~n := #in~n;~m := #in~m; 2306#L30 assume !(~m < 0); 2305#L33 assume ~n < 0; 2202#L34 call #t~ret3 := multiple_of(-~n, ~m);< 2216#multiple_ofENTRY [2019-11-28 03:43:36,727 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:36,727 INFO L82 PathProgramCache]: Analyzing trace with hash 725075382, now seen corresponding path program 1 times [2019-11-28 03:43:36,727 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:36,728 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [400558417] [2019-11-28 03:43:36,728 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:36,734 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:36,766 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:36,767 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [400558417] [2019-11-28 03:43:36,767 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 03:43:36,767 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2019-11-28 03:43:36,767 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [126231316] [2019-11-28 03:43:36,768 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 03:43:36,768 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:36,768 INFO L82 PathProgramCache]: Analyzing trace with hash 929674, now seen corresponding path program 1 times [2019-11-28 03:43:36,768 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:36,769 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1392950556] [2019-11-28 03:43:36,769 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:36,771 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:36,773 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:36,774 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:36,815 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:36,815 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:36,815 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:36,815 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:36,815 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 03:43:36,816 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,816 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:36,816 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:36,816 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2019-11-28 03:43:36,816 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:36,816 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:36,817 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,820 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,822 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,823 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,829 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,831 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,835 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,836 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,877 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:36,877 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 42 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 42 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,887 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,888 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:36,890 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:36,890 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~n=0} Honda state: {multiple_of_~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 43 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 43 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,896 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,897 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:36,899 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:36,899 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#res=0} Honda state: {multiple_of_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 44 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 44 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,905 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,905 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:36,908 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:36,908 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~m=0} Honda state: {multiple_of_~m=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 45 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:36,921 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:36,921 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 45 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 46 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:36,931 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 03:43:36,931 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 46 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,944 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 03:43:36,946 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:36,946 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:36,946 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:36,946 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:36,947 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 03:43:36,947 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:36,947 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:36,947 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:36,947 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2019-11-28 03:43:36,947 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:36,947 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:36,948 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,950 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,951 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,957 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,962 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,964 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,973 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:36,975 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,012 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:37,013 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 47 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:37,022 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 47 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,023 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:37,024 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:37,024 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:37,024 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:37,024 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:37,024 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:37,025 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:37,027 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 48 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 48 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,033 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:37,034 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:37,034 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:37,034 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:37,034 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:37,035 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:37,035 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:37,035 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:37,037 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 49 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:37,050 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:37,052 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:37,052 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:37,052 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:37,053 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:37,053 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:37,053 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:37,054 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 49 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,056 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) [2019-11-28 03:43:37,062 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:37,064 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:37,064 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:37,064 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:37,065 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:37,065 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:37,066 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:37,066 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 50 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,069 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 03:43:37,071 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2019-11-28 03:43:37,071 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 51 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:37,076 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 03:43:37,077 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 03:43:37,077 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 03:43:37,077 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = -1*multiple_of_#in~n Supporting invariants [] Waiting until toolchain timeout for monitored process 51 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,079 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 03:43:37,088 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:37,123 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:37,123 INFO L255 TraceCheckSpWp]: Trace formula consists of 126 conjuncts, 8 conjunts are in the unsatisfiable core [2019-11-28 03:43:37,125 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:37,135 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:37,136 INFO L255 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 03:43:37,137 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:37,152 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:37,153 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 3 loop predicates [2019-11-28 03:43:37,153 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 120 states and 151 transitions. cyclomatic complexity: 36 Second operand 4 states. [2019-11-28 03:43:37,226 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 120 states and 151 transitions. cyclomatic complexity: 36. Second operand 4 states. Result 270 states and 352 transitions. Complement of second has 13 states. [2019-11-28 03:43:37,227 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2019-11-28 03:43:37,227 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2019-11-28 03:43:37,228 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 55 transitions. [2019-11-28 03:43:37,228 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 55 transitions. Stem has 13 letters. Loop has 4 letters. [2019-11-28 03:43:37,229 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:37,229 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 55 transitions. Stem has 17 letters. Loop has 4 letters. [2019-11-28 03:43:37,229 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:37,229 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 55 transitions. Stem has 13 letters. Loop has 8 letters. [2019-11-28 03:43:37,230 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:37,230 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 270 states and 352 transitions. [2019-11-28 03:43:37,235 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 32 [2019-11-28 03:43:37,239 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 270 states to 246 states and 328 transitions. [2019-11-28 03:43:37,240 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 130 [2019-11-28 03:43:37,240 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 132 [2019-11-28 03:43:37,240 INFO L73 IsDeterministic]: Start isDeterministic. Operand 246 states and 328 transitions. [2019-11-28 03:43:37,241 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:37,241 INFO L688 BuchiCegarLoop]: Abstraction has 246 states and 328 transitions. [2019-11-28 03:43:37,242 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 246 states and 328 transitions. [2019-11-28 03:43:37,249 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 246 to 216. [2019-11-28 03:43:37,250 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 216 states. [2019-11-28 03:43:37,252 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 216 states to 216 states and 283 transitions. [2019-11-28 03:43:37,252 INFO L711 BuchiCegarLoop]: Abstraction has 216 states and 283 transitions. [2019-11-28 03:43:37,252 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 03:43:37,253 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2019-11-28 03:43:37,253 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2019-11-28 03:43:37,253 INFO L87 Difference]: Start difference. First operand 216 states and 283 transitions. Second operand 7 states. [2019-11-28 03:43:37,382 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 03:43:37,382 INFO L93 Difference]: Finished difference Result 220 states and 287 transitions. [2019-11-28 03:43:37,383 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2019-11-28 03:43:37,383 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 220 states and 287 transitions. [2019-11-28 03:43:37,387 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 03:43:37,390 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 220 states to 220 states and 287 transitions. [2019-11-28 03:43:37,390 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 117 [2019-11-28 03:43:37,391 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 117 [2019-11-28 03:43:37,391 INFO L73 IsDeterministic]: Start isDeterministic. Operand 220 states and 287 transitions. [2019-11-28 03:43:37,391 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:37,392 INFO L688 BuchiCegarLoop]: Abstraction has 220 states and 287 transitions. [2019-11-28 03:43:37,392 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 220 states and 287 transitions. [2019-11-28 03:43:37,398 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 220 to 216. [2019-11-28 03:43:37,399 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 216 states. [2019-11-28 03:43:37,401 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 216 states to 216 states and 282 transitions. [2019-11-28 03:43:37,401 INFO L711 BuchiCegarLoop]: Abstraction has 216 states and 282 transitions. [2019-11-28 03:43:37,401 INFO L591 BuchiCegarLoop]: Abstraction has 216 states and 282 transitions. [2019-11-28 03:43:37,402 INFO L424 BuchiCegarLoop]: ======== Iteration 7============ [2019-11-28 03:43:37,402 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 216 states and 282 transitions. [2019-11-28 03:43:37,404 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 03:43:37,404 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:37,404 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:37,405 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:37,405 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2019-11-28 03:43:37,405 INFO L794 eck$LassoCheckResult]: Stem: 3207#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 3176#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 3163#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 3164#is_prime_ENTRY ~n := #in~n;~m := #in~m; 3166#L56 assume !(~n <= 1); 3270#L59 assume !(2 == ~n); 3269#L62 assume ~n > 2; 3266#L63 assume !(~m <= 1); 3239#L66 call #t~ret6 := multiple_of(~n, ~m);< 3261#multiple_ofENTRY ~n := #in~n;~m := #in~m; 3260#L30 assume !(~m < 0); 3259#L33 assume !(~n < 0); 3258#L36 assume !(0 == ~m); 3257#L39 assume !(0 == ~n); 3122#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 3237#multiple_ofENTRY [2019-11-28 03:43:37,406 INFO L796 eck$LassoCheckResult]: Loop: 3237#multiple_ofENTRY ~n := #in~n;~m := #in~m; 3235#L30 assume !(~m < 0); 3229#L33 assume !(~n < 0); 3230#L36 assume !(0 == ~m); 3255#L39 assume !(0 == ~n); 3121#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 3237#multiple_ofENTRY [2019-11-28 03:43:37,406 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:37,406 INFO L82 PathProgramCache]: Analyzing trace with hash 1012741841, now seen corresponding path program 1 times [2019-11-28 03:43:37,406 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:37,407 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1337007220] [2019-11-28 03:43:37,407 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:37,414 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:37,420 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:37,423 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:37,423 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:37,423 INFO L82 PathProgramCache]: Analyzing trace with hash 893418405, now seen corresponding path program 1 times [2019-11-28 03:43:37,424 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:37,424 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [970732761] [2019-11-28 03:43:37,424 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:37,427 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:37,429 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:37,431 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:37,431 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:37,431 INFO L82 PathProgramCache]: Analyzing trace with hash -2089986443, now seen corresponding path program 2 times [2019-11-28 03:43:37,432 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:37,432 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [522409939] [2019-11-28 03:43:37,432 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:37,439 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:37,476 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:37,479 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:37,545 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:37,545 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:37,545 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:37,545 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:37,545 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 03:43:37,545 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,545 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:37,546 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:37,546 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2019-11-28 03:43:37,546 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:37,546 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:37,547 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,549 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,562 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,564 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,566 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,568 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,570 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,643 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:37,644 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,651 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:37,651 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:37,654 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:37,654 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#res=0} Honda state: {multiple_of_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 53 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:37,668 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:37,668 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 53 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 54 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 54 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,683 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 03:43:37,683 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:37,796 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 03:43:37,798 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:37,798 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:37,798 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:37,798 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:37,799 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 03:43:37,799 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,799 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:37,799 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:37,799 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2019-11-28 03:43:37,799 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:37,799 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:37,800 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,801 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,811 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,814 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,826 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,828 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,830 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:37,912 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:37,912 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 55 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 55 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,918 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:37,919 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:37,919 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:37,919 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:37,919 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:37,919 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:37,920 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:37,920 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:37,921 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 56 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 56 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,928 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:37,929 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:37,929 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:37,929 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:37,929 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:37,929 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:37,933 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:37,933 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:37,937 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 03:43:37,945 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2019-11-28 03:43:37,945 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 57 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:37,954 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 03:43:37,954 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 03:43:37,954 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 03:43:37,954 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = 1*multiple_of_#in~n Supporting invariants [] [2019-11-28 03:43:37,956 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed Waiting until toolchain timeout for monitored process 57 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:37,972 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:37,993 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:37,994 INFO L255 TraceCheckSpWp]: Trace formula consists of 128 conjuncts, 8 conjunts are in the unsatisfiable core [2019-11-28 03:43:37,995 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:38,008 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:38,009 INFO L255 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 9 conjunts are in the unsatisfiable core [2019-11-28 03:43:38,009 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:38,055 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:38,056 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 5 loop predicates [2019-11-28 03:43:38,056 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 216 states and 282 transitions. cyclomatic complexity: 76 Second operand 6 states. [2019-11-28 03:43:38,193 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 216 states and 282 transitions. cyclomatic complexity: 76. Second operand 6 states. Result 315 states and 416 transitions. Complement of second has 21 states. [2019-11-28 03:43:38,195 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 1 stem states 4 non-accepting loop states 1 accepting loop states [2019-11-28 03:43:38,195 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 03:43:38,196 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 42 transitions. [2019-11-28 03:43:38,196 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 42 transitions. Stem has 15 letters. Loop has 6 letters. [2019-11-28 03:43:38,196 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:38,197 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 42 transitions. Stem has 21 letters. Loop has 6 letters. [2019-11-28 03:43:38,197 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:38,197 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 42 transitions. Stem has 15 letters. Loop has 12 letters. [2019-11-28 03:43:38,197 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:38,198 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 315 states and 416 transitions. [2019-11-28 03:43:38,202 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 32 [2019-11-28 03:43:38,208 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 315 states to 284 states and 368 transitions. [2019-11-28 03:43:38,208 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 140 [2019-11-28 03:43:38,209 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 142 [2019-11-28 03:43:38,209 INFO L73 IsDeterministic]: Start isDeterministic. Operand 284 states and 368 transitions. [2019-11-28 03:43:38,211 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:38,211 INFO L688 BuchiCegarLoop]: Abstraction has 284 states and 368 transitions. [2019-11-28 03:43:38,212 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 284 states and 368 transitions. [2019-11-28 03:43:38,222 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 284 to 251. [2019-11-28 03:43:38,222 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 251 states. [2019-11-28 03:43:38,224 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 251 states to 251 states and 326 transitions. [2019-11-28 03:43:38,224 INFO L711 BuchiCegarLoop]: Abstraction has 251 states and 326 transitions. [2019-11-28 03:43:38,224 INFO L591 BuchiCegarLoop]: Abstraction has 251 states and 326 transitions. [2019-11-28 03:43:38,224 INFO L424 BuchiCegarLoop]: ======== Iteration 8============ [2019-11-28 03:43:38,225 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 251 states and 326 transitions. [2019-11-28 03:43:38,226 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 03:43:38,227 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:38,227 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:38,227 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:38,227 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1] [2019-11-28 03:43:38,228 INFO L794 eck$LassoCheckResult]: Stem: 3849#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 3814#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 3788#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 3803#is_prime_ENTRY ~n := #in~n;~m := #in~m; 3805#L56 assume !(~n <= 1); 3787#L59 assume 2 == ~n;#res := 1; 3789#is_prime_FINAL assume true; 3862#is_prime_EXIT >#117#return; 3798#L51-1 is_prime_#res := is_prime_#t~ret5;havoc is_prime_#t~ret5; 3785#L51-2 main_#t~ret9 := is_prime_#res;main_~result~0 := main_#t~ret9;havoc main_#t~ret9;main_~f1~0 := main_#t~nondet10;havoc main_#t~nondet10; 3786#L83 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet11;havoc main_#t~nondet11; 3827#L89 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short13 := 1 == main_~result~0; 3828#L95 assume main_#t~short13; 3774#L95-1 call main_#t~ret12 := mult(main_~f1~0, main_~f2~0);< 3804#multENTRY ~n := #in~n;~m := #in~m; 3773#L16 assume !(~m < 0); 3776#L19 [2019-11-28 03:43:38,229 INFO L796 eck$LassoCheckResult]: Loop: 3776#L19 assume !(0 == ~m); 3820#L22 assume !(1 == ~m); 3795#L25 call #t~ret1 := mult(~n, ~m - 1);< 3797#multENTRY ~n := #in~n;~m := #in~m; 3833#L16 assume !(~m < 0); 3776#L19 [2019-11-28 03:43:38,229 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:38,229 INFO L82 PathProgramCache]: Analyzing trace with hash -53610220, now seen corresponding path program 1 times [2019-11-28 03:43:38,230 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:38,230 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1563370964] [2019-11-28 03:43:38,230 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:38,246 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:38,251 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:38,254 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:38,255 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:38,255 INFO L82 PathProgramCache]: Analyzing trace with hash 61271251, now seen corresponding path program 1 times [2019-11-28 03:43:38,255 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:38,256 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2123662201] [2019-11-28 03:43:38,256 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:38,258 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:38,260 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:38,261 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:38,262 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:38,262 INFO L82 PathProgramCache]: Analyzing trace with hash 102279072, now seen corresponding path program 1 times [2019-11-28 03:43:38,262 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:38,262 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [987572961] [2019-11-28 03:43:38,263 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:38,268 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:38,273 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:38,277 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:38,337 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:38,338 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:38,338 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:38,338 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:38,338 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 03:43:38,338 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:38,338 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:38,338 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:38,338 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2019-11-28 03:43:38,338 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:38,338 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:38,340 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:38,341 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:38,343 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:38,355 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:38,362 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:38,416 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:38,416 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 58 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:38,421 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:38,421 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 [2019-11-28 03:43:38,425 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:38,425 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret0=0} Honda state: {mult_#t~ret0=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 59 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:38,433 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:38,433 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 59 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:38,438 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:38,438 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret1=0} Honda state: {mult_#t~ret1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 60 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:38,449 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:38,449 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 60 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 61 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:38,464 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 03:43:38,465 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 61 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:39,432 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 03:43:39,434 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:39,434 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:39,434 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:39,434 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:39,434 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 03:43:39,434 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:39,434 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:39,434 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:39,434 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2019-11-28 03:43:39,435 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:39,435 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:39,435 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:39,437 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:39,438 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:39,445 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:39,447 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:39,512 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:39,512 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 62 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 62 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:39,516 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:39,517 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:39,517 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:39,518 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:39,518 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:39,518 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:39,519 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:39,519 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:39,520 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 63 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:39,526 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:39,528 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:39,528 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:39,528 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:39,528 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:39,529 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:39,529 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:39,529 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 63 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:39,531 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:39,535 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:39,537 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:39,537 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:39,537 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:39,537 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:39,537 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:39,539 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:39,539 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:39,546 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 65 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 65 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:39,554 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:39,556 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:39,556 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:39,556 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:39,556 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:39,556 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:39,558 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:39,558 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:39,559 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 66 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 66 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:39,565 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:39,567 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:39,567 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:39,567 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:39,567 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:39,567 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:39,569 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:39,570 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:39,579 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 03:43:39,581 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2019-11-28 03:43:39,582 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 67 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:39,586 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 03:43:39,587 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 03:43:39,587 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 03:43:39,587 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] [2019-11-28 03:43:39,589 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed Waiting until toolchain timeout for monitored process 67 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:39,627 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:39,644 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:39,645 INFO L255 TraceCheckSpWp]: Trace formula consists of 109 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-28 03:43:39,646 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:39,671 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:39,672 INFO L255 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 03:43:39,673 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:39,694 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:39,694 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2019-11-28 03:43:39,694 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 251 states and 326 transitions. cyclomatic complexity: 87 Second operand 6 states. [2019-11-28 03:43:39,816 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 251 states and 326 transitions. cyclomatic complexity: 87. Second operand 6 states. Result 275 states and 353 transitions. Complement of second has 17 states. [2019-11-28 03:43:39,816 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 2 stem states 3 non-accepting loop states 1 accepting loop states [2019-11-28 03:43:39,817 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 03:43:39,817 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 51 transitions. [2019-11-28 03:43:39,817 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 51 transitions. Stem has 16 letters. Loop has 5 letters. [2019-11-28 03:43:39,818 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:39,818 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 51 transitions. Stem has 21 letters. Loop has 5 letters. [2019-11-28 03:43:39,818 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:39,818 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 51 transitions. Stem has 16 letters. Loop has 10 letters. [2019-11-28 03:43:39,818 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:39,819 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 275 states and 353 transitions. [2019-11-28 03:43:39,822 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 03:43:39,826 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 275 states to 274 states and 352 transitions. [2019-11-28 03:43:39,826 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 132 [2019-11-28 03:43:39,826 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 135 [2019-11-28 03:43:39,827 INFO L73 IsDeterministic]: Start isDeterministic. Operand 274 states and 352 transitions. [2019-11-28 03:43:39,827 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:39,827 INFO L688 BuchiCegarLoop]: Abstraction has 274 states and 352 transitions. [2019-11-28 03:43:39,827 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 274 states and 352 transitions. [2019-11-28 03:43:39,833 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 274 to 261. [2019-11-28 03:43:39,834 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 261 states. [2019-11-28 03:43:39,836 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 261 states to 261 states and 338 transitions. [2019-11-28 03:43:39,836 INFO L711 BuchiCegarLoop]: Abstraction has 261 states and 338 transitions. [2019-11-28 03:43:39,836 INFO L591 BuchiCegarLoop]: Abstraction has 261 states and 338 transitions. [2019-11-28 03:43:39,836 INFO L424 BuchiCegarLoop]: ======== Iteration 9============ [2019-11-28 03:43:39,837 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 261 states and 338 transitions. [2019-11-28 03:43:39,839 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 03:43:39,839 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:39,839 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:39,840 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:39,840 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 03:43:39,840 INFO L794 eck$LassoCheckResult]: Stem: 4481#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 4451#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 4438#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 4439#is_prime_ENTRY ~n := #in~n;~m := #in~m; 4441#L56 assume !(~n <= 1); 4497#L59 assume 2 == ~n;#res := 1; 4496#is_prime_FINAL assume true; 4494#is_prime_EXIT >#117#return; 4430#L51-1 is_prime_#res := is_prime_#t~ret5;havoc is_prime_#t~ret5; 4414#L51-2 main_#t~ret9 := is_prime_#res;main_~result~0 := main_#t~ret9;havoc main_#t~ret9;main_~f1~0 := main_#t~nondet10;havoc main_#t~nondet10; 4415#L83 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet11;havoc main_#t~nondet11; 4470#L89 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short13 := 1 == main_~result~0; 4471#L95 assume main_#t~short13; 4403#L95-1 call main_#t~ret12 := mult(main_~f1~0, main_~f2~0);< 4440#multENTRY ~n := #in~n;~m := #in~m; 4402#L16 assume !(~m < 0); 4404#L19 assume !(0 == ~m); 4466#L22 assume !(1 == ~m); 4472#L25 call #t~ret1 := mult(~n, ~m - 1);< 4649#multENTRY ~n := #in~n;~m := #in~m; 4502#L16 assume ~m < 0; 4426#L17 [2019-11-28 03:43:39,841 INFO L796 eck$LassoCheckResult]: Loop: 4426#L17 call #t~ret0 := mult(~n, -~m);< 4427#multENTRY ~n := #in~n;~m := #in~m; 4503#L16 assume ~m < 0; 4426#L17 [2019-11-28 03:43:39,841 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:39,841 INFO L82 PathProgramCache]: Analyzing trace with hash 102279069, now seen corresponding path program 1 times [2019-11-28 03:43:39,841 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:39,842 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [435211994] [2019-11-28 03:43:39,842 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:39,848 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:39,896 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:39,898 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:39,899 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [435211994] [2019-11-28 03:43:39,899 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 03:43:39,899 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2019-11-28 03:43:39,899 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [581428839] [2019-11-28 03:43:39,899 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 03:43:39,900 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:39,900 INFO L82 PathProgramCache]: Analyzing trace with hash 138194, now seen corresponding path program 2 times [2019-11-28 03:43:39,900 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:39,900 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1375544485] [2019-11-28 03:43:39,901 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:39,903 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:39,904 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:39,905 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:39,952 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:39,952 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:39,952 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:39,952 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:39,952 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 03:43:39,952 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:39,953 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:39,953 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:39,953 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2019-11-28 03:43:39,953 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:39,953 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:39,954 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:39,956 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:39,958 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:39,962 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:39,970 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:40,014 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:40,015 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 68 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 68 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,020 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:40,021 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:40,023 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:40,023 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret0=0} Honda state: {mult_#t~ret0=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 69 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 69 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,029 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:40,029 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:40,037 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:40,037 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret1=0} Honda state: {mult_#t~ret1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 70 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 03:43:40,044 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:40,044 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 70 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,049 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:40,049 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~n=4, mult_#in~n=4} Honda state: {mult_~n=4, mult_#in~n=4} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 71 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 71 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,055 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:40,055 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 72 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 72 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,066 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 03:43:40,066 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:40,716 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 03:43:40,717 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:40,718 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:40,718 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:40,718 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:40,718 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 03:43:40,718 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,718 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:40,718 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:40,718 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2019-11-28 03:43:40,718 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:40,718 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:40,719 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:40,722 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:40,727 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:40,731 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:40,738 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:40,781 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:40,781 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 73 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 73 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,786 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:40,787 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:40,788 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:40,788 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:40,788 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:40,788 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:40,788 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:40,789 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:40,790 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 74 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 74 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,795 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:40,796 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:40,797 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:40,797 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:40,797 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:40,797 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:40,798 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:40,798 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:40,800 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 75 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 75 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,806 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:40,808 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:40,808 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:40,808 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:40,808 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:40,808 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:40,809 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:40,809 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:40,812 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 76 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 76 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,818 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:40,819 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:40,819 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:40,819 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:40,819 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:40,820 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:40,821 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:40,821 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:40,823 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 03:43:40,825 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2019-11-28 03:43:40,825 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 77 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 77 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:40,828 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 03:43:40,828 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 03:43:40,829 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 03:43:40,829 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] [2019-11-28 03:43:40,830 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 03:43:40,841 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:40,866 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:40,867 INFO L255 TraceCheckSpWp]: Trace formula consists of 150 conjuncts, 8 conjunts are in the unsatisfiable core [2019-11-28 03:43:40,868 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:40,907 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:40,908 INFO L255 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 03:43:40,908 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:40,930 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:40,931 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2019-11-28 03:43:40,931 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 261 states and 338 transitions. cyclomatic complexity: 90 Second operand 5 states. [2019-11-28 03:43:41,023 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 261 states and 338 transitions. cyclomatic complexity: 90. Second operand 5 states. Result 302 states and 384 transitions. Complement of second has 11 states. [2019-11-28 03:43:41,024 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2019-11-28 03:43:41,024 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2019-11-28 03:43:41,024 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 53 transitions. [2019-11-28 03:43:41,024 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 53 transitions. Stem has 21 letters. Loop has 3 letters. [2019-11-28 03:43:41,025 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:41,025 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 53 transitions. Stem has 24 letters. Loop has 3 letters. [2019-11-28 03:43:41,025 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:41,025 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 53 transitions. Stem has 21 letters. Loop has 6 letters. [2019-11-28 03:43:41,025 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:41,025 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 302 states and 384 transitions. [2019-11-28 03:43:41,029 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 26 [2019-11-28 03:43:41,033 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 302 states to 292 states and 374 transitions. [2019-11-28 03:43:41,033 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 143 [2019-11-28 03:43:41,034 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 145 [2019-11-28 03:43:41,034 INFO L73 IsDeterministic]: Start isDeterministic. Operand 292 states and 374 transitions. [2019-11-28 03:43:41,034 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:41,034 INFO L688 BuchiCegarLoop]: Abstraction has 292 states and 374 transitions. [2019-11-28 03:43:41,035 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 292 states and 374 transitions. [2019-11-28 03:43:41,041 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 292 to 279. [2019-11-28 03:43:41,041 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 279 states. [2019-11-28 03:43:41,043 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 279 states to 279 states and 360 transitions. [2019-11-28 03:43:41,043 INFO L711 BuchiCegarLoop]: Abstraction has 279 states and 360 transitions. [2019-11-28 03:43:41,043 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 03:43:41,043 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2019-11-28 03:43:41,044 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=12, Invalid=18, Unknown=0, NotChecked=0, Total=30 [2019-11-28 03:43:41,044 INFO L87 Difference]: Start difference. First operand 279 states and 360 transitions. Second operand 6 states. [2019-11-28 03:43:41,081 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 03:43:41,081 INFO L93 Difference]: Finished difference Result 275 states and 351 transitions. [2019-11-28 03:43:41,081 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2019-11-28 03:43:41,082 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 275 states and 351 transitions. [2019-11-28 03:43:41,085 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 20 [2019-11-28 03:43:41,088 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 275 states to 196 states and 236 transitions. [2019-11-28 03:43:41,088 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 71 [2019-11-28 03:43:41,088 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 71 [2019-11-28 03:43:41,089 INFO L73 IsDeterministic]: Start isDeterministic. Operand 196 states and 236 transitions. [2019-11-28 03:43:41,089 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:41,089 INFO L688 BuchiCegarLoop]: Abstraction has 196 states and 236 transitions. [2019-11-28 03:43:41,090 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 196 states and 236 transitions. [2019-11-28 03:43:41,094 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 196 to 170. [2019-11-28 03:43:41,095 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 170 states. [2019-11-28 03:43:41,096 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 170 states to 170 states and 209 transitions. [2019-11-28 03:43:41,096 INFO L711 BuchiCegarLoop]: Abstraction has 170 states and 209 transitions. [2019-11-28 03:43:41,097 INFO L591 BuchiCegarLoop]: Abstraction has 170 states and 209 transitions. [2019-11-28 03:43:41,097 INFO L424 BuchiCegarLoop]: ======== Iteration 10============ [2019-11-28 03:43:41,097 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 170 states and 209 transitions. [2019-11-28 03:43:41,098 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 13 [2019-11-28 03:43:41,098 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:41,099 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:41,100 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:41,100 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2019-11-28 03:43:41,100 INFO L794 eck$LassoCheckResult]: Stem: 5667#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 5668#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 5642#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 5655#is_prime_ENTRY ~n := #in~n;~m := #in~m; 5656#L56 assume !(~n <= 1); 5649#L59 assume !(2 == ~n); 5650#L62 assume ~n > 2; 5661#L63 assume !(~m <= 1); 5742#L66 call #t~ret6 := multiple_of(~n, ~m);< 5761#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5758#L30 assume !(~m < 0); 5747#L33 assume !(~n < 0); 5745#L36 assume !(0 == ~m); 5744#L39 assume !(0 == ~n); 5687#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 5738#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5739#L30 assume !(~m < 0); 5764#L33 assume ~n < 0; 5626#L34 call #t~ret3 := multiple_of(-~n, ~m);< 5763#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5679#L30 assume !(~m < 0); 5623#L33 assume !(~n < 0); 5625#L36 [2019-11-28 03:43:41,100 INFO L796 eck$LassoCheckResult]: Loop: 5625#L36 assume !(0 == ~m); 5653#L39 assume !(0 == ~n); 5645#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 5644#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5789#L30 assume !(~m < 0); 5782#L33 assume !(~n < 0); 5625#L36 [2019-11-28 03:43:41,101 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:41,101 INFO L82 PathProgramCache]: Analyzing trace with hash -365122516, now seen corresponding path program 1 times [2019-11-28 03:43:41,101 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:41,101 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1884646707] [2019-11-28 03:43:41,102 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:41,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:41,157 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:41,157 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1884646707] [2019-11-28 03:43:41,157 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1821956895] [2019-11-28 03:43:41,157 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 78 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 78 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 03:43:41,187 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:41,188 INFO L255 TraceCheckSpWp]: Trace formula consists of 62 conjuncts, 11 conjunts are in the unsatisfiable core [2019-11-28 03:43:41,190 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:41,197 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 6 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:41,197 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2019-11-28 03:43:41,198 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 8 [2019-11-28 03:43:41,198 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1692106991] [2019-11-28 03:43:41,198 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 03:43:41,199 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:41,199 INFO L82 PathProgramCache]: Analyzing trace with hash 1367317725, now seen corresponding path program 2 times [2019-11-28 03:43:41,199 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:41,199 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [266561184] [2019-11-28 03:43:41,199 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:41,202 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:41,203 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:41,205 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:41,283 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:41,283 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:41,283 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:41,283 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:41,283 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 03:43:41,283 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:41,283 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:41,284 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:41,284 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration10_Loop [2019-11-28 03:43:41,284 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:41,284 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:41,285 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:41,287 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:41,301 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:41,303 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:41,304 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:41,373 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:41,374 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 79 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 79 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:41,379 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:41,379 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:41,381 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 03:43:41,381 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret2=0} Honda state: {multiple_of_#t~ret2=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 80 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 80 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:41,386 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 03:43:41,387 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 81 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 81 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:41,398 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 03:43:41,398 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 03:43:43,798 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 03:43:43,800 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 03:43:43,800 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 03:43:43,800 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 03:43:43,800 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 03:43:43,801 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 03:43:43,801 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:43,801 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 03:43:43,801 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 03:43:43,801 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration10_Loop [2019-11-28 03:43:43,801 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 03:43:43,801 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 03:43:43,802 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:43,817 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:43,820 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:43,822 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:43,831 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 03:43:43,916 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 03:43:43,916 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 82 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 82 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:43,923 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 03:43:43,924 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 03:43:43,924 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 03:43:43,924 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 03:43:43,925 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 03:43:43,925 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 03:43:43,926 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 03:43:43,926 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 03:43:43,930 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 03:43:43,933 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2019-11-28 03:43:43,933 INFO L444 ModelExtractionUtils]: 3 out of 6 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 83 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 83 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 03:43:43,936 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 03:43:43,936 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 03:43:43,937 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 03:43:43,937 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_~n) = 1*multiple_of_~n Supporting invariants [] [2019-11-28 03:43:43,939 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 03:43:43,953 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:43,986 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:43,987 INFO L255 TraceCheckSpWp]: Trace formula consists of 174 conjuncts, 10 conjunts are in the unsatisfiable core [2019-11-28 03:43:43,989 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:44,000 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:44,001 INFO L255 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 11 conjunts are in the unsatisfiable core [2019-11-28 03:43:44,002 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:44,069 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 03:43:44,101 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 03:43:44,126 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:44,127 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 5 loop predicates [2019-11-28 03:43:44,127 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49 Second operand 6 states. [2019-11-28 03:43:44,274 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49. Second operand 6 states. Result 197 states and 241 transitions. Complement of second has 15 states. [2019-11-28 03:43:44,275 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 1 stem states 4 non-accepting loop states 1 accepting loop states [2019-11-28 03:43:44,275 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 03:43:44,276 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 21 transitions. [2019-11-28 03:43:44,276 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 21 transitions. Stem has 22 letters. Loop has 6 letters. [2019-11-28 03:43:44,276 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:44,276 INFO L639 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2019-11-28 03:43:44,290 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:44,318 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:44,320 INFO L255 TraceCheckSpWp]: Trace formula consists of 174 conjuncts, 10 conjunts are in the unsatisfiable core [2019-11-28 03:43:44,321 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:44,331 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:44,332 INFO L255 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 11 conjunts are in the unsatisfiable core [2019-11-28 03:43:44,332 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:44,361 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 03:43:44,380 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 03:43:44,393 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:44,393 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and with honda bouncer for loop.1 stem predicates 5 loop predicates [2019-11-28 03:43:44,393 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49 Second operand 6 states. [2019-11-28 03:43:44,517 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49. Second operand 6 states. Result 197 states and 241 transitions. Complement of second has 15 states. [2019-11-28 03:43:44,517 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 1 stem states 4 non-accepting loop states 1 accepting loop states [2019-11-28 03:43:44,518 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 03:43:44,518 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 21 transitions. [2019-11-28 03:43:44,518 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 21 transitions. Stem has 22 letters. Loop has 6 letters. [2019-11-28 03:43:44,518 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:44,518 INFO L639 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2019-11-28 03:43:44,527 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:44,557 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:44,558 INFO L255 TraceCheckSpWp]: Trace formula consists of 174 conjuncts, 10 conjunts are in the unsatisfiable core [2019-11-28 03:43:44,559 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:44,568 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 03:43:44,568 INFO L255 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 11 conjunts are in the unsatisfiable core [2019-11-28 03:43:44,569 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 03:43:44,594 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 03:43:44,617 INFO L319 QuantifierPusher]: Applying distributivity, recursing on 2 terms [2019-11-28 03:43:44,631 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 03:43:44,631 INFO L152 lantAutomatonBouncer]: Defining Buchi interpolant automaton with scrooge nondeterminism in stemwith honda bouncer for stem and without honda bouncer for loop.1 stem predicates 5 loop predicates [2019-11-28 03:43:44,631 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49 Second operand 6 states. [2019-11-28 03:43:44,797 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 170 states and 209 transitions. cyclomatic complexity: 49. Second operand 6 states. Result 265 states and 319 transitions. Complement of second has 16 states. [2019-11-28 03:43:44,798 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 1 stem states 4 non-accepting loop states 1 accepting loop states [2019-11-28 03:43:44,799 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 03:43:44,799 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 36 transitions. [2019-11-28 03:43:44,799 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 36 transitions. Stem has 22 letters. Loop has 6 letters. [2019-11-28 03:43:44,799 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:44,800 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 36 transitions. Stem has 28 letters. Loop has 6 letters. [2019-11-28 03:43:44,800 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:44,800 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 36 transitions. Stem has 22 letters. Loop has 12 letters. [2019-11-28 03:43:44,800 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 03:43:44,801 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 265 states and 319 transitions. [2019-11-28 03:43:44,803 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 21 [2019-11-28 03:43:44,806 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 265 states to 223 states and 270 transitions. [2019-11-28 03:43:44,807 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 52 [2019-11-28 03:43:44,807 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 60 [2019-11-28 03:43:44,807 INFO L73 IsDeterministic]: Start isDeterministic. Operand 223 states and 270 transitions. [2019-11-28 03:43:44,807 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:44,807 INFO L688 BuchiCegarLoop]: Abstraction has 223 states and 270 transitions. [2019-11-28 03:43:44,808 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 223 states and 270 transitions. [2019-11-28 03:43:44,812 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 223 to 182. [2019-11-28 03:43:44,812 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 182 states. [2019-11-28 03:43:44,813 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 182 states to 182 states and 226 transitions. [2019-11-28 03:43:44,813 INFO L711 BuchiCegarLoop]: Abstraction has 182 states and 226 transitions. [2019-11-28 03:43:44,814 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 03:43:44,814 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2019-11-28 03:43:44,814 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2019-11-28 03:43:44,814 INFO L87 Difference]: Start difference. First operand 182 states and 226 transitions. Second operand 8 states. [2019-11-28 03:43:44,943 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 03:43:44,943 INFO L93 Difference]: Finished difference Result 243 states and 299 transitions. [2019-11-28 03:43:44,944 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2019-11-28 03:43:44,944 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 243 states and 299 transitions. [2019-11-28 03:43:44,946 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 16 [2019-11-28 03:43:44,949 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 243 states to 233 states and 289 transitions. [2019-11-28 03:43:44,949 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 45 [2019-11-28 03:43:44,949 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 45 [2019-11-28 03:43:44,950 INFO L73 IsDeterministic]: Start isDeterministic. Operand 233 states and 289 transitions. [2019-11-28 03:43:44,950 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 03:43:44,950 INFO L688 BuchiCegarLoop]: Abstraction has 233 states and 289 transitions. [2019-11-28 03:43:44,950 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 233 states and 289 transitions. [2019-11-28 03:43:44,955 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 233 to 212. [2019-11-28 03:43:44,955 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 212 states. [2019-11-28 03:43:44,956 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 212 states to 212 states and 266 transitions. [2019-11-28 03:43:44,957 INFO L711 BuchiCegarLoop]: Abstraction has 212 states and 266 transitions. [2019-11-28 03:43:44,957 INFO L591 BuchiCegarLoop]: Abstraction has 212 states and 266 transitions. [2019-11-28 03:43:44,957 INFO L424 BuchiCegarLoop]: ======== Iteration 11============ [2019-11-28 03:43:44,957 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 212 states and 266 transitions. [2019-11-28 03:43:44,958 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 16 [2019-11-28 03:43:44,959 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 03:43:44,959 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 03:43:44,959 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [4, 4, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:44,960 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2019-11-28 03:43:44,960 INFO L794 eck$LassoCheckResult]: Stem: 7342#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet8, main_#t~ret9, main_#t~nondet10, main_#t~nondet11, main_#t~ret12, main_#t~short13, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet8;havoc main_#t~nondet8; 7343#L76 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret5, is_prime_~n;is_prime_~n := is_prime_#in~n; 7301#L51 call is_prime_#t~ret5 := is_prime_(is_prime_~n, is_prime_~n - 1);< 7325#is_prime_ENTRY ~n := #in~n;~m := #in~m; 7326#L56 assume !(~n <= 1); 7349#L59 assume !(2 == ~n); 7331#L62 assume ~n > 2; 7332#L63 assume !(~m <= 1); 7352#L66 call #t~ret6 := multiple_of(~n, ~m);< 7353#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7403#L30 assume !(~m < 0); 7402#L33 assume !(~n < 0); 7401#L36 assume !(0 == ~m); 7386#L39 assume !(0 == ~n); 7379#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 7395#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7394#L30 assume !(~m < 0); 7393#L33 assume !(~n < 0); 7385#L36 assume !(0 == ~m); 7382#L39 assume !(0 == ~n); 7369#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 7378#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7377#L30 assume !(~m < 0); 7368#L33 assume ~n < 0; 7294#L34 call #t~ret3 := multiple_of(-~n, ~m);< 7373#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7372#L30 assume !(~m < 0); 7292#L33 assume !(~n < 0); 7295#L36 [2019-11-28 03:43:44,960 INFO L796 eck$LassoCheckResult]: Loop: 7295#L36 assume !(0 == ~m); 7338#L39 assume !(0 == ~n); 7313#L42 call #t~ret4 := multiple_of(~n - ~m, ~m);< 7358#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7396#L30 assume !(~m < 0); 7374#L33 assume ~n < 0; 7312#L34 call #t~ret3 := multiple_of(-~n, ~m);< 7314#multiple_ofENTRY ~n := #in~n;~m := #in~m; 7375#L30 assume !(~m < 0); 7376#L33 assume !(~n < 0); 7295#L36 [2019-11-28 03:43:44,960 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:44,961 INFO L82 PathProgramCache]: Analyzing trace with hash 1641835528, now seen corresponding path program 2 times [2019-11-28 03:43:44,961 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:44,961 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [274978376] [2019-11-28 03:43:44,961 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:44,968 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:44,974 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:44,977 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:44,978 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:44,978 INFO L82 PathProgramCache]: Analyzing trace with hash 478329012, now seen corresponding path program 1 times [2019-11-28 03:43:44,978 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:44,978 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1567837001] [2019-11-28 03:43:44,979 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:44,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:44,984 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:44,985 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:44,986 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 03:43:44,986 INFO L82 PathProgramCache]: Analyzing trace with hash 1762199547, now seen corresponding path program 3 times [2019-11-28 03:43:44,986 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 03:43:44,987 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [889367547] [2019-11-28 03:43:44,987 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 03:43:44,994 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:45,000 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 03:43:45,004 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 03:43:45,804 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.11 03:43:45 BoogieIcfgContainer [2019-11-28 03:43:45,804 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2019-11-28 03:43:45,806 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2019-11-28 03:43:45,806 INFO L271 PluginConnector]: Initializing Witness Printer... [2019-11-28 03:43:45,806 INFO L275 PluginConnector]: Witness Printer initialized [2019-11-28 03:43:45,807 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 03:43:30" (3/4) ... [2019-11-28 03:43:45,811 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2019-11-28 03:43:45,863 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2019-11-28 03:43:45,863 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2019-11-28 03:43:45,865 INFO L168 Benchmark]: Toolchain (without parser) took 16266.85 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 248.5 MB). Free memory was 956.3 MB in the beginning and 963.2 MB in the end (delta: -6.8 MB). Peak memory consumption was 241.7 MB. Max. memory is 11.5 GB. [2019-11-28 03:43:45,866 INFO L168 Benchmark]: CDTParser took 0.20 ms. Allocated memory is still 1.0 GB. Free memory is still 987.2 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 03:43:45,866 INFO L168 Benchmark]: CACSL2BoogieTranslator took 289.91 ms. Allocated memory is still 1.0 GB. Free memory was 956.3 MB in the beginning and 945.6 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2019-11-28 03:43:45,867 INFO L168 Benchmark]: Boogie Procedure Inliner took 91.26 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 70.8 MB). Free memory was 945.6 MB in the beginning and 1.1 GB in the end (delta: -121.0 MB). Peak memory consumption was 9.7 MB. Max. memory is 11.5 GB. [2019-11-28 03:43:45,867 INFO L168 Benchmark]: Boogie Preprocessor took 30.61 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 7.0 MB). Peak memory consumption was 7.0 MB. Max. memory is 11.5 GB. [2019-11-28 03:43:45,868 INFO L168 Benchmark]: RCFGBuilder took 418.55 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 20.4 MB). Peak memory consumption was 20.4 MB. Max. memory is 11.5 GB. [2019-11-28 03:43:45,869 INFO L168 Benchmark]: BuchiAutomizer took 15373.38 ms. Allocated memory was 1.1 GB in the beginning and 1.3 GB in the end (delta: 177.7 MB). Free memory was 1.0 GB in the beginning and 963.2 MB in the end (delta: 76.1 MB). Peak memory consumption was 253.8 MB. Max. memory is 11.5 GB. [2019-11-28 03:43:45,869 INFO L168 Benchmark]: Witness Printer took 57.25 ms. Allocated memory is still 1.3 GB. Free memory is still 963.2 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 03:43:45,871 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.20 ms. Allocated memory is still 1.0 GB. Free memory is still 987.2 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 289.91 ms. Allocated memory is still 1.0 GB. Free memory was 956.3 MB in the beginning and 945.6 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 91.26 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 70.8 MB). Free memory was 945.6 MB in the beginning and 1.1 GB in the end (delta: -121.0 MB). Peak memory consumption was 9.7 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 30.61 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 7.0 MB). Peak memory consumption was 7.0 MB. Max. memory is 11.5 GB. * RCFGBuilder took 418.55 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 20.4 MB). Peak memory consumption was 20.4 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 15373.38 ms. Allocated memory was 1.1 GB in the beginning and 1.3 GB in the end (delta: 177.7 MB). Free memory was 1.0 GB in the beginning and 963.2 MB in the end (delta: 76.1 MB). Peak memory consumption was 253.8 MB. Max. memory is 11.5 GB. * Witness Printer took 57.25 ms. Allocated memory is still 1.3 GB. Free memory is still 963.2 MB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 16 terminating modules (8 trivial, 7 deterministic, 1 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function \old(m) and consists of 9 locations. One deterministic module has affine ranking function m and consists of 5 locations. One deterministic module has affine ranking function -1 * \old(m) and consists of 5 locations. One deterministic module has affine ranking function -1 * \old(n) and consists of 4 locations. One deterministic module has affine ranking function \old(n) and consists of 6 locations. One deterministic module has affine ranking function m and consists of 6 locations. One deterministic module has affine ranking function m and consists of 5 locations. One nondeterministic module has affine ranking function n and consists of 6 locations. 8 modules have a trivial ranking function, the largest among these consists of 10 locations. The remainder module has 212 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 15.3s and 11 iterations. TraceHistogramMax:4. Analysis of lassos took 11.0s. Construction of modules took 1.0s. Büchi inclusion checks took 2.6s. Highest rank in rank-based complementation 3. Minimization of det autom 2. Minimization of nondet autom 14. Automata minimization 0.1s AutomataMinimizationTime, 16 MinimizatonAttempts, 304 StatesRemovedByMinimization, 16 NontrivialMinimizations. Non-live state removal took 0.1s Buchi closure took 0.0s. Biggest automaton had 261 states and ocurred in iteration 8. Nontrivial modules had stage [7, 0, 1, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 1/7 HoareTripleCheckerStatistics: 693 SDtfs, 703 SDslu, 1178 SDs, 0 SdLazy, 968 SolverSat, 199 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1.0s Time LassoAnalysisResults: nont1 unkn0 SFLI2 SFLT2 conc0 concLT1 SILN0 SILU0 SILI0 SILT5 lasso0 LassoPreprocessingBenchmarks: Lassos: inital20 mio100 ax100 hnf99 lsp81 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq175 hnf92 smp90 dnf100 smp100 tf109 neg98 sie109 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 15ms VariablesStem: 0 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 0 MotzkinApplications: 2 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 24 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 8 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 6.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 36]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {} State at position 1 is {n=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3d8a7699=0, \result=0, f1=0, m=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@89be1a3=0, n=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@7e8067d1=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6cce4e0d=0, result=0, f2=0, m=2, n=1, \result=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@443869cf=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@752707dc=0, \old(n)=1, \old(m)=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@156ea9a6=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@59971da0=0, n=0, \old(n)=0, \result=0, \old(m)=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@552bd073=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@45955c60=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@43efb21c=0, \old(n)=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@53c5d03b=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 36]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L75] int n = __VERIFIER_nondet_int(); [L76] COND FALSE !(n < 1 || n > 46340) [L51] CALL is_prime_(n, n - 1) [L56] COND FALSE !(n <= 1) [L59] COND FALSE !(n == 2) [L62] COND TRUE n > 2 [L63] COND FALSE !(m <= 1) [L66] CALL multiple_of(n, m) [L30] COND FALSE !(m < 0) [L33] COND FALSE !(n < 0) [L36] COND FALSE !(m == 0) [L39] COND FALSE !(n == 0) [L42] CALL multiple_of(n - m, m) [L30] COND FALSE !(m < 0) [L33] COND FALSE !(n < 0) [L36] COND FALSE !(m == 0) [L39] COND FALSE !(n == 0) [L42] CALL multiple_of(n - m, m) [L30] COND FALSE !(m < 0) [L33] COND TRUE n < 0 [L34] CALL multiple_of(-n, m) [L30] COND FALSE !(m < 0) [L33] COND FALSE !(n < 0) Loop: [L36] COND FALSE !(m == 0) [L39] COND FALSE !(n == 0) [L42] CALL multiple_of(n - m, m) [L30] COND FALSE !(m < 0) [L33] COND TRUE n < 0 [L34] CALL multiple_of(-n, m) [L30] COND FALSE !(m < 0) [L33] COND FALSE !(n < 0) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...