./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 906a4fb5 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/recursive/Primes.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash c04652d270e46f53d045684d293397aaf1836f58 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.1.25-906a4fb [2020-10-19 20:06:59,018 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-19 20:06:59,022 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-19 20:06:59,058 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-19 20:06:59,059 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-19 20:06:59,060 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-19 20:06:59,062 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-19 20:06:59,065 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-19 20:06:59,068 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-19 20:06:59,069 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-19 20:06:59,071 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-19 20:06:59,072 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-19 20:06:59,073 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-19 20:06:59,074 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-19 20:06:59,076 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-19 20:06:59,077 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-19 20:06:59,079 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-19 20:06:59,080 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-19 20:06:59,082 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-19 20:06:59,085 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-19 20:06:59,087 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-19 20:06:59,088 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-19 20:06:59,090 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-19 20:06:59,094 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-19 20:06:59,097 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-19 20:06:59,099 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-19 20:06:59,100 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-19 20:06:59,102 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-19 20:06:59,104 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-19 20:06:59,108 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-19 20:06:59,108 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-19 20:06:59,109 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-19 20:06:59,111 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-19 20:06:59,113 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-19 20:06:59,114 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-19 20:06:59,115 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-19 20:06:59,117 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-19 20:06:59,117 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-19 20:06:59,117 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-19 20:06:59,127 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-19 20:06:59,129 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-19 20:06:59,130 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-10-19 20:06:59,182 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-19 20:06:59,184 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-19 20:06:59,186 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-19 20:06:59,186 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-19 20:06:59,186 INFO L138 SettingsManager]: * Use SBE=true [2020-10-19 20:06:59,187 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-19 20:06:59,187 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-19 20:06:59,187 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-19 20:06:59,188 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-19 20:06:59,188 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-19 20:06:59,189 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-19 20:06:59,189 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-19 20:06:59,190 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-19 20:06:59,190 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-19 20:06:59,190 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-19 20:06:59,191 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-19 20:06:59,191 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-19 20:06:59,191 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-19 20:06:59,191 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-19 20:06:59,192 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-19 20:06:59,192 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-19 20:06:59,192 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-19 20:06:59,193 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-19 20:06:59,193 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-19 20:06:59,193 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-19 20:06:59,194 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-19 20:06:59,194 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-19 20:06:59,194 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-19 20:06:59,195 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-19 20:06:59,196 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-19 20:06:59,196 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-19 20:06:59,196 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-19 20:06:59,198 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-19 20:06:59,199 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> c04652d270e46f53d045684d293397aaf1836f58 [2020-10-19 20:06:59,602 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-19 20:06:59,621 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-19 20:06:59,626 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-19 20:06:59,627 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-19 20:06:59,627 INFO L275 PluginConnector]: CDTParser initialized [2020-10-19 20:06:59,628 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/recursive/Primes.c [2020-10-19 20:06:59,702 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/00cc50324/9615e93378ee4f7288d56979d8def020/FLAG299324c85 [2020-10-19 20:07:00,159 INFO L306 CDTParser]: Found 1 translation units. [2020-10-19 20:07:00,160 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive/Primes.c [2020-10-19 20:07:00,170 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/00cc50324/9615e93378ee4f7288d56979d8def020/FLAG299324c85 [2020-10-19 20:07:00,532 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/00cc50324/9615e93378ee4f7288d56979d8def020 [2020-10-19 20:07:00,537 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-19 20:07:00,546 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-19 20:07:00,547 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-19 20:07:00,547 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-19 20:07:00,554 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-19 20:07:00,555 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:00,558 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@10c1a09e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00, skipping insertion in model container [2020-10-19 20:07:00,559 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:00,568 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-19 20:07:00,601 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 20:07:00,872 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 20:07:00,888 INFO L203 MainTranslator]: Completed pre-run [2020-10-19 20:07:00,916 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 20:07:00,938 INFO L208 MainTranslator]: Completed translation [2020-10-19 20:07:00,939 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00 WrapperNode [2020-10-19 20:07:00,939 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-19 20:07:00,941 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-19 20:07:00,941 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-19 20:07:00,941 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-19 20:07:01,066 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:01,091 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:01,113 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-19 20:07:01,114 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-19 20:07:01,114 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-19 20:07:01,114 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-19 20:07:01,128 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:01,128 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:01,132 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:01,132 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:01,138 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:01,143 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:01,146 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (1/1) ... [2020-10-19 20:07:01,149 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-19 20:07:01,150 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-19 20:07:01,151 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-19 20:07:01,151 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-19 20:07:01,153 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (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-19 20:07:01,244 INFO L130 BoogieDeclarations]: Found specification of procedure multiple_of [2020-10-19 20:07:01,245 INFO L138 BoogieDeclarations]: Found implementation of procedure multiple_of [2020-10-19 20:07:01,246 INFO L130 BoogieDeclarations]: Found specification of procedure mult [2020-10-19 20:07:01,246 INFO L138 BoogieDeclarations]: Found implementation of procedure mult [2020-10-19 20:07:01,247 INFO L130 BoogieDeclarations]: Found specification of procedure is_prime_ [2020-10-19 20:07:01,247 INFO L138 BoogieDeclarations]: Found implementation of procedure is_prime_ [2020-10-19 20:07:01,247 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-10-19 20:07:01,247 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-19 20:07:01,248 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-19 20:07:01,248 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-19 20:07:01,748 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-19 20:07:01,748 INFO L298 CfgBuilder]: Removed 8 assume(true) statements. [2020-10-19 20:07:01,751 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:07:01 BoogieIcfgContainer [2020-10-19 20:07:01,751 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-19 20:07:01,752 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-19 20:07:01,753 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-19 20:07:01,758 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-19 20:07:01,759 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:07:01,760 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 19.10 08:07:00" (1/3) ... [2020-10-19 20:07:01,761 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@60545b0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 08:07:01, skipping insertion in model container [2020-10-19 20:07:01,762 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:07:01,762 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:07:00" (2/3) ... [2020-10-19 20:07:01,763 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@60545b0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 08:07:01, skipping insertion in model container [2020-10-19 20:07:01,763 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:07:01,763 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:07:01" (3/3) ... [2020-10-19 20:07:01,766 INFO L373 chiAutomizerObserver]: Analyzing ICFG Primes.c [2020-10-19 20:07:01,822 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-19 20:07:01,823 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-19 20:07:01,823 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-19 20:07:01,823 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-19 20:07:01,823 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-19 20:07:01,823 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-19 20:07:01,823 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-19 20:07:01,824 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-19 20:07:01,850 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 51 states. [2020-10-19 20:07:01,893 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-19 20:07:01,894 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:01,894 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:01,907 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-19 20:07:01,908 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:07:01,908 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-19 20:07:01,909 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 51 states. [2020-10-19 20:07:01,915 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-19 20:07:01,916 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:01,916 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:01,917 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-19 20:07:01,918 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:07:01,930 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-19 20:07:01,931 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-19 20:07:01,939 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:01,939 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 1 times [2020-10-19 20:07:01,948 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:01,948 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [332601654] [2020-10-19 20:07:01,948 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:02,075 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:02,076 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:02,101 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:02,101 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:02,132 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:02,134 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:02,134 INFO L82 PathProgramCache]: Analyzing trace with hash -2140609117, now seen corresponding path program 1 times [2020-10-19 20:07:02,135 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:02,135 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1032533435] [2020-10-19 20:07:02,136 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:02,149 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:02,218 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-10-19 20:07:02,224 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:02,263 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-19 20:07:02,264 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1032533435] [2020-10-19 20:07:02,265 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:07:02,265 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:07:02,266 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2097405583] [2020-10-19 20:07:02,274 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:07:02,276 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:07:02,290 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:07:02,291 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:07:02,293 INFO L87 Difference]: Start difference. First operand 51 states. Second operand 5 states. [2020-10-19 20:07:02,440 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:07:02,440 INFO L93 Difference]: Finished difference Result 56 states and 80 transitions. [2020-10-19 20:07:02,441 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-19 20:07:02,444 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 56 states and 80 transitions. [2020-10-19 20:07:02,450 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-19 20:07:02,460 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 56 states to 41 states and 54 transitions. [2020-10-19 20:07:02,462 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 41 [2020-10-19 20:07:02,464 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 41 [2020-10-19 20:07:02,465 INFO L73 IsDeterministic]: Start isDeterministic. Operand 41 states and 54 transitions. [2020-10-19 20:07:02,469 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:07:02,469 INFO L691 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-10-19 20:07:02,490 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 41 states and 54 transitions. [2020-10-19 20:07:02,510 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 41 to 39. [2020-10-19 20:07:02,511 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 39 states. [2020-10-19 20:07:02,513 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 51 transitions. [2020-10-19 20:07:02,515 INFO L714 BuchiCegarLoop]: Abstraction has 39 states and 51 transitions. [2020-10-19 20:07:02,516 INFO L594 BuchiCegarLoop]: Abstraction has 39 states and 51 transitions. [2020-10-19 20:07:02,516 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-19 20:07:02,516 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 39 states and 51 transitions. [2020-10-19 20:07:02,518 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-19 20:07:02,519 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:02,519 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:02,520 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-19 20:07:02,520 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:07:02,521 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-19 20:07:02,521 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-19 20:07:02,522 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:02,522 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 2 times [2020-10-19 20:07:02,522 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:02,523 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1366640825] [2020-10-19 20:07:02,523 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:02,542 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:02,545 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:02,578 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:02,582 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:02,592 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:02,594 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:02,595 INFO L82 PathProgramCache]: Analyzing trace with hash -1912428317, now seen corresponding path program 1 times [2020-10-19 20:07:02,596 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:02,596 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [987054198] [2020-10-19 20:07:02,599 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:02,614 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:02,649 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-10-19 20:07:02,657 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:02,680 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-19 20:07:02,681 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [987054198] [2020-10-19 20:07:02,681 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:07:02,681 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-10-19 20:07:02,682 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1625419397] [2020-10-19 20:07:02,682 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-10-19 20:07:02,682 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:07:02,682 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:07:02,683 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:07:02,684 INFO L87 Difference]: Start difference. First operand 39 states and 51 transitions. cyclomatic complexity: 15 Second operand 5 states. [2020-10-19 20:07:02,799 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:07:02,800 INFO L93 Difference]: Finished difference Result 43 states and 57 transitions. [2020-10-19 20:07:02,801 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-19 20:07:02,804 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 43 states and 57 transitions. [2020-10-19 20:07:02,807 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-19 20:07:02,810 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 43 states to 43 states and 57 transitions. [2020-10-19 20:07:02,811 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 43 [2020-10-19 20:07:02,811 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 43 [2020-10-19 20:07:02,812 INFO L73 IsDeterministic]: Start isDeterministic. Operand 43 states and 57 transitions. [2020-10-19 20:07:02,814 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:07:02,815 INFO L691 BuchiCegarLoop]: Abstraction has 43 states and 57 transitions. [2020-10-19 20:07:02,816 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 43 states and 57 transitions. [2020-10-19 20:07:02,823 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 43 to 41. [2020-10-19 20:07:02,823 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2020-10-19 20:07:02,826 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 54 transitions. [2020-10-19 20:07:02,827 INFO L714 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-10-19 20:07:02,827 INFO L594 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-10-19 20:07:02,827 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-10-19 20:07:02,828 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 41 states and 54 transitions. [2020-10-19 20:07:02,830 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-10-19 20:07:02,831 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:02,831 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:02,833 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-19 20:07:02,834 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-19 20:07:02,834 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-19 20:07:02,835 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-19 20:07:02,835 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:02,835 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 3 times [2020-10-19 20:07:02,836 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:02,836 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1906987979] [2020-10-19 20:07:02,836 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:02,851 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:02,852 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:02,867 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:02,868 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:02,875 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:02,875 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:02,876 INFO L82 PathProgramCache]: Analyzing trace with hash -1879332525, now seen corresponding path program 1 times [2020-10-19 20:07:02,876 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:02,876 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1831502076] [2020-10-19 20:07:02,876 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:02,895 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:02,896 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:02,914 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:02,917 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:02,926 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:02,929 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:02,929 INFO L82 PathProgramCache]: Analyzing trace with hash 1583483899, now seen corresponding path program 1 times [2020-10-19 20:07:02,930 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:02,930 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [668133485] [2020-10-19 20:07:02,933 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:02,987 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:03,072 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 9 [2020-10-19 20:07:03,081 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:03,154 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-10-19 20:07:03,159 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:03,193 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-19 20:07:03,194 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [668133485] [2020-10-19 20:07:03,195 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [95190917] [2020-10-19 20:07:03,195 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-19 20:07:03,264 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:03,268 INFO L263 TraceCheckSpWp]: Trace formula consists of 99 conjuncts, 11 conjunts are in the unsatisfiable core [2020-10-19 20:07:03,272 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:03,448 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-19 20:07:03,449 INFO L219 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-10-19 20:07:03,449 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 10 [2020-10-19 20:07:03,450 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [456653624] [2020-10-19 20:07:03,850 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:03,851 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:03,851 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:03,851 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:03,852 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 20:07:03,852 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:03,852 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:03,852 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:03,853 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2020-10-19 20:07:03,853 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:03,853 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:03,879 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-19 20:07:03,888 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-19 20:07:03,892 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-19 20:07:03,896 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-19 20:07:03,900 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-19 20:07:03,913 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-19 20:07:03,989 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:03,991 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-19 20:07:03,999 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:03,999 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-19 20:07:04,013 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:04,013 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) Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:04,050 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:04,050 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:04,055 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:04,055 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) Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:04,102 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:04,103 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:04,110 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:04,110 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) Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:04,154 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:04,155 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:04,159 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:04,160 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-19 20:07:04,205 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:04,205 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-19 20:07:04,261 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 20:07:04,261 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-19 20:07:04,519 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 20:07:04,522 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:04,522 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:04,522 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:04,522 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:04,522 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 20:07:04,522 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:04,523 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:04,523 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:04,523 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2020-10-19 20:07:04,523 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:04,523 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:04,525 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-19 20:07:04,536 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-19 20:07:04,539 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-19 20:07:04,543 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-19 20:07:04,554 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-19 20:07:04,558 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-19 20:07:04,617 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:04,624 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:04,640 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-19 20:07:04,643 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:04,643 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:04,644 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:04,644 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:04,645 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:04,648 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:04,648 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:04,665 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) [2020-10-19 20:07:04,717 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-19 20:07:04,720 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:04,720 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:04,720 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:04,721 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:04,721 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:04,722 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:04,723 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:04,727 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) [2020-10-19 20:07:04,789 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-19 20:07:04,792 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:04,792 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:04,792 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:04,793 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:04,793 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:04,794 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:04,794 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:04,797 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-19 20:07:04,863 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-19 20:07:04,866 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:04,866 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:04,867 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:04,867 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:04,867 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:04,870 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:04,871 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:04,876 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 20:07:04,883 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-10-19 20:07:04,884 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) [2020-10-19 20:07:04,901 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 20:07:04,902 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 20:07:04,902 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 20:07:04,903 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(is_prime__#in~m) = 1*is_prime__#in~m Supporting invariants [] Waiting until toolchain timeout for monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:04,944 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 20:07:04,966 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:04,985 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:04,987 INFO L263 TraceCheckSpWp]: Trace formula consists of 73 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-19 20:07:04,988 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:05,021 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:05,024 INFO L263 TraceCheckSpWp]: Trace formula consists of 140 conjuncts, 18 conjunts are in the unsatisfiable core [2020-10-19 20:07:05,027 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:05,214 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-19 20:07:05,222 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-19 20:07:05,224 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 41 states and 54 transitions. cyclomatic complexity: 16 Second operand 10 states. [2020-10-19 20:07:06,075 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-19 20:07:06,076 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-19 20:07:06,077 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2020-10-19 20:07:06,079 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 77 transitions. [2020-10-19 20:07:06,083 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 4 letters. Loop has 24 letters. [2020-10-19 20:07:06,086 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:06,087 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 28 letters. Loop has 24 letters. [2020-10-19 20:07:06,088 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:06,089 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 4 letters. Loop has 48 letters. [2020-10-19 20:07:06,090 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:06,091 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 322 states and 477 transitions. [2020-10-19 20:07:06,104 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 30 [2020-10-19 20:07:06,118 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 322 states to 264 states and 371 transitions. [2020-10-19 20:07:06,119 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 156 [2020-10-19 20:07:06,122 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 159 [2020-10-19 20:07:06,123 INFO L73 IsDeterministic]: Start isDeterministic. Operand 264 states and 371 transitions. [2020-10-19 20:07:06,125 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:06,127 INFO L691 BuchiCegarLoop]: Abstraction has 264 states and 371 transitions. [2020-10-19 20:07:06,128 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 264 states and 371 transitions. [2020-10-19 20:07:06,185 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 264 to 163. [2020-10-19 20:07:06,185 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 163 states. [2020-10-19 20:07:06,189 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 163 states to 163 states and 220 transitions. [2020-10-19 20:07:06,192 INFO L714 BuchiCegarLoop]: Abstraction has 163 states and 220 transitions. [2020-10-19 20:07:06,193 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:07:06,193 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2020-10-19 20:07:06,194 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=22, Invalid=68, Unknown=0, NotChecked=0, Total=90 [2020-10-19 20:07:06,194 INFO L87 Difference]: Start difference. First operand 163 states and 220 transitions. Second operand 10 states. [2020-10-19 20:07:06,446 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:07:06,447 INFO L93 Difference]: Finished difference Result 171 states and 229 transitions. [2020-10-19 20:07:06,448 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2020-10-19 20:07:06,448 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 171 states and 229 transitions. [2020-10-19 20:07:06,454 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 29 [2020-10-19 20:07:06,458 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 171 states to 107 states and 147 transitions. [2020-10-19 20:07:06,458 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 107 [2020-10-19 20:07:06,459 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 107 [2020-10-19 20:07:06,459 INFO L73 IsDeterministic]: Start isDeterministic. Operand 107 states and 147 transitions. [2020-10-19 20:07:06,461 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:07:06,461 INFO L691 BuchiCegarLoop]: Abstraction has 107 states and 147 transitions. [2020-10-19 20:07:06,461 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 107 states and 147 transitions. [2020-10-19 20:07:06,476 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 107 to 93. [2020-10-19 20:07:06,476 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 93 states. [2020-10-19 20:07:06,479 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 93 states to 93 states and 126 transitions. [2020-10-19 20:07:06,479 INFO L714 BuchiCegarLoop]: Abstraction has 93 states and 126 transitions. [2020-10-19 20:07:06,480 INFO L594 BuchiCegarLoop]: Abstraction has 93 states and 126 transitions. [2020-10-19 20:07:06,480 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-10-19 20:07:06,480 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 93 states and 126 transitions. [2020-10-19 20:07:06,483 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 29 [2020-10-19 20:07:06,484 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:06,485 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:06,486 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:07:06,486 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-19 20:07:06,487 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-19 20:07:06,487 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-19 20:07:06,487 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:06,488 INFO L82 PathProgramCache]: Analyzing trace with hash 1581488555, now seen corresponding path program 1 times [2020-10-19 20:07:06,488 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:06,489 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [929499337] [2020-10-19 20:07:06,490 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:06,521 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:06,552 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-19 20:07:06,553 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [929499337] [2020-10-19 20:07:06,554 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:07:06,554 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-19 20:07:06,554 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1610780752] [2020-10-19 20:07:06,555 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:07:06,555 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:06,555 INFO L82 PathProgramCache]: Analyzing trace with hash 134543, now seen corresponding path program 1 times [2020-10-19 20:07:06,556 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:06,556 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [374105719] [2020-10-19 20:07:06,556 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:06,562 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:06,562 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:06,565 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:06,565 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:06,567 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:06,629 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:06,630 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:06,630 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:06,630 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:06,631 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 20:07:06,631 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:06,631 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:06,631 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:06,631 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2020-10-19 20:07:06,631 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:06,631 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:06,634 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-19 20:07:06,637 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-19 20:07:06,640 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-19 20:07:06,649 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-19 20:07:06,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-19 20:07:06,661 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-19 20:07:06,719 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:06,720 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-19 20:07:06,725 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:06,725 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-19 20:07:06,730 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:06,731 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret11=0} Honda state: {multiple_of_#t~ret11=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:07:06,785 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:06,785 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:06,789 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:06,790 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-19 20:07:06,817 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:06,817 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:06,823 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:06,823 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~n=0, multiple_of_#in~n=0} Honda state: {multiple_of_~n=0, multiple_of_#in~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:06,856 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:06,857 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:06,860 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:06,860 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-19 20:07:06,897 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:06,898 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-19 20:07:06,932 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 20:07:06,932 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:08,157 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 20:07:08,160 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:08,160 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:08,160 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:08,160 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:08,160 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 20:07:08,160 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:08,161 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:08,161 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:08,161 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2020-10-19 20:07:08,161 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:08,161 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:08,163 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:07:08,168 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-19 20:07:08,170 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-19 20:07:08,177 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-19 20:07:08,182 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-19 20:07:08,190 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-19 20:07:08,244 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:08,244 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) Waiting until toolchain timeout for monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:08,259 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-19 20:07:08,260 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:08,261 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:08,261 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:08,261 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:08,261 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:08,262 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:08,262 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:08,268 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-19 20:07:08,314 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-19 20:07:08,317 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:08,317 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:08,317 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:08,317 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:08,317 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:08,318 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:08,318 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:08,320 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-19 20:07:08,355 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-19 20:07:08,357 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:08,357 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:08,357 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:08,357 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:08,357 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:08,359 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:08,360 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:08,362 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-19 20:07:08,391 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-19 20:07:08,392 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:08,393 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:08,393 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:08,393 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:08,393 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:08,394 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:08,394 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:08,402 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-19 20:07:08,430 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:07:08,432 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:08,432 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:08,432 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:08,432 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:08,433 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:08,434 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:08,434 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:08,437 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 20:07:08,448 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-19 20:07:08,448 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-19 20:07:08,450 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 20:07:08,451 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 20:07:08,451 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 20:07:08,451 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_~m) = 1*multiple_of_~m Supporting invariants [] [2020-10-19 20:07:08,472 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 20:07:08,491 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:08,518 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:08,520 INFO L263 TraceCheckSpWp]: Trace formula consists of 120 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-19 20:07:08,525 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:08,550 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:08,551 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-19 20:07:08,554 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:08,608 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-19 20:07:08,609 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-19 20:07:08,610 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 93 states and 126 transitions. cyclomatic complexity: 36 Second operand 4 states. [2020-10-19 20:07:08,720 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-19 20:07:08,723 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-19 20:07:08,723 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-10-19 20:07:08,725 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 67 transitions. [2020-10-19 20:07:08,725 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 12 letters. Loop has 3 letters. [2020-10-19 20:07:08,725 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:08,726 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 15 letters. Loop has 3 letters. [2020-10-19 20:07:08,727 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:08,727 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 12 letters. Loop has 6 letters. [2020-10-19 20:07:08,728 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:08,728 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 191 states and 253 transitions. [2020-10-19 20:07:08,736 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 42 [2020-10-19 20:07:08,743 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 191 states to 137 states and 182 transitions. [2020-10-19 20:07:08,744 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 113 [2020-10-19 20:07:08,748 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 114 [2020-10-19 20:07:08,748 INFO L73 IsDeterministic]: Start isDeterministic. Operand 137 states and 182 transitions. [2020-10-19 20:07:08,749 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:08,750 INFO L691 BuchiCegarLoop]: Abstraction has 137 states and 182 transitions. [2020-10-19 20:07:08,751 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 137 states and 182 transitions. [2020-10-19 20:07:08,776 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 137 to 108. [2020-10-19 20:07:08,779 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 108 states. [2020-10-19 20:07:08,781 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 108 states to 108 states and 146 transitions. [2020-10-19 20:07:08,782 INFO L714 BuchiCegarLoop]: Abstraction has 108 states and 146 transitions. [2020-10-19 20:07:08,782 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:07:08,782 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:07:08,783 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:07:08,783 INFO L87 Difference]: Start difference. First operand 108 states and 146 transitions. Second operand 5 states. [2020-10-19 20:07:08,839 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:07:08,839 INFO L93 Difference]: Finished difference Result 98 states and 128 transitions. [2020-10-19 20:07:08,841 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-10-19 20:07:08,841 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 98 states and 128 transitions. [2020-10-19 20:07:08,843 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-19 20:07:08,846 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 98 states to 98 states and 128 transitions. [2020-10-19 20:07:08,846 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2020-10-19 20:07:08,847 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2020-10-19 20:07:08,847 INFO L73 IsDeterministic]: Start isDeterministic. Operand 98 states and 128 transitions. [2020-10-19 20:07:08,849 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:07:08,849 INFO L691 BuchiCegarLoop]: Abstraction has 98 states and 128 transitions. [2020-10-19 20:07:08,849 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 98 states and 128 transitions. [2020-10-19 20:07:08,855 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 98 to 92. [2020-10-19 20:07:08,857 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 92 states. [2020-10-19 20:07:08,859 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 92 states to 92 states and 121 transitions. [2020-10-19 20:07:08,860 INFO L714 BuchiCegarLoop]: Abstraction has 92 states and 121 transitions. [2020-10-19 20:07:08,860 INFO L594 BuchiCegarLoop]: Abstraction has 92 states and 121 transitions. [2020-10-19 20:07:08,860 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-10-19 20:07:08,860 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 92 states and 121 transitions. [2020-10-19 20:07:08,862 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-19 20:07:08,863 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:08,863 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:08,864 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:07:08,865 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-19 20:07:08,865 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-19 20:07:08,866 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-19 20:07:08,866 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:08,866 INFO L82 PathProgramCache]: Analyzing trace with hash -1704575146, now seen corresponding path program 1 times [2020-10-19 20:07:08,867 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:08,867 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1418568468] [2020-10-19 20:07:08,868 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:08,898 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:08,948 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 3 [2020-10-19 20:07:08,952 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:08,973 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-19 20:07:08,974 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1418568468] [2020-10-19 20:07:08,974 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:07:08,974 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-10-19 20:07:08,975 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1689250783] [2020-10-19 20:07:08,975 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:07:08,976 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:08,977 INFO L82 PathProgramCache]: Analyzing trace with hash 53807, now seen corresponding path program 1 times [2020-10-19 20:07:08,977 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:08,977 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [601524734] [2020-10-19 20:07:08,978 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:08,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:08,983 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:08,985 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:08,986 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:08,988 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:09,038 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:09,038 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:09,038 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:09,039 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:09,039 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 20:07:09,039 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:09,039 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:09,039 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:09,039 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2020-10-19 20:07:09,040 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:09,040 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:09,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-19 20:07:09,045 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-19 20:07:09,049 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-19 20:07:09,052 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-19 20:07:09,056 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-19 20:07:09,059 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-19 20:07:09,067 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-19 20:07:09,115 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:09,116 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-19 20:07:09,121 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:09,122 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-19 20:07:09,127 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:09,128 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-19 20:07:09,166 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:09,166 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-19 20:07:09,170 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:09,170 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-19 20:07:09,198 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:09,198 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:09,201 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:09,201 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-19 20:07:09,228 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:09,228 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:09,231 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:09,232 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-19 20:07:09,258 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:09,258 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:09,261 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:09,262 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) [2020-10-19 20:07:09,303 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:09,303 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 31 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 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:07:09,331 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 20:07:09,332 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:09,360 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 20:07:09,362 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:09,363 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:09,363 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:09,363 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:09,363 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 20:07:09,363 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:09,363 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:09,363 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:09,364 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2020-10-19 20:07:09,364 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:09,364 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:09,365 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-19 20:07:09,371 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-19 20:07:09,373 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-19 20:07:09,376 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-19 20:07:09,379 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-19 20:07:09,388 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-19 20:07:09,391 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-19 20:07:09,436 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:09,436 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:07:09,453 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-19 20:07:09,455 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:09,456 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:09,456 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:09,456 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:09,456 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:09,457 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:09,457 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:09,464 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) [2020-10-19 20:07:09,525 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-19 20:07:09,528 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:09,528 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:09,529 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:09,529 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:09,529 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:09,530 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:09,531 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:09,534 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) [2020-10-19 20:07:09,588 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:07:09,591 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:09,591 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:09,591 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:09,591 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:09,592 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:09,593 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:09,593 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:09,596 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:07:09,644 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-19 20:07:09,646 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:09,646 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:09,647 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:09,647 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:09,647 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:09,648 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:09,649 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:09,651 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) [2020-10-19 20:07:09,696 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-19 20:07:09,699 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:09,699 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:09,699 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:09,699 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:09,699 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:09,700 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:09,700 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 37 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:09,703 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) [2020-10-19 20:07:09,745 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-19 20:07:09,747 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:09,747 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:09,748 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:09,748 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:09,748 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:09,749 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:09,749 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 38 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:09,751 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) [2020-10-19 20:07:09,793 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-19 20:07:09,795 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:09,796 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:09,796 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:09,796 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:09,796 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:09,798 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:09,798 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 39 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:09,802 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 20:07:09,805 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-19 20:07:09,806 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-19 20:07:09,810 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 20:07:09,810 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 20:07:09,810 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 20:07:09,810 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-19 20:07:09,842 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 20:07:09,862 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:09,892 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:09,894 INFO L263 TraceCheckSpWp]: Trace formula consists of 131 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-19 20:07:09,896 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:09,941 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:09,942 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-19 20:07:09,943 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:09,968 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-19 20:07:09,969 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-19 20:07:09,969 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 92 states and 121 transitions. cyclomatic complexity: 32 Second operand 5 states. [2020-10-19 20:07:10,115 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-19 20:07:10,116 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-19 20:07:10,116 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-10-19 20:07:10,116 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 48 transitions. [2020-10-19 20:07:10,116 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 14 letters. Loop has 3 letters. [2020-10-19 20:07:10,117 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:10,117 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 17 letters. Loop has 3 letters. [2020-10-19 20:07:10,117 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:10,118 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 14 letters. Loop has 6 letters. [2020-10-19 20:07:10,118 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:10,118 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 114 states and 145 transitions. [2020-10-19 20:07:10,120 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-19 20:07:10,122 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 114 states to 106 states and 137 transitions. [2020-10-19 20:07:10,123 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 99 [2020-10-19 20:07:10,123 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 101 [2020-10-19 20:07:10,123 INFO L73 IsDeterministic]: Start isDeterministic. Operand 106 states and 137 transitions. [2020-10-19 20:07:10,124 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:10,124 INFO L691 BuchiCegarLoop]: Abstraction has 106 states and 137 transitions. [2020-10-19 20:07:10,124 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 106 states and 137 transitions. [2020-10-19 20:07:10,128 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 106 to 97. [2020-10-19 20:07:10,128 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 97 states. [2020-10-19 20:07:10,129 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 97 states and 128 transitions. [2020-10-19 20:07:10,129 INFO L714 BuchiCegarLoop]: Abstraction has 97 states and 128 transitions. [2020-10-19 20:07:10,129 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:07:10,129 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-10-19 20:07:10,130 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2020-10-19 20:07:10,130 INFO L87 Difference]: Start difference. First operand 97 states and 128 transitions. Second operand 7 states. [2020-10-19 20:07:10,198 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:07:10,198 INFO L93 Difference]: Finished difference Result 108 states and 139 transitions. [2020-10-19 20:07:10,199 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-19 20:07:10,199 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 108 states and 139 transitions. [2020-10-19 20:07:10,202 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-19 20:07:10,204 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 108 states to 101 states and 131 transitions. [2020-10-19 20:07:10,204 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2020-10-19 20:07:10,204 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2020-10-19 20:07:10,205 INFO L73 IsDeterministic]: Start isDeterministic. Operand 101 states and 131 transitions. [2020-10-19 20:07:10,205 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:10,205 INFO L691 BuchiCegarLoop]: Abstraction has 101 states and 131 transitions. [2020-10-19 20:07:10,205 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 101 states and 131 transitions. [2020-10-19 20:07:10,209 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 101 to 97. [2020-10-19 20:07:10,209 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 97 states. [2020-10-19 20:07:10,210 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 97 states and 126 transitions. [2020-10-19 20:07:10,210 INFO L714 BuchiCegarLoop]: Abstraction has 97 states and 126 transitions. [2020-10-19 20:07:10,210 INFO L594 BuchiCegarLoop]: Abstraction has 97 states and 126 transitions. [2020-10-19 20:07:10,211 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-10-19 20:07:10,211 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 97 states and 126 transitions. [2020-10-19 20:07:10,212 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-10-19 20:07:10,212 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:10,212 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:10,213 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:07:10,213 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2020-10-19 20:07:10,213 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-19 20:07:10,214 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-19 20:07:10,214 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:10,214 INFO L82 PathProgramCache]: Analyzing trace with hash -607918156, now seen corresponding path program 1 times [2020-10-19 20:07:10,214 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:10,214 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1877044848] [2020-10-19 20:07:10,215 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:10,224 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:10,270 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-19 20:07:10,271 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1877044848] [2020-10-19 20:07:10,271 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:07:10,271 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-10-19 20:07:10,271 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1748444834] [2020-10-19 20:07:10,272 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:07:10,272 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:10,272 INFO L82 PathProgramCache]: Analyzing trace with hash 929677, now seen corresponding path program 1 times [2020-10-19 20:07:10,272 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:10,272 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1004440412] [2020-10-19 20:07:10,272 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:10,275 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:10,275 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:10,278 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:10,278 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:10,279 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:10,338 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:10,339 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:10,339 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:10,339 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:10,339 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 20:07:10,339 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:10,339 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:10,339 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:10,340 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2020-10-19 20:07:10,340 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:10,340 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:10,341 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-19 20:07:10,344 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-19 20:07:10,346 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-19 20:07:10,349 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-19 20:07:10,352 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-19 20:07:10,357 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-19 20:07:10,360 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-19 20:07:10,368 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-19 20:07:10,440 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:10,440 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-19 20:07:10,473 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:10,474 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:10,487 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:10,487 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) [2020-10-19 20:07:10,537 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:10,537 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 42 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:10,541 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:10,541 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-19 20:07:10,572 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:10,572 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:10,575 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:10,575 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-19 20:07:10,603 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:10,603 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:10,605 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:10,606 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-19 20:07:10,636 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:10,636 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:10,640 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:10,641 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-19 20:07:10,667 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:10,667 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:10,671 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:10,672 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-19 20:07:10,697 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:10,697 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 48 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 48 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:10,725 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 20:07:10,725 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:10,796 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 20:07:10,798 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:10,798 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:10,798 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:10,798 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:10,799 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 20:07:10,799 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:10,799 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:10,799 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:10,799 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2020-10-19 20:07:10,799 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:10,799 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:10,801 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-19 20:07:10,805 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-19 20:07:10,808 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-19 20:07:10,819 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-19 20:07:10,822 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-19 20:07:10,825 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-19 20:07:10,829 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-19 20:07:10,835 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-19 20:07:10,885 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:10,885 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) [2020-10-19 20:07:10,895 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-19 20:07:10,897 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:10,897 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:10,897 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:10,898 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:10,898 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:10,899 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:10,899 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 49 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:10,902 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-19 20:07:10,928 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:07:10,929 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:10,930 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:10,930 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:10,930 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:10,930 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:10,930 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:10,930 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:10,932 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-19 20:07:10,957 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-19 20:07:10,959 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:10,959 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:10,959 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:10,959 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:10,959 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:10,960 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:10,960 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:10,961 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:07:10,988 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-19 20:07:10,990 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:10,990 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:10,991 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:10,991 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:10,991 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:10,992 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:10,992 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:10,994 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 53 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 53 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:11,019 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:07:11,020 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:11,021 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:11,021 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:11,021 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:11,021 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:11,022 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:11,022 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:11,024 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) Waiting until toolchain timeout for monitored process 54 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:11,048 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-19 20:07:11,049 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:11,050 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:11,050 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:11,050 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:11,050 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:11,051 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:11,051 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:11,053 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-19 20:07:11,079 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-19 20:07:11,080 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:11,081 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:11,081 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:11,081 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:11,081 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:11,082 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:11,082 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:11,085 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 20:07:11,088 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-19 20:07:11,088 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-19 20:07:11,091 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 20:07:11,091 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 20:07:11,091 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 20:07:11,091 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = -1*multiple_of_#in~n Supporting invariants [] [2020-10-19 20:07:11,115 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 20:07:11,128 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:11,156 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:11,158 INFO L263 TraceCheckSpWp]: Trace formula consists of 155 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-19 20:07:11,163 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:11,184 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:11,185 INFO L263 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-19 20:07:11,187 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:11,209 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-19 20:07:11,210 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-19 20:07:11,211 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 97 states and 126 transitions. cyclomatic complexity: 33 Second operand 4 states. [2020-10-19 20:07:11,302 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-19 20:07:11,303 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-19 20:07:11,303 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-10-19 20:07:11,304 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 56 transitions. [2020-10-19 20:07:11,304 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 14 letters. Loop has 4 letters. [2020-10-19 20:07:11,305 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:11,305 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 18 letters. Loop has 4 letters. [2020-10-19 20:07:11,305 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:11,305 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 14 letters. Loop has 8 letters. [2020-10-19 20:07:11,305 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:11,306 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 200 states and 269 transitions. [2020-10-19 20:07:11,312 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 48 [2020-10-19 20:07:11,318 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 200 states to 188 states and 257 transitions. [2020-10-19 20:07:11,318 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 173 [2020-10-19 20:07:11,319 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 175 [2020-10-19 20:07:11,319 INFO L73 IsDeterministic]: Start isDeterministic. Operand 188 states and 257 transitions. [2020-10-19 20:07:11,320 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:11,320 INFO L691 BuchiCegarLoop]: Abstraction has 188 states and 257 transitions. [2020-10-19 20:07:11,321 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 188 states and 257 transitions. [2020-10-19 20:07:11,328 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 188 to 163. [2020-10-19 20:07:11,328 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 163 states. [2020-10-19 20:07:11,333 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 163 states to 163 states and 223 transitions. [2020-10-19 20:07:11,333 INFO L714 BuchiCegarLoop]: Abstraction has 163 states and 223 transitions. [2020-10-19 20:07:11,334 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:07:11,334 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-10-19 20:07:11,334 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2020-10-19 20:07:11,334 INFO L87 Difference]: Start difference. First operand 163 states and 223 transitions. Second operand 7 states. [2020-10-19 20:07:11,430 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:07:11,430 INFO L93 Difference]: Finished difference Result 161 states and 218 transitions. [2020-10-19 20:07:11,431 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-19 20:07:11,431 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 161 states and 218 transitions. [2020-10-19 20:07:11,433 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-19 20:07:11,438 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 161 states to 161 states and 218 transitions. [2020-10-19 20:07:11,438 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 154 [2020-10-19 20:07:11,439 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 154 [2020-10-19 20:07:11,439 INFO L73 IsDeterministic]: Start isDeterministic. Operand 161 states and 218 transitions. [2020-10-19 20:07:11,439 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:11,439 INFO L691 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-10-19 20:07:11,439 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 161 states and 218 transitions. [2020-10-19 20:07:11,449 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 161 to 161. [2020-10-19 20:07:11,449 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 161 states. [2020-10-19 20:07:11,451 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 161 states to 161 states and 218 transitions. [2020-10-19 20:07:11,451 INFO L714 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-10-19 20:07:11,451 INFO L594 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-10-19 20:07:11,452 INFO L427 BuchiCegarLoop]: ======== Iteration 7============ [2020-10-19 20:07:11,452 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 161 states and 218 transitions. [2020-10-19 20:07:11,453 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-19 20:07:11,454 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:11,454 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:11,454 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:07:11,454 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2020-10-19 20:07:11,455 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-19 20:07:11,455 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-19 20:07:11,455 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:11,455 INFO L82 PathProgramCache]: Analyzing trace with hash -93796849, now seen corresponding path program 1 times [2020-10-19 20:07:11,455 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:11,456 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1679301738] [2020-10-19 20:07:11,456 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:11,490 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:11,490 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:11,506 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:11,506 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:11,512 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:11,512 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:11,512 INFO L82 PathProgramCache]: Analyzing trace with hash 893418408, now seen corresponding path program 1 times [2020-10-19 20:07:11,512 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:11,513 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [321227042] [2020-10-19 20:07:11,513 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:11,515 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:11,516 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:11,518 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:11,518 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:11,519 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:11,520 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:11,520 INFO L82 PathProgramCache]: Analyzing trace with hash -1206649034, now seen corresponding path program 2 times [2020-10-19 20:07:11,520 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:11,520 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2098479231] [2020-10-19 20:07:11,521 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:11,531 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:11,531 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:11,540 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:11,540 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:11,545 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:11,613 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:11,613 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:11,613 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:11,614 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:11,614 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 20:07:11,614 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:11,614 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:11,614 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:11,614 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2020-10-19 20:07:11,614 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:11,614 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:11,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-19 20:07:11,618 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-19 20:07:11,631 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-19 20:07:11,634 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-19 20:07:11,636 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-19 20:07:11,639 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-19 20:07:11,641 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-19 20:07:11,728 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:11,728 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 57 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 57 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:11,731 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:11,732 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:11,735 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:11,735 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) Waiting until toolchain timeout for monitored process 58 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:11,761 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:11,761 INFO L160 nArgumentSynthesizer]: Using integer mode. 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-19 20:07:11,789 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 20:07:11,789 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:11,940 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 20:07:11,943 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:11,943 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:11,943 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:11,943 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:11,943 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 20:07:11,943 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:11,943 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:11,944 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:11,944 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2020-10-19 20:07:11,944 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:11,944 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:11,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-19 20:07:11,951 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-19 20:07:11,964 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:07:11,967 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-19 20:07:11,970 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:07:11,973 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:07:11,975 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-19 20:07:12,054 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:12,054 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) Waiting until toolchain timeout for monitored process 60 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:12,059 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-19 20:07:12,060 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:12,061 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:12,061 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:12,061 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:12,061 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:12,066 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:12,067 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:12,068 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 61 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 61 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:12,097 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-19 20:07:12,098 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:12,098 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:12,098 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:12,098 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:12,098 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:12,099 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:12,100 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:12,102 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 20:07:12,105 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-19 20:07:12,105 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 62 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 62 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:12,108 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 20:07:12,108 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 20:07:12,108 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 20:07:12,108 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = 1*multiple_of_#in~n Supporting invariants [] [2020-10-19 20:07:12,132 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 20:07:12,145 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:12,175 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:12,176 INFO L263 TraceCheckSpWp]: Trace formula consists of 157 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-19 20:07:12,178 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:12,191 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:12,192 INFO L263 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 10 conjunts are in the unsatisfiable core [2020-10-19 20:07:12,193 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:12,267 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-19 20:07:12,267 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-19 20:07:12,268 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 161 states and 218 transitions. cyclomatic complexity: 64 Second operand 7 states. [2020-10-19 20:07:12,447 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-19 20:07:12,448 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-19 20:07:12,448 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2020-10-19 20:07:12,449 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 43 transitions. [2020-10-19 20:07:12,449 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 16 letters. Loop has 6 letters. [2020-10-19 20:07:12,450 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:12,450 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 22 letters. Loop has 6 letters. [2020-10-19 20:07:12,450 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:12,451 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 16 letters. Loop has 12 letters. [2020-10-19 20:07:12,451 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:12,451 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 214 states and 288 transitions. [2020-10-19 20:07:12,456 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 48 [2020-10-19 20:07:12,461 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 214 states to 202 states and 274 transitions. [2020-10-19 20:07:12,461 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 179 [2020-10-19 20:07:12,462 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 181 [2020-10-19 20:07:12,462 INFO L73 IsDeterministic]: Start isDeterministic. Operand 202 states and 274 transitions. [2020-10-19 20:07:12,463 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:12,463 INFO L691 BuchiCegarLoop]: Abstraction has 202 states and 274 transitions. [2020-10-19 20:07:12,463 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 202 states and 274 transitions. [2020-10-19 20:07:12,469 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 202 to 177. [2020-10-19 20:07:12,469 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 177 states. [2020-10-19 20:07:12,471 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 177 states to 177 states and 240 transitions. [2020-10-19 20:07:12,471 INFO L714 BuchiCegarLoop]: Abstraction has 177 states and 240 transitions. [2020-10-19 20:07:12,471 INFO L594 BuchiCegarLoop]: Abstraction has 177 states and 240 transitions. [2020-10-19 20:07:12,471 INFO L427 BuchiCegarLoop]: ======== Iteration 8============ [2020-10-19 20:07:12,472 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 177 states and 240 transitions. [2020-10-19 20:07:12,474 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-19 20:07:12,474 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:12,474 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:12,475 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-19 20:07:12,475 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1] [2020-10-19 20:07:12,475 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-19 20:07:12,476 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-19 20:07:12,476 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:12,476 INFO L82 PathProgramCache]: Analyzing trace with hash 1729864318, now seen corresponding path program 1 times [2020-10-19 20:07:12,476 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:12,477 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [257059911] [2020-10-19 20:07:12,477 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:12,487 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:12,488 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:12,498 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:12,498 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:12,504 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:12,504 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:12,505 INFO L82 PathProgramCache]: Analyzing trace with hash 61274134, now seen corresponding path program 1 times [2020-10-19 20:07:12,505 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:12,505 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [519152383] [2020-10-19 20:07:12,505 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:12,509 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:12,509 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:12,512 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:12,512 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:12,514 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:12,515 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:12,515 INFO L82 PathProgramCache]: Analyzing trace with hash 466508729, now seen corresponding path program 1 times [2020-10-19 20:07:12,516 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:12,516 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1685799484] [2020-10-19 20:07:12,516 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:12,534 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:12,535 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:12,552 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:12,552 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:12,566 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:12,660 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:12,660 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:12,660 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:12,660 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:12,660 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 20:07:12,660 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:12,661 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:12,661 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:12,661 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2020-10-19 20:07:12,661 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:12,661 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:12,662 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-19 20:07:12,670 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-19 20:07:12,674 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-19 20:07:12,676 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:07:12,678 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-19 20:07:12,744 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:12,744 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) [2020-10-19 20:07:12,749 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:12,749 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 63 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 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:12,775 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 20:07:12,775 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:13,148 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 20:07:13,150 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:13,150 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:13,151 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:13,151 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:13,151 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 20:07:13,151 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:13,151 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:13,151 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:13,151 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2020-10-19 20:07:13,151 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:13,151 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:13,152 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-19 20:07:13,157 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-19 20:07:13,159 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-19 20:07:13,161 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-19 20:07:13,163 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:07:13,233 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:13,233 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 65 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 65 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:13,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-19 20:07:13,238 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:13,238 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:13,238 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:13,238 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:13,238 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:13,240 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:13,240 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:13,242 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 66 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 66 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:13,269 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-19 20:07:13,271 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:13,271 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:13,271 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:13,271 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:13,271 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:13,272 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:13,272 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:13,273 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) Waiting until toolchain timeout for monitored process 67 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:13,296 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-19 20:07:13,297 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:13,297 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:13,297 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:13,297 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:13,297 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:13,298 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:13,298 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:13,299 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-19 20:07:13,322 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-19 20:07:13,323 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:13,323 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:13,323 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:13,323 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:13,323 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:13,324 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:13,324 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:13,325 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-19 20:07:13,349 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-19 20:07:13,351 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:13,351 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:13,351 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:13,351 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:13,351 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:13,352 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:13,352 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:13,355 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 20:07:13,357 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-19 20:07:13,358 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-19 20:07:13,362 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 20:07:13,362 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 20:07:13,362 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 20:07:13,362 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-19 20:07:13,388 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 20:07:13,399 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:13,423 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:13,425 INFO L263 TraceCheckSpWp]: Trace formula consists of 138 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-19 20:07:13,426 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:13,454 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:13,455 INFO L263 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-19 20:07:13,456 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:13,478 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-19 20:07:13,478 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-19 20:07:13,479 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 177 states and 240 transitions. cyclomatic complexity: 71 Second operand 6 states. [2020-10-19 20:07:13,573 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-19 20:07:13,574 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-19 20:07:13,574 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2020-10-19 20:07:13,574 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 52 transitions. [2020-10-19 20:07:13,575 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 17 letters. Loop has 5 letters. [2020-10-19 20:07:13,575 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:13,575 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 22 letters. Loop has 5 letters. [2020-10-19 20:07:13,575 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:13,575 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 17 letters. Loop has 10 letters. [2020-10-19 20:07:13,575 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:13,575 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 201 states and 267 transitions. [2020-10-19 20:07:13,578 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-19 20:07:13,580 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 201 states to 200 states and 266 transitions. [2020-10-19 20:07:13,580 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 173 [2020-10-19 20:07:13,581 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 176 [2020-10-19 20:07:13,581 INFO L73 IsDeterministic]: Start isDeterministic. Operand 200 states and 266 transitions. [2020-10-19 20:07:13,581 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:13,581 INFO L691 BuchiCegarLoop]: Abstraction has 200 states and 266 transitions. [2020-10-19 20:07:13,581 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 200 states and 266 transitions. [2020-10-19 20:07:13,585 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 200 to 187. [2020-10-19 20:07:13,585 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 187 states. [2020-10-19 20:07:13,587 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 187 states to 187 states and 252 transitions. [2020-10-19 20:07:13,587 INFO L714 BuchiCegarLoop]: Abstraction has 187 states and 252 transitions. [2020-10-19 20:07:13,587 INFO L594 BuchiCegarLoop]: Abstraction has 187 states and 252 transitions. [2020-10-19 20:07:13,587 INFO L427 BuchiCegarLoop]: ======== Iteration 9============ [2020-10-19 20:07:13,587 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 187 states and 252 transitions. [2020-10-19 20:07:13,588 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-19 20:07:13,589 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:13,589 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:13,589 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-19 20:07:13,589 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-19 20:07:13,590 INFO L794 eck$LassoCheckResult]: Stem: 4089#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 4054#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 4055#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 4070#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 4088#is_prime_ENTRY ~n := #in~n;~m := #in~m; 4111#L58 assume !(~n <= 1); 4107#L61 assume 2 == ~n;#res := 1; 4104#is_prime_FINAL assume true; 4103#is_prime_EXIT >#120#return; 4053#L53-1 is_prime_#res := is_prime_#t~ret12;havoc is_prime_#t~ret12; 4047#L53-2 main_#t~ret16 := is_prime_#res;main_~result~0 := main_#t~ret16;havoc main_#t~ret16;main_~f1~0 := main_#t~nondet17;havoc main_#t~nondet17; 4048#L85 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet18;havoc main_#t~nondet18; 4026#L91 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short20 := 1 == main_~result~0; 4027#L97 assume main_#t~short20; 4024#L97-1 call main_#t~ret19 := mult(main_~f1~0, main_~f2~0);< 4074#multENTRY ~n := #in~n;~m := #in~m; 4076#L18 assume !(~m < 0); 4099#L21 assume !(0 == ~m); 4065#L24 assume !(1 == ~m); 4068#L27 call #t~ret8 := mult(~n, ~m - 1);< 4205#multENTRY ~n := #in~n;~m := #in~m; 4125#L18 assume ~m < 0; 4020#L19 [2020-10-19 20:07:13,590 INFO L796 eck$LassoCheckResult]: Loop: 4020#L19 call #t~ret7 := mult(~n, -~m);< 4021#multENTRY ~n := #in~n;~m := #in~m; 4135#L18 assume ~m < 0; 4020#L19 [2020-10-19 20:07:13,590 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:13,590 INFO L82 PathProgramCache]: Analyzing trace with hash 466508726, now seen corresponding path program 1 times [2020-10-19 20:07:13,590 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:13,590 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [879475634] [2020-10-19 20:07:13,591 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:13,597 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:13,624 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 3 [2020-10-19 20:07:13,625 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:13,627 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-19 20:07:13,627 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [879475634] [2020-10-19 20:07:13,627 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:07:13,627 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-19 20:07:13,628 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1249324937] [2020-10-19 20:07:13,628 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:07:13,628 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:13,628 INFO L82 PathProgramCache]: Analyzing trace with hash 141077, now seen corresponding path program 2 times [2020-10-19 20:07:13,629 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:13,629 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1767274076] [2020-10-19 20:07:13,629 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:13,631 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:13,631 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:13,633 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:13,633 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:13,635 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:13,687 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:13,687 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:13,687 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:13,687 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:13,688 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 20:07:13,688 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:13,688 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:13,688 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:13,688 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2020-10-19 20:07:13,688 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:13,688 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:13,690 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:07:13,691 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:07:13,693 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-19 20:07:13,697 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:07:13,705 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-19 20:07:13,755 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:13,755 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-19 20:07:13,760 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:13,760 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:13,763 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:13,763 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-19 20:07:13,787 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:13,787 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:13,789 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:13,789 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-19 20:07:13,812 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:13,812 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:13,817 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 20:07:13,818 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-19 20:07:13,847 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 20:07:13,848 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-19 20:07:13,876 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 20:07:13,876 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 20:07:14,809 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 20:07:14,811 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:07:14,811 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:07:14,811 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:07:14,811 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:07:14,811 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 20:07:14,812 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:14,812 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:07:14,812 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:07:14,812 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2020-10-19 20:07:14,812 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:07:14,812 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:07:14,813 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-19 20:07:14,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-19 20:07:14,817 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-19 20:07:14,824 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-19 20:07:14,833 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-19 20:07:14,888 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:07:14,889 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-19 20:07:14,894 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-19 20:07:14,895 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:14,895 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:14,896 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:14,896 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:14,896 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:14,896 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:14,896 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:14,898 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-19 20:07:14,922 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-19 20:07:14,923 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:14,924 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:14,924 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:14,924 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:14,924 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:14,924 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:14,924 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:14,926 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 78 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 78 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:14,951 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-19 20:07:14,952 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:14,952 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:14,952 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:14,952 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:14,953 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:14,954 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:14,954 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:14,957 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-19 20:07:14,982 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-19 20:07:14,983 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:07:14,983 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:07:14,983 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:07:14,984 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:07:14,984 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:07:14,985 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:07:14,985 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:07:14,987 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 20:07:14,989 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-10-19 20:07:14,989 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 80 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 80 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:07:14,992 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 20:07:14,992 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 20:07:14,993 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 20:07:14,993 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] [2020-10-19 20:07:15,015 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 20:07:15,029 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:15,072 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:15,073 INFO L263 TraceCheckSpWp]: Trace formula consists of 179 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-19 20:07:15,074 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:15,101 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:15,101 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-10-19 20:07:15,102 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:15,160 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-19 20:07:15,161 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-19 20:07:15,161 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 187 states and 252 transitions. cyclomatic complexity: 74 Second operand 5 states. [2020-10-19 20:07:15,290 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-19 20:07:15,296 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-19 20:07:15,296 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-10-19 20:07:15,297 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 54 transitions. [2020-10-19 20:07:15,297 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 22 letters. Loop has 3 letters. [2020-10-19 20:07:15,297 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:15,297 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 25 letters. Loop has 3 letters. [2020-10-19 20:07:15,297 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:15,297 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 22 letters. Loop has 6 letters. [2020-10-19 20:07:15,298 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:07:15,298 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 228 states and 298 transitions. [2020-10-19 20:07:15,301 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-10-19 20:07:15,303 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 228 states to 218 states and 288 transitions. [2020-10-19 20:07:15,303 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 184 [2020-10-19 20:07:15,304 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 186 [2020-10-19 20:07:15,304 INFO L73 IsDeterministic]: Start isDeterministic. Operand 218 states and 288 transitions. [2020-10-19 20:07:15,304 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:15,304 INFO L691 BuchiCegarLoop]: Abstraction has 218 states and 288 transitions. [2020-10-19 20:07:15,304 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 218 states and 288 transitions. [2020-10-19 20:07:15,308 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 218 to 205. [2020-10-19 20:07:15,309 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 205 states. [2020-10-19 20:07:15,310 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 205 states to 205 states and 274 transitions. [2020-10-19 20:07:15,310 INFO L714 BuchiCegarLoop]: Abstraction has 205 states and 274 transitions. [2020-10-19 20:07:15,310 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:07:15,311 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-10-19 20:07:15,311 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2020-10-19 20:07:15,311 INFO L87 Difference]: Start difference. First operand 205 states and 274 transitions. Second operand 5 states. [2020-10-19 20:07:15,339 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:07:15,339 INFO L93 Difference]: Finished difference Result 201 states and 265 transitions. [2020-10-19 20:07:15,339 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-19 20:07:15,339 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 201 states and 265 transitions. [2020-10-19 20:07:15,344 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-19 20:07:15,347 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 201 states to 145 states and 177 transitions. [2020-10-19 20:07:15,348 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 135 [2020-10-19 20:07:15,348 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 135 [2020-10-19 20:07:15,348 INFO L73 IsDeterministic]: Start isDeterministic. Operand 145 states and 177 transitions. [2020-10-19 20:07:15,349 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:15,350 INFO L691 BuchiCegarLoop]: Abstraction has 145 states and 177 transitions. [2020-10-19 20:07:15,350 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 145 states and 177 transitions. [2020-10-19 20:07:15,353 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 145 to 125. [2020-10-19 20:07:15,359 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 125 states. [2020-10-19 20:07:15,361 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 125 states to 125 states and 154 transitions. [2020-10-19 20:07:15,361 INFO L714 BuchiCegarLoop]: Abstraction has 125 states and 154 transitions. [2020-10-19 20:07:15,362 INFO L594 BuchiCegarLoop]: Abstraction has 125 states and 154 transitions. [2020-10-19 20:07:15,362 INFO L427 BuchiCegarLoop]: ======== Iteration 10============ [2020-10-19 20:07:15,362 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 125 states and 154 transitions. [2020-10-19 20:07:15,363 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-19 20:07:15,364 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:15,364 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:15,365 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-19 20:07:15,365 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2020-10-19 20:07:15,366 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-19 20:07:15,366 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-19 20:07:15,366 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:15,367 INFO L82 PathProgramCache]: Analyzing trace with hash 1630507919, now seen corresponding path program 1 times [2020-10-19 20:07:15,367 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:15,367 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1383306598] [2020-10-19 20:07:15,367 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:15,386 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:15,444 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-19 20:07:15,444 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1383306598] [2020-10-19 20:07:15,444 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [290121118] [2020-10-19 20:07:15,444 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-19 20:07:15,477 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:07:15,478 INFO L263 TraceCheckSpWp]: Trace formula consists of 93 conjuncts, 11 conjunts are in the unsatisfiable core [2020-10-19 20:07:15,480 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:07:15,493 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-19 20:07:15,494 INFO L219 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-10-19 20:07:15,494 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 8 [2020-10-19 20:07:15,494 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1173621743] [2020-10-19 20:07:15,495 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 20:07:15,495 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:15,495 INFO L82 PathProgramCache]: Analyzing trace with hash 1914411566, now seen corresponding path program 1 times [2020-10-19 20:07:15,495 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:15,495 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [443853482] [2020-10-19 20:07:15,495 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:15,499 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:15,499 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:15,501 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:15,501 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:15,503 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:15,691 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:07:15,691 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2020-10-19 20:07:15,691 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2020-10-19 20:07:15,691 INFO L87 Difference]: Start difference. First operand 125 states and 154 transitions. cyclomatic complexity: 35 Second operand 8 states. [2020-10-19 20:07:15,821 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:07:15,821 INFO L93 Difference]: Finished difference Result 147 states and 183 transitions. [2020-10-19 20:07:15,821 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2020-10-19 20:07:15,822 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 147 states and 183 transitions. [2020-10-19 20:07:15,824 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-19 20:07:15,827 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 147 states to 145 states and 181 transitions. [2020-10-19 20:07:15,828 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 130 [2020-10-19 20:07:15,829 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 130 [2020-10-19 20:07:15,829 INFO L73 IsDeterministic]: Start isDeterministic. Operand 145 states and 181 transitions. [2020-10-19 20:07:15,829 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 20:07:15,829 INFO L691 BuchiCegarLoop]: Abstraction has 145 states and 181 transitions. [2020-10-19 20:07:15,829 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 145 states and 181 transitions. [2020-10-19 20:07:15,839 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 145 to 143. [2020-10-19 20:07:15,839 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 143 states. [2020-10-19 20:07:15,840 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 143 states to 143 states and 173 transitions. [2020-10-19 20:07:15,840 INFO L714 BuchiCegarLoop]: Abstraction has 143 states and 173 transitions. [2020-10-19 20:07:15,841 INFO L594 BuchiCegarLoop]: Abstraction has 143 states and 173 transitions. [2020-10-19 20:07:15,841 INFO L427 BuchiCegarLoop]: ======== Iteration 11============ [2020-10-19 20:07:15,841 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 143 states and 173 transitions. [2020-10-19 20:07:15,842 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-10-19 20:07:15,842 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:07:15,842 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:07:15,847 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-19 20:07:15,847 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2020-10-19 20:07:15,847 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-19 20:07:15,847 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-19 20:07:15,848 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:15,848 INFO L82 PathProgramCache]: Analyzing trace with hash 1699001928, now seen corresponding path program 2 times [2020-10-19 20:07:15,848 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:15,848 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1230862607] [2020-10-19 20:07:15,848 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:15,862 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:15,862 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:15,872 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:15,872 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:15,882 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:15,883 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:15,883 INFO L82 PathProgramCache]: Analyzing trace with hash 1914411566, now seen corresponding path program 2 times [2020-10-19 20:07:15,883 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:15,884 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [453268229] [2020-10-19 20:07:15,884 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:15,894 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:15,894 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:15,898 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:15,898 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:15,902 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:15,903 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:07:15,904 INFO L82 PathProgramCache]: Analyzing trace with hash -186489931, now seen corresponding path program 3 times [2020-10-19 20:07:15,904 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:07:15,904 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [454147739] [2020-10-19 20:07:15,904 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:07:15,919 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:15,920 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:15,932 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:07:15,932 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:07:15,949 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:07:16,831 WARN L193 SmtUtils]: Spent 167.00 ms on a formula simplification. DAG size of input: 75 DAG size of output: 69 [2020-10-19 20:07:17,136 WARN L193 SmtUtils]: Spent 191.00 ms on a formula simplification. DAG size of input: 84 DAG size of output: 76 [2020-10-19 20:07:17,236 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 19.10 08:07:17 BoogieIcfgContainer [2020-10-19 20:07:17,236 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-19 20:07:17,237 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-19 20:07:17,237 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-19 20:07:17,237 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-19 20:07:17,237 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:07:01" (3/4) ... [2020-10-19 20:07:17,240 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-10-19 20:07:17,294 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-10-19 20:07:17,294 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-19 20:07:17,296 INFO L168 Benchmark]: Toolchain (without parser) took 16756.94 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 318.2 MB). Free memory was 960.0 MB in the beginning and 991.7 MB in the end (delta: -31.7 MB). Peak memory consumption was 286.5 MB. Max. memory is 11.5 GB. [2020-10-19 20:07:17,296 INFO L168 Benchmark]: CDTParser took 0.30 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:07:17,297 INFO L168 Benchmark]: CACSL2BoogieTranslator took 393.06 ms. Allocated memory is still 1.0 GB. Free memory was 960.0 MB in the beginning and 949.2 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2020-10-19 20:07:17,297 INFO L168 Benchmark]: Boogie Procedure Inliner took 172.66 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 145.2 MB). Free memory was 949.2 MB in the beginning and 1.1 GB in the end (delta: -184.7 MB). Peak memory consumption was 15.2 MB. Max. memory is 11.5 GB. [2020-10-19 20:07:17,297 INFO L168 Benchmark]: Boogie Preprocessor took 36.05 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:07:17,298 INFO L168 Benchmark]: RCFGBuilder took 601.08 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 27.9 MB). Peak memory consumption was 27.9 MB. Max. memory is 11.5 GB. [2020-10-19 20:07:17,298 INFO L168 Benchmark]: BuchiAutomizer took 15483.84 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 173.0 MB). Free memory was 1.1 GB in the beginning and 991.7 MB in the end (delta: 114.3 MB). Peak memory consumption was 287.3 MB. Max. memory is 11.5 GB. [2020-10-19 20:07:17,299 INFO L168 Benchmark]: Witness Printer took 57.36 ms. Allocated memory is still 1.3 GB. Free memory is still 991.7 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:07:17,301 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.30 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 393.06 ms. Allocated memory is still 1.0 GB. Free memory was 960.0 MB in the beginning and 949.2 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 172.66 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 145.2 MB). Free memory was 949.2 MB in the beginning and 1.1 GB in the end (delta: -184.7 MB). Peak memory consumption was 15.2 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 36.05 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 601.08 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 27.9 MB). Peak memory consumption was 27.9 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 15483.84 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 173.0 MB). Free memory was 1.1 GB in the beginning and 991.7 MB in the end (delta: 114.3 MB). Peak memory consumption was 287.3 MB. Max. memory is 11.5 GB. * Witness Printer took 57.36 ms. Allocated memory is still 1.3 GB. Free memory is still 991.7 MB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 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 15.4s and 11 iterations. TraceHistogramMax:4. Analysis of lassos took 11.2s. Construction of modules took 1.1s. Büchi inclusion checks took 2.4s. 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.1s 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: 39ms 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=28167} State at position 1 is {n=0, NULL=28170, NULL=0, NULL=28168, \result=0, NULL=28167, f1=0, m=0, n=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3357fc8d=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@176cebb8=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@35784e8c=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6788f204=0, NULL=0, result=0, f2=0, m=2, n=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@78fc61c2=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@4035ef76=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@294bc981=0, \result=0, NULL=28168, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@424db6b2=0, NULL=0, NULL=0, NULL=0, NULL=28169, NULL=28169, \old(n)=1, \old(m)=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5de395e8=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@72c983c=0, n=0, NULL=28170, NULL=0, NULL=0, \old(n)=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@6f81b0c6=0, \result=0, \old(m)=0, \old(n)=0, NULL=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@8387bef=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...