./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 a4ecdabc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/data/config -Xmx15G -Xms4m -jar /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/recursive/Primes.c -s /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash c04652d270e46f53d045684d293397aaf1836f58 ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.2.0-a4ecdab [2020-11-29 23:37:40,627 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-11-29 23:37:40,631 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-11-29 23:37:40,700 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-11-29 23:37:40,701 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-11-29 23:37:40,707 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-11-29 23:37:40,711 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-11-29 23:37:40,716 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-11-29 23:37:40,719 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-11-29 23:37:40,726 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-11-29 23:37:40,728 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-11-29 23:37:40,731 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-11-29 23:37:40,731 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-11-29 23:37:40,737 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-11-29 23:37:40,738 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-11-29 23:37:40,741 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-11-29 23:37:40,742 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-11-29 23:37:40,748 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-11-29 23:37:40,753 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-11-29 23:37:40,763 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-11-29 23:37:40,766 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-11-29 23:37:40,768 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-11-29 23:37:40,771 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-11-29 23:37:40,772 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-11-29 23:37:40,783 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-11-29 23:37:40,784 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-11-29 23:37:40,784 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-11-29 23:37:40,787 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-11-29 23:37:40,788 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-11-29 23:37:40,789 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-11-29 23:37:40,790 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-11-29 23:37:40,792 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-11-29 23:37:40,794 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-11-29 23:37:40,796 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-11-29 23:37:40,797 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-11-29 23:37:40,798 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-11-29 23:37:40,799 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-11-29 23:37:40,800 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-11-29 23:37:40,800 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-11-29 23:37:40,801 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-11-29 23:37:40,802 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-11-29 23:37:40,805 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-11-29 23:37:40,852 INFO L113 SettingsManager]: Loading preferences was successful [2020-11-29 23:37:40,852 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-11-29 23:37:40,854 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-11-29 23:37:40,855 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-11-29 23:37:40,855 INFO L138 SettingsManager]: * Use SBE=true [2020-11-29 23:37:40,855 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-11-29 23:37:40,855 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-11-29 23:37:40,856 INFO L138 SettingsManager]: * Use old map elimination=false [2020-11-29 23:37:40,856 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-11-29 23:37:40,856 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-11-29 23:37:40,858 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-11-29 23:37:40,858 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-11-29 23:37:40,858 INFO L138 SettingsManager]: * sizeof long=4 [2020-11-29 23:37:40,859 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-11-29 23:37:40,859 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-11-29 23:37:40,859 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-11-29 23:37:40,859 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-11-29 23:37:40,860 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-11-29 23:37:40,860 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-11-29 23:37:40,860 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-11-29 23:37:40,860 INFO L138 SettingsManager]: * sizeof long double=12 [2020-11-29 23:37:40,861 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-11-29 23:37:40,861 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-11-29 23:37:40,861 INFO L138 SettingsManager]: * Use constant arrays=true [2020-11-29 23:37:40,861 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-11-29 23:37:40,862 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-11-29 23:37:40,862 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-11-29 23:37:40,862 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-11-29 23:37:40,863 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-11-29 23:37:40,865 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-11-29 23:37:40,865 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-11-29 23:37:40,865 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-11-29 23:37:40,866 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-11-29 23:37:40,867 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer 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-11-29 23:37:41,189 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-11-29 23:37:41,241 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-11-29 23:37:41,247 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-11-29 23:37:41,248 INFO L271 PluginConnector]: Initializing CDTParser... [2020-11-29 23:37:41,250 INFO L275 PluginConnector]: CDTParser initialized [2020-11-29 23:37:41,251 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/../../sv-benchmarks/c/recursive/Primes.c [2020-11-29 23:37:41,360 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/data/23c126dce/04c2f5e1d45847cf9a018f8990a70bf9/FLAG5427433b5 [2020-11-29 23:37:41,932 INFO L306 CDTParser]: Found 1 translation units. [2020-11-29 23:37:41,933 INFO L160 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/sv-benchmarks/c/recursive/Primes.c [2020-11-29 23:37:41,942 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/data/23c126dce/04c2f5e1d45847cf9a018f8990a70bf9/FLAG5427433b5 [2020-11-29 23:37:42,265 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/data/23c126dce/04c2f5e1d45847cf9a018f8990a70bf9 [2020-11-29 23:37:42,270 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-11-29 23:37:42,272 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-11-29 23:37:42,282 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-11-29 23:37:42,282 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-11-29 23:37:42,286 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-11-29 23:37:42,287 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,289 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4bf20555 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42, skipping insertion in model container [2020-11-29 23:37:42,289 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,298 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-11-29 23:37:42,326 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-11-29 23:37:42,537 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-11-29 23:37:42,548 INFO L203 MainTranslator]: Completed pre-run [2020-11-29 23:37:42,573 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-11-29 23:37:42,589 INFO L208 MainTranslator]: Completed translation [2020-11-29 23:37:42,590 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42 WrapperNode [2020-11-29 23:37:42,590 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-11-29 23:37:42,591 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-11-29 23:37:42,592 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-11-29 23:37:42,592 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-11-29 23:37:42,600 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,609 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,631 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-11-29 23:37:42,632 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-11-29 23:37:42,632 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-11-29 23:37:42,632 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-11-29 23:37:42,642 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,642 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,645 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,645 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,651 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,655 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,657 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (1/1) ... [2020-11-29 23:37:42,660 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-11-29 23:37:42,661 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-11-29 23:37:42,661 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-11-29 23:37:42,661 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-11-29 23:37:42,663 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:42,740 INFO L130 BoogieDeclarations]: Found specification of procedure multiple_of [2020-11-29 23:37:42,740 INFO L138 BoogieDeclarations]: Found implementation of procedure multiple_of [2020-11-29 23:37:42,740 INFO L130 BoogieDeclarations]: Found specification of procedure mult [2020-11-29 23:37:42,741 INFO L138 BoogieDeclarations]: Found implementation of procedure mult [2020-11-29 23:37:42,741 INFO L130 BoogieDeclarations]: Found specification of procedure is_prime_ [2020-11-29 23:37:42,741 INFO L138 BoogieDeclarations]: Found implementation of procedure is_prime_ [2020-11-29 23:37:42,742 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-11-29 23:37:42,742 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-11-29 23:37:42,742 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-11-29 23:37:42,742 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-11-29 23:37:43,208 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-11-29 23:37:43,208 INFO L298 CfgBuilder]: Removed 8 assume(true) statements. [2020-11-29 23:37:43,210 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 11:37:43 BoogieIcfgContainer [2020-11-29 23:37:43,210 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-11-29 23:37:43,212 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-11-29 23:37:43,212 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-11-29 23:37:43,216 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-11-29 23:37:43,217 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-11-29 23:37:43,217 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 29.11 11:37:42" (1/3) ... [2020-11-29 23:37:43,219 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@5d43cf17 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 29.11 11:37:43, skipping insertion in model container [2020-11-29 23:37:43,219 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-11-29 23:37:43,219 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 11:37:42" (2/3) ... [2020-11-29 23:37:43,220 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@5d43cf17 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 29.11 11:37:43, skipping insertion in model container [2020-11-29 23:37:43,220 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-11-29 23:37:43,220 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 11:37:43" (3/3) ... [2020-11-29 23:37:43,224 INFO L373 chiAutomizerObserver]: Analyzing ICFG Primes.c [2020-11-29 23:37:43,295 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-11-29 23:37:43,295 INFO L360 BuchiCegarLoop]: Hoare is false [2020-11-29 23:37:43,295 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-11-29 23:37:43,295 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-11-29 23:37:43,296 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-11-29 23:37:43,296 INFO L364 BuchiCegarLoop]: Difference is false [2020-11-29 23:37:43,296 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-11-29 23:37:43,296 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-11-29 23:37:43,314 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 51 states. [2020-11-29 23:37:43,362 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-11-29 23:37:43,362 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:43,362 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:43,372 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-11-29 23:37:43,372 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 23:37:43,373 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-11-29 23:37:43,373 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 51 states. [2020-11-29 23:37:43,385 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-11-29 23:37:43,385 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:43,385 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:43,386 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-11-29 23:37:43,386 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 23:37:43,394 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-11-29 23:37:43,395 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-11-29 23:37:43,403 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:43,403 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 1 times [2020-11-29 23:37:43,415 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:43,415 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1524607241] [2020-11-29 23:37:43,416 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:43,524 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:43,525 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:43,551 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:43,551 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:43,577 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:43,579 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:43,579 INFO L82 PathProgramCache]: Analyzing trace with hash -2140609117, now seen corresponding path program 1 times [2020-11-29 23:37:43,579 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:43,580 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [790191719] [2020-11-29 23:37:43,580 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:43,596 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:43,659 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-11-29 23:37:43,665 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:43,718 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:43,718 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [790191719] [2020-11-29 23:37:43,719 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 23:37:43,719 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-11-29 23:37:43,720 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [461485744] [2020-11-29 23:37:43,725 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-29 23:37:43,727 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 23:37:43,745 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-11-29 23:37:43,746 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-11-29 23:37:43,748 INFO L87 Difference]: Start difference. First operand 51 states. Second operand 5 states. [2020-11-29 23:37:43,909 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 23:37:43,909 INFO L93 Difference]: Finished difference Result 56 states and 80 transitions. [2020-11-29 23:37:43,911 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-11-29 23:37:43,913 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 56 states and 80 transitions. [2020-11-29 23:37:43,921 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-11-29 23:37:43,935 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 56 states to 41 states and 54 transitions. [2020-11-29 23:37:43,936 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 41 [2020-11-29 23:37:43,937 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 41 [2020-11-29 23:37:43,938 INFO L73 IsDeterministic]: Start isDeterministic. Operand 41 states and 54 transitions. [2020-11-29 23:37:43,941 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-29 23:37:43,942 INFO L691 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-11-29 23:37:43,961 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 41 states and 54 transitions. [2020-11-29 23:37:43,977 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 41 to 39. [2020-11-29 23:37:43,978 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 39 states. [2020-11-29 23:37:43,980 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 51 transitions. [2020-11-29 23:37:43,982 INFO L714 BuchiCegarLoop]: Abstraction has 39 states and 51 transitions. [2020-11-29 23:37:43,982 INFO L594 BuchiCegarLoop]: Abstraction has 39 states and 51 transitions. [2020-11-29 23:37:43,982 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-11-29 23:37:43,983 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 39 states and 51 transitions. [2020-11-29 23:37:43,985 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-11-29 23:37:43,985 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:43,986 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:43,987 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-11-29 23:37:43,987 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 23:37:43,987 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-11-29 23:37:43,988 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-11-29 23:37:43,988 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:43,989 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 2 times [2020-11-29 23:37:43,989 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:43,990 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1143876034] [2020-11-29 23:37:43,990 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:44,010 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:44,010 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:44,030 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:44,030 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:44,037 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:44,038 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:44,039 INFO L82 PathProgramCache]: Analyzing trace with hash -1912428317, now seen corresponding path program 1 times [2020-11-29 23:37:44,039 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:44,039 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [370650497] [2020-11-29 23:37:44,040 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:44,049 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:44,084 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-11-29 23:37:44,089 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:44,130 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:44,130 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [370650497] [2020-11-29 23:37:44,130 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 23:37:44,131 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-11-29 23:37:44,131 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1910715543] [2020-11-29 23:37:44,131 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-29 23:37:44,132 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 23:37:44,132 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-11-29 23:37:44,133 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-11-29 23:37:44,133 INFO L87 Difference]: Start difference. First operand 39 states and 51 transitions. cyclomatic complexity: 15 Second operand 5 states. [2020-11-29 23:37:44,354 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 23:37:44,355 INFO L93 Difference]: Finished difference Result 43 states and 57 transitions. [2020-11-29 23:37:44,357 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-11-29 23:37:44,358 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 43 states and 57 transitions. [2020-11-29 23:37:44,360 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-11-29 23:37:44,365 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 43 states to 43 states and 57 transitions. [2020-11-29 23:37:44,366 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 43 [2020-11-29 23:37:44,367 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 43 [2020-11-29 23:37:44,367 INFO L73 IsDeterministic]: Start isDeterministic. Operand 43 states and 57 transitions. [2020-11-29 23:37:44,370 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-29 23:37:44,370 INFO L691 BuchiCegarLoop]: Abstraction has 43 states and 57 transitions. [2020-11-29 23:37:44,370 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 43 states and 57 transitions. [2020-11-29 23:37:44,382 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 43 to 41. [2020-11-29 23:37:44,387 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2020-11-29 23:37:44,389 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 54 transitions. [2020-11-29 23:37:44,393 INFO L714 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-11-29 23:37:44,393 INFO L594 BuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2020-11-29 23:37:44,393 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-11-29 23:37:44,394 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 41 states and 54 transitions. [2020-11-29 23:37:44,395 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2020-11-29 23:37:44,402 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:44,403 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:44,404 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-11-29 23:37:44,404 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-11-29 23:37:44,405 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-11-29 23:37:44,405 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-11-29 23:37:44,406 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:44,406 INFO L82 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 3 times [2020-11-29 23:37:44,406 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:44,407 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1715026959] [2020-11-29 23:37:44,409 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:44,429 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:44,443 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:44,457 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:44,457 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:44,463 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:44,464 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:44,465 INFO L82 PathProgramCache]: Analyzing trace with hash -1879332525, now seen corresponding path program 1 times [2020-11-29 23:37:44,465 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:44,465 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1750530327] [2020-11-29 23:37:44,465 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:44,481 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:44,481 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:44,513 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:44,519 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:44,525 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:44,525 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:44,526 INFO L82 PathProgramCache]: Analyzing trace with hash 1583483899, now seen corresponding path program 1 times [2020-11-29 23:37:44,526 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:44,526 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1374334898] [2020-11-29 23:37:44,526 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:44,551 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:44,593 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 9 [2020-11-29 23:37:44,600 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:44,673 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-11-29 23:37:44,678 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:44,726 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-11-29 23:37:44,727 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1374334898] [2020-11-29 23:37:44,727 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [583354827] [2020-11-29 23:37:44,727 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:44,812 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:44,815 INFO L263 TraceCheckSpWp]: Trace formula consists of 99 conjuncts, 11 conjunts are in the unsatisfiable core [2020-11-29 23:37:44,826 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:45,065 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-11-29 23:37:45,066 INFO L219 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-11-29 23:37:45,067 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 10 [2020-11-29 23:37:45,067 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1463450401] [2020-11-29 23:37:45,522 WARN L193 SmtUtils]: Spent 111.00 ms on a formula simplification. DAG size of input: 44 DAG size of output: 32 [2020-11-29 23:37:45,597 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:45,598 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:45,598 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:45,598 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:45,598 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 23:37:45,599 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:45,599 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:45,599 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:45,599 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2020-11-29 23:37:45,599 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:45,600 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:45,620 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:45,628 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:45,633 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:45,638 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:45,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-11-29 23:37:45,667 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:45,767 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:45,767 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:45,800 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:45,800 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-11-29 23:37:45,811 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:45,811 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:45,845 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:45,845 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:45,853 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:45,854 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:45,891 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:45,891 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:45,904 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:45,904 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:45,937 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:45,937 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:45,951 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:45,952 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 7 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 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:46,004 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:46,004 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:46,073 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 23:37:46,073 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-11-29 23:37:46,330 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 23:37:46,332 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:46,332 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:46,332 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:46,332 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:46,332 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 23:37:46,332 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:46,333 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:46,333 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:46,333 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2020-11-29 23:37:46,333 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:46,333 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:46,335 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:46,351 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:46,355 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:46,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-11-29 23:37:46,377 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:46,381 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:46,478 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:46,485 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:46,496 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-11-29 23:37:46,499 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:46,499 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:46,500 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:46,500 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:46,500 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:46,508 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:46,511 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:46,514 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:46,568 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 23:37:46,570 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:46,570 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:46,570 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:46,570 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:46,570 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:46,572 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:46,572 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:46,575 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:46,610 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-11-29 23:37:46,612 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:46,612 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:46,612 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:46,612 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:46,613 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:46,613 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:46,614 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:46,623 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:46,674 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-11-29 23:37:46,676 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:46,676 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:46,676 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:46,677 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:46,677 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:46,680 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:46,680 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:46,684 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 23:37:46,691 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-11-29 23:37:46,691 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:46,700 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 23:37:46,700 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 23:37:46,700 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 23:37:46,701 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-11-29 23:37:46,744 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 23:37:46,925 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:46,955 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:46,956 INFO L263 TraceCheckSpWp]: Trace formula consists of 73 conjuncts, 4 conjunts are in the unsatisfiable core [2020-11-29 23:37:46,957 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:46,996 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:46,998 INFO L263 TraceCheckSpWp]: Trace formula consists of 140 conjuncts, 18 conjunts are in the unsatisfiable core [2020-11-29 23:37:47,001 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:47,310 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-11-29 23:37:47,314 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-11-29 23:37:47,315 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 41 states and 54 transitions. cyclomatic complexity: 16 Second operand 10 states. [2020-11-29 23:37:48,310 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-11-29 23:37:48,312 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-11-29 23:37:48,313 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2020-11-29 23:37:48,316 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 77 transitions. [2020-11-29 23:37:48,318 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 4 letters. Loop has 24 letters. [2020-11-29 23:37:48,320 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:48,320 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 28 letters. Loop has 24 letters. [2020-11-29 23:37:48,322 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:48,323 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 13 states and 77 transitions. Stem has 4 letters. Loop has 48 letters. [2020-11-29 23:37:48,326 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:48,326 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 322 states and 477 transitions. [2020-11-29 23:37:48,356 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 30 [2020-11-29 23:37:48,387 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 322 states to 264 states and 371 transitions. [2020-11-29 23:37:48,387 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 156 [2020-11-29 23:37:48,389 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 159 [2020-11-29 23:37:48,390 INFO L73 IsDeterministic]: Start isDeterministic. Operand 264 states and 371 transitions. [2020-11-29 23:37:48,395 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:48,397 INFO L691 BuchiCegarLoop]: Abstraction has 264 states and 371 transitions. [2020-11-29 23:37:48,398 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 264 states and 371 transitions. [2020-11-29 23:37:48,430 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 264 to 163. [2020-11-29 23:37:48,430 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 163 states. [2020-11-29 23:37:48,433 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 163 states to 163 states and 220 transitions. [2020-11-29 23:37:48,433 INFO L714 BuchiCegarLoop]: Abstraction has 163 states and 220 transitions. [2020-11-29 23:37:48,433 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 23:37:48,434 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2020-11-29 23:37:48,434 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=22, Invalid=68, Unknown=0, NotChecked=0, Total=90 [2020-11-29 23:37:48,434 INFO L87 Difference]: Start difference. First operand 163 states and 220 transitions. Second operand 10 states. [2020-11-29 23:37:48,751 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 23:37:48,751 INFO L93 Difference]: Finished difference Result 171 states and 229 transitions. [2020-11-29 23:37:48,752 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2020-11-29 23:37:48,752 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 171 states and 229 transitions. [2020-11-29 23:37:48,756 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 29 [2020-11-29 23:37:48,759 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 171 states to 107 states and 147 transitions. [2020-11-29 23:37:48,759 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 107 [2020-11-29 23:37:48,759 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 107 [2020-11-29 23:37:48,760 INFO L73 IsDeterministic]: Start isDeterministic. Operand 107 states and 147 transitions. [2020-11-29 23:37:48,761 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-29 23:37:48,761 INFO L691 BuchiCegarLoop]: Abstraction has 107 states and 147 transitions. [2020-11-29 23:37:48,761 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 107 states and 147 transitions. [2020-11-29 23:37:48,773 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 107 to 93. [2020-11-29 23:37:48,779 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 93 states. [2020-11-29 23:37:48,780 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 93 states to 93 states and 126 transitions. [2020-11-29 23:37:48,780 INFO L714 BuchiCegarLoop]: Abstraction has 93 states and 126 transitions. [2020-11-29 23:37:48,781 INFO L594 BuchiCegarLoop]: Abstraction has 93 states and 126 transitions. [2020-11-29 23:37:48,781 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-11-29 23:37:48,781 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 93 states and 126 transitions. [2020-11-29 23:37:48,782 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 29 [2020-11-29 23:37:48,782 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:48,782 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:48,782 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 23:37:48,782 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-11-29 23:37:48,783 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-11-29 23:37:48,783 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-11-29 23:37:48,783 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:48,783 INFO L82 PathProgramCache]: Analyzing trace with hash 1581488555, now seen corresponding path program 1 times [2020-11-29 23:37:48,783 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:48,784 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [117865186] [2020-11-29 23:37:48,784 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:48,808 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:48,861 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:48,861 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [117865186] [2020-11-29 23:37:48,861 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 23:37:48,862 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-11-29 23:37:48,862 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1430503197] [2020-11-29 23:37:48,862 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-11-29 23:37:48,863 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:48,863 INFO L82 PathProgramCache]: Analyzing trace with hash 134543, now seen corresponding path program 1 times [2020-11-29 23:37:48,863 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:48,863 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [135499771] [2020-11-29 23:37:48,863 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:48,866 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:48,878 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:48,881 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:48,881 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:48,882 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:48,959 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:48,959 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:48,959 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:48,959 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:48,960 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 23:37:48,960 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:48,960 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:48,960 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:48,960 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2020-11-29 23:37:48,960 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:48,960 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:48,961 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:48,966 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:48,968 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:48,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-11-29 23:37:48,977 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:48,986 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:49,057 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:49,057 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 14 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 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:49,063 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:49,063 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:49,066 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:49,066 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:49,092 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:49,092 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:49,104 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:49,104 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:49,150 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:49,150 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:49,155 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:49,155 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: [] Waiting until toolchain timeout for monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:49,196 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:49,196 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:49,199 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:49,199 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:49,224 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:49,224 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:49,256 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 23:37:49,256 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:50,566 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 23:37:50,568 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:50,568 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:50,569 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:50,569 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:50,569 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 23:37:50,569 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:50,569 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:50,569 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:50,569 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2020-11-29 23:37:50,569 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:50,569 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:50,570 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:50,576 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:50,588 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:50,597 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:50,600 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:50,609 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:50,713 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:50,713 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:50,734 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-11-29 23:37:50,735 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:50,736 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:50,736 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:50,736 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:50,736 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:50,737 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:50,738 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:50,740 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:50,765 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-11-29 23:37:50,767 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:50,767 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:50,767 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:50,767 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:50,767 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:50,768 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:50,768 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:50,771 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:50,798 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-11-29 23:37:50,800 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:50,800 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:50,801 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:50,801 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:50,801 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:50,803 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:50,803 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:50,810 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:50,837 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-11-29 23:37:50,838 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:50,838 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:50,839 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:50,839 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:50,839 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:50,839 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:50,840 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:50,867 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:50,912 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-11-29 23:37:50,914 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:50,914 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:50,914 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:50,914 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:50,914 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:50,918 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:50,918 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:50,923 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 23:37:50,926 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-11-29 23:37:50,927 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:50,932 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 23:37:50,932 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 23:37:50,932 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 23:37:50,932 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_~m) = 1*multiple_of_~m Supporting invariants [] Waiting until toolchain timeout for monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:50,971 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 23:37:50,988 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:51,017 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:51,018 INFO L263 TraceCheckSpWp]: Trace formula consists of 120 conjuncts, 6 conjunts are in the unsatisfiable core [2020-11-29 23:37:51,021 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:51,039 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:51,040 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-11-29 23:37:51,042 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:51,083 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:51,084 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-11-29 23:37:51,084 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 93 states and 126 transitions. cyclomatic complexity: 36 Second operand 4 states. [2020-11-29 23:37:51,233 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-11-29 23:37:51,237 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-11-29 23:37:51,237 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-11-29 23:37:51,238 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 67 transitions. [2020-11-29 23:37:51,238 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 12 letters. Loop has 3 letters. [2020-11-29 23:37:51,239 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:51,239 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 15 letters. Loop has 3 letters. [2020-11-29 23:37:51,239 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:51,239 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 12 letters. Loop has 6 letters. [2020-11-29 23:37:51,239 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:51,240 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 191 states and 253 transitions. [2020-11-29 23:37:51,249 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 42 [2020-11-29 23:37:51,254 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 191 states to 137 states and 182 transitions. [2020-11-29 23:37:51,254 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 113 [2020-11-29 23:37:51,255 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 114 [2020-11-29 23:37:51,255 INFO L73 IsDeterministic]: Start isDeterministic. Operand 137 states and 182 transitions. [2020-11-29 23:37:51,256 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:51,256 INFO L691 BuchiCegarLoop]: Abstraction has 137 states and 182 transitions. [2020-11-29 23:37:51,256 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 137 states and 182 transitions. [2020-11-29 23:37:51,264 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 137 to 108. [2020-11-29 23:37:51,264 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 108 states. [2020-11-29 23:37:51,266 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 108 states to 108 states and 146 transitions. [2020-11-29 23:37:51,266 INFO L714 BuchiCegarLoop]: Abstraction has 108 states and 146 transitions. [2020-11-29 23:37:51,266 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 23:37:51,267 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-11-29 23:37:51,267 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-11-29 23:37:51,267 INFO L87 Difference]: Start difference. First operand 108 states and 146 transitions. Second operand 5 states. [2020-11-29 23:37:51,334 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 23:37:51,335 INFO L93 Difference]: Finished difference Result 98 states and 128 transitions. [2020-11-29 23:37:51,336 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-11-29 23:37:51,336 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 98 states and 128 transitions. [2020-11-29 23:37:51,338 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-11-29 23:37:51,340 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 98 states to 98 states and 128 transitions. [2020-11-29 23:37:51,341 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2020-11-29 23:37:51,341 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2020-11-29 23:37:51,341 INFO L73 IsDeterministic]: Start isDeterministic. Operand 98 states and 128 transitions. [2020-11-29 23:37:51,342 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-29 23:37:51,342 INFO L691 BuchiCegarLoop]: Abstraction has 98 states and 128 transitions. [2020-11-29 23:37:51,342 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 98 states and 128 transitions. [2020-11-29 23:37:51,348 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 98 to 92. [2020-11-29 23:37:51,349 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 92 states. [2020-11-29 23:37:51,350 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 92 states to 92 states and 121 transitions. [2020-11-29 23:37:51,350 INFO L714 BuchiCegarLoop]: Abstraction has 92 states and 121 transitions. [2020-11-29 23:37:51,350 INFO L594 BuchiCegarLoop]: Abstraction has 92 states and 121 transitions. [2020-11-29 23:37:51,351 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-11-29 23:37:51,351 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 92 states and 121 transitions. [2020-11-29 23:37:51,352 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-11-29 23:37:51,352 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:51,353 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:51,353 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 23:37:51,353 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-11-29 23:37:51,354 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-11-29 23:37:51,354 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-11-29 23:37:51,354 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:51,355 INFO L82 PathProgramCache]: Analyzing trace with hash -1704575146, now seen corresponding path program 1 times [2020-11-29 23:37:51,355 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:51,355 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2130577324] [2020-11-29 23:37:51,355 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:51,367 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:51,409 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 3 [2020-11-29 23:37:51,412 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:51,438 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:51,438 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2130577324] [2020-11-29 23:37:51,438 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 23:37:51,438 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-11-29 23:37:51,438 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [947374025] [2020-11-29 23:37:51,439 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-11-29 23:37:51,439 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:51,439 INFO L82 PathProgramCache]: Analyzing trace with hash 53807, now seen corresponding path program 1 times [2020-11-29 23:37:51,439 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:51,440 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [305243728] [2020-11-29 23:37:51,440 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:51,443 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:51,443 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:51,445 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:51,445 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:51,446 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:51,506 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:51,506 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:51,506 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:51,506 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:51,506 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 23:37:51,506 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:51,507 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:51,507 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:51,507 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2020-11-29 23:37:51,507 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:51,507 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:51,508 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,513 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,516 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,519 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,523 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,527 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,533 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,596 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:51,596 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 26 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 26 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:51,600 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:51,601 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:51,603 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:51,603 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:51,627 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:51,627 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:51,631 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:51,631 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:51,662 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:51,662 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:51,665 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:51,665 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:51,691 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:51,691 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:51,693 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:51,694 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:51,750 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:51,750 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:51,754 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:51,754 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:51,795 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:51,796 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:51,833 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 23:37:51,833 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:51,870 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 23:37:51,872 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:51,872 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:51,872 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:51,872 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:51,872 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 23:37:51,872 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:51,872 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:51,872 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:51,873 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2020-11-29 23:37:51,873 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:51,873 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:51,873 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,877 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,880 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,883 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,886 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,890 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,893 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:51,963 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:51,964 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:51,969 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-11-29 23:37:51,970 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:51,970 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:51,970 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:51,971 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:51,971 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:51,971 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:51,971 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:51,979 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:52,025 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-11-29 23:37:52,027 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:52,027 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:52,027 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:52,027 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:52,027 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:52,028 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:52,028 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:52,031 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:52,067 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-11-29 23:37:52,069 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:52,069 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:52,069 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:52,069 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:52,069 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:52,069 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:52,070 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:52,071 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:52,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-11-29 23:37:52,099 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:52,099 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:52,099 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:52,099 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:52,099 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:52,099 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:52,100 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:52,101 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 37 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 37 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:52,127 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-11-29 23:37:52,129 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:52,129 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:52,129 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:52,129 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:52,129 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:52,131 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:52,131 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:52,134 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 38 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 38 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:52,161 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-11-29 23:37:52,163 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:52,163 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:52,163 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:52,163 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:52,163 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:52,164 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:52,164 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:52,165 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 39 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:52,191 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false Waiting until toolchain timeout for monitored process 39 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:52,192 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:52,192 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:52,192 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:52,192 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:52,193 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:52,193 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:52,193 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:52,195 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 23:37:52,197 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-11-29 23:37:52,197 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 40 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 40 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:52,200 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 23:37:52,200 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 23:37:52,200 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 23:37:52,200 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_#in~m) = -1*mult_#in~m Supporting invariants [] [2020-11-29 23:37:52,222 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 23:37:52,253 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:52,286 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:52,287 INFO L263 TraceCheckSpWp]: Trace formula consists of 131 conjuncts, 6 conjunts are in the unsatisfiable core [2020-11-29 23:37:52,289 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:52,327 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:52,328 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-11-29 23:37:52,329 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:52,356 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:52,357 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-11-29 23:37:52,357 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 92 states and 121 transitions. cyclomatic complexity: 32 Second operand 5 states. [2020-11-29 23:37:52,513 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-11-29 23:37:52,515 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-11-29 23:37:52,515 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-11-29 23:37:52,516 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 48 transitions. [2020-11-29 23:37:52,516 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 14 letters. Loop has 3 letters. [2020-11-29 23:37:52,516 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:52,516 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 17 letters. Loop has 3 letters. [2020-11-29 23:37:52,516 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:52,516 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 14 letters. Loop has 6 letters. [2020-11-29 23:37:52,517 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:52,517 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 114 states and 145 transitions. [2020-11-29 23:37:52,519 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-11-29 23:37:52,523 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 114 states to 106 states and 137 transitions. [2020-11-29 23:37:52,523 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 99 [2020-11-29 23:37:52,524 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 101 [2020-11-29 23:37:52,524 INFO L73 IsDeterministic]: Start isDeterministic. Operand 106 states and 137 transitions. [2020-11-29 23:37:52,525 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:52,525 INFO L691 BuchiCegarLoop]: Abstraction has 106 states and 137 transitions. [2020-11-29 23:37:52,525 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 106 states and 137 transitions. [2020-11-29 23:37:52,536 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 106 to 97. [2020-11-29 23:37:52,536 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 97 states. [2020-11-29 23:37:52,538 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 97 states and 128 transitions. [2020-11-29 23:37:52,538 INFO L714 BuchiCegarLoop]: Abstraction has 97 states and 128 transitions. [2020-11-29 23:37:52,538 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 23:37:52,539 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-11-29 23:37:52,539 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2020-11-29 23:37:52,539 INFO L87 Difference]: Start difference. First operand 97 states and 128 transitions. Second operand 7 states. [2020-11-29 23:37:52,660 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 23:37:52,660 INFO L93 Difference]: Finished difference Result 108 states and 139 transitions. [2020-11-29 23:37:52,661 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-11-29 23:37:52,661 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 108 states and 139 transitions. [2020-11-29 23:37:52,663 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-11-29 23:37:52,665 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 108 states to 101 states and 131 transitions. [2020-11-29 23:37:52,665 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2020-11-29 23:37:52,665 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2020-11-29 23:37:52,666 INFO L73 IsDeterministic]: Start isDeterministic. Operand 101 states and 131 transitions. [2020-11-29 23:37:52,666 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:52,666 INFO L691 BuchiCegarLoop]: Abstraction has 101 states and 131 transitions. [2020-11-29 23:37:52,666 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 101 states and 131 transitions. [2020-11-29 23:37:52,670 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 101 to 97. [2020-11-29 23:37:52,670 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 97 states. [2020-11-29 23:37:52,684 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 97 states and 126 transitions. [2020-11-29 23:37:52,684 INFO L714 BuchiCegarLoop]: Abstraction has 97 states and 126 transitions. [2020-11-29 23:37:52,684 INFO L594 BuchiCegarLoop]: Abstraction has 97 states and 126 transitions. [2020-11-29 23:37:52,685 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-11-29 23:37:52,685 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 97 states and 126 transitions. [2020-11-29 23:37:52,686 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2020-11-29 23:37:52,686 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:52,687 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:52,688 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 23:37:52,688 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2020-11-29 23:37:52,688 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-11-29 23:37:52,688 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-11-29 23:37:52,689 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:52,689 INFO L82 PathProgramCache]: Analyzing trace with hash -607918156, now seen corresponding path program 1 times [2020-11-29 23:37:52,689 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:52,689 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [787796763] [2020-11-29 23:37:52,689 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:52,714 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:52,775 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:52,775 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [787796763] [2020-11-29 23:37:52,776 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 23:37:52,776 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-11-29 23:37:52,776 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1013945276] [2020-11-29 23:37:52,776 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-11-29 23:37:52,776 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:52,777 INFO L82 PathProgramCache]: Analyzing trace with hash 929677, now seen corresponding path program 1 times [2020-11-29 23:37:52,777 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:52,777 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [215558513] [2020-11-29 23:37:52,777 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:52,780 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:52,780 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:52,788 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:52,789 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:52,790 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:52,858 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:52,858 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:52,858 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:52,858 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:52,858 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 23:37:52,858 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:52,858 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:52,858 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:52,858 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2020-11-29 23:37:52,858 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:52,859 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:52,859 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:52,865 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:52,869 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:52,873 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:52,876 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:52,882 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:52,884 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:52,891 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:52,974 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:52,974 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:52,979 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:52,979 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:52,983 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:52,983 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 42 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 42 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:53,012 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:53,013 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:53,015 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:53,015 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,040 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:53,040 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:53,043 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:53,043 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,068 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:53,068 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:53,070 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:53,070 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,094 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:53,094 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:53,097 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:53,097 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,122 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:53,122 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:53,125 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:53,125 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,150 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:53,150 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,177 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 23:37:53,177 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:53,277 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 23:37:53,278 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:53,278 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:53,278 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:53,278 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:53,278 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 23:37:53,278 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:53,278 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:53,279 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:53,279 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2020-11-29 23:37:53,279 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:53,279 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:53,280 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:53,288 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:53,294 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:53,297 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:53,299 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:53,304 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:53,308 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:53,314 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:53,369 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:53,369 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 49 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 49 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:53,372 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-11-29 23:37:53,374 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:53,374 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:53,374 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:53,374 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:53,374 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:53,375 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:53,375 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:53,376 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,403 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-11-29 23:37:53,404 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:53,404 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:53,405 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:53,405 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:53,405 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:53,405 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:53,405 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:53,407 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,434 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-11-29 23:37:53,435 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:53,435 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:53,435 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:53,435 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:53,436 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:53,436 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:53,436 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:53,437 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:53,470 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false Waiting until toolchain timeout for monitored process 52 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:53,472 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:53,472 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:53,472 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:53,472 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:53,472 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:53,473 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:53,473 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:53,474 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,502 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-11-29 23:37:53,503 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:53,503 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:53,504 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:53,504 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:53,504 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:53,504 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:53,505 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:53,508 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,532 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-11-29 23:37:53,533 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:53,533 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:53,533 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:53,533 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:53,533 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:53,534 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:53,534 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:53,535 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,559 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-11-29 23:37:53,560 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:53,560 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:53,561 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:53,561 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:53,561 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:53,562 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:53,562 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:53,564 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 23:37:53,566 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-11-29 23:37:53,566 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:53,571 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 23:37:53,571 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 23:37:53,571 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 23:37:53,571 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = -1*multiple_of_#in~n Supporting invariants [] [2020-11-29 23:37:53,594 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 23:37:53,607 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:53,648 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:53,649 INFO L263 TraceCheckSpWp]: Trace formula consists of 155 conjuncts, 8 conjunts are in the unsatisfiable core [2020-11-29 23:37:53,650 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:53,665 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:53,666 INFO L263 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 7 conjunts are in the unsatisfiable core [2020-11-29 23:37:53,667 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:53,691 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:53,692 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-11-29 23:37:53,692 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 97 states and 126 transitions. cyclomatic complexity: 33 Second operand 4 states. [2020-11-29 23:37:53,793 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-11-29 23:37:53,796 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-11-29 23:37:53,796 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-11-29 23:37:53,797 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 56 transitions. [2020-11-29 23:37:53,797 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 14 letters. Loop has 4 letters. [2020-11-29 23:37:53,797 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:53,797 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 18 letters. Loop has 4 letters. [2020-11-29 23:37:53,798 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:53,798 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 56 transitions. Stem has 14 letters. Loop has 8 letters. [2020-11-29 23:37:53,798 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:53,798 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 200 states and 269 transitions. [2020-11-29 23:37:53,802 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 48 [2020-11-29 23:37:53,809 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 200 states to 188 states and 257 transitions. [2020-11-29 23:37:53,809 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 173 [2020-11-29 23:37:53,810 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 175 [2020-11-29 23:37:53,810 INFO L73 IsDeterministic]: Start isDeterministic. Operand 188 states and 257 transitions. [2020-11-29 23:37:53,811 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:53,811 INFO L691 BuchiCegarLoop]: Abstraction has 188 states and 257 transitions. [2020-11-29 23:37:53,812 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 188 states and 257 transitions. [2020-11-29 23:37:53,830 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 188 to 163. [2020-11-29 23:37:53,832 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 163 states. [2020-11-29 23:37:53,834 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 163 states to 163 states and 223 transitions. [2020-11-29 23:37:53,834 INFO L714 BuchiCegarLoop]: Abstraction has 163 states and 223 transitions. [2020-11-29 23:37:53,834 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 23:37:53,835 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-11-29 23:37:53,835 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2020-11-29 23:37:53,835 INFO L87 Difference]: Start difference. First operand 163 states and 223 transitions. Second operand 7 states. [2020-11-29 23:37:53,948 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 23:37:53,948 INFO L93 Difference]: Finished difference Result 161 states and 218 transitions. [2020-11-29 23:37:53,949 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-11-29 23:37:53,949 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 161 states and 218 transitions. [2020-11-29 23:37:53,952 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-11-29 23:37:53,955 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 161 states to 161 states and 218 transitions. [2020-11-29 23:37:53,959 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 154 [2020-11-29 23:37:53,959 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 154 [2020-11-29 23:37:53,960 INFO L73 IsDeterministic]: Start isDeterministic. Operand 161 states and 218 transitions. [2020-11-29 23:37:53,960 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:53,960 INFO L691 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-11-29 23:37:53,960 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 161 states and 218 transitions. [2020-11-29 23:37:53,971 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 161 to 161. [2020-11-29 23:37:53,971 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 161 states. [2020-11-29 23:37:53,974 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 161 states to 161 states and 218 transitions. [2020-11-29 23:37:53,974 INFO L714 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-11-29 23:37:53,975 INFO L594 BuchiCegarLoop]: Abstraction has 161 states and 218 transitions. [2020-11-29 23:37:53,975 INFO L427 BuchiCegarLoop]: ======== Iteration 7============ [2020-11-29 23:37:53,975 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 161 states and 218 transitions. [2020-11-29 23:37:53,977 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-11-29 23:37:53,977 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:53,977 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:53,978 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 23:37:53,978 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2020-11-29 23:37:53,978 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-11-29 23:37:53,978 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-11-29 23:37:53,979 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:53,979 INFO L82 PathProgramCache]: Analyzing trace with hash -93796849, now seen corresponding path program 1 times [2020-11-29 23:37:53,979 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:53,980 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1912942932] [2020-11-29 23:37:53,980 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:54,007 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:54,014 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:54,026 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:54,026 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:54,036 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:54,036 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:54,036 INFO L82 PathProgramCache]: Analyzing trace with hash 893418408, now seen corresponding path program 1 times [2020-11-29 23:37:54,037 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:54,037 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1860136770] [2020-11-29 23:37:54,037 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:54,041 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:54,041 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:54,044 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:54,044 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:54,046 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:54,047 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:54,047 INFO L82 PathProgramCache]: Analyzing trace with hash -1206649034, now seen corresponding path program 2 times [2020-11-29 23:37:54,047 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:54,048 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2109878008] [2020-11-29 23:37:54,048 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:54,079 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:54,081 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:54,090 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:54,097 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:54,109 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:54,215 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:54,215 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:54,215 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:54,215 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:54,215 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 23:37:54,215 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:54,215 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:54,215 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:54,215 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2020-11-29 23:37:54,215 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:54,215 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:54,216 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,220 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,247 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,255 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,259 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,263 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,266 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,359 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:54,360 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:54,365 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:54,366 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:54,368 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:54,368 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:54,393 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:54,393 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:54,428 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 23:37:54,428 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:54,581 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 23:37:54,582 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:54,583 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:54,583 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:54,583 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:54,583 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 23:37:54,583 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:54,583 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:54,583 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:54,583 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2020-11-29 23:37:54,583 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:54,583 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:54,584 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,606 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,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-11-29 23:37:54,625 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,628 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,630 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,633 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:54,712 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:54,712 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:54,715 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-11-29 23:37:54,716 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:54,716 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:54,716 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:54,716 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:54,716 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:54,717 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:54,717 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:54,729 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:54,758 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-11-29 23:37:54,760 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:54,760 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:54,760 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:54,760 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:54,760 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:54,761 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:54,762 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:54,764 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 23:37:54,767 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-11-29 23:37:54,767 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:54,770 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 23:37:54,770 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 23:37:54,770 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 23:37:54,770 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = 1*multiple_of_#in~n Supporting invariants [] [2020-11-29 23:37:54,793 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 23:37:54,806 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:54,835 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:54,836 INFO L263 TraceCheckSpWp]: Trace formula consists of 157 conjuncts, 8 conjunts are in the unsatisfiable core [2020-11-29 23:37:54,838 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:54,852 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:54,852 INFO L263 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 10 conjunts are in the unsatisfiable core [2020-11-29 23:37:54,853 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:54,976 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:54,977 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-11-29 23:37:54,977 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 161 states and 218 transitions. cyclomatic complexity: 64 Second operand 7 states. [2020-11-29 23:37:55,202 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-11-29 23:37:55,204 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-11-29 23:37:55,204 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2020-11-29 23:37:55,204 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 43 transitions. [2020-11-29 23:37:55,204 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 16 letters. Loop has 6 letters. [2020-11-29 23:37:55,205 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:55,205 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 22 letters. Loop has 6 letters. [2020-11-29 23:37:55,206 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:55,207 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 7 states and 43 transitions. Stem has 16 letters. Loop has 12 letters. [2020-11-29 23:37:55,207 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:55,208 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 214 states and 288 transitions. [2020-11-29 23:37:55,213 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 48 [2020-11-29 23:37:55,217 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 214 states to 202 states and 274 transitions. [2020-11-29 23:37:55,218 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 179 [2020-11-29 23:37:55,218 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 181 [2020-11-29 23:37:55,218 INFO L73 IsDeterministic]: Start isDeterministic. Operand 202 states and 274 transitions. [2020-11-29 23:37:55,219 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:55,219 INFO L691 BuchiCegarLoop]: Abstraction has 202 states and 274 transitions. [2020-11-29 23:37:55,219 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 202 states and 274 transitions. [2020-11-29 23:37:55,227 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 202 to 177. [2020-11-29 23:37:55,227 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 177 states. [2020-11-29 23:37:55,229 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 177 states to 177 states and 240 transitions. [2020-11-29 23:37:55,230 INFO L714 BuchiCegarLoop]: Abstraction has 177 states and 240 transitions. [2020-11-29 23:37:55,230 INFO L594 BuchiCegarLoop]: Abstraction has 177 states and 240 transitions. [2020-11-29 23:37:55,230 INFO L427 BuchiCegarLoop]: ======== Iteration 8============ [2020-11-29 23:37:55,230 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 177 states and 240 transitions. [2020-11-29 23:37:55,232 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-11-29 23:37:55,233 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:55,233 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:55,235 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 23:37:55,235 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1] [2020-11-29 23:37:55,237 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-11-29 23:37:55,237 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-11-29 23:37:55,238 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:55,238 INFO L82 PathProgramCache]: Analyzing trace with hash 1729864318, now seen corresponding path program 1 times [2020-11-29 23:37:55,238 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:55,238 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1348505073] [2020-11-29 23:37:55,238 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:55,263 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:55,266 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:55,279 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:55,280 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:55,288 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:55,289 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:55,289 INFO L82 PathProgramCache]: Analyzing trace with hash 61274134, now seen corresponding path program 1 times [2020-11-29 23:37:55,290 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:55,290 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1609124100] [2020-11-29 23:37:55,290 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:55,293 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:55,294 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:55,296 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:55,297 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:55,298 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:55,299 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:55,300 INFO L82 PathProgramCache]: Analyzing trace with hash 466508729, now seen corresponding path program 1 times [2020-11-29 23:37:55,300 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:55,300 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [138086979] [2020-11-29 23:37:55,300 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:55,319 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:55,319 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:55,336 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:55,336 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:55,355 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:55,518 WARN L193 SmtUtils]: Spent 102.00 ms on a formula simplification. DAG size of input: 21 DAG size of output: 19 [2020-11-29 23:37:55,541 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:55,541 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:55,542 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:55,542 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:55,542 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 23:37:55,542 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:55,542 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:55,542 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:55,542 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2020-11-29 23:37:55,542 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:55,542 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:55,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-11-29 23:37:55,561 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:55,569 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:55,574 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:55,577 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:55,647 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:55,648 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 63 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 63 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:55,651 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:55,651 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:55,682 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 23:37:55,682 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 64 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:56,098 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 23:37:56,100 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:56,100 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:56,100 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:56,100 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:56,100 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 23:37:56,100 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:56,100 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:56,101 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:56,101 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2020-11-29 23:37:56,101 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:56,101 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:56,102 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:56,119 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:56,130 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:56,133 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:56,135 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:56,215 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:56,215 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:56,217 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-11-29 23:37:56,219 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:56,219 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:56,219 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:56,219 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:56,219 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:56,220 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:56,220 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:56,223 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:56,247 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-11-29 23:37:56,248 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:56,248 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:56,248 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:56,248 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:56,248 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:56,249 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:56,249 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:56,250 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:56,274 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 23:37:56,275 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:56,276 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:56,276 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:56,276 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:56,276 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:56,276 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:56,276 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:56,278 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:56,301 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-11-29 23:37:56,303 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:56,303 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:56,303 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:56,303 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:56,303 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:56,303 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:56,303 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:56,305 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:56,329 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-11-29 23:37:56,330 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:56,331 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:56,331 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:56,331 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:56,331 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:56,332 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:56,333 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:56,339 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 23:37:56,341 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-11-29 23:37:56,341 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/z3 Starting monitored process 70 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 23:37:56,348 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 23:37:56,348 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 23:37:56,349 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 23:37:56,349 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-11-29 23:37:56,388 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 23:37:56,406 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:56,439 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:56,440 INFO L263 TraceCheckSpWp]: Trace formula consists of 138 conjuncts, 6 conjunts are in the unsatisfiable core [2020-11-29 23:37:56,442 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:56,483 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:56,484 INFO L263 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 7 conjunts are in the unsatisfiable core [2020-11-29 23:37:56,485 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:56,525 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:56,526 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-11-29 23:37:56,526 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 177 states and 240 transitions. cyclomatic complexity: 71 Second operand 6 states. [2020-11-29 23:37:56,645 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-11-29 23:37:56,646 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-11-29 23:37:56,646 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2020-11-29 23:37:56,647 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 52 transitions. [2020-11-29 23:37:56,647 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 17 letters. Loop has 5 letters. [2020-11-29 23:37:56,647 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:56,647 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 22 letters. Loop has 5 letters. [2020-11-29 23:37:56,647 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:56,647 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 52 transitions. Stem has 17 letters. Loop has 10 letters. [2020-11-29 23:37:56,648 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:56,648 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 201 states and 267 transitions. [2020-11-29 23:37:56,651 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-11-29 23:37:56,655 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 201 states to 200 states and 266 transitions. [2020-11-29 23:37:56,655 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 173 [2020-11-29 23:37:56,655 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 176 [2020-11-29 23:37:56,655 INFO L73 IsDeterministic]: Start isDeterministic. Operand 200 states and 266 transitions. [2020-11-29 23:37:56,655 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:56,655 INFO L691 BuchiCegarLoop]: Abstraction has 200 states and 266 transitions. [2020-11-29 23:37:56,656 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 200 states and 266 transitions. [2020-11-29 23:37:56,662 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 200 to 187. [2020-11-29 23:37:56,662 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 187 states. [2020-11-29 23:37:56,664 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 187 states to 187 states and 252 transitions. [2020-11-29 23:37:56,664 INFO L714 BuchiCegarLoop]: Abstraction has 187 states and 252 transitions. [2020-11-29 23:37:56,665 INFO L594 BuchiCegarLoop]: Abstraction has 187 states and 252 transitions. [2020-11-29 23:37:56,665 INFO L427 BuchiCegarLoop]: ======== Iteration 9============ [2020-11-29 23:37:56,665 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 187 states and 252 transitions. [2020-11-29 23:37:56,667 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-11-29 23:37:56,667 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:56,667 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:56,668 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-11-29 23:37:56,668 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-11-29 23:37:56,668 INFO L794 eck$LassoCheckResult]: Stem: 4089#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string4.base, #t~string4.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string4.base, #t~string4.offset, 1);call write~init~int(0, #t~string4.base, 1 + #t~string4.offset, 1);call #t~string5.base, #t~string5.offset := #Ultimate.allocOnStack(9);call #t~string6.base, #t~string6.offset := #Ultimate.allocOnStack(12); 4053#L-1 havoc main_#res;havoc main_#t~nondet15, main_#t~ret16, main_#t~nondet17, main_#t~nondet18, main_#t~ret19, main_#t~short20, main_~n~0, main_~result~0, main_~f1~0, main_~f2~0;main_~n~0 := main_#t~nondet15;havoc main_#t~nondet15; 4054#L78 assume !(main_~n~0 < 1 || main_~n~0 > 46340);is_prime_#in~n := main_~n~0;havoc is_prime_#res;havoc is_prime_#t~ret12, is_prime_~n;is_prime_~n := is_prime_#in~n; 4070#L53 call is_prime_#t~ret12 := is_prime_(is_prime_~n, is_prime_~n - 1);< 4088#is_prime_ENTRY ~n := #in~n;~m := #in~m; 4110#L58 assume !(~n <= 1); 4106#L61 assume 2 == ~n;#res := 1; 4103#is_prime_FINAL assume true; 4102#is_prime_EXIT >#120#return; 4052#L53-1 is_prime_#res := is_prime_#t~ret12;havoc is_prime_#t~ret12; 4046#L53-2 main_#t~ret16 := is_prime_#res;main_~result~0 := main_#t~ret16;havoc main_#t~ret16;main_~f1~0 := main_#t~nondet17;havoc main_#t~nondet17; 4047#L85 assume !(main_~f1~0 < 1 || main_~f1~0 > 46340);main_~f2~0 := main_#t~nondet18;havoc main_#t~nondet18; 4025#L91 assume !(main_~f2~0 < 1 || main_~f2~0 > 46340);main_#t~short20 := 1 == main_~result~0; 4026#L97 assume main_#t~short20; 4022#L97-1 call main_#t~ret19 := mult(main_~f1~0, main_~f2~0);< 4074#multENTRY ~n := #in~n;~m := #in~m; 4076#L18 assume !(~m < 0); 4060#L21 assume !(0 == ~m); 4062#L24 assume !(1 == ~m); 4019#L27 call #t~ret8 := mult(~n, ~m - 1);< 4021#multENTRY ~n := #in~n;~m := #in~m; 4124#L18 assume ~m < 0; 4066#L19 [2020-11-29 23:37:56,669 INFO L796 eck$LassoCheckResult]: Loop: 4066#L19 call #t~ret7 := mult(~n, -~m);< 4067#multENTRY ~n := #in~n;~m := #in~m; 4134#L18 assume ~m < 0; 4066#L19 [2020-11-29 23:37:56,669 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:56,669 INFO L82 PathProgramCache]: Analyzing trace with hash 466508726, now seen corresponding path program 1 times [2020-11-29 23:37:56,669 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:56,670 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [701315777] [2020-11-29 23:37:56,670 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:56,678 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:56,717 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 3 [2020-11-29 23:37:56,717 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:56,719 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:56,719 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [701315777] [2020-11-29 23:37:56,720 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 23:37:56,720 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-11-29 23:37:56,720 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [358267912] [2020-11-29 23:37:56,720 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-11-29 23:37:56,720 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:56,721 INFO L82 PathProgramCache]: Analyzing trace with hash 141077, now seen corresponding path program 2 times [2020-11-29 23:37:56,721 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:56,721 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1722312217] [2020-11-29 23:37:56,721 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:56,723 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:56,723 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:56,725 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:56,725 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:56,727 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:56,803 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:56,803 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:56,804 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:56,804 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:56,804 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 23:37:56,804 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:56,804 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:56,804 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:56,804 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2020-11-29 23:37:56,804 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:56,804 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:56,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-11-29 23:37:56,807 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:56,810 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:56,816 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:56,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-11-29 23:37:56,872 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:56,872 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:56,876 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:56,876 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:56,878 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:56,878 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:56,902 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:56,902 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:56,904 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:56,904 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:56,943 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:56,943 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:56,947 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 23:37:56,947 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 /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:56,972 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 23:37:56,972 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:56,999 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 23:37:56,999 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 23:37:58,123 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 23:37:58,125 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 23:37:58,125 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 23:37:58,125 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 23:37:58,125 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 23:37:58,125 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 23:37:58,125 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 23:37:58,126 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 23:37:58,126 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 23:37:58,126 INFO L133 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2020-11-29 23:37:58,126 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 23:37:58,126 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 23:37:58,126 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:58,129 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:58,132 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:58,169 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:58,176 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 23:37:58,227 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 23:37:58,227 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:58,230 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 23:37:58,231 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:58,231 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:58,231 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:58,231 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:58,231 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:58,232 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:58,232 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:58,233 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:58,257 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 23:37:58,258 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:58,258 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:58,259 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:58,259 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:58,259 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:58,259 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:58,259 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:58,260 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:58,286 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-11-29 23:37:58,287 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:58,287 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:58,288 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:58,288 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:58,288 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:58,289 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:58,289 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:58,291 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:58,316 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-11-29 23:37:58,317 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 23:37:58,317 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 23:37:58,317 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 23:37:58,317 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 23:37:58,318 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 23:37:58,319 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 23:37:58,319 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 23:37:58,321 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 23:37:58,323 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-11-29 23:37:58,323 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:58,329 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 23:37:58,329 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 23:37:58,329 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 23:37:58,329 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] [2020-11-29 23:37:58,351 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 23:37:58,364 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:58,399 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:58,400 INFO L263 TraceCheckSpWp]: Trace formula consists of 179 conjuncts, 8 conjunts are in the unsatisfiable core [2020-11-29 23:37:58,402 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:58,452 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:58,453 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjunts are in the unsatisfiable core [2020-11-29 23:37:58,453 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:58,496 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:58,497 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-11-29 23:37:58,497 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 187 states and 252 transitions. cyclomatic complexity: 74 Second operand 5 states. [2020-11-29 23:37:58,618 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-11-29 23:37:58,619 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-11-29 23:37:58,620 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-11-29 23:37:58,620 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 54 transitions. [2020-11-29 23:37:58,620 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 22 letters. Loop has 3 letters. [2020-11-29 23:37:58,620 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:58,620 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 25 letters. Loop has 3 letters. [2020-11-29 23:37:58,621 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:58,621 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 22 letters. Loop has 6 letters. [2020-11-29 23:37:58,621 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 23:37:58,621 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 228 states and 298 transitions. [2020-11-29 23:37:58,625 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2020-11-29 23:37:58,628 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 228 states to 218 states and 288 transitions. [2020-11-29 23:37:58,628 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 184 [2020-11-29 23:37:58,629 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 186 [2020-11-29 23:37:58,629 INFO L73 IsDeterministic]: Start isDeterministic. Operand 218 states and 288 transitions. [2020-11-29 23:37:58,629 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:58,629 INFO L691 BuchiCegarLoop]: Abstraction has 218 states and 288 transitions. [2020-11-29 23:37:58,630 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 218 states and 288 transitions. [2020-11-29 23:37:58,635 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 218 to 205. [2020-11-29 23:37:58,636 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 205 states. [2020-11-29 23:37:58,637 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 205 states to 205 states and 274 transitions. [2020-11-29 23:37:58,638 INFO L714 BuchiCegarLoop]: Abstraction has 205 states and 274 transitions. [2020-11-29 23:37:58,638 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 23:37:58,638 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-11-29 23:37:58,638 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2020-11-29 23:37:58,639 INFO L87 Difference]: Start difference. First operand 205 states and 274 transitions. Second operand 5 states. [2020-11-29 23:37:58,686 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 23:37:58,687 INFO L93 Difference]: Finished difference Result 201 states and 265 transitions. [2020-11-29 23:37:58,687 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-11-29 23:37:58,688 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 201 states and 265 transitions. [2020-11-29 23:37:58,690 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-11-29 23:37:58,693 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 201 states to 145 states and 177 transitions. [2020-11-29 23:37:58,693 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 135 [2020-11-29 23:37:58,693 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 135 [2020-11-29 23:37:58,693 INFO L73 IsDeterministic]: Start isDeterministic. Operand 145 states and 177 transitions. [2020-11-29 23:37:58,694 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:58,694 INFO L691 BuchiCegarLoop]: Abstraction has 145 states and 177 transitions. [2020-11-29 23:37:58,694 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 145 states and 177 transitions. [2020-11-29 23:37:58,698 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 145 to 125. [2020-11-29 23:37:58,698 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 125 states. [2020-11-29 23:37:58,699 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 125 states to 125 states and 154 transitions. [2020-11-29 23:37:58,699 INFO L714 BuchiCegarLoop]: Abstraction has 125 states and 154 transitions. [2020-11-29 23:37:58,700 INFO L594 BuchiCegarLoop]: Abstraction has 125 states and 154 transitions. [2020-11-29 23:37:58,700 INFO L427 BuchiCegarLoop]: ======== Iteration 10============ [2020-11-29 23:37:58,700 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 125 states and 154 transitions. [2020-11-29 23:37:58,701 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-11-29 23:37:58,701 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:58,701 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:58,702 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-11-29 23:37:58,702 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2020-11-29 23:37:58,703 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-11-29 23:37:58,703 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-11-29 23:37:58,703 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:58,703 INFO L82 PathProgramCache]: Analyzing trace with hash 1630507919, now seen corresponding path program 1 times [2020-11-29 23:37:58,704 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:58,704 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1365727392] [2020-11-29 23:37:58,704 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:58,712 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:58,782 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 8 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:58,783 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1365727392] [2020-11-29 23:37:58,783 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [423892871] [2020-11-29 23:37:58,783 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/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-11-29 23:37:58,831 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 23:37:58,832 INFO L263 TraceCheckSpWp]: Trace formula consists of 93 conjuncts, 11 conjunts are in the unsatisfiable core [2020-11-29 23:37:58,833 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 23:37:58,856 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 8 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 23:37:58,856 INFO L219 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-11-29 23:37:58,856 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 8 [2020-11-29 23:37:58,856 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [179186107] [2020-11-29 23:37:58,857 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-11-29 23:37:58,857 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:58,857 INFO L82 PathProgramCache]: Analyzing trace with hash 1914411566, now seen corresponding path program 1 times [2020-11-29 23:37:58,857 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:58,857 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1463401889] [2020-11-29 23:37:58,857 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:58,861 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:58,861 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:58,864 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:58,864 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:58,865 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:59,143 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 23:37:59,144 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2020-11-29 23:37:59,144 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2020-11-29 23:37:59,144 INFO L87 Difference]: Start difference. First operand 125 states and 154 transitions. cyclomatic complexity: 35 Second operand 8 states. [2020-11-29 23:37:59,340 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 23:37:59,341 INFO L93 Difference]: Finished difference Result 147 states and 183 transitions. [2020-11-29 23:37:59,341 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2020-11-29 23:37:59,341 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 147 states and 183 transitions. [2020-11-29 23:37:59,344 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-11-29 23:37:59,346 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 147 states to 145 states and 181 transitions. [2020-11-29 23:37:59,346 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 130 [2020-11-29 23:37:59,346 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 130 [2020-11-29 23:37:59,346 INFO L73 IsDeterministic]: Start isDeterministic. Operand 145 states and 181 transitions. [2020-11-29 23:37:59,346 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 23:37:59,346 INFO L691 BuchiCegarLoop]: Abstraction has 145 states and 181 transitions. [2020-11-29 23:37:59,347 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 145 states and 181 transitions. [2020-11-29 23:37:59,350 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 145 to 143. [2020-11-29 23:37:59,351 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 143 states. [2020-11-29 23:37:59,352 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 143 states to 143 states and 173 transitions. [2020-11-29 23:37:59,352 INFO L714 BuchiCegarLoop]: Abstraction has 143 states and 173 transitions. [2020-11-29 23:37:59,352 INFO L594 BuchiCegarLoop]: Abstraction has 143 states and 173 transitions. [2020-11-29 23:37:59,352 INFO L427 BuchiCegarLoop]: ======== Iteration 11============ [2020-11-29 23:37:59,352 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 143 states and 173 transitions. [2020-11-29 23:37:59,353 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2020-11-29 23:37:59,353 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 23:37:59,354 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 23:37:59,354 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-11-29 23:37:59,355 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2020-11-29 23:37:59,355 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-11-29 23:37:59,357 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-11-29 23:37:59,359 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:59,359 INFO L82 PathProgramCache]: Analyzing trace with hash 1699001928, now seen corresponding path program 2 times [2020-11-29 23:37:59,360 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:59,360 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1895553962] [2020-11-29 23:37:59,360 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:59,371 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:59,371 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:59,381 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:59,381 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:59,388 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:59,388 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:59,389 INFO L82 PathProgramCache]: Analyzing trace with hash 1914411566, now seen corresponding path program 2 times [2020-11-29 23:37:59,389 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:59,389 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [895837444] [2020-11-29 23:37:59,389 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:59,397 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:59,397 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:59,403 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:59,403 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:59,410 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:59,410 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 23:37:59,411 INFO L82 PathProgramCache]: Analyzing trace with hash -186489931, now seen corresponding path program 3 times [2020-11-29 23:37:59,411 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 23:37:59,411 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1191968495] [2020-11-29 23:37:59,411 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 23:37:59,426 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:59,427 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:59,439 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 23:37:59,439 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 23:37:59,446 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 23:37:59,975 WARN L193 SmtUtils]: Spent 100.00 ms on a formula simplification. DAG size of input: 37 DAG size of output: 29 [2020-11-29 23:38:00,490 WARN L193 SmtUtils]: Spent 198.00 ms on a formula simplification. DAG size of input: 75 DAG size of output: 69 [2020-11-29 23:38:00,786 WARN L193 SmtUtils]: Spent 195.00 ms on a formula simplification. DAG size of input: 84 DAG size of output: 76 [2020-11-29 23:38:00,888 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 29.11 11:38:00 BoogieIcfgContainer [2020-11-29 23:38:00,888 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-11-29 23:38:00,889 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-11-29 23:38:00,889 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-11-29 23:38:00,889 INFO L275 PluginConnector]: Witness Printer initialized [2020-11-29 23:38:00,890 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 11:37:43" (3/4) ... [2020-11-29 23:38:00,893 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-11-29 23:38:00,936 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/run_dir_2921bcd7-fd8a-470b-b799-cf9c41235a62/bin/uautomizer/witness.graphml [2020-11-29 23:38:00,937 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-11-29 23:38:00,938 INFO L168 Benchmark]: Toolchain (without parser) took 18665.69 ms. Allocated memory was 138.4 MB in the beginning and 211.8 MB in the end (delta: 73.4 MB). Free memory was 102.1 MB in the beginning and 81.7 MB in the end (delta: 20.5 MB). Peak memory consumption was 92.8 MB. Max. memory is 16.1 GB. [2020-11-29 23:38:00,938 INFO L168 Benchmark]: CDTParser took 1.03 ms. Allocated memory is still 138.4 MB. Free memory was 112.0 MB in the beginning and 112.0 MB in the end (delta: 29.8 kB). There was no memory consumed. Max. memory is 16.1 GB. [2020-11-29 23:38:00,939 INFO L168 Benchmark]: CACSL2BoogieTranslator took 308.54 ms. Allocated memory is still 138.4 MB. Free memory was 101.7 MB in the beginning and 112.7 MB in the end (delta: -10.9 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. [2020-11-29 23:38:00,939 INFO L168 Benchmark]: Boogie Procedure Inliner took 39.63 ms. Allocated memory is still 138.4 MB. Free memory was 112.7 MB in the beginning and 110.6 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-11-29 23:38:00,940 INFO L168 Benchmark]: Boogie Preprocessor took 28.46 ms. Allocated memory is still 138.4 MB. Free memory was 110.6 MB in the beginning and 110.2 MB in the end (delta: 322.1 kB). There was no memory consumed. Max. memory is 16.1 GB. [2020-11-29 23:38:00,940 INFO L168 Benchmark]: RCFGBuilder took 549.38 ms. Allocated memory is still 138.4 MB. Free memory was 109.4 MB in the beginning and 91.7 MB in the end (delta: 17.7 MB). Peak memory consumption was 16.8 MB. Max. memory is 16.1 GB. [2020-11-29 23:38:00,941 INFO L168 Benchmark]: BuchiAutomizer took 17676.72 ms. Allocated memory was 138.4 MB in the beginning and 211.8 MB in the end (delta: 73.4 MB). Free memory was 91.7 MB in the beginning and 83.7 MB in the end (delta: 8.0 MB). Peak memory consumption was 108.2 MB. Max. memory is 16.1 GB. [2020-11-29 23:38:00,941 INFO L168 Benchmark]: Witness Printer took 47.88 ms. Allocated memory is still 211.8 MB. Free memory was 82.7 MB in the beginning and 81.7 MB in the end (delta: 989.0 kB). There was no memory consumed. Max. memory is 16.1 GB. [2020-11-29 23:38:00,943 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.03 ms. Allocated memory is still 138.4 MB. Free memory was 112.0 MB in the beginning and 112.0 MB in the end (delta: 29.8 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 308.54 ms. Allocated memory is still 138.4 MB. Free memory was 101.7 MB in the beginning and 112.7 MB in the end (delta: -10.9 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 39.63 ms. Allocated memory is still 138.4 MB. Free memory was 112.7 MB in the beginning and 110.6 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 28.46 ms. Allocated memory is still 138.4 MB. Free memory was 110.6 MB in the beginning and 110.2 MB in the end (delta: 322.1 kB). There was no memory consumed. Max. memory is 16.1 GB. * RCFGBuilder took 549.38 ms. Allocated memory is still 138.4 MB. Free memory was 109.4 MB in the beginning and 91.7 MB in the end (delta: 17.7 MB). Peak memory consumption was 16.8 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 17676.72 ms. Allocated memory was 138.4 MB in the beginning and 211.8 MB in the end (delta: 73.4 MB). Free memory was 91.7 MB in the beginning and 83.7 MB in the end (delta: 8.0 MB). Peak memory consumption was 108.2 MB. Max. memory is 16.1 GB. * Witness Printer took 47.88 ms. Allocated memory is still 211.8 MB. Free memory was 82.7 MB in the beginning and 81.7 MB in the end (delta: 989.0 kB). There was no memory consumed. Max. memory is 16.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 15 terminating modules (8 trivial, 7 deterministic, 0 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function \old(m) and consists of 13 locations. One deterministic module has affine ranking function m and consists of 5 locations. One deterministic module has affine ranking function -1 * \old(m) and consists of 5 locations. One deterministic module has affine ranking function -1 * \old(n) and consists of 4 locations. One deterministic module has affine ranking function \old(n) and consists of 7 locations. One deterministic module has affine ranking function m and consists of 6 locations. One deterministic module has affine ranking function m and consists of 5 locations. 8 modules have a trivial ranking function, the largest among these consists of 10 locations. The remainder module has 143 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 17.5s and 11 iterations. TraceHistogramMax:4. Analysis of lassos took 12.4s. Construction of modules took 1.5s. Büchi inclusion checks took 3.0s. 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.5s 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: 28ms VariablesStem: 0 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 0 MotzkinApplications: 2 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 23 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 7 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 3.9s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 44]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {NULL=1} State at position 1 is {n=0, NULL=4, NULL=0, NULL=3, \result=0, NULL=1, f1=0, m=0, n=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@17fe9ab4=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@274653b7=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@779b802e=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@54277020=0, NULL=0, result=0, f2=0, m=2, n=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTBinaryExpression@6af61152=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3645afa9=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3f6e6da8=0, \result=0, NULL=3, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3d4e2861=0, NULL=0, NULL=0, NULL=0, NULL=2, NULL=2, \old(n)=1, \old(m)=2, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@3f544c=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@160b6cb8=0, n=0, NULL=4, NULL=0, NULL=0, \old(n)=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@2dac64ec=0, \result=0, \old(m)=0, \old(n)=0, NULL=0, NULL=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@1b457b97=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...