./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 54858612 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/recursive/Primes.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash c04652d270e46f53d045684d293397aaf1836f58 ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.2.0-5485861 [2020-10-26 05:43:39,021 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-26 05:43:39,024 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-26 05:43:39,058 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-26 05:43:39,058 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-26 05:43:39,060 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-26 05:43:39,062 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-26 05:43:39,064 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-26 05:43:39,067 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-26 05:43:39,068 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-26 05:43:39,070 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-26 05:43:39,071 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-26 05:43:39,072 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-26 05:43:39,073 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-26 05:43:39,074 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-26 05:43:39,076 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-26 05:43:39,077 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-26 05:43:39,078 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-26 05:43:39,081 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-26 05:43:39,083 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-26 05:43:39,085 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-26 05:43:39,089 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-26 05:43:39,090 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-26 05:43:39,092 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-26 05:43:39,095 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-26 05:43:39,096 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-26 05:43:39,096 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-26 05:43:39,098 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-26 05:43:39,098 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-26 05:43:39,100 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-26 05:43:39,100 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-26 05:43:39,101 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-26 05:43:39,102 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-26 05:43:39,103 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-26 05:43:39,105 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-26 05:43:39,105 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-26 05:43:39,106 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-26 05:43:39,106 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-26 05:43:39,107 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-26 05:43:39,108 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-26 05:43:39,109 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-26 05:43:39,110 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-10-26 05:43:39,142 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-26 05:43:39,143 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-26 05:43:39,145 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-26 05:43:39,146 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-26 05:43:39,146 INFO L138 SettingsManager]: * Use SBE=true [2020-10-26 05:43:39,147 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-26 05:43:39,147 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-26 05:43:39,147 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-26 05:43:39,148 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-26 05:43:39,148 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-26 05:43:39,149 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-26 05:43:39,149 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-26 05:43:39,150 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-26 05:43:39,150 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-26 05:43:39,150 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-26 05:43:39,150 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-26 05:43:39,151 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-26 05:43:39,151 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-26 05:43:39,151 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-26 05:43:39,151 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-26 05:43:39,152 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-26 05:43:39,152 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-26 05:43:39,152 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-26 05:43:39,152 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-26 05:43:39,153 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-26 05:43:39,153 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-26 05:43:39,153 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-26 05:43:39,153 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-26 05:43:39,154 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-26 05:43:39,154 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-26 05:43:39,154 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-26 05:43:39,154 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-26 05:43:39,157 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-26 05:43:39,157 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> c04652d270e46f53d045684d293397aaf1836f58 [2020-10-26 05:43:39,574 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-26 05:43:39,627 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-26 05:43:39,631 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-26 05:43:39,633 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-26 05:43:39,636 INFO L275 PluginConnector]: CDTParser initialized [2020-10-26 05:43:39,637 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/recursive/Primes.c [2020-10-26 05:43:39,735 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4b2a4ff2c/c31d0ff37fdd4298989b9d36b74abde5/FLAGe637a7c93 [2020-10-26 05:43:40,413 INFO L306 CDTParser]: Found 1 translation units. [2020-10-26 05:43:40,414 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive/Primes.c [2020-10-26 05:43:40,422 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4b2a4ff2c/c31d0ff37fdd4298989b9d36b74abde5/FLAGe637a7c93 [2020-10-26 05:43:40,804 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4b2a4ff2c/c31d0ff37fdd4298989b9d36b74abde5 [2020-10-26 05:43:40,809 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-26 05:43:40,818 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-26 05:43:40,821 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-26 05:43:40,822 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-26 05:43:40,827 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-26 05:43:40,829 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.10 05:43:40" (1/1) ... [2020-10-26 05:43:40,834 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5d81fae8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:40, skipping insertion in model container [2020-10-26 05:43:40,834 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.10 05:43:40" (1/1) ... [2020-10-26 05:43:40,843 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-26 05:43:40,869 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-26 05:43:41,103 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-26 05:43:41,113 INFO L203 MainTranslator]: Completed pre-run [2020-10-26 05:43:41,135 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-26 05:43:41,153 INFO L208 MainTranslator]: Completed translation [2020-10-26 05:43:41,154 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41 WrapperNode [2020-10-26 05:43:41,154 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-26 05:43:41,156 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-26 05:43:41,156 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-26 05:43:41,156 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-26 05:43:41,166 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (1/1) ... [2020-10-26 05:43:41,176 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (1/1) ... [2020-10-26 05:43:41,199 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-26 05:43:41,200 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-26 05:43:41,200 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-26 05:43:41,200 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-26 05:43:41,211 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (1/1) ... [2020-10-26 05:43:41,212 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (1/1) ... [2020-10-26 05:43:41,214 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (1/1) ... [2020-10-26 05:43:41,215 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (1/1) ... [2020-10-26 05:43:41,220 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (1/1) ... [2020-10-26 05:43:41,224 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (1/1) ... [2020-10-26 05:43:41,226 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (1/1) ... [2020-10-26 05:43:41,229 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-26 05:43:41,230 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-26 05:43:41,231 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-26 05:43:41,231 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-26 05:43:41,232 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:41,319 INFO L130 BoogieDeclarations]: Found specification of procedure multiple_of [2020-10-26 05:43:41,319 INFO L138 BoogieDeclarations]: Found implementation of procedure multiple_of [2020-10-26 05:43:41,320 INFO L130 BoogieDeclarations]: Found specification of procedure mult [2020-10-26 05:43:41,320 INFO L138 BoogieDeclarations]: Found implementation of procedure mult [2020-10-26 05:43:41,320 INFO L130 BoogieDeclarations]: Found specification of procedure is_prime_ [2020-10-26 05:43:41,320 INFO L138 BoogieDeclarations]: Found implementation of procedure is_prime_ [2020-10-26 05:43:41,321 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-10-26 05:43:41,321 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-26 05:43:41,321 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-26 05:43:41,321 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-26 05:43:41,904 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-26 05:43:41,905 INFO L298 CfgBuilder]: Removed 8 assume(true) statements. [2020-10-26 05:43:41,907 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 05:43:41 BoogieIcfgContainer [2020-10-26 05:43:41,907 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-26 05:43:41,908 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-26 05:43:41,909 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-26 05:43:41,912 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-26 05:43:41,914 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-26 05:43:41,914 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 26.10 05:43:40" (1/3) ... [2020-10-26 05:43:41,915 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@22938714 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 26.10 05:43:41, skipping insertion in model container [2020-10-26 05:43:41,915 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-26 05:43:41,916 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 05:43:41" (2/3) ... [2020-10-26 05:43:41,916 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@22938714 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 26.10 05:43:41, skipping insertion in model container [2020-10-26 05:43:41,916 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-26 05:43:41,917 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 05:43:41" (3/3) ... [2020-10-26 05:43:41,918 INFO L373 chiAutomizerObserver]: Analyzing ICFG Primes.c [2020-10-26 05:43:41,985 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-26 05:43:41,985 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-26 05:43:41,985 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-26 05:43:41,986 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-26 05:43:41,986 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-26 05:43:41,986 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-26 05:43:41,986 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-26 05:43:41,987 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-26 05:43:42,003 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 51 states. [2020-10-26 05:43:42,037 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-26 05:43:42,038 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:42,038 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:42,048 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-26 05:43:42,049 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:42,049 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-26 05:43:42,049 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 51 states. [2020-10-26 05:43:42,056 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-26 05:43:42,056 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:42,056 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:42,057 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-26 05:43:42,058 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:42,067 INFO L794 eck$LassoCheckResult]: Stem: 21#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 8#L-1true havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 33#L78true assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 45#L53true call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 7#is_prime_ENTRYtrue [2020-10-26 05:43:42,068 INFO L796 eck$LassoCheckResult]: Loop: 7#is_prime_ENTRYtrue ~n := #in~n;~m := #in~m; 18#L58true assume !(~n <= 1); 6#L61true assume !(2 == ~n); 43#L64true assume ~n > 2; 10#L65true assume !(~m <= 1); 51#L68true call #t~ret13 := multiple_of(~n, ~m);< 50#multiple_ofENTRYtrue ~n := #in~n;~m := #in~m; 52#L32true assume !(~m < 0); 40#L35true assume !(~n < 0); 9#L38true assume 0 == ~m;#res := 0; 20#multiple_ofFINALtrue assume true; 38#multiple_ofEXITtrue >#124#return; 53#L68-1true assume !(0 == #t~ret13);havoc #t~ret13; 41#L71true call #t~ret14 := is_prime_(~n, ~m - 1);< 7#is_prime_ENTRYtrue [2020-10-26 05:43:42,075 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:42,076 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 1 times [2020-10-26 05:43:42,088 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:42,088 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1437177975] [2020-10-26 05:43:42,089 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:42,213 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:42,214 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:42,235 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:42,236 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:42,262 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:42,265 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:42,265 INFO L82 PathProgramCache]: Analyzing trace with hash -2140609117, now seen corresponding path program 1 times [2020-10-26 05:43:42,266 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:42,266 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [324938770] [2020-10-26 05:43:42,267 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:42,279 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:42,352 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-10-26 05:43:42,358 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:42,415 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:42,416 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [324938770] [2020-10-26 05:43:42,416 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-26 05:43:42,417 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-26 05:43:42,417 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1232968406] [2020-10-26 05:43:42,425 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-26 05:43:42,427 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-26 05:43:42,450 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-26 05:43:42,451 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-26 05:43:42,454 INFO L87 Difference]: Start difference. First operand 51 states. Second operand 5 states. [2020-10-26 05:43:42,669 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-26 05:43:42,669 INFO L93 Difference]: Finished difference Result 56 states and 80 transitions. [2020-10-26 05:43:42,670 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-26 05:43:42,673 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 56 states and 80 transitions. [2020-10-26 05:43:42,678 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-26 05:43:42,687 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 56 states to 41 states and 54 transitions. [2020-10-26 05:43:42,688 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 41 [2020-10-26 05:43:42,689 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 41 [2020-10-26 05:43:42,690 INFO L73 IsDeterministic]: Start isDeterministic. Operand 41 states and 54 transitions. [2020-10-26 05:43:42,692 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-26 05:43:42,692 INFO L691 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-10-26 05:43:42,712 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 41 states and 54 transitions. [2020-10-26 05:43:42,732 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 41 to 39. [2020-10-26 05:43:42,733 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 39 states. [2020-10-26 05:43:42,735 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 51 transitions. [2020-10-26 05:43:42,736 INFO L714 BuchiCegarLoop]: Abstraction has 39 states and 51 transitions. [2020-10-26 05:43:42,737 INFO L594 BuchiCegarLoop]: Abstraction has 39 states and 51 transitions. [2020-10-26 05:43:42,737 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-26 05:43:42,737 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 39 states and 51 transitions. [2020-10-26 05:43:42,739 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-26 05:43:42,739 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:42,739 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:42,740 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-26 05:43:42,740 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:42,741 INFO L794 eck$LassoCheckResult]: Stem: 162#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 149#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 150#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 139#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 146#is_prime_ENTRY [2020-10-26 05:43:42,741 INFO L796 eck$LassoCheckResult]: Loop: 146#is_prime_ENTRY ~n := #in~n;~m := #in~m; 147#L58 assume !(~n <= 1); 138#L61 assume !(2 == ~n); 142#L64 assume ~n > 2; 155#L65 assume !(~m <= 1); 135#L68 call #t~ret13 := multiple_of(~n, ~m);< 143#multiple_ofENTRY ~n := #in~n;~m := #in~m; 164#L32 assume !(~m < 0); 161#L35 assume !(~n < 0); 151#L38 assume !(0 == ~m); 152#L41 assume 0 == ~n;#res := 1; 137#multiple_ofFINAL assume true; 158#multiple_ofEXIT >#124#return; 159#L68-1 assume !(0 == #t~ret13);havoc #t~ret13; 140#L71 call #t~ret14 := is_prime_(~n, ~m - 1);< 146#is_prime_ENTRY [2020-10-26 05:43:42,742 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:42,742 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 2 times [2020-10-26 05:43:42,743 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:42,743 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [106188508] [2020-10-26 05:43:42,743 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:42,757 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:42,758 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:42,770 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:42,771 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:42,776 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:42,777 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:42,777 INFO L82 PathProgramCache]: Analyzing trace with hash -1912428317, now seen corresponding path program 1 times [2020-10-26 05:43:42,778 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:42,778 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [726202018] [2020-10-26 05:43:42,778 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:42,785 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:42,814 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-10-26 05:43:42,820 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:42,842 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:42,842 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [726202018] [2020-10-26 05:43:42,842 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-26 05:43:42,843 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-26 05:43:42,843 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1562726466] [2020-10-26 05:43:42,843 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-26 05:43:42,844 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-26 05:43:42,845 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-26 05:43:42,845 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-26 05:43:42,845 INFO L87 Difference]: Start difference. First operand 39 states and 51 transitions. cyclomatic complexity: 15 Second operand 5 states. [2020-10-26 05:43:42,948 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-26 05:43:42,949 INFO L93 Difference]: Finished difference Result 43 states and 57 transitions. [2020-10-26 05:43:42,950 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-26 05:43:42,950 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 43 states and 57 transitions. [2020-10-26 05:43:42,953 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-26 05:43:42,956 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 43 states to 43 states and 57 transitions. [2020-10-26 05:43:42,956 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 43 [2020-10-26 05:43:42,957 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 43 [2020-10-26 05:43:42,957 INFO L73 IsDeterministic]: Start isDeterministic. Operand 43 states and 57 transitions. [2020-10-26 05:43:42,958 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-26 05:43:42,958 INFO L691 BuchiCegarLoop]: Abstraction has 43 states and 57 transitions. [2020-10-26 05:43:42,959 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 43 states and 57 transitions. [2020-10-26 05:43:42,963 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 43 to 41. [2020-10-26 05:43:42,964 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2020-10-26 05:43:42,965 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 54 transitions. [2020-10-26 05:43:42,965 INFO L714 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-10-26 05:43:42,965 INFO L594 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-10-26 05:43:42,966 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-10-26 05:43:42,966 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 41 states and 54 transitions. [2020-10-26 05:43:42,967 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-26 05:43:42,968 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:42,968 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:42,969 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-26 05:43:42,969 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:42,969 INFO L794 eck$LassoCheckResult]: Stem: 261#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 250#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 251#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 238#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 245#is_prime_ENTRY [2020-10-26 05:43:42,970 INFO L796 eck$LassoCheckResult]: Loop: 245#is_prime_ENTRY ~n := #in~n;~m := #in~m; 246#L58 assume !(~n <= 1); 237#L61 assume !(2 == ~n); 241#L64 assume ~n > 2; 254#L65 assume !(~m <= 1); 233#L68 call #t~ret13 := multiple_of(~n, ~m);< 242#multiple_ofENTRY ~n := #in~n;~m := #in~m; 263#L32 assume !(~m < 0); 260#L35 assume !(~n < 0); 248#L38 assume !(0 == ~m); 249#L41 assume !(0 == ~n); 234#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 242#multiple_ofENTRY ~n := #in~n;~m := #in~m; 263#L32 assume !(~m < 0); 260#L35 assume !(~n < 0); 248#L38 assume !(0 == ~m); 249#L41 assume 0 == ~n;#res := 1; 236#multiple_ofFINAL assume true; 258#multiple_ofEXIT >#114#return; 255#L44-1 #res := #t~ret11;havoc #t~ret11; 256#multiple_ofFINAL assume true; 265#multiple_ofEXIT >#124#return; 264#L68-1 assume !(0 == #t~ret13);havoc #t~ret13; 239#L71 call #t~ret14 := is_prime_(~n, ~m - 1);< 245#is_prime_ENTRY [2020-10-26 05:43:42,971 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:42,971 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 3 times [2020-10-26 05:43:42,971 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:42,972 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1682460080] [2020-10-26 05:43:42,972 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:42,986 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:42,987 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:43,000 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:43,000 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:43,006 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:43,007 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:43,007 INFO L82 PathProgramCache]: Analyzing trace with hash -1879332525, now seen corresponding path program 1 times [2020-10-26 05:43:43,008 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:43,008 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1143009172] [2020-10-26 05:43:43,008 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:43,025 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:43,026 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:43,038 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:43,039 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:43,044 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:43,045 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:43,045 INFO L82 PathProgramCache]: Analyzing trace with hash 1583483899, now seen corresponding path program 1 times [2020-10-26 05:43:43,045 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:43,046 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [304264197] [2020-10-26 05:43:43,046 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:43,071 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:43,108 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 9 [2020-10-26 05:43:43,115 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:43,148 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-10-26 05:43:43,153 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:43,186 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-10-26 05:43:43,186 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [304264197] [2020-10-26 05:43:43,187 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [860913020] [2020-10-26 05:43:43,187 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-10-26 05:43:43,251 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:43,254 INFO L263 TraceCheckSpWp]: Trace formula consists of 99 conjuncts, 11 conjunts are in the unsatisfiable core [2020-10-26 05:43:43,258 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:43,415 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-10-26 05:43:43,416 INFO L219 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-10-26 05:43:43,416 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 10 [2020-10-26 05:43:43,416 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [157170641] [2020-10-26 05:43:43,815 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:43,816 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:43,816 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:43,816 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:43,817 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 05:43:43,817 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:43,817 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:43,818 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:43,818 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2020-10-26 05:43:43,818 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:43,819 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:43,841 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:43,849 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:43,852 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:43,856 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:43,860 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:43,873 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:44,016 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:44,017 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:44,029 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:44,029 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:44,041 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:44,041 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__~n=0} Honda state: {is_prime__~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:44,098 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:44,098 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:44,103 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:44,103 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__#t~ret13=0} Honda state: {is_prime__#t~ret13=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:44,146 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:44,147 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:44,151 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:44,151 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__~m=0} Honda state: {is_prime__~m=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:44,191 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:44,191 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:44,195 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:44,196 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__#t~ret14=0} Honda state: {is_prime__#t~ret14=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:44,234 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:44,235 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) [2020-10-26 05:43:44,284 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 05:43:44,284 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 [2020-10-26 05:43:44,604 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 05:43:44,607 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:44,607 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:44,607 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:44,608 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:44,608 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 05:43:44,608 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:44,608 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:44,608 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:44,608 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2020-10-26 05:43:44,609 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:44,609 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:44,610 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:44,613 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:44,616 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:44,619 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:44,629 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:44,632 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:44,699 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:44,705 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:44,720 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:44,722 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:44,723 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:44,723 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:44,723 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:44,724 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:44,731 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:44,731 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:44,734 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:44,773 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:44,774 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:44,775 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:44,775 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:44,775 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:44,775 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:44,776 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:44,777 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:44,778 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:44,812 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:44,814 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:44,814 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:44,814 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:44,814 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:44,814 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:44,815 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:44,816 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:44,818 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:44,850 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:44,853 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:44,853 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:44,853 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:44,853 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:44,853 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:44,855 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:44,855 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:44,859 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 05:43:44,866 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-10-26 05:43:44,866 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:44,872 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 05:43:44,873 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 05:43:44,873 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 05:43:44,874 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(is_prime__#in~m) = 1*is_prime__#in~m Supporting invariants [] [2020-10-26 05:43:44,910 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 05:43:44,932 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:44,954 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:44,955 INFO L263 TraceCheckSpWp]: Trace formula consists of 73 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-26 05:43:44,956 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:44,989 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:44,991 INFO L263 TraceCheckSpWp]: Trace formula consists of 140 conjuncts, 18 conjunts are in the unsatisfiable core [2020-10-26 05:43:44,994 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:45,267 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-10-26 05:43:45,271 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 9 loop predicates [2020-10-26 05:43:45,272 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 41 states and 54 transitions. cyclomatic complexity: 16 Second operand 10 states. [2020-10-26 05:43:46,081 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 41 states and 54 transitions. cyclomatic complexity: 16. Second operand 10 states. Result 322 states and 477 transitions. Complement of second has 71 states. [2020-10-26 05:43:46,083 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 13 states 1 stem states 11 non-accepting loop states 1 accepting loop states [2020-10-26 05:43:46,083 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2020-10-26 05:43:46,085 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 77 transitions. [2020-10-26 05:43:46,087 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 4 letters. Loop has 24 letters. [2020-10-26 05:43:46,089 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:46,090 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 28 letters. Loop has 24 letters. [2020-10-26 05:43:46,091 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:46,091 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 4 letters. Loop has 48 letters. [2020-10-26 05:43:46,092 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:46,093 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 322 states and 477 transitions. [2020-10-26 05:43:46,103 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 30 [2020-10-26 05:43:46,115 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 322 states to 264 states and 371 transitions. [2020-10-26 05:43:46,116 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 156 [2020-10-26 05:43:46,117 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 159 [2020-10-26 05:43:46,117 INFO L73 IsDeterministic]: Start isDeterministic. Operand 264 states and 371 transitions. [2020-10-26 05:43:46,119 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:46,120 INFO L691 BuchiCegarLoop]: Abstraction has 264 states and 371 transitions. [2020-10-26 05:43:46,120 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 264 states and 371 transitions. [2020-10-26 05:43:46,147 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 264 to 163. [2020-10-26 05:43:46,149 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 163 states. [2020-10-26 05:43:46,151 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 163 states to 163 states and 220 transitions. [2020-10-26 05:43:46,153 INFO L714 BuchiCegarLoop]: Abstraction has 163 states and 220 transitions. [2020-10-26 05:43:46,154 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-26 05:43:46,154 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2020-10-26 05:43:46,156 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=22, Invalid=68, Unknown=0, NotChecked=0, Total=90 [2020-10-26 05:43:46,156 INFO L87 Difference]: Start difference. First operand 163 states and 220 transitions. Second operand 10 states. [2020-10-26 05:43:46,387 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-26 05:43:46,388 INFO L93 Difference]: Finished difference Result 171 states and 229 transitions. [2020-10-26 05:43:46,389 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2020-10-26 05:43:46,389 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 171 states and 229 transitions. [2020-10-26 05:43:46,393 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 29 [2020-10-26 05:43:46,396 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 171 states to 107 states and 147 transitions. [2020-10-26 05:43:46,397 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 107 [2020-10-26 05:43:46,398 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 107 [2020-10-26 05:43:46,398 INFO L73 IsDeterministic]: Start isDeterministic. Operand 107 states and 147 transitions. [2020-10-26 05:43:46,401 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-26 05:43:46,403 INFO L691 BuchiCegarLoop]: Abstraction has 107 states and 147 transitions. [2020-10-26 05:43:46,403 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 107 states and 147 transitions. [2020-10-26 05:43:46,419 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 107 to 93. [2020-10-26 05:43:46,420 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 93 states. [2020-10-26 05:43:46,421 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 93 states to 93 states and 126 transitions. [2020-10-26 05:43:46,421 INFO L714 BuchiCegarLoop]: Abstraction has 93 states and 126 transitions. [2020-10-26 05:43:46,421 INFO L594 BuchiCegarLoop]: Abstraction has 93 states and 126 transitions. [2020-10-26 05:43:46,421 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-10-26 05:43:46,422 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 93 states and 126 transitions. [2020-10-26 05:43:46,423 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 29 [2020-10-26 05:43:46,423 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:46,423 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:46,423 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:46,423 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-26 05:43:46,424 INFO L794 eck$LassoCheckResult]: Stem: 1287#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 1263#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 1264#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 1270#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 1286#is_prime_ENTRY ~n := #in~n;~m := #in~m; 1302#L58 assume !(~n <= 1); 1303#L61 assume !(2 == ~n); 1306#L64 assume ~n > 2; 1301#L65 assume !(~m <= 1); 1254#L68 call #t~ret13 := multiple_of(~n, ~m);< 1308#multiple_ofENTRY ~n := #in~n;~m := #in~m; 1328#L32 assume ~m < 0; 1272#L33 [2020-10-26 05:43:46,424 INFO L796 eck$LassoCheckResult]: Loop: 1272#L33 call #t~ret9 := multiple_of(~n, -~m);< 1277#multiple_ofENTRY ~n := #in~n;~m := #in~m; 1293#L32 assume ~m < 0; 1272#L33 [2020-10-26 05:43:46,425 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:46,426 INFO L82 PathProgramCache]: Analyzing trace with hash 1581488555, now seen corresponding path program 1 times [2020-10-26 05:43:46,426 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:46,426 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1172380516] [2020-10-26 05:43:46,426 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:46,452 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:46,488 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:46,488 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1172380516] [2020-10-26 05:43:46,489 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-26 05:43:46,489 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-26 05:43:46,489 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1774973150] [2020-10-26 05:43:46,490 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-26 05:43:46,490 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:46,490 INFO L82 PathProgramCache]: Analyzing trace with hash 134543, now seen corresponding path program 1 times [2020-10-26 05:43:46,490 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:46,491 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [531066283] [2020-10-26 05:43:46,491 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:46,495 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:46,496 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:46,498 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:46,498 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:46,501 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:46,560 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:46,560 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:46,560 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:46,561 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:46,561 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 05:43:46,561 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:46,561 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:46,561 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:46,561 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2020-10-26 05:43:46,561 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:46,561 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:46,563 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:46,567 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:46,569 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:46,584 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:46,587 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:46,597 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:46,672 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:46,672 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:46,690 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:46,691 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:46,697 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:46,697 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret11=0} Honda state: {multiple_of_#t~ret11=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:46,725 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:46,725 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:46,728 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:46,728 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret10=0} Honda state: {multiple_of_#t~ret10=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:46,753 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:46,753 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:46,757 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:46,757 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~n=0, multiple_of_#in~n=0} Honda state: {multiple_of_~n=0, multiple_of_#in~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:46,795 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:46,795 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 [2020-10-26 05:43:46,798 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:46,799 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret9=0} Honda state: {multiple_of_#t~ret9=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 18 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 18 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:46,832 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:46,832 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:46,865 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 05:43:46,865 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:47,981 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 05:43:47,984 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:47,984 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:47,984 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:47,984 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:47,984 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 05:43:47,984 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:47,984 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:47,985 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:47,985 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2020-10-26 05:43:47,985 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:47,985 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:47,986 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:47,990 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:47,999 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,009 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,012 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,028 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,095 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:48,095 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:48,109 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:48,111 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:48,111 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:48,111 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:48,111 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:48,112 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:48,112 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:48,112 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 [2020-10-26 05:43:48,117 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:48,160 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:48,162 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:48,162 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:48,162 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:48,162 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:48,162 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:48,163 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:48,163 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:48,165 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:48,200 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:48,202 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:48,202 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:48,203 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:48,203 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:48,203 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:48,206 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:48,206 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:48,209 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:48,237 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:48,239 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:48,239 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:48,239 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:48,239 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:48,240 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:48,240 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:48,240 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:48,247 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:48,274 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:48,276 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:48,276 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:48,277 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:48,277 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:48,277 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:48,279 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:48,279 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:48,283 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 05:43:48,286 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-26 05:43:48,286 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) Waiting until toolchain timeout for monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:48,290 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 05:43:48,290 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 05:43:48,290 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 05:43:48,290 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_~m) = 1*multiple_of_~m Supporting invariants [] [2020-10-26 05:43:48,311 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 05:43:48,328 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:48,365 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:48,366 INFO L263 TraceCheckSpWp]: Trace formula consists of 120 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-26 05:43:48,369 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:48,393 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:48,394 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-26 05:43:48,395 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:48,424 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:48,425 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 3 loop predicates [2020-10-26 05:43:48,425 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 93 states and 126 transitions. cyclomatic complexity: 36 Second operand 4 states. [2020-10-26 05:43:48,511 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 93 states and 126 transitions. cyclomatic complexity: 36. Second operand 4 states. Result 191 states and 253 transitions. Complement of second has 18 states. [2020-10-26 05:43:48,525 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 3 non-accepting loop states 1 accepting loop states [2020-10-26 05:43:48,525 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-10-26 05:43:48,527 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 67 transitions. [2020-10-26 05:43:48,527 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 12 letters. Loop has 3 letters. [2020-10-26 05:43:48,527 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:48,527 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 15 letters. Loop has 3 letters. [2020-10-26 05:43:48,527 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:48,528 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 12 letters. Loop has 6 letters. [2020-10-26 05:43:48,528 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:48,528 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 191 states and 253 transitions. [2020-10-26 05:43:48,534 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 42 [2020-10-26 05:43:48,538 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 191 states to 137 states and 182 transitions. [2020-10-26 05:43:48,538 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 113 [2020-10-26 05:43:48,539 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 114 [2020-10-26 05:43:48,539 INFO L73 IsDeterministic]: Start isDeterministic. Operand 137 states and 182 transitions. [2020-10-26 05:43:48,540 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:48,540 INFO L691 BuchiCegarLoop]: Abstraction has 137 states and 182 transitions. [2020-10-26 05:43:48,544 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 137 states and 182 transitions. [2020-10-26 05:43:48,556 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 137 to 108. [2020-10-26 05:43:48,558 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 108 states. [2020-10-26 05:43:48,560 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 108 states to 108 states and 146 transitions. [2020-10-26 05:43:48,562 INFO L714 BuchiCegarLoop]: Abstraction has 108 states and 146 transitions. [2020-10-26 05:43:48,562 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-26 05:43:48,563 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-26 05:43:48,565 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-26 05:43:48,565 INFO L87 Difference]: Start difference. First operand 108 states and 146 transitions. Second operand 5 states. [2020-10-26 05:43:48,623 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-26 05:43:48,624 INFO L93 Difference]: Finished difference Result 98 states and 128 transitions. [2020-10-26 05:43:48,624 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-26 05:43:48,624 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 98 states and 128 transitions. [2020-10-26 05:43:48,627 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-26 05:43:48,629 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 98 states to 98 states and 128 transitions. [2020-10-26 05:43:48,629 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2020-10-26 05:43:48,630 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2020-10-26 05:43:48,630 INFO L73 IsDeterministic]: Start isDeterministic. Operand 98 states and 128 transitions. [2020-10-26 05:43:48,631 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-26 05:43:48,631 INFO L691 BuchiCegarLoop]: Abstraction has 98 states and 128 transitions. [2020-10-26 05:43:48,631 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 98 states and 128 transitions. [2020-10-26 05:43:48,637 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 98 to 92. [2020-10-26 05:43:48,637 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 92 states. [2020-10-26 05:43:48,639 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 92 states to 92 states and 121 transitions. [2020-10-26 05:43:48,639 INFO L714 BuchiCegarLoop]: Abstraction has 92 states and 121 transitions. [2020-10-26 05:43:48,639 INFO L594 BuchiCegarLoop]: Abstraction has 92 states and 121 transitions. [2020-10-26 05:43:48,639 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-10-26 05:43:48,639 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 92 states and 121 transitions. [2020-10-26 05:43:48,641 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-26 05:43:48,641 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:48,641 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:48,642 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:48,642 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-26 05:43:48,642 INFO L794 eck$LassoCheckResult]: Stem: 1864#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 1843#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 1844#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 1850#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 1863#is_prime_ENTRY ~n := #in~n;~m := #in~m; 1889#L58 assume ~n <= 1;#res := 0; 1872#is_prime_FINAL assume true; 1871#is_prime_EXIT >#120#return; 1842#L53-1 is_prime_#res := is_prime_#t~ret12;havoc is_prime_#t~ret12; 1836#L53-2 main_#t~ret16 := is_prime_#res;main_~result~0 := main_#t~ret16;havoc main_#t~ret16;main_~f1~0 := main_#t~nondet17;havoc main_#t~nondet17; 1837#L85 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet18;havoc main_#t~nondet18; 1819#L91 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short20 := 1 == main_~result~0; 1820#L97 assume main_#t~short20; 1816#L97-1 call main_#t~ret19 := mult(main_~f1~0, main_~f2~0);< 1818#multENTRY [2020-10-26 05:43:48,642 INFO L796 eck$LassoCheckResult]: Loop: 1818#multENTRY ~n := #in~n;~m := #in~m; 1853#L18 assume ~m < 0; 1817#L19 call #t~ret7 := mult(~n, -~m);< 1818#multENTRY [2020-10-26 05:43:48,643 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:48,643 INFO L82 PathProgramCache]: Analyzing trace with hash -1704575146, now seen corresponding path program 1 times [2020-10-26 05:43:48,643 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:48,643 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [242307087] [2020-10-26 05:43:48,644 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:48,655 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:48,694 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 3 [2020-10-26 05:43:48,697 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:48,715 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:48,716 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [242307087] [2020-10-26 05:43:48,716 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-26 05:43:48,716 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-10-26 05:43:48,716 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1161822784] [2020-10-26 05:43:48,717 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-26 05:43:48,717 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:48,717 INFO L82 PathProgramCache]: Analyzing trace with hash 53807, now seen corresponding path program 1 times [2020-10-26 05:43:48,717 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:48,718 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1676965331] [2020-10-26 05:43:48,718 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:48,721 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:48,721 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:48,723 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:48,723 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:48,727 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:48,785 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:48,785 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:48,785 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:48,785 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:48,785 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 05:43:48,785 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:48,785 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:48,785 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:48,786 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2020-10-26 05:43:48,786 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:48,786 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:48,787 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,793 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,796 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,799 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,804 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,807 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,815 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:48,875 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:48,875 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) [2020-10-26 05:43:48,884 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:48,884 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 [2020-10-26 05:43:48,888 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:48,888 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~n=0} Honda state: {mult_~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:48,924 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:48,925 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 [2020-10-26 05:43:48,928 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:48,928 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~m=0} Honda state: {mult_~m=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:48,952 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:48,952 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:48,955 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:48,956 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#res=0} Honda state: {mult_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:48,982 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:48,982 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:48,985 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:48,986 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#in~n=0} Honda state: {mult_#in~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,011 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:49,011 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:49,014 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:49,014 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret8=0} Honda state: {mult_#t~ret8=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,038 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:49,038 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,070 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 05:43:49,071 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:49,104 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 05:43:49,106 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:49,106 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:49,106 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:49,107 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:49,107 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 05:43:49,107 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,107 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:49,107 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:49,107 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2020-10-26 05:43:49,107 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:49,107 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:49,108 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,114 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,117 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,119 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,128 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,133 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,136 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,199 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:49,199 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,203 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:49,205 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:49,205 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:49,205 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:49,205 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:49,205 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:49,206 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:49,206 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:49,208 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,230 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:49,232 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:49,232 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:49,233 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:49,233 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:49,233 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:49,233 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:49,233 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:49,240 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,263 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:49,265 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:49,265 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:49,265 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:49,265 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:49,265 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:49,265 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:49,266 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:49,267 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 [2020-10-26 05:43:49,292 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:49,294 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:49,294 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:49,294 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:49,294 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:49,294 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:49,295 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:49,295 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:49,297 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 37 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 37 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,320 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:49,322 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:49,322 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:49,322 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:49,322 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:49,322 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:49,327 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:49,327 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:49,331 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 38 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 38 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,356 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:49,358 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:49,358 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:49,358 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:49,358 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:49,358 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:49,359 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:49,359 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:49,361 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 39 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 39 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,385 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:49,387 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:49,387 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:49,387 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:49,387 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:49,387 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:49,389 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:49,389 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:49,392 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 05:43:49,399 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-26 05:43:49,399 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 40 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:49,403 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 05:43:49,403 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 05:43:49,403 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 05:43:49,403 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_#in~m) = -1*mult_#in~m Supporting invariants [] Waiting until toolchain timeout for monitored process 40 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,437 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 05:43:49,456 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:49,491 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:49,493 INFO L263 TraceCheckSpWp]: Trace formula consists of 131 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-26 05:43:49,495 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:49,531 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:49,533 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-26 05:43:49,533 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:49,561 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:49,562 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2020-10-26 05:43:49,562 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 92 states and 121 transitions. cyclomatic complexity: 32 Second operand 5 states. [2020-10-26 05:43:49,722 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 92 states and 121 transitions. cyclomatic complexity: 32. Second operand 5 states. Result 114 states and 145 transitions. Complement of second has 14 states. [2020-10-26 05:43:49,723 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2020-10-26 05:43:49,723 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-10-26 05:43:49,724 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 48 transitions. [2020-10-26 05:43:49,724 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 14 letters. Loop has 3 letters. [2020-10-26 05:43:49,724 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:49,724 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 17 letters. Loop has 3 letters. [2020-10-26 05:43:49,725 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:49,725 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 14 letters. Loop has 6 letters. [2020-10-26 05:43:49,725 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:49,725 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 114 states and 145 transitions. [2020-10-26 05:43:49,728 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-26 05:43:49,730 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 114 states to 106 states and 137 transitions. [2020-10-26 05:43:49,730 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 99 [2020-10-26 05:43:49,731 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 101 [2020-10-26 05:43:49,731 INFO L73 IsDeterministic]: Start isDeterministic. Operand 106 states and 137 transitions. [2020-10-26 05:43:49,731 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:49,731 INFO L691 BuchiCegarLoop]: Abstraction has 106 states and 137 transitions. [2020-10-26 05:43:49,732 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 106 states and 137 transitions. [2020-10-26 05:43:49,737 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 106 to 97. [2020-10-26 05:43:49,737 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 97 states. [2020-10-26 05:43:49,738 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 97 states and 128 transitions. [2020-10-26 05:43:49,739 INFO L714 BuchiCegarLoop]: Abstraction has 97 states and 128 transitions. [2020-10-26 05:43:49,739 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-26 05:43:49,739 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-10-26 05:43:49,740 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2020-10-26 05:43:49,740 INFO L87 Difference]: Start difference. First operand 97 states and 128 transitions. Second operand 7 states. [2020-10-26 05:43:49,800 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-26 05:43:49,800 INFO L93 Difference]: Finished difference Result 108 states and 139 transitions. [2020-10-26 05:43:49,801 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-26 05:43:49,801 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 108 states and 139 transitions. [2020-10-26 05:43:49,803 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-26 05:43:49,805 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 108 states to 101 states and 131 transitions. [2020-10-26 05:43:49,806 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2020-10-26 05:43:49,806 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2020-10-26 05:43:49,806 INFO L73 IsDeterministic]: Start isDeterministic. Operand 101 states and 131 transitions. [2020-10-26 05:43:49,806 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:49,807 INFO L691 BuchiCegarLoop]: Abstraction has 101 states and 131 transitions. [2020-10-26 05:43:49,807 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 101 states and 131 transitions. [2020-10-26 05:43:49,812 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 101 to 97. [2020-10-26 05:43:49,812 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 97 states. [2020-10-26 05:43:49,813 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 97 states and 126 transitions. [2020-10-26 05:43:49,813 INFO L714 BuchiCegarLoop]: Abstraction has 97 states and 126 transitions. [2020-10-26 05:43:49,813 INFO L594 BuchiCegarLoop]: Abstraction has 97 states and 126 transitions. [2020-10-26 05:43:49,814 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-10-26 05:43:49,814 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 97 states and 126 transitions. [2020-10-26 05:43:49,815 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-26 05:43:49,815 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:49,815 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:49,816 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:49,816 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2020-10-26 05:43:49,816 INFO L794 eck$LassoCheckResult]: Stem: 2374#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 2350#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 2351#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 2358#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 2373#is_prime_ENTRY ~n := #in~n;~m := #in~m; 2388#L58 assume !(~n <= 1); 2386#L61 assume !(2 == ~n); 2387#L64 assume ~n > 2; 2384#L65 assume !(~m <= 1); 2341#L68 call #t~ret13 := multiple_of(~n, ~m);< 2391#multiple_ofENTRY ~n := #in~n;~m := #in~m; 2407#L32 assume !(~m < 0); 2404#L35 assume ~n < 0; 2334#L36 call #t~ret10 := multiple_of(-~n, ~m);< 2344#multiple_ofENTRY [2020-10-26 05:43:49,816 INFO L796 eck$LassoCheckResult]: Loop: 2344#multiple_ofENTRY ~n := #in~n;~m := #in~m; 2416#L32 assume !(~m < 0); 2415#L35 assume ~n < 0; 2333#L36 call #t~ret10 := multiple_of(-~n, ~m);< 2344#multiple_ofENTRY [2020-10-26 05:43:49,817 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:49,817 INFO L82 PathProgramCache]: Analyzing trace with hash -607918156, now seen corresponding path program 1 times [2020-10-26 05:43:49,817 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:49,817 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1750371268] [2020-10-26 05:43:49,817 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:49,826 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:49,873 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:49,873 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1750371268] [2020-10-26 05:43:49,873 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-26 05:43:49,874 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-10-26 05:43:49,874 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [94165243] [2020-10-26 05:43:49,874 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-26 05:43:49,875 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:49,875 INFO L82 PathProgramCache]: Analyzing trace with hash 929677, now seen corresponding path program 1 times [2020-10-26 05:43:49,875 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:49,875 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [607020604] [2020-10-26 05:43:49,875 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:49,879 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:49,879 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:49,881 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:49,882 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:49,883 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:49,943 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:49,943 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:49,943 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:49,943 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:49,943 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 05:43:49,943 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:49,943 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:49,943 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:49,943 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2020-10-26 05:43:49,944 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:49,944 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:49,945 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,948 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,950 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,953 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,956 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,959 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,962 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:49,968 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:50,037 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:50,038 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 41 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 41 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,045 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:50,045 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:50,049 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:50,049 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret10=0} Honda state: {multiple_of_#t~ret10=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 42 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 42 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,073 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:50,073 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:50,079 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:50,079 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret11=0} Honda state: {multiple_of_#t~ret11=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 43 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 43 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,111 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:50,112 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:50,115 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:50,115 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~n=0} Honda state: {multiple_of_~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 44 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 44 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,143 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:50,143 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:50,146 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:50,146 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret9=0} Honda state: {multiple_of_#t~ret9=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 45 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 45 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,171 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:50,171 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:50,173 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:50,174 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#res=0} Honda state: {multiple_of_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 46 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 46 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,196 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:50,196 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:50,199 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:50,199 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~m=0} Honda state: {multiple_of_~m=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 47 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 47 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,223 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:50,223 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 48 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:50,254 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 05:43:50,254 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 48 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,323 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 05:43:50,324 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:50,324 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:50,325 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:50,325 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:50,325 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 05:43:50,325 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,325 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:50,325 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:50,325 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2020-10-26 05:43:50,325 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:50,325 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:50,326 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:50,329 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:50,334 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:50,337 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:50,340 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:50,343 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:50,347 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:50,354 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:50,418 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:50,419 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 49 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 49 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,422 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:50,423 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:50,424 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:50,424 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:50,424 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:50,424 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:50,424 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:50,424 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:50,426 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 50 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 50 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,451 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:50,452 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:50,452 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:50,452 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:50,452 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:50,453 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:50,453 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:50,453 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:50,455 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 51 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 51 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,479 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:50,481 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:50,481 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:50,481 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:50,481 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:50,481 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:50,482 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:50,482 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:50,483 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:50,508 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 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,510 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:50,510 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:50,510 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:50,510 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:50,510 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:50,511 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:50,511 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:50,512 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 53 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:50,539 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:50,541 INFO L338 nArgumentSynthesizer]: Template has degree 0. Waiting until toolchain timeout for monitored process 53 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,541 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:50,541 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:50,541 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:50,541 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:50,542 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:50,542 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:50,543 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 54 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:50,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 Waiting until toolchain timeout for monitored process 54 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,570 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:50,570 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:50,570 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:50,570 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:50,570 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:50,571 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:50,571 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:50,572 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 55 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 55 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,597 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:50,599 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:50,599 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:50,599 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:50,599 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:50,599 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:50,600 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:50,600 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:50,603 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 05:43:50,606 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-26 05:43:50,606 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 56 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 56 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:50,614 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 05:43:50,614 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 05:43:50,615 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 05:43:50,615 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = -1*multiple_of_#in~n Supporting invariants [] [2020-10-26 05:43:50,638 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 05:43:50,653 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:50,695 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:50,697 INFO L263 TraceCheckSpWp]: Trace formula consists of 155 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-26 05:43:50,703 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:50,725 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:50,726 INFO L263 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-26 05:43:50,727 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:50,763 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:50,763 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 3 loop predicates [2020-10-26 05:43:50,764 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 97 states and 126 transitions. cyclomatic complexity: 33 Second operand 4 states. [2020-10-26 05:43:50,893 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 97 states and 126 transitions. cyclomatic complexity: 33. Second operand 4 states. Result 200 states and 269 transitions. Complement of second has 13 states. [2020-10-26 05:43:50,894 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2020-10-26 05:43:50,894 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-10-26 05:43:50,895 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 56 transitions. [2020-10-26 05:43:50,895 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 14 letters. Loop has 4 letters. [2020-10-26 05:43:50,895 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:50,895 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 18 letters. Loop has 4 letters. [2020-10-26 05:43:50,896 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:50,896 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 14 letters. Loop has 8 letters. [2020-10-26 05:43:50,896 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:50,897 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 200 states and 269 transitions. [2020-10-26 05:43:50,900 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 48 [2020-10-26 05:43:50,904 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 200 states to 188 states and 257 transitions. [2020-10-26 05:43:50,905 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 173 [2020-10-26 05:43:50,905 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 175 [2020-10-26 05:43:50,906 INFO L73 IsDeterministic]: Start isDeterministic. Operand 188 states and 257 transitions. [2020-10-26 05:43:50,907 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:50,907 INFO L691 BuchiCegarLoop]: Abstraction has 188 states and 257 transitions. [2020-10-26 05:43:50,907 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 188 states and 257 transitions. [2020-10-26 05:43:50,915 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 188 to 163. [2020-10-26 05:43:50,916 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 163 states. [2020-10-26 05:43:50,917 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 163 states to 163 states and 223 transitions. [2020-10-26 05:43:50,918 INFO L714 BuchiCegarLoop]: Abstraction has 163 states and 223 transitions. [2020-10-26 05:43:50,918 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-26 05:43:50,919 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-10-26 05:43:50,919 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2020-10-26 05:43:50,919 INFO L87 Difference]: Start difference. First operand 163 states and 223 transitions. Second operand 7 states. [2020-10-26 05:43:51,035 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-26 05:43:51,035 INFO L93 Difference]: Finished difference Result 161 states and 218 transitions. [2020-10-26 05:43:51,038 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-26 05:43:51,038 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 161 states and 218 transitions. [2020-10-26 05:43:51,041 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-26 05:43:51,044 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 161 states to 161 states and 218 transitions. [2020-10-26 05:43:51,044 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 154 [2020-10-26 05:43:51,045 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 154 [2020-10-26 05:43:51,045 INFO L73 IsDeterministic]: Start isDeterministic. Operand 161 states and 218 transitions. [2020-10-26 05:43:51,045 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:51,045 INFO L691 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-10-26 05:43:51,045 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 161 states and 218 transitions. [2020-10-26 05:43:51,051 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 161 to 161. [2020-10-26 05:43:51,051 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 161 states. [2020-10-26 05:43:51,053 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 161 states to 161 states and 218 transitions. [2020-10-26 05:43:51,053 INFO L714 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-10-26 05:43:51,053 INFO L594 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-10-26 05:43:51,053 INFO L427 BuchiCegarLoop]: ======== Iteration 7============ [2020-10-26 05:43:51,054 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 161 states and 218 transitions. [2020-10-26 05:43:51,055 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-26 05:43:51,056 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:51,056 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:51,056 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:51,056 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2020-10-26 05:43:51,057 INFO L794 eck$LassoCheckResult]: Stem: 3095#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 3066#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 3067#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 3075#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 3094#is_prime_ENTRY ~n := #in~n;~m := #in~m; 3116#L58 assume !(~n <= 1); 3114#L61 assume !(2 == ~n); 3115#L64 assume ~n > 2; 3112#L65 assume !(~m <= 1); 3098#L68 call #t~ret13 := multiple_of(~n, ~m);< 3132#multiple_ofENTRY ~n := #in~n;~m := #in~m; 3190#L32 assume !(~m < 0); 3189#L35 assume !(~n < 0); 3187#L38 assume !(0 == ~m); 3097#L41 assume !(0 == ~n); 3099#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 3125#multiple_ofENTRY [2020-10-26 05:43:51,057 INFO L796 eck$LassoCheckResult]: Loop: 3125#multiple_ofENTRY ~n := #in~n;~m := #in~m; 3124#L32 assume !(~m < 0); 3122#L35 assume !(~n < 0); 3123#L38 assume !(0 == ~m); 3163#L41 assume !(0 == ~n); 3121#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 3125#multiple_ofENTRY [2020-10-26 05:43:51,057 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:51,057 INFO L82 PathProgramCache]: Analyzing trace with hash -93796849, now seen corresponding path program 1 times [2020-10-26 05:43:51,057 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:51,058 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [931318998] [2020-10-26 05:43:51,058 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:51,068 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:51,068 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:51,078 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:51,078 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:51,083 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:51,084 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:51,084 INFO L82 PathProgramCache]: Analyzing trace with hash 893418408, now seen corresponding path program 1 times [2020-10-26 05:43:51,084 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:51,084 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [604761331] [2020-10-26 05:43:51,085 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:51,088 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:51,088 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:51,090 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:51,090 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:51,092 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:51,092 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:51,093 INFO L82 PathProgramCache]: Analyzing trace with hash -1206649034, now seen corresponding path program 2 times [2020-10-26 05:43:51,093 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:51,093 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1016183014] [2020-10-26 05:43:51,093 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:51,110 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:51,110 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:51,132 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:51,135 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:51,145 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:51,229 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:51,229 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:51,229 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:51,229 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:51,229 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 05:43:51,230 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:51,230 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:51,230 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:51,230 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2020-10-26 05:43:51,230 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:51,230 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:51,232 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,235 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,258 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,261 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,264 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,268 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,271 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,371 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:51,371 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 57 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:51,388 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:51,388 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 57 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:51,396 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:51,396 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#res=0} Honda state: {multiple_of_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 58 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:51,433 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:51,433 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 58 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 59 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 59 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:51,463 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 05:43:51,463 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:51,648 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 05:43:51,650 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:51,650 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:51,650 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:51,650 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:51,651 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 05:43:51,651 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:51,651 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:51,651 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:51,651 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2020-10-26 05:43:51,651 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:51,651 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:51,652 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,655 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,672 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,680 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,682 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,685 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,689 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:51,789 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:51,789 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 60 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:51,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 [2020-10-26 05:43:51,808 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:51,808 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:51,808 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:51,808 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:51,808 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:51,809 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:51,809 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 60 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:51,815 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 61 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:51,853 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:51,855 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:51,855 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:51,855 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:51,855 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:51,855 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:51,857 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:51,858 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 61 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:51,861 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 05:43:51,867 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-26 05:43:51,867 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 62 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:51,874 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 05:43:51,874 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 05:43:51,874 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 05:43:51,874 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 62 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:51,908 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 05:43:51,924 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:51,966 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:51,967 INFO L263 TraceCheckSpWp]: Trace formula consists of 157 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-26 05:43:51,969 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:51,985 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:51,986 INFO L263 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 10 conjunts are in the unsatisfiable core [2020-10-26 05:43:51,987 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:52,097 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:52,098 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 6 loop predicates [2020-10-26 05:43:52,098 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 161 states and 218 transitions. cyclomatic complexity: 64 Second operand 7 states. [2020-10-26 05:43:52,282 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 161 states and 218 transitions. cyclomatic complexity: 64. Second operand 7 states. Result 214 states and 288 transitions. Complement of second has 25 states. [2020-10-26 05:43:52,283 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 7 states 1 stem states 5 non-accepting loop states 1 accepting loop states [2020-10-26 05:43:52,283 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2020-10-26 05:43:52,284 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 43 transitions. [2020-10-26 05:43:52,284 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 16 letters. Loop has 6 letters. [2020-10-26 05:43:52,285 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:52,285 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 22 letters. Loop has 6 letters. [2020-10-26 05:43:52,285 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:52,285 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 16 letters. Loop has 12 letters. [2020-10-26 05:43:52,285 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:52,286 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 214 states and 288 transitions. [2020-10-26 05:43:52,292 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 48 [2020-10-26 05:43:52,296 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 214 states to 202 states and 274 transitions. [2020-10-26 05:43:52,297 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 179 [2020-10-26 05:43:52,297 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 181 [2020-10-26 05:43:52,298 INFO L73 IsDeterministic]: Start isDeterministic. Operand 202 states and 274 transitions. [2020-10-26 05:43:52,298 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:52,298 INFO L691 BuchiCegarLoop]: Abstraction has 202 states and 274 transitions. [2020-10-26 05:43:52,298 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 202 states and 274 transitions. [2020-10-26 05:43:52,309 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 202 to 177. [2020-10-26 05:43:52,309 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 177 states. [2020-10-26 05:43:52,311 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 177 states to 177 states and 240 transitions. [2020-10-26 05:43:52,311 INFO L714 BuchiCegarLoop]: Abstraction has 177 states and 240 transitions. [2020-10-26 05:43:52,311 INFO L594 BuchiCegarLoop]: Abstraction has 177 states and 240 transitions. [2020-10-26 05:43:52,311 INFO L427 BuchiCegarLoop]: ======== Iteration 8============ [2020-10-26 05:43:52,312 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 177 states and 240 transitions. [2020-10-26 05:43:52,313 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-26 05:43:52,313 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:52,314 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:52,315 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:52,315 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1] [2020-10-26 05:43:52,317 INFO L794 eck$LassoCheckResult]: Stem: 3597#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 3563#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 3564#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 3576#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 3596#is_prime_ENTRY ~n := #in~n;~m := #in~m; 3626#L58 assume !(~n <= 1); 3622#L61 assume 2 == ~n;#res := 1; 3618#is_prime_FINAL assume true; 3612#is_prime_EXIT >#120#return; 3562#L53-1 is_prime_#res := is_prime_#t~ret12;havoc is_prime_#t~ret12; 3556#L53-2 main_#t~ret16 := is_prime_#res;main_~result~0 := main_#t~ret16;havoc main_#t~ret16;main_~f1~0 := main_#t~nondet17;havoc main_#t~nondet17; 3557#L85 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet18;havoc main_#t~nondet18; 3540#L91 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short20 := 1 == main_~result~0; 3541#L97 assume main_#t~short20; 3536#L97-1 call main_#t~ret19 := mult(main_~f1~0, main_~f2~0);< 3598#multENTRY ~n := #in~n;~m := #in~m; 3580#L18 assume !(~m < 0); 3571#L21 [2020-10-26 05:43:52,317 INFO L796 eck$LassoCheckResult]: Loop: 3571#L21 assume !(0 == ~m); 3572#L24 assume !(1 == ~m); 3535#L27 call #t~ret8 := mult(~n, ~m - 1);< 3539#multENTRY ~n := #in~n;~m := #in~m; 3578#L18 assume !(~m < 0); 3571#L21 [2020-10-26 05:43:52,317 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:52,317 INFO L82 PathProgramCache]: Analyzing trace with hash 1729864318, now seen corresponding path program 1 times [2020-10-26 05:43:52,318 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:52,318 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1239816777] [2020-10-26 05:43:52,318 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:52,346 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:52,346 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:52,362 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:52,362 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:52,375 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:52,376 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:52,379 INFO L82 PathProgramCache]: Analyzing trace with hash 61274134, now seen corresponding path program 1 times [2020-10-26 05:43:52,379 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:52,379 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1747340986] [2020-10-26 05:43:52,379 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:52,386 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:52,386 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:52,394 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:52,395 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:52,396 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:52,396 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:52,396 INFO L82 PathProgramCache]: Analyzing trace with hash 466508729, now seen corresponding path program 1 times [2020-10-26 05:43:52,397 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:52,397 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [678302258] [2020-10-26 05:43:52,399 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:52,413 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:52,413 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:52,421 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:52,422 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:52,426 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:52,520 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:52,521 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:52,521 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:52,521 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:52,521 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 05:43:52,521 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:52,521 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:52,521 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:52,522 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2020-10-26 05:43:52,522 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:52,522 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:52,523 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:52,532 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:52,542 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:52,545 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:52,548 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:52,645 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:52,645 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 63 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 63 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:52,651 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:52,651 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:52,681 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 05:43:52,681 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,078 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 05:43:53,079 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:53,080 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:53,080 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:53,080 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:53,080 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 05:43:53,080 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,080 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:53,080 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:53,080 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2020-10-26 05:43:53,080 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:53,081 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:53,081 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:53,091 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:53,095 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:53,098 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:53,100 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:53,190 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:53,191 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 65 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:53,201 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:53,203 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:53,204 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:53,204 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:53,204 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:53,204 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:53,206 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:53,206 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 65 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,211 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) [2020-10-26 05:43:53,251 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:53,253 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:53,254 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:53,254 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:53,254 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:53,254 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:53,255 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:53,255 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 66 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,258 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 67 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:53,295 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false Waiting until toolchain timeout for monitored process 67 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,297 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:53,297 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:53,298 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:53,298 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:53,298 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:53,299 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:53,299 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:53,300 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 68 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 68 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,324 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:53,326 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:53,326 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:53,327 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:53,327 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:53,327 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:53,327 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:53,327 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:53,329 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 69 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 69 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,356 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:53,358 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:53,358 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:53,359 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:53,359 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:53,359 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:53,360 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:53,361 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:53,364 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 05:43:53,386 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-26 05:43:53,386 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 70 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:53,392 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 05:43:53,393 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 05:43:53,393 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 05:43:53,393 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] Waiting until toolchain timeout for monitored process 70 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,427 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 05:43:53,444 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:53,473 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:53,474 INFO L263 TraceCheckSpWp]: Trace formula consists of 138 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-26 05:43:53,477 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:53,514 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:53,515 INFO L263 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-26 05:43:53,515 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:53,551 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:53,552 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2020-10-26 05:43:53,552 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 177 states and 240 transitions. cyclomatic complexity: 71 Second operand 6 states. [2020-10-26 05:43:53,687 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 177 states and 240 transitions. cyclomatic complexity: 71. Second operand 6 states. Result 201 states and 267 transitions. Complement of second has 17 states. [2020-10-26 05:43:53,688 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 2 stem states 3 non-accepting loop states 1 accepting loop states [2020-10-26 05:43:53,688 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2020-10-26 05:43:53,689 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 52 transitions. [2020-10-26 05:43:53,689 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 17 letters. Loop has 5 letters. [2020-10-26 05:43:53,689 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:53,690 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 22 letters. Loop has 5 letters. [2020-10-26 05:43:53,690 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:53,690 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 17 letters. Loop has 10 letters. [2020-10-26 05:43:53,690 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:53,690 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 201 states and 267 transitions. [2020-10-26 05:43:53,694 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-26 05:43:53,697 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 201 states to 200 states and 266 transitions. [2020-10-26 05:43:53,698 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 173 [2020-10-26 05:43:53,698 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 176 [2020-10-26 05:43:53,699 INFO L73 IsDeterministic]: Start isDeterministic. Operand 200 states and 266 transitions. [2020-10-26 05:43:53,699 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:53,699 INFO L691 BuchiCegarLoop]: Abstraction has 200 states and 266 transitions. [2020-10-26 05:43:53,699 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 200 states and 266 transitions. [2020-10-26 05:43:53,705 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 200 to 187. [2020-10-26 05:43:53,705 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 187 states. [2020-10-26 05:43:53,707 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 187 states to 187 states and 252 transitions. [2020-10-26 05:43:53,707 INFO L714 BuchiCegarLoop]: Abstraction has 187 states and 252 transitions. [2020-10-26 05:43:53,708 INFO L594 BuchiCegarLoop]: Abstraction has 187 states and 252 transitions. [2020-10-26 05:43:53,708 INFO L427 BuchiCegarLoop]: ======== Iteration 9============ [2020-10-26 05:43:53,708 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 187 states and 252 transitions. [2020-10-26 05:43:53,710 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-26 05:43:53,710 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:53,710 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:53,711 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:53,711 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-26 05:43:53,711 INFO L794 eck$LassoCheckResult]: Stem: 4089#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 4053#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 4054#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 4070#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 4088#is_prime_ENTRY ~n := #in~n;~m := #in~m; 4110#L58 assume !(~n <= 1); 4106#L61 assume 2 == ~n;#res := 1; 4103#is_prime_FINAL assume true; 4102#is_prime_EXIT >#120#return; 4052#L53-1 is_prime_#res := is_prime_#t~ret12;havoc is_prime_#t~ret12; 4046#L53-2 main_#t~ret16 := is_prime_#res;main_~result~0 := main_#t~ret16;havoc main_#t~ret16;main_~f1~0 := main_#t~nondet17;havoc main_#t~nondet17; 4047#L85 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet18;havoc main_#t~nondet18; 4025#L91 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short20 := 1 == main_~result~0; 4026#L97 assume main_#t~short20; 4022#L97-1 call main_#t~ret19 := mult(main_~f1~0, main_~f2~0);< 4074#multENTRY ~n := #in~n;~m := #in~m; 4076#L18 assume !(~m < 0); 4060#L21 assume !(0 == ~m); 4062#L24 assume !(1 == ~m); 4019#L27 call #t~ret8 := mult(~n, ~m - 1);< 4021#multENTRY ~n := #in~n;~m := #in~m; 4124#L18 assume ~m < 0; 4066#L19 [2020-10-26 05:43:53,712 INFO L796 eck$LassoCheckResult]: Loop: 4066#L19 call #t~ret7 := mult(~n, -~m);< 4067#multENTRY ~n := #in~n;~m := #in~m; 4134#L18 assume ~m < 0; 4066#L19 [2020-10-26 05:43:53,712 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:53,712 INFO L82 PathProgramCache]: Analyzing trace with hash 466508726, now seen corresponding path program 1 times [2020-10-26 05:43:53,712 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:53,713 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1413101647] [2020-10-26 05:43:53,713 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:53,721 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:53,749 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 3 [2020-10-26 05:43:53,750 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:53,753 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:53,754 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1413101647] [2020-10-26 05:43:53,754 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-26 05:43:53,754 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-26 05:43:53,754 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1535845249] [2020-10-26 05:43:53,755 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-26 05:43:53,755 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:53,756 INFO L82 PathProgramCache]: Analyzing trace with hash 141077, now seen corresponding path program 2 times [2020-10-26 05:43:53,756 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:53,756 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [317715404] [2020-10-26 05:43:53,756 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:53,759 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:53,760 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:53,761 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:53,762 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:53,763 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:53,857 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:53,857 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:53,857 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:53,858 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:53,858 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 05:43:53,858 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,858 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:53,858 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:53,858 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2020-10-26 05:43:53,859 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:53,859 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:53,860 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:53,863 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:53,866 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:53,873 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:53,882 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:53,952 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:53,953 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 71 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 71 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,958 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:53,958 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:53,961 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:53,961 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret7=0} Honda state: {mult_#t~ret7=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 72 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 72 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:53,986 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:53,986 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:53,988 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:53,989 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret8=0} Honda state: {mult_#t~ret8=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 73 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 73 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:54,013 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:54,013 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:54,028 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 05:43:54,028 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~n=0, mult_#in~n=0} Honda state: {mult_~n=0, mult_#in~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 74 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 74 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:54,055 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 05:43:54,055 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 75 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 75 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:54,086 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 05:43:54,086 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 05:43:55,023 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 05:43:55,025 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 05:43:55,025 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 05:43:55,025 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 05:43:55,025 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 05:43:55,026 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 05:43:55,026 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:55,026 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 05:43:55,026 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 05:43:55,026 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2020-10-26 05:43:55,026 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 05:43:55,026 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 05:43:55,027 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:55,029 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:55,032 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:55,042 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:55,050 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 05:43:55,117 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 05:43:55,117 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 76 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 76 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:55,121 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:55,122 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:55,122 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:55,122 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:55,122 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:55,123 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:55,123 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:55,123 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:55,124 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 77 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 77 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:55,148 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:55,150 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:55,150 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:55,150 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:55,151 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:55,151 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:55,151 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:55,151 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:55,152 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 78 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:55,177 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:55,179 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:55,179 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:55,179 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:55,179 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:55,179 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:55,181 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:55,181 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 78 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:55,185 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 79 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 79 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:55,210 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-26 05:43:55,211 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 05:43:55,212 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 05:43:55,212 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 05:43:55,212 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 05:43:55,212 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 05:43:55,213 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 05:43:55,213 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-26 05:43:55,215 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 05:43:55,221 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-26 05:43:55,221 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 80 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 05:43:55,226 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 05:43:55,226 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 05:43:55,226 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 05:43:55,226 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] Waiting until toolchain timeout for monitored process 80 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 05:43:55,258 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 05:43:55,280 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:55,315 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:55,316 INFO L263 TraceCheckSpWp]: Trace formula consists of 179 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-26 05:43:55,318 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:55,356 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:55,357 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-26 05:43:55,358 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:55,404 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:55,404 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2020-10-26 05:43:55,404 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 187 states and 252 transitions. cyclomatic complexity: 74 Second operand 5 states. [2020-10-26 05:43:55,536 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 187 states and 252 transitions. cyclomatic complexity: 74. Second operand 5 states. Result 228 states and 298 transitions. Complement of second has 11 states. [2020-10-26 05:43:55,538 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 2 stem states 2 non-accepting loop states 1 accepting loop states [2020-10-26 05:43:55,538 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-10-26 05:43:55,539 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 54 transitions. [2020-10-26 05:43:55,539 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 22 letters. Loop has 3 letters. [2020-10-26 05:43:55,539 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:55,539 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 25 letters. Loop has 3 letters. [2020-10-26 05:43:55,539 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:55,540 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 22 letters. Loop has 6 letters. [2020-10-26 05:43:55,540 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 05:43:55,540 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 228 states and 298 transitions. [2020-10-26 05:43:55,547 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-26 05:43:55,552 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 228 states to 218 states and 288 transitions. [2020-10-26 05:43:55,552 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 184 [2020-10-26 05:43:55,553 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 186 [2020-10-26 05:43:55,553 INFO L73 IsDeterministic]: Start isDeterministic. Operand 218 states and 288 transitions. [2020-10-26 05:43:55,553 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:55,554 INFO L691 BuchiCegarLoop]: Abstraction has 218 states and 288 transitions. [2020-10-26 05:43:55,554 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 218 states and 288 transitions. [2020-10-26 05:43:55,566 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 218 to 205. [2020-10-26 05:43:55,566 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 205 states. [2020-10-26 05:43:55,569 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 205 states to 205 states and 274 transitions. [2020-10-26 05:43:55,569 INFO L714 BuchiCegarLoop]: Abstraction has 205 states and 274 transitions. [2020-10-26 05:43:55,570 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-26 05:43:55,570 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-26 05:43:55,570 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2020-10-26 05:43:55,571 INFO L87 Difference]: Start difference. First operand 205 states and 274 transitions. Second operand 5 states. [2020-10-26 05:43:55,623 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-26 05:43:55,624 INFO L93 Difference]: Finished difference Result 201 states and 265 transitions. [2020-10-26 05:43:55,624 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-26 05:43:55,625 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 201 states and 265 transitions. [2020-10-26 05:43:55,628 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-26 05:43:55,631 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 201 states to 145 states and 177 transitions. [2020-10-26 05:43:55,632 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 135 [2020-10-26 05:43:55,632 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 135 [2020-10-26 05:43:55,632 INFO L73 IsDeterministic]: Start isDeterministic. Operand 145 states and 177 transitions. [2020-10-26 05:43:55,633 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:55,633 INFO L691 BuchiCegarLoop]: Abstraction has 145 states and 177 transitions. [2020-10-26 05:43:55,633 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 145 states and 177 transitions. [2020-10-26 05:43:55,642 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 145 to 125. [2020-10-26 05:43:55,642 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 125 states. [2020-10-26 05:43:55,644 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 125 states to 125 states and 154 transitions. [2020-10-26 05:43:55,644 INFO L714 BuchiCegarLoop]: Abstraction has 125 states and 154 transitions. [2020-10-26 05:43:55,645 INFO L594 BuchiCegarLoop]: Abstraction has 125 states and 154 transitions. [2020-10-26 05:43:55,645 INFO L427 BuchiCegarLoop]: ======== Iteration 10============ [2020-10-26 05:43:55,645 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 125 states and 154 transitions. [2020-10-26 05:43:55,646 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-26 05:43:55,647 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:55,647 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:55,650 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:55,650 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:55,651 INFO L794 eck$LassoCheckResult]: Stem: 5003#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 5000#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 5001#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 4990#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 5002#is_prime_ENTRY ~n := #in~n;~m := #in~m; 5027#L58 assume !(~n <= 1); 5026#L61 assume !(2 == ~n); 5025#L64 assume ~n > 2; 5024#L65 assume !(~m <= 1); 4969#L68 call #t~ret13 := multiple_of(~n, ~m);< 5023#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5022#L32 assume !(~m < 0); 5021#L35 assume !(~n < 0); 5020#L38 assume !(0 == ~m); 5019#L41 assume !(0 == ~n); 4963#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 5017#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5018#L32 assume !(~m < 0); 5038#L35 assume ~n < 0; 4988#L36 call #t~ret10 := multiple_of(-~n, ~m);< 5014#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5015#L32 assume !(~m < 0); 5053#L35 assume !(~n < 0); 5051#L38 assume !(0 == ~m); 5049#L41 assume !(0 == ~n); 4979#L44 [2020-10-26 05:43:55,651 INFO L796 eck$LassoCheckResult]: Loop: 4979#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 5052#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5050#L32 assume !(~m < 0); 5047#L35 assume ~n < 0; 4984#L36 call #t~ret10 := multiple_of(-~n, ~m);< 4985#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5033#L32 assume !(~m < 0); 5028#L35 assume !(~n < 0); 5030#L38 assume !(0 == ~m); 5042#L41 assume !(0 == ~n); 4979#L44 [2020-10-26 05:43:55,652 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:55,652 INFO L82 PathProgramCache]: Analyzing trace with hash 1630507919, now seen corresponding path program 1 times [2020-10-26 05:43:55,653 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:55,653 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [871617329] [2020-10-26 05:43:55,653 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:55,675 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:55,774 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 8 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:55,775 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [871617329] [2020-10-26 05:43:55,775 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1976777600] [2020-10-26 05:43:55,776 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 81 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 81 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-10-26 05:43:55,835 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 05:43:55,837 INFO L263 TraceCheckSpWp]: Trace formula consists of 93 conjuncts, 11 conjunts are in the unsatisfiable core [2020-10-26 05:43:55,849 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 05:43:55,886 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 8 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-26 05:43:55,886 INFO L219 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-10-26 05:43:55,886 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 8 [2020-10-26 05:43:55,887 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1065712146] [2020-10-26 05:43:55,887 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-26 05:43:55,887 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:55,887 INFO L82 PathProgramCache]: Analyzing trace with hash 1914411566, now seen corresponding path program 1 times [2020-10-26 05:43:55,888 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:55,888 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1031068838] [2020-10-26 05:43:55,888 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:55,895 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:55,896 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:55,901 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:55,901 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:55,904 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:56,145 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-26 05:43:56,145 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2020-10-26 05:43:56,145 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2020-10-26 05:43:56,145 INFO L87 Difference]: Start difference. First operand 125 states and 154 transitions. cyclomatic complexity: 35 Second operand 8 states. [2020-10-26 05:43:56,344 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-26 05:43:56,344 INFO L93 Difference]: Finished difference Result 147 states and 183 transitions. [2020-10-26 05:43:56,345 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2020-10-26 05:43:56,345 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 147 states and 183 transitions. [2020-10-26 05:43:56,348 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-26 05:43:56,350 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 147 states to 145 states and 181 transitions. [2020-10-26 05:43:56,351 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 130 [2020-10-26 05:43:56,351 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 130 [2020-10-26 05:43:56,351 INFO L73 IsDeterministic]: Start isDeterministic. Operand 145 states and 181 transitions. [2020-10-26 05:43:56,351 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 05:43:56,351 INFO L691 BuchiCegarLoop]: Abstraction has 145 states and 181 transitions. [2020-10-26 05:43:56,352 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 145 states and 181 transitions. [2020-10-26 05:43:56,356 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 145 to 143. [2020-10-26 05:43:56,356 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 143 states. [2020-10-26 05:43:56,357 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 143 states to 143 states and 173 transitions. [2020-10-26 05:43:56,357 INFO L714 BuchiCegarLoop]: Abstraction has 143 states and 173 transitions. [2020-10-26 05:43:56,357 INFO L594 BuchiCegarLoop]: Abstraction has 143 states and 173 transitions. [2020-10-26 05:43:56,357 INFO L427 BuchiCegarLoop]: ======== Iteration 11============ [2020-10-26 05:43:56,358 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 143 states and 173 transitions. [2020-10-26 05:43:56,359 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-26 05:43:56,359 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 05:43:56,359 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 05:43:56,362 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [4, 4, 3, 3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:56,362 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2020-10-26 05:43:56,362 INFO L794 eck$LassoCheckResult]: Stem: 5361#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 5353#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 5354#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 5351#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 5360#is_prime_ENTRY ~n := #in~n;~m := #in~m; 5453#L58 assume !(~n <= 1); 5451#L61 assume !(2 == ~n); 5449#L64 assume ~n > 2; 5362#L65 assume !(~m <= 1); 5335#L68 call #t~ret13 := multiple_of(~n, ~m);< 5434#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5457#L32 assume !(~m < 0); 5334#L35 assume !(~n < 0); 5336#L38 assume !(0 == ~m); 5356#L41 assume !(0 == ~n); 5338#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 5428#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5371#L32 assume !(~m < 0); 5337#L35 assume !(~n < 0); 5339#L38 assume !(0 == ~m); 5443#L41 assume !(0 == ~n); 5329#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 5330#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5367#L32 assume !(~m < 0); 5370#L35 assume ~n < 0; 5349#L36 call #t~ret10 := multiple_of(-~n, ~m);< 5378#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5379#L32 assume !(~m < 0); 5395#L35 assume !(~n < 0); 5393#L38 assume !(0 == ~m); 5392#L41 assume !(0 == ~n); 5342#L44 [2020-10-26 05:43:56,365 INFO L796 eck$LassoCheckResult]: Loop: 5342#L44 call #t~ret11 := multiple_of(~n - ~m, ~m);< 5402#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5405#L32 assume !(~m < 0); 5403#L35 assume ~n < 0; 5346#L36 call #t~ret10 := multiple_of(-~n, ~m);< 5347#multiple_ofENTRY ~n := #in~n;~m := #in~m; 5400#L32 assume !(~m < 0); 5398#L35 assume !(~n < 0); 5399#L38 assume !(0 == ~m); 5390#L41 assume !(0 == ~n); 5342#L44 [2020-10-26 05:43:56,365 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:56,366 INFO L82 PathProgramCache]: Analyzing trace with hash 1699001928, now seen corresponding path program 2 times [2020-10-26 05:43:56,366 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:56,366 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1802493202] [2020-10-26 05:43:56,366 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:56,379 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:56,380 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:56,403 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:56,403 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:56,416 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:56,417 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:56,417 INFO L82 PathProgramCache]: Analyzing trace with hash 1914411566, now seen corresponding path program 2 times [2020-10-26 05:43:56,417 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:56,417 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1437550138] [2020-10-26 05:43:56,417 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:56,425 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:56,426 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:56,429 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:56,429 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:56,435 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:56,436 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 05:43:56,436 INFO L82 PathProgramCache]: Analyzing trace with hash -186489931, now seen corresponding path program 3 times [2020-10-26 05:43:56,437 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 05:43:56,437 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1488171849] [2020-10-26 05:43:56,437 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 05:43:56,451 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:56,452 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:56,464 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 05:43:56,464 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 05:43:56,481 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 05:43:57,609 WARN L193 SmtUtils]: Spent 232.00 ms on a formula simplification. DAG size of input: 75 DAG size of output: 69 [2020-10-26 05:43:57,713 WARN L193 SmtUtils]: Spent 101.00 ms on a formula simplification that was a NOOP. DAG size: 67 [2020-10-26 05:43:58,025 WARN L193 SmtUtils]: Spent 269.00 ms on a formula simplification. DAG size of input: 84 DAG size of output: 76 [2020-10-26 05:43:58,175 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 26.10 05:43:58 BoogieIcfgContainer [2020-10-26 05:43:58,175 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-26 05:43:58,176 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-26 05:43:58,176 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-26 05:43:58,176 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-26 05:43:58,177 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 05:43:41" (3/4) ... [2020-10-26 05:43:58,181 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-10-26 05:43:58,227 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-10-26 05:43:58,227 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-26 05:43:58,228 INFO L168 Benchmark]: Toolchain (without parser) took 17414.36 ms. Allocated memory was 50.3 MB in the beginning and 130.0 MB in the end (delta: 79.7 MB). Free memory was 27.6 MB in the beginning and 105.3 MB in the end (delta: -77.6 MB). Peak memory consumption was 4.4 MB. Max. memory is 16.1 GB. [2020-10-26 05:43:58,229 INFO L168 Benchmark]: CDTParser took 0.27 ms. Allocated memory is still 37.7 MB. Free memory was 24.1 MB in the beginning and 24.1 MB in the end (delta: 23.0 kB). There was no memory consumed. Max. memory is 16.1 GB. [2020-10-26 05:43:58,229 INFO L168 Benchmark]: CACSL2BoogieTranslator took 333.33 ms. Allocated memory is still 50.3 MB. Free memory was 27.1 MB in the beginning and 30.3 MB in the end (delta: -3.2 MB). Peak memory consumption was 7.7 MB. Max. memory is 16.1 GB. [2020-10-26 05:43:58,229 INFO L168 Benchmark]: Boogie Procedure Inliner took 43.45 ms. Allocated memory is still 50.3 MB. Free memory was 30.3 MB in the beginning and 28.5 MB in the end (delta: 1.8 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-10-26 05:43:58,230 INFO L168 Benchmark]: Boogie Preprocessor took 29.57 ms. Allocated memory is still 50.3 MB. Free memory was 28.5 MB in the beginning and 27.4 MB in the end (delta: 1.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-10-26 05:43:58,230 INFO L168 Benchmark]: RCFGBuilder took 676.87 ms. Allocated memory is still 50.3 MB. Free memory was 27.4 MB in the beginning and 22.9 MB in the end (delta: 4.5 MB). Peak memory consumption was 9.7 MB. Max. memory is 16.1 GB. [2020-10-26 05:43:58,231 INFO L168 Benchmark]: BuchiAutomizer took 16266.86 ms. Allocated memory was 50.3 MB in the beginning and 130.0 MB in the end (delta: 79.7 MB). Free memory was 22.9 MB in the beginning and 107.4 MB in the end (delta: -84.5 MB). Peak memory consumption was 65.0 MB. Max. memory is 16.1 GB. [2020-10-26 05:43:58,231 INFO L168 Benchmark]: Witness Printer took 51.24 ms. Allocated memory is still 130.0 MB. Free memory was 107.4 MB in the beginning and 105.3 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-10-26 05:43:58,233 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.27 ms. Allocated memory is still 37.7 MB. Free memory was 24.1 MB in the beginning and 24.1 MB in the end (delta: 23.0 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 333.33 ms. Allocated memory is still 50.3 MB. Free memory was 27.1 MB in the beginning and 30.3 MB in the end (delta: -3.2 MB). Peak memory consumption was 7.7 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 43.45 ms. Allocated memory is still 50.3 MB. Free memory was 30.3 MB in the beginning and 28.5 MB in the end (delta: 1.8 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 29.57 ms. Allocated memory is still 50.3 MB. Free memory was 28.5 MB in the beginning and 27.4 MB in the end (delta: 1.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 676.87 ms. Allocated memory is still 50.3 MB. Free memory was 27.4 MB in the beginning and 22.9 MB in the end (delta: 4.5 MB). Peak memory consumption was 9.7 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 16266.86 ms. Allocated memory was 50.3 MB in the beginning and 130.0 MB in the end (delta: 79.7 MB). Free memory was 22.9 MB in the beginning and 107.4 MB in the end (delta: -84.5 MB). Peak memory consumption was 65.0 MB. Max. memory is 16.1 GB. * Witness Printer took 51.24 ms. Allocated memory is still 130.0 MB. Free memory was 107.4 MB in the beginning and 105.3 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 15 terminating modules (8 trivial, 7 deterministic, 0 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function \old(m) and consists of 13 locations. One deterministic module has affine ranking function m and consists of 5 locations. One deterministic module has affine ranking function -1 * \old(m) and consists of 5 locations. One deterministic module has affine ranking function -1 * \old(n) and consists of 4 locations. One deterministic module has affine ranking function \old(n) and consists of 7 locations. One deterministic module has affine ranking function m and consists of 6 locations. One deterministic module has affine ranking function m and consists of 5 locations. 8 modules have a trivial ranking function, the largest among these consists of 10 locations. The remainder module has 143 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 16.1s and 11 iterations. TraceHistogramMax:4. Analysis of lassos took 11.7s. Construction of modules took 1.2s. Büchi inclusion checks took 2.7s. Highest rank in rank-based complementation 3. Minimization of det autom 4. Minimization of nondet autom 11. Automata minimization 0.2s AutomataMinimizationTime, 15 MinimizatonAttempts, 265 StatesRemovedByMinimization, 14 NontrivialMinimizations. Non-live state removal took 0.1s Buchi closure took 0.0s. Biggest automaton had 187 states and ocurred in iteration 8. Nontrivial modules had stage [7, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 1/7 HoareTripleCheckerStatistics: 661 SDtfs, 649 SDslu, 1243 SDs, 0 SdLazy, 881 SolverSat, 185 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1.2s Time LassoAnalysisResults: nont1 unkn0 SFLI2 SFLT2 conc0 concLT1 SILN1 SILU0 SILI0 SILT4 lasso0 LassoPreprocessingBenchmarks: Lassos: inital19 mio100 ax100 hnf99 lsp78 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq174 hnf92 smp91 dnf100 smp100 tf109 neg98 sie110 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 27ms VariablesStem: 0 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 0 MotzkinApplications: 2 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 23 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 7 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 3.5s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 44]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=1} State at position 1 is {n=0, NULL=4, NULL=0, NULL=3, \result=0, NULL=1, f1=0, m=0, n=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5937ecdf=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1f5b566f=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@474a42c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@550bee3=0, NULL=0, result=0, f2=0, m=2, n=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@5d1da6b2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@223b6ac7=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@722f08d5=0, \result=0, NULL=3, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@127cfe1a=0, NULL=0, NULL=0, NULL=0, NULL=2, NULL=2, \old(n)=1, \old(m)=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6f424b3d=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@64c0b29a=0, n=0, NULL=4, NULL=0, NULL=0, \old(n)=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4a6d99d7=0, \result=0, \old(m)=0, \old(n)=0, NULL=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6bdd0184=0} - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 44]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L77] int n = __VERIFIER_nondet_int(); [L78] COND FALSE !(n < 1 || n > 46340) [L53] CALL is_prime_(n, n - 1) [L58] COND FALSE !(n <= 1) [L61] COND FALSE !(n == 2) [L64] COND TRUE n > 2 [L65] COND FALSE !(m <= 1) [L68] CALL multiple_of(n, m) [L32] COND FALSE !(m < 0) [L35] COND FALSE !(n < 0) [L38] COND FALSE !(m == 0) [L41] COND FALSE !(n == 0) [L44] CALL multiple_of(n - m, m) [L32] COND FALSE !(m < 0) [L35] COND FALSE !(n < 0) [L38] COND FALSE !(m == 0) [L41] COND FALSE !(n == 0) [L44] CALL multiple_of(n - m, m) [L32] COND FALSE !(m < 0) [L35] COND TRUE n < 0 [L36] CALL multiple_of(-n, m) [L32] COND FALSE !(m < 0) [L35] COND FALSE !(n < 0) [L38] COND FALSE !(m == 0) [L41] COND FALSE !(n == 0) Loop: [L44] CALL multiple_of(n - m, m) [L32] COND FALSE !(m < 0) [L35] COND TRUE n < 0 [L36] CALL multiple_of(-n, m) [L32] COND FALSE !(m < 0) [L35] COND FALSE !(n < 0) [L38] COND FALSE !(m == 0) [L41] COND FALSE !(n == 0) End of lasso representation. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...