./Ultimate.py --spec /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/properties/termination.prp --file /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive/Primes.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 84cfde4a Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive/Primes.c -s /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --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 16beca065b3aeb336c54dcf96f3abbe61553e7d28b28c1a40f525ad89a5da56e --- Real Ultimate output --- This is Ultimate 0.2.5-dev-84cfde4 [2024-10-12 00:59:21,463 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-12 00:59:21,546 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2024-10-12 00:59:21,553 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-12 00:59:21,554 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-12 00:59:21,588 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-12 00:59:21,588 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-12 00:59:21,589 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-12 00:59:21,590 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-12 00:59:21,593 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-12 00:59:21,593 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-12 00:59:21,594 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-12 00:59:21,594 INFO L153 SettingsManager]: * Use SBE=true [2024-10-12 00:59:21,594 INFO L151 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2024-10-12 00:59:21,595 INFO L153 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2024-10-12 00:59:21,595 INFO L153 SettingsManager]: * Use old map elimination=false [2024-10-12 00:59:21,595 INFO L153 SettingsManager]: * Use external solver (rank synthesis)=false [2024-10-12 00:59:21,596 INFO L153 SettingsManager]: * Use only trivial implications for array writes=true [2024-10-12 00:59:21,597 INFO L153 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2024-10-12 00:59:21,597 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-12 00:59:21,598 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2024-10-12 00:59:21,598 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-12 00:59:21,599 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-12 00:59:21,599 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-12 00:59:21,599 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-12 00:59:21,599 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2024-10-12 00:59:21,600 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2024-10-12 00:59:21,600 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2024-10-12 00:59:21,600 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-12 00:59:21,601 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-12 00:59:21,601 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-12 00:59:21,601 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-12 00:59:21,601 INFO L153 SettingsManager]: * Assume nondeterminstic values are in range=false [2024-10-12 00:59:21,602 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-12 00:59:21,602 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-12 00:59:21,603 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-12 00:59:21,603 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-12 00:59:21,603 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-12 00:59:21,604 INFO L151 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2024-10-12 00:59:21,605 INFO L153 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 -> 16beca065b3aeb336c54dcf96f3abbe61553e7d28b28c1a40f525ad89a5da56e [2024-10-12 00:59:21,862 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-12 00:59:21,892 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-12 00:59:21,896 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-12 00:59:21,898 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-12 00:59:21,899 INFO L274 PluginConnector]: CDTParser initialized [2024-10-12 00:59:21,900 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive/Primes.c [2024-10-12 00:59:23,365 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-12 00:59:23,560 INFO L384 CDTParser]: Found 1 translation units. [2024-10-12 00:59:23,560 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive/Primes.c [2024-10-12 00:59:23,568 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/2a3ce17cf/21f8668db9cc4de9b7281bfd8160487e/FLAGd0e263dad [2024-10-12 00:59:23,580 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/data/2a3ce17cf/21f8668db9cc4de9b7281bfd8160487e [2024-10-12 00:59:23,582 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-12 00:59:23,584 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-12 00:59:23,588 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-12 00:59:23,588 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-12 00:59:23,593 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-12 00:59:23,593 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,594 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5f045be2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23, skipping insertion in model container [2024-10-12 00:59:23,594 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,617 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-12 00:59:23,835 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-12 00:59:23,857 INFO L200 MainTranslator]: Completed pre-run [2024-10-12 00:59:23,883 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-12 00:59:23,901 INFO L204 MainTranslator]: Completed translation [2024-10-12 00:59:23,902 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23 WrapperNode [2024-10-12 00:59:23,902 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-12 00:59:23,903 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-12 00:59:23,904 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-12 00:59:23,904 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-12 00:59:23,912 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,919 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,937 INFO L138 Inliner]: procedures = 16, calls = 18, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 51 [2024-10-12 00:59:23,937 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-12 00:59:23,938 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-12 00:59:23,938 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-12 00:59:23,938 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-12 00:59:23,948 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,949 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,950 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,968 INFO L175 MemorySlicer]: Split 2 memory accesses to 1 slices as follows [2]. 100 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2]. The 0 writes are split as follows [0]. [2024-10-12 00:59:23,968 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,968 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,973 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,980 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,981 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,982 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,985 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-12 00:59:23,986 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-12 00:59:23,987 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-12 00:59:23,987 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-12 00:59:23,987 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (1/1) ... [2024-10-12 00:59:23,993 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:24,002 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:24,015 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:24,021 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2024-10-12 00:59:24,067 INFO L130 BoogieDeclarations]: Found specification of procedure multiple_of [2024-10-12 00:59:24,067 INFO L138 BoogieDeclarations]: Found implementation of procedure multiple_of [2024-10-12 00:59:24,067 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-12 00:59:24,067 INFO L130 BoogieDeclarations]: Found specification of procedure mult [2024-10-12 00:59:24,067 INFO L138 BoogieDeclarations]: Found implementation of procedure mult [2024-10-12 00:59:24,067 INFO L130 BoogieDeclarations]: Found specification of procedure is_prime_ [2024-10-12 00:59:24,067 INFO L138 BoogieDeclarations]: Found implementation of procedure is_prime_ [2024-10-12 00:59:24,067 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-10-12 00:59:24,068 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-12 00:59:24,068 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-12 00:59:24,123 INFO L238 CfgBuilder]: Building ICFG [2024-10-12 00:59:24,125 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-12 00:59:24,305 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-10-12 00:59:24,305 INFO L287 CfgBuilder]: Performing block encoding [2024-10-12 00:59:24,327 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-12 00:59:24,328 INFO L314 CfgBuilder]: Removed 0 assume(true) statements. [2024-10-12 00:59:24,328 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.10 12:59:24 BoogieIcfgContainer [2024-10-12 00:59:24,328 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-12 00:59:24,330 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2024-10-12 00:59:24,330 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2024-10-12 00:59:24,334 INFO L274 PluginConnector]: BuchiAutomizer initialized [2024-10-12 00:59:24,334 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-10-12 00:59:24,335 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 12.10 12:59:23" (1/3) ... [2024-10-12 00:59:24,336 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@4bcb1960 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 12.10 12:59:24, skipping insertion in model container [2024-10-12 00:59:24,337 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-10-12 00:59:24,337 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 12:59:23" (2/3) ... [2024-10-12 00:59:24,337 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@4bcb1960 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 12.10 12:59:24, skipping insertion in model container [2024-10-12 00:59:24,338 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-10-12 00:59:24,338 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.10 12:59:24" (3/3) ... [2024-10-12 00:59:24,340 INFO L332 chiAutomizerObserver]: Analyzing ICFG Primes.c [2024-10-12 00:59:24,428 INFO L300 stractBuchiCegarLoop]: Interprodecural is true [2024-10-12 00:59:24,429 INFO L301 stractBuchiCegarLoop]: Hoare is None [2024-10-12 00:59:24,429 INFO L302 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2024-10-12 00:59:24,429 INFO L303 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2024-10-12 00:59:24,429 INFO L304 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2024-10-12 00:59:24,429 INFO L305 stractBuchiCegarLoop]: Difference is false [2024-10-12 00:59:24,430 INFO L306 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2024-10-12 00:59:24,430 INFO L310 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2024-10-12 00:59:24,436 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 51 states, 38 states have (on average 1.4473684210526316) internal successors, (55), 38 states have internal predecessors, (55), 9 states have call successors, (9), 3 states have call predecessors, (9), 3 states have return successors, (9), 9 states have call predecessors, (9), 9 states have call successors, (9) [2024-10-12 00:59:24,461 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2024-10-12 00:59:24,461 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:24,461 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:24,466 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2024-10-12 00:59:24,467 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:24,467 INFO L332 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2024-10-12 00:59:24,467 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 51 states, 38 states have (on average 1.4473684210526316) internal successors, (55), 38 states have internal predecessors, (55), 9 states have call successors, (9), 3 states have call predecessors, (9), 3 states have return successors, (9), 9 states have call predecessors, (9), 9 states have call successors, (9) [2024-10-12 00:59:24,472 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2024-10-12 00:59:24,472 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:24,472 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:24,473 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2024-10-12 00:59:24,473 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:24,480 INFO L745 eck$LassoCheckResult]: Stem: 26#$Ultimate##0true assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 34#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 20#L78true assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 28#L53true call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 4#$Ultimate##0true [2024-10-12 00:59:24,481 INFO L747 eck$LassoCheckResult]: Loop: 4#$Ultimate##0true ~n := #in~n;~m := #in~m; 51#L58true assume !(~n <= 1); 36#L61true assume !(2 == ~n); 48#L64true assume ~n > 2; 10#L65true assume !(~m <= 1); 32#L68true call #t~ret10 := multiple_of(~n, ~m);< 17#$Ultimate##0true ~n := #in~n;~m := #in~m; 43#L32true assume !(~m < 0); 49#L35true assume !(~n < 0); 19#L38true assume 0 == ~m;#res := 0; 23#multiple_ofFINALtrue assume true; 24#multiple_ofEXITtrue >#124#return; 25#L68-1true assume !(0 == #t~ret10);havoc #t~ret10; 5#L71true call #t~ret11 := is_prime_(~n, ~m - 1);< 4#$Ultimate##0true [2024-10-12 00:59:24,488 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:24,488 INFO L85 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 1 times [2024-10-12 00:59:24,497 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:24,497 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1677255395] [2024-10-12 00:59:24,498 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:24,498 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:24,583 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:24,584 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:24,593 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:24,619 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:24,622 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:24,622 INFO L85 PathProgramCache]: Analyzing trace with hash -2140609117, now seen corresponding path program 1 times [2024-10-12 00:59:24,622 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:24,623 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1493062161] [2024-10-12 00:59:24,623 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:24,623 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:24,642 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:24,751 INFO L368 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2024-10-12 00:59:24,756 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:24,830 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:24,830 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-12 00:59:24,830 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1493062161] [2024-10-12 00:59:24,831 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1493062161] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-12 00:59:24,831 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-12 00:59:24,831 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2024-10-12 00:59:24,832 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [418918441] [2024-10-12 00:59:24,836 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-12 00:59:24,842 INFO L762 eck$LassoCheckResult]: loop already infeasible [2024-10-12 00:59:24,843 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-12 00:59:24,870 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-10-12 00:59:24,871 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2024-10-12 00:59:24,873 INFO L87 Difference]: Start difference. First operand has 51 states, 38 states have (on average 1.4473684210526316) internal successors, (55), 38 states have internal predecessors, (55), 9 states have call successors, (9), 3 states have call predecessors, (9), 3 states have return successors, (9), 9 states have call predecessors, (9), 9 states have call successors, (9) Second operand has 5 states, 4 states have (on average 2.75) internal successors, (11), 5 states have internal predecessors, (11), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-10-12 00:59:25,011 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-12 00:59:25,012 INFO L93 Difference]: Finished difference Result 58 states and 84 transitions. [2024-10-12 00:59:25,013 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 58 states and 84 transitions. [2024-10-12 00:59:25,019 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2024-10-12 00:59:25,028 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 58 states to 41 states and 54 transitions. [2024-10-12 00:59:25,029 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 41 [2024-10-12 00:59:25,030 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 41 [2024-10-12 00:59:25,030 INFO L73 IsDeterministic]: Start isDeterministic. Operand 41 states and 54 transitions. [2024-10-12 00:59:25,031 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-10-12 00:59:25,032 INFO L218 hiAutomatonCegarLoop]: Abstraction has 41 states and 54 transitions. [2024-10-12 00:59:25,044 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 41 states and 54 transitions. [2024-10-12 00:59:25,052 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 41 to 39. [2024-10-12 00:59:25,053 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 39 states, 28 states have (on average 1.3214285714285714) internal successors, (37), 30 states have internal predecessors, (37), 9 states have call successors, (9), 3 states have call predecessors, (9), 2 states have return successors, (5), 5 states have call predecessors, (5), 5 states have call successors, (5) [2024-10-12 00:59:25,054 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 51 transitions. [2024-10-12 00:59:25,055 INFO L240 hiAutomatonCegarLoop]: Abstraction has 39 states and 51 transitions. [2024-10-12 00:59:25,056 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-10-12 00:59:25,059 INFO L425 stractBuchiCegarLoop]: Abstraction has 39 states and 51 transitions. [2024-10-12 00:59:25,060 INFO L332 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2024-10-12 00:59:25,060 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 39 states and 51 transitions. [2024-10-12 00:59:25,061 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2024-10-12 00:59:25,061 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:25,061 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:25,062 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2024-10-12 00:59:25,062 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:25,062 INFO L745 eck$LassoCheckResult]: Stem: 166#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 142#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 143#L78 assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 136#L53 call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 134#$Ultimate##0 [2024-10-12 00:59:25,062 INFO L747 eck$LassoCheckResult]: Loop: 134#$Ultimate##0 ~n := #in~n;~m := #in~m; 137#L58 assume !(~n <= 1); 153#L61 assume !(2 == ~n); 154#L64 assume ~n > 2; 148#L65 assume !(~m <= 1); 131#L68 call #t~ret10 := multiple_of(~n, ~m);< 141#$Ultimate##0 ~n := #in~n;~m := #in~m; 160#L32 assume !(~m < 0); 163#L35 assume !(~n < 0); 161#L38 assume !(0 == ~m); 162#L41 assume 0 == ~n;#res := 1; 133#multiple_ofFINAL assume true; 164#multiple_ofEXIT >#124#return; 165#L68-1 assume !(0 == #t~ret10);havoc #t~ret10; 135#L71 call #t~ret11 := is_prime_(~n, ~m - 1);< 134#$Ultimate##0 [2024-10-12 00:59:25,063 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:25,063 INFO L85 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 2 times [2024-10-12 00:59:25,063 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:25,064 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1557182607] [2024-10-12 00:59:25,064 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:25,064 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:25,073 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:25,073 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:25,079 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:25,082 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:25,083 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:25,083 INFO L85 PathProgramCache]: Analyzing trace with hash -1912428317, now seen corresponding path program 1 times [2024-10-12 00:59:25,084 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:25,084 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1678308595] [2024-10-12 00:59:25,084 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:25,084 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:25,093 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:25,133 INFO L368 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2024-10-12 00:59:25,137 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:25,191 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:25,192 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-12 00:59:25,192 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1678308595] [2024-10-12 00:59:25,192 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1678308595] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-12 00:59:25,192 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-12 00:59:25,193 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2024-10-12 00:59:25,193 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [455298391] [2024-10-12 00:59:25,193 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-12 00:59:25,194 INFO L762 eck$LassoCheckResult]: loop already infeasible [2024-10-12 00:59:25,194 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-12 00:59:25,195 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-10-12 00:59:25,196 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2024-10-12 00:59:25,196 INFO L87 Difference]: Start difference. First operand 39 states and 51 transitions. cyclomatic complexity: 15 Second operand has 5 states, 5 states have (on average 2.4) internal successors, (12), 5 states have internal predecessors, (12), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-10-12 00:59:25,297 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-12 00:59:25,298 INFO L93 Difference]: Finished difference Result 45 states and 60 transitions. [2024-10-12 00:59:25,298 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 45 states and 60 transitions. [2024-10-12 00:59:25,302 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2024-10-12 00:59:25,304 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 45 states to 45 states and 60 transitions. [2024-10-12 00:59:25,306 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 45 [2024-10-12 00:59:25,307 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 45 [2024-10-12 00:59:25,307 INFO L73 IsDeterministic]: Start isDeterministic. Operand 45 states and 60 transitions. [2024-10-12 00:59:25,308 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-10-12 00:59:25,308 INFO L218 hiAutomatonCegarLoop]: Abstraction has 45 states and 60 transitions. [2024-10-12 00:59:25,308 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 45 states and 60 transitions. [2024-10-12 00:59:25,313 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 45 to 41. [2024-10-12 00:59:25,314 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 41 states, 29 states have (on average 1.3103448275862069) internal successors, (38), 32 states have internal predecessors, (38), 9 states have call successors, (9), 3 states have call predecessors, (9), 3 states have return successors, (7), 5 states have call predecessors, (7), 5 states have call successors, (7) [2024-10-12 00:59:25,315 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 54 transitions. [2024-10-12 00:59:25,315 INFO L240 hiAutomatonCegarLoop]: Abstraction has 41 states and 54 transitions. [2024-10-12 00:59:25,316 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-10-12 00:59:25,316 INFO L425 stractBuchiCegarLoop]: Abstraction has 41 states and 54 transitions. [2024-10-12 00:59:25,317 INFO L332 stractBuchiCegarLoop]: ======== Iteration 3 ============ [2024-10-12 00:59:25,317 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 41 states and 54 transitions. [2024-10-12 00:59:25,318 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 22 [2024-10-12 00:59:25,318 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:25,318 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:25,319 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2024-10-12 00:59:25,319 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:25,319 INFO L745 eck$LassoCheckResult]: Stem: 268#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 245#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 246#L78 assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 237#L53 call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 235#$Ultimate##0 [2024-10-12 00:59:25,320 INFO L747 eck$LassoCheckResult]: Loop: 235#$Ultimate##0 ~n := #in~n;~m := #in~m; 238#L58 assume !(~n <= 1); 256#L61 assume !(2 == ~n); 257#L64 assume ~n > 2; 249#L65 assume !(~m <= 1); 232#L68 call #t~ret10 := multiple_of(~n, ~m);< 242#$Ultimate##0 ~n := #in~n;~m := #in~m; 262#L32 assume !(~m < 0); 265#L35 assume !(~n < 0); 263#L38 assume !(0 == ~m); 264#L41 assume !(0 == ~n); 233#L44 call #t~ret8 := multiple_of(~n - ~m, ~m);< 242#$Ultimate##0 ~n := #in~n;~m := #in~m; 262#L32 assume !(~m < 0); 265#L35 assume !(~n < 0); 263#L38 assume !(0 == ~m); 264#L41 assume 0 == ~n;#res := 1; 255#multiple_ofFINAL assume true; 266#multiple_ofEXIT >#114#return; 229#L44-1 #res := #t~ret8;havoc #t~ret8; 234#multiple_ofFINAL assume true; 269#multiple_ofEXIT >#124#return; 267#L68-1 assume !(0 == #t~ret10);havoc #t~ret10; 236#L71 call #t~ret11 := is_prime_(~n, ~m - 1);< 235#$Ultimate##0 [2024-10-12 00:59:25,320 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:25,320 INFO L85 PathProgramCache]: Analyzing trace with hash 2218665, now seen corresponding path program 3 times [2024-10-12 00:59:25,321 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:25,321 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [587237883] [2024-10-12 00:59:25,321 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:25,322 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:25,331 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:25,331 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:25,336 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:25,338 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:25,339 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:25,339 INFO L85 PathProgramCache]: Analyzing trace with hash -1879332525, now seen corresponding path program 1 times [2024-10-12 00:59:25,339 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:25,339 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2092307180] [2024-10-12 00:59:25,340 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:25,340 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:25,356 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:25,356 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:25,370 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:25,378 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:25,379 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:25,379 INFO L85 PathProgramCache]: Analyzing trace with hash 1583483899, now seen corresponding path program 1 times [2024-10-12 00:59:25,383 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:25,383 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1723571632] [2024-10-12 00:59:25,383 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:25,384 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:25,399 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:25,521 INFO L368 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 9 [2024-10-12 00:59:25,526 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:25,604 INFO L368 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2024-10-12 00:59:25,608 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:25,648 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-10-12 00:59:25,648 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-12 00:59:25,649 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1723571632] [2024-10-12 00:59:25,649 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1723571632] provided 0 perfect and 1 imperfect interpolant sequences [2024-10-12 00:59:25,649 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1172834806] [2024-10-12 00:59:25,649 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:25,649 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-12 00:59:25,649 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:25,651 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-10-12 00:59:25,653 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2024-10-12 00:59:25,708 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:25,710 INFO L255 TraceCheckSpWp]: Trace formula consists of 88 conjuncts, 11 conjuncts are in the unsatisfiable core [2024-10-12 00:59:25,713 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:25,846 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-10-12 00:59:25,846 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-10-12 00:59:26,160 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-10-12 00:59:26,162 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1172834806] provided 0 perfect and 2 imperfect interpolant sequences [2024-10-12 00:59:26,162 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-10-12 00:59:26,162 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8, 8] total 12 [2024-10-12 00:59:26,162 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2005572272] [2024-10-12 00:59:26,163 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-10-12 00:59:26,523 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:26,524 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:26,524 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:26,524 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:26,524 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-12 00:59:26,524 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:26,524 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:26,524 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:26,524 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2024-10-12 00:59:26,525 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:26,525 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:26,535 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:26,541 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:26,543 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:26,545 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:26,554 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:26,557 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:26,614 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:26,614 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-12 00:59:26,617 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:26,617 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:26,636 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:26,638 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Waiting until timeout for monitored process [2024-10-12 00:59:26,639 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:26,640 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:26,655 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:26,655 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__#t~ret11=0} Honda state: {is_prime__#t~ret11=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:26,670 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Ended with exit code 0 [2024-10-12 00:59:26,671 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:26,671 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:26,672 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:26,673 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Waiting until timeout for monitored process [2024-10-12 00:59:26,674 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:26,674 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:26,685 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:26,685 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__~m=0} Honda state: {is_prime__~m=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:26,702 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:26,703 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:26,703 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:26,705 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:26,706 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Waiting until timeout for monitored process [2024-10-12 00:59:26,707 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:26,707 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:26,723 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:26,723 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {is_prime__~n=0} Honda state: {is_prime__~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:26,737 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Ended with exit code 0 [2024-10-12 00:59:26,739 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:26,739 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:26,741 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:26,742 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (6)] Waiting until timeout for monitored process [2024-10-12 00:59:26,744 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:26,744 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:26,772 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (6)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:26,772 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:26,772 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:26,773 INFO L229 MonitoredProcess]: Starting monitored process 7 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:26,775 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (7)] Waiting until timeout for monitored process [2024-10-12 00:59:26,775 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-12 00:59:26,775 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:26,971 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-12 00:59:26,977 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (7)] Ended with exit code 0 [2024-10-12 00:59:26,977 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:26,977 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:26,977 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:26,978 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:26,978 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-12 00:59:26,978 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:26,978 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:26,978 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:26,978 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration3_Loop [2024-10-12 00:59:26,978 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:26,978 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:26,979 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:26,984 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:26,987 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:26,989 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:26,999 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:27,001 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:27,046 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:27,050 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-12 00:59:27,052 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:27,052 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:27,054 INFO L229 MonitoredProcess]: Starting monitored process 8 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:27,056 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Waiting until timeout for monitored process [2024-10-12 00:59:27,057 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:27,070 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:27,070 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:27,071 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:27,071 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:27,071 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:27,073 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:27,073 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:27,077 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:27,092 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Ended with exit code 0 [2024-10-12 00:59:27,092 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:27,093 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:27,095 INFO L229 MonitoredProcess]: Starting monitored process 9 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:27,096 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (9)] Waiting until timeout for monitored process [2024-10-12 00:59:27,097 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:27,110 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:27,110 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:27,110 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:27,111 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:27,111 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:27,111 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:27,111 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:27,114 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:27,130 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (9)] Ended with exit code 0 [2024-10-12 00:59:27,130 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:27,130 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:27,132 INFO L229 MonitoredProcess]: Starting monitored process 10 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:27,135 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (10)] Waiting until timeout for monitored process [2024-10-12 00:59:27,136 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:27,149 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:27,149 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:27,149 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:27,149 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:27,149 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:27,150 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:27,150 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:27,152 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:27,167 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (10)] Ended with exit code 0 [2024-10-12 00:59:27,167 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:27,167 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:27,169 INFO L229 MonitoredProcess]: Starting monitored process 11 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:27,171 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (11)] Waiting until timeout for monitored process [2024-10-12 00:59:27,172 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:27,182 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:27,182 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:27,182 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:27,182 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:27,182 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:27,184 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:27,184 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:27,186 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-12 00:59:27,193 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2024-10-12 00:59:27,193 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. [2024-10-12 00:59:27,195 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:27,195 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:27,197 INFO L229 MonitoredProcess]: Starting monitored process 12 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:27,198 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (12)] Waiting until timeout for monitored process [2024-10-12 00:59:27,199 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-12 00:59:27,199 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-12 00:59:27,199 INFO L474 LassoAnalysis]: Proved termination. [2024-10-12 00:59:27,200 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(is_prime__#in~m) = 1*is_prime__#in~m Supporting invariants [] [2024-10-12 00:59:27,215 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (11)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:27,217 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-12 00:59:27,240 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:27,264 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:27,265 INFO L255 TraceCheckSpWp]: Trace formula consists of 62 conjuncts, 4 conjuncts are in the unsatisfiable core [2024-10-12 00:59:27,266 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:27,297 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:27,298 INFO L255 TraceCheckSpWp]: Trace formula consists of 140 conjuncts, 18 conjuncts are in the unsatisfiable core [2024-10-12 00:59:27,300 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:27,523 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-10-12 00:59:27,527 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 9 loop predicates [2024-10-12 00:59:27,528 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 41 states and 54 transitions. cyclomatic complexity: 16 Second operand has 10 states, 10 states have (on average 2.2) internal successors, (22), 8 states have internal predecessors, (22), 4 states have call successors, (4), 2 states have call predecessors, (4), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2024-10-12 00:59:28,097 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 41 states and 54 transitions. cyclomatic complexity: 16. Second operand has 10 states, 10 states have (on average 2.2) internal successors, (22), 8 states have internal predecessors, (22), 4 states have call successors, (4), 2 states have call predecessors, (4), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) Result 358 states and 527 transitions. Complement of second has 85 states. [2024-10-12 00:59:28,100 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 15 states 1 stem states 13 non-accepting loop states 1 accepting loop states [2024-10-12 00:59:28,100 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 10 states, 10 states have (on average 2.2) internal successors, (22), 8 states have internal predecessors, (22), 4 states have call successors, (4), 2 states have call predecessors, (4), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2024-10-12 00:59:28,102 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 15 states and 84 transitions. [2024-10-12 00:59:28,103 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 15 states and 84 transitions. Stem has 4 letters. Loop has 24 letters. [2024-10-12 00:59:28,104 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:28,104 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 15 states and 84 transitions. Stem has 28 letters. Loop has 24 letters. [2024-10-12 00:59:28,105 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:28,105 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 15 states and 84 transitions. Stem has 4 letters. Loop has 48 letters. [2024-10-12 00:59:28,105 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:28,106 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 358 states and 527 transitions. [2024-10-12 00:59:28,114 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 30 [2024-10-12 00:59:28,124 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 358 states to 282 states and 403 transitions. [2024-10-12 00:59:28,124 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 170 [2024-10-12 00:59:28,125 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 173 [2024-10-12 00:59:28,125 INFO L73 IsDeterministic]: Start isDeterministic. Operand 282 states and 403 transitions. [2024-10-12 00:59:28,126 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:28,126 INFO L218 hiAutomatonCegarLoop]: Abstraction has 282 states and 403 transitions. [2024-10-12 00:59:28,126 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 282 states and 403 transitions. [2024-10-12 00:59:28,151 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 282 to 163. [2024-10-12 00:59:28,152 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 163 states, 118 states have (on average 1.3135593220338984) internal successors, (155), 119 states have internal predecessors, (155), 28 states have call successors, (28), 13 states have call predecessors, (28), 17 states have return successors, (37), 30 states have call predecessors, (37), 23 states have call successors, (37) [2024-10-12 00:59:28,154 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 163 states to 163 states and 220 transitions. [2024-10-12 00:59:28,154 INFO L240 hiAutomatonCegarLoop]: Abstraction has 163 states and 220 transitions. [2024-10-12 00:59:28,154 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-12 00:59:28,155 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 12 interpolants. [2024-10-12 00:59:28,155 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=34, Invalid=98, Unknown=0, NotChecked=0, Total=132 [2024-10-12 00:59:28,155 INFO L87 Difference]: Start difference. First operand 163 states and 220 transitions. Second operand has 12 states, 12 states have (on average 3.5) internal successors, (42), 11 states have internal predecessors, (42), 6 states have call successors, (6), 3 states have call predecessors, (6), 2 states have return successors, (4), 2 states have call predecessors, (4), 4 states have call successors, (4) [2024-10-12 00:59:28,359 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-12 00:59:28,359 INFO L93 Difference]: Finished difference Result 185 states and 251 transitions. [2024-10-12 00:59:28,359 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 185 states and 251 transitions. [2024-10-12 00:59:28,365 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 29 [2024-10-12 00:59:28,380 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 185 states to 117 states and 160 transitions. [2024-10-12 00:59:28,380 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 117 [2024-10-12 00:59:28,381 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 117 [2024-10-12 00:59:28,381 INFO L73 IsDeterministic]: Start isDeterministic. Operand 117 states and 160 transitions. [2024-10-12 00:59:28,382 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-10-12 00:59:28,382 INFO L218 hiAutomatonCegarLoop]: Abstraction has 117 states and 160 transitions. [2024-10-12 00:59:28,383 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 117 states and 160 transitions. [2024-10-12 00:59:28,401 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 117 to 93. [2024-10-12 00:59:28,402 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 93 states, 67 states have (on average 1.3880597014925373) internal successors, (93), 71 states have internal predecessors, (93), 18 states have call successors, (18), 8 states have call predecessors, (18), 8 states have return successors, (15), 13 states have call predecessors, (15), 13 states have call successors, (15) [2024-10-12 00:59:28,403 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 93 states to 93 states and 126 transitions. [2024-10-12 00:59:28,403 INFO L240 hiAutomatonCegarLoop]: Abstraction has 93 states and 126 transitions. [2024-10-12 00:59:28,417 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2024-10-12 00:59:28,418 INFO L425 stractBuchiCegarLoop]: Abstraction has 93 states and 126 transitions. [2024-10-12 00:59:28,418 INFO L332 stractBuchiCegarLoop]: ======== Iteration 4 ============ [2024-10-12 00:59:28,418 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 93 states and 126 transitions. [2024-10-12 00:59:28,419 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 29 [2024-10-12 00:59:28,419 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:28,419 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:28,419 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:28,419 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1] [2024-10-12 00:59:28,420 INFO L745 eck$LassoCheckResult]: Stem: 1443#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 1406#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 1407#L78 assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 1433#L53 call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 1445#$Ultimate##0 ~n := #in~n;~m := #in~m; 1450#L58 assume !(~n <= 1); 1451#L61 assume !(2 == ~n); 1454#L64 assume ~n > 2; 1449#L65 assume !(~m <= 1); 1434#L68 call #t~ret10 := multiple_of(~n, ~m);< 1456#$Ultimate##0 ~n := #in~n;~m := #in~m; 1466#L32 assume ~m < 0; 1426#L33 [2024-10-12 00:59:28,420 INFO L747 eck$LassoCheckResult]: Loop: 1426#L33 call #t~ret6 := multiple_of(~n, -~m);< 1417#$Ultimate##0 ~n := #in~n;~m := #in~m; 1430#L32 assume ~m < 0; 1426#L33 [2024-10-12 00:59:28,422 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (12)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:28,425 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:28,425 INFO L85 PathProgramCache]: Analyzing trace with hash 1581488555, now seen corresponding path program 1 times [2024-10-12 00:59:28,425 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:28,425 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2051297935] [2024-10-12 00:59:28,425 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:28,426 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:28,434 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:28,485 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:28,485 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-12 00:59:28,485 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2051297935] [2024-10-12 00:59:28,486 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2051297935] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-12 00:59:28,486 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-12 00:59:28,486 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-10-12 00:59:28,486 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [209680980] [2024-10-12 00:59:28,486 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-12 00:59:28,486 INFO L750 eck$LassoCheckResult]: stem already infeasible [2024-10-12 00:59:28,487 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:28,487 INFO L85 PathProgramCache]: Analyzing trace with hash 134543, now seen corresponding path program 1 times [2024-10-12 00:59:28,487 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:28,487 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [506222191] [2024-10-12 00:59:28,487 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:28,487 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:28,490 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:28,490 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:28,491 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:28,492 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:28,568 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:28,568 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:28,568 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:28,568 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:28,568 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-12 00:59:28,568 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:28,569 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:28,569 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:28,569 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2024-10-12 00:59:28,569 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:28,569 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:28,570 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:28,573 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:28,580 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:28,582 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:28,587 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:28,589 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:28,632 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:28,633 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-12 00:59:28,633 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:28,633 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:28,635 INFO L229 MonitoredProcess]: Starting monitored process 13 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:28,637 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (13)] Waiting until timeout for monitored process [2024-10-12 00:59:28,637 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:28,638 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:28,650 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:28,650 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret6=0} Honda state: {multiple_of_#t~ret6=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:28,660 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (13)] Ended with exit code 0 [2024-10-12 00:59:28,661 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:28,661 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:28,662 INFO L229 MonitoredProcess]: Starting monitored process 14 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:28,663 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (14)] Waiting until timeout for monitored process [2024-10-12 00:59:28,663 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:28,663 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:28,692 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (14)] Ended with exit code 0 [2024-10-12 00:59:28,693 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:28,693 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:28,694 INFO L229 MonitoredProcess]: Starting monitored process 15 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:28,695 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (15)] Waiting until timeout for monitored process [2024-10-12 00:59:28,695 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-12 00:59:28,695 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:29,160 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-12 00:59:29,165 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (15)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:29,165 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:29,165 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:29,165 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:29,165 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:29,165 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-12 00:59:29,166 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,166 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:29,166 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:29,166 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration4_Loop [2024-10-12 00:59:29,166 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:29,166 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:29,167 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,170 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,177 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,179 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,184 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,186 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,229 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:29,229 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-12 00:59:29,229 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,229 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,232 INFO L229 MonitoredProcess]: Starting monitored process 16 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,236 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (16)] Waiting until timeout for monitored process [2024-10-12 00:59:29,236 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:29,249 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:29,249 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:29,250 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:29,250 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:29,250 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:29,251 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:29,251 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:29,253 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:29,264 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (16)] Ended with exit code 0 [2024-10-12 00:59:29,264 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,264 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,265 INFO L229 MonitoredProcess]: Starting monitored process 17 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,266 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (17)] Waiting until timeout for monitored process [2024-10-12 00:59:29,267 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:29,277 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:29,277 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:29,277 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:29,277 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:29,278 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:29,279 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:29,279 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:29,281 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-12 00:59:29,285 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2024-10-12 00:59:29,285 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. [2024-10-12 00:59:29,285 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,285 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,286 INFO L229 MonitoredProcess]: Starting monitored process 18 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,288 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (18)] Waiting until timeout for monitored process [2024-10-12 00:59:29,288 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-12 00:59:29,289 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-12 00:59:29,289 INFO L474 LassoAnalysis]: Proved termination. [2024-10-12 00:59:29,289 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_~m) = 1*multiple_of_~m Supporting invariants [] [2024-10-12 00:59:29,299 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (17)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:29,300 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-12 00:59:29,320 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:29,337 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:29,338 INFO L255 TraceCheckSpWp]: Trace formula consists of 109 conjuncts, 6 conjuncts are in the unsatisfiable core [2024-10-12 00:59:29,339 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:29,374 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:29,375 INFO L255 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjuncts are in the unsatisfiable core [2024-10-12 00:59:29,376 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:29,394 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:29,395 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 3 loop predicates [2024-10-12 00:59:29,395 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 93 states and 126 transitions. cyclomatic complexity: 36 Second operand has 4 states, 3 states have (on average 4.0) internal successors, (12), 3 states have internal predecessors, (12), 2 states have call successors, (3), 2 states have call predecessors, (3), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-12 00:59:29,450 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 93 states and 126 transitions. cyclomatic complexity: 36. Second operand has 4 states, 3 states have (on average 4.0) internal successors, (12), 3 states have internal predecessors, (12), 2 states have call successors, (3), 2 states have call predecessors, (3), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 191 states and 253 transitions. Complement of second has 18 states. [2024-10-12 00:59:29,453 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 [2024-10-12 00:59:29,453 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 3 states have (on average 4.0) internal successors, (12), 3 states have internal predecessors, (12), 2 states have call successors, (3), 2 states have call predecessors, (3), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-12 00:59:29,454 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 67 transitions. [2024-10-12 00:59:29,454 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 12 letters. Loop has 3 letters. [2024-10-12 00:59:29,454 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:29,454 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 15 letters. Loop has 3 letters. [2024-10-12 00:59:29,454 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:29,454 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 67 transitions. Stem has 12 letters. Loop has 6 letters. [2024-10-12 00:59:29,454 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:29,454 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 191 states and 253 transitions. [2024-10-12 00:59:29,460 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 42 [2024-10-12 00:59:29,462 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 191 states to 137 states and 182 transitions. [2024-10-12 00:59:29,464 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 113 [2024-10-12 00:59:29,464 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 114 [2024-10-12 00:59:29,465 INFO L73 IsDeterministic]: Start isDeterministic. Operand 137 states and 182 transitions. [2024-10-12 00:59:29,465 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:29,465 INFO L218 hiAutomatonCegarLoop]: Abstraction has 137 states and 182 transitions. [2024-10-12 00:59:29,466 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 137 states and 182 transitions. [2024-10-12 00:59:29,473 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 137 to 108. [2024-10-12 00:59:29,474 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 108 states, 77 states have (on average 1.3766233766233766) internal successors, (106), 84 states have internal predecessors, (106), 23 states have call successors, (25), 10 states have call predecessors, (25), 8 states have return successors, (15), 13 states have call predecessors, (15), 13 states have call successors, (15) [2024-10-12 00:59:29,475 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 108 states to 108 states and 146 transitions. [2024-10-12 00:59:29,478 INFO L240 hiAutomatonCegarLoop]: Abstraction has 108 states and 146 transitions. [2024-10-12 00:59:29,478 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-12 00:59:29,479 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-10-12 00:59:29,479 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2024-10-12 00:59:29,479 INFO L87 Difference]: Start difference. First operand 108 states and 146 transitions. Second operand has 5 states, 3 states have (on average 3.3333333333333335) internal successors, (10), 4 states have internal predecessors, (10), 2 states have call successors, (2), 2 states have call predecessors, (2), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-12 00:59:29,510 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-12 00:59:29,511 INFO L93 Difference]: Finished difference Result 98 states and 128 transitions. [2024-10-12 00:59:29,511 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 98 states and 128 transitions. [2024-10-12 00:59:29,512 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2024-10-12 00:59:29,513 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 98 states to 98 states and 128 transitions. [2024-10-12 00:59:29,513 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2024-10-12 00:59:29,514 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2024-10-12 00:59:29,514 INFO L73 IsDeterministic]: Start isDeterministic. Operand 98 states and 128 transitions. [2024-10-12 00:59:29,515 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2024-10-12 00:59:29,515 INFO L218 hiAutomatonCegarLoop]: Abstraction has 98 states and 128 transitions. [2024-10-12 00:59:29,515 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 98 states and 128 transitions. [2024-10-12 00:59:29,519 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 98 to 92. [2024-10-12 00:59:29,519 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 92 states, 67 states have (on average 1.328358208955224) internal successors, (89), 70 states have internal predecessors, (89), 17 states have call successors, (17), 8 states have call predecessors, (17), 8 states have return successors, (15), 13 states have call predecessors, (15), 13 states have call successors, (15) [2024-10-12 00:59:29,520 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 92 states to 92 states and 121 transitions. [2024-10-12 00:59:29,520 INFO L240 hiAutomatonCegarLoop]: Abstraction has 92 states and 121 transitions. [2024-10-12 00:59:29,520 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-10-12 00:59:29,521 INFO L425 stractBuchiCegarLoop]: Abstraction has 92 states and 121 transitions. [2024-10-12 00:59:29,521 INFO L332 stractBuchiCegarLoop]: ======== Iteration 5 ============ [2024-10-12 00:59:29,521 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 92 states and 121 transitions. [2024-10-12 00:59:29,522 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2024-10-12 00:59:29,522 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:29,522 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:29,523 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:29,523 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1] [2024-10-12 00:59:29,523 INFO L745 eck$LassoCheckResult]: Stem: 2017#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 1979#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 1980#L78 assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 2007#L53 call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 2018#$Ultimate##0 ~n := #in~n;~m := #in~m; 2037#L58 assume ~n <= 1;#res := 0; 2020#is_prime_FINAL assume true; 2019#is_prime_EXIT >#120#return; 2016#L53-1 is_prime_#res#1 := is_prime_#t~ret9#1;havoc is_prime_#t~ret9#1; 1975#is_prime_returnLabel#1 main_#t~ret13#1 := is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;havoc is_prime_#in~n#1;assume { :end_inline_is_prime } true;main_~result~0#1 := main_#t~ret13#1;havoc main_#t~ret13#1;havoc main_#t~nondet14#1;main_~f1~0#1 := main_#t~nondet14#1;havoc main_#t~nondet14#1; 1976#L85 assume !(main_~f1~0#1 < 1 || main_~f1~0#1 > 46340);havoc main_#t~nondet15#1;main_~f2~0#1 := main_#t~nondet15#1;havoc main_#t~nondet15#1; 1977#L91 assume !(main_~f2~0#1 < 1 || main_~f2~0#1 > 46340);main_#t~short17#1 := 1 == main_~result~0#1; 1981#L97 assume main_#t~short17#1; 1982#L97-1 call main_#t~ret16#1 := mult(main_~f1~0#1, main_~f2~0#1);< 1991#$Ultimate##0 [2024-10-12 00:59:29,524 INFO L747 eck$LassoCheckResult]: Loop: 1991#$Ultimate##0 ~n := #in~n;~m := #in~m; 1999#L18 assume ~m < 0; 1988#L19 call #t~ret4 := mult(~n, -~m);< 1991#$Ultimate##0 [2024-10-12 00:59:29,524 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:29,524 INFO L85 PathProgramCache]: Analyzing trace with hash -1704575146, now seen corresponding path program 1 times [2024-10-12 00:59:29,524 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:29,524 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2012793613] [2024-10-12 00:59:29,524 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:29,525 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:29,529 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:29,585 INFO L368 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 3 [2024-10-12 00:59:29,587 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:29,601 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:29,602 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-12 00:59:29,602 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2012793613] [2024-10-12 00:59:29,602 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2012793613] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-12 00:59:29,602 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-12 00:59:29,602 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2024-10-12 00:59:29,603 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [493669378] [2024-10-12 00:59:29,603 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-12 00:59:29,603 INFO L750 eck$LassoCheckResult]: stem already infeasible [2024-10-12 00:59:29,603 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:29,603 INFO L85 PathProgramCache]: Analyzing trace with hash 53807, now seen corresponding path program 1 times [2024-10-12 00:59:29,603 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:29,604 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1659624496] [2024-10-12 00:59:29,604 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:29,604 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:29,606 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:29,606 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:29,607 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:29,608 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:29,644 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:29,645 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:29,645 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:29,645 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:29,645 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-12 00:59:29,645 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,645 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:29,645 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:29,645 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2024-10-12 00:59:29,645 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:29,646 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:29,646 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,648 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,650 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,652 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,654 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,656 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,658 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,692 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:29,693 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-12 00:59:29,693 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,694 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,695 INFO L229 MonitoredProcess]: Starting monitored process 19 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,697 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (19)] Waiting until timeout for monitored process [2024-10-12 00:59:29,698 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:29,698 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:29,715 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:29,715 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret4=0} Honda state: {mult_#t~ret4=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:29,731 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (19)] Ended with exit code 0 [2024-10-12 00:59:29,731 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,732 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,733 INFO L229 MonitoredProcess]: Starting monitored process 20 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,734 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (20)] Waiting until timeout for monitored process [2024-10-12 00:59:29,735 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:29,735 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:29,749 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:29,749 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#res=0} Honda state: {mult_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:29,764 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (20)] Ended with exit code 0 [2024-10-12 00:59:29,764 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,764 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,765 INFO L229 MonitoredProcess]: Starting monitored process 21 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,766 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (21)] Waiting until timeout for monitored process [2024-10-12 00:59:29,767 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:29,767 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:29,778 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:29,778 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~m=0} Honda state: {mult_~m=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:29,791 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (21)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:29,791 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,792 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,793 INFO L229 MonitoredProcess]: Starting monitored process 22 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,793 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (22)] Waiting until timeout for monitored process [2024-10-12 00:59:29,794 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:29,794 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:29,805 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:29,805 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~n=0} Honda state: {mult_~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:29,816 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (22)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:29,816 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,816 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,818 INFO L229 MonitoredProcess]: Starting monitored process 23 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,820 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (23)] Waiting until timeout for monitored process [2024-10-12 00:59:29,821 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:29,821 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:29,833 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:29,834 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret5=0} Honda state: {mult_#t~ret5=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:29,844 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (23)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:29,844 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,844 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,846 INFO L229 MonitoredProcess]: Starting monitored process 24 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,847 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (24)] Waiting until timeout for monitored process [2024-10-12 00:59:29,848 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:29,848 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:29,859 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:29,859 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#in~n=0} Honda state: {mult_#in~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:29,870 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (24)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:29,870 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,870 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,872 INFO L229 MonitoredProcess]: Starting monitored process 25 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,874 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (25)] Waiting until timeout for monitored process [2024-10-12 00:59:29,874 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:29,874 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:29,896 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (25)] Ended with exit code 0 [2024-10-12 00:59:29,896 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,897 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:29,897 INFO L229 MonitoredProcess]: Starting monitored process 26 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:29,898 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (26)] Waiting until timeout for monitored process [2024-10-12 00:59:29,899 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-12 00:59:29,899 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:29,950 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-12 00:59:29,955 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (26)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:29,955 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:29,955 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:29,955 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:29,955 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:29,955 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-12 00:59:29,955 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:29,955 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:29,955 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:29,955 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration5_Loop [2024-10-12 00:59:29,955 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:29,955 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:29,956 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,958 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,965 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,967 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,969 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,972 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:29,974 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,009 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:30,010 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-12 00:59:30,010 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,010 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,012 INFO L229 MonitoredProcess]: Starting monitored process 27 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,013 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (27)] Waiting until timeout for monitored process [2024-10-12 00:59:30,014 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:30,027 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:30,027 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:30,027 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:30,027 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:30,027 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:30,028 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:30,028 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:30,029 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:30,043 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (27)] Ended with exit code 0 [2024-10-12 00:59:30,044 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,044 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,045 INFO L229 MonitoredProcess]: Starting monitored process 28 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,047 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:30,051 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (28)] Waiting until timeout for monitored process [2024-10-12 00:59:30,060 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:30,060 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:30,061 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:30,061 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:30,061 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:30,061 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:30,061 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:30,064 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:30,078 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (28)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:30,079 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,079 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,080 INFO L229 MonitoredProcess]: Starting monitored process 29 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,082 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (29)] Waiting until timeout for monitored process [2024-10-12 00:59:30,082 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:30,095 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:30,095 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:30,095 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:30,095 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:30,095 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:30,096 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:30,096 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:30,098 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:30,112 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (29)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:30,113 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,113 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,115 INFO L229 MonitoredProcess]: Starting monitored process 30 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,116 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (30)] Waiting until timeout for monitored process [2024-10-12 00:59:30,117 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:30,129 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:30,129 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:30,129 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:30,130 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:30,130 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:30,130 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:30,130 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:30,133 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:30,147 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (30)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:30,148 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,148 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,149 INFO L229 MonitoredProcess]: Starting monitored process 31 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,151 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (31)] Waiting until timeout for monitored process [2024-10-12 00:59:30,152 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:30,164 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:30,164 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:30,165 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:30,165 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:30,165 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:30,166 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:30,166 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:30,170 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:30,180 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (31)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:30,181 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,181 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,182 INFO L229 MonitoredProcess]: Starting monitored process 32 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,183 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (32)] Waiting until timeout for monitored process [2024-10-12 00:59:30,184 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:30,194 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:30,194 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:30,194 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:30,194 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:30,194 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:30,194 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:30,195 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:30,196 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:30,206 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (32)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:30,206 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,207 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,208 INFO L229 MonitoredProcess]: Starting monitored process 33 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,208 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (33)] Waiting until timeout for monitored process [2024-10-12 00:59:30,209 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:30,218 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:30,219 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:30,219 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:30,219 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:30,219 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:30,220 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:30,220 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:30,221 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-12 00:59:30,223 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2024-10-12 00:59:30,223 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. [2024-10-12 00:59:30,223 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,223 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,224 INFO L229 MonitoredProcess]: Starting monitored process 34 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,225 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (34)] Waiting until timeout for monitored process [2024-10-12 00:59:30,226 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-12 00:59:30,226 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-12 00:59:30,226 INFO L474 LassoAnalysis]: Proved termination. [2024-10-12 00:59:30,226 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_#in~m) = -1*mult_#in~m Supporting invariants [] [2024-10-12 00:59:30,236 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (33)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:30,237 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-12 00:59:30,250 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:30,276 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:30,277 INFO L255 TraceCheckSpWp]: Trace formula consists of 116 conjuncts, 6 conjuncts are in the unsatisfiable core [2024-10-12 00:59:30,278 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:30,348 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:30,349 INFO L255 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjuncts are in the unsatisfiable core [2024-10-12 00:59:30,350 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:30,377 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:30,378 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2024-10-12 00:59:30,378 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 92 states and 121 transitions. cyclomatic complexity: 32 Second operand has 5 states, 4 states have (on average 3.25) internal successors, (13), 4 states have internal predecessors, (13), 2 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-10-12 00:59:30,476 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 92 states and 121 transitions. cyclomatic complexity: 32. Second operand has 5 states, 4 states have (on average 3.25) internal successors, (13), 4 states have internal predecessors, (13), 2 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Result 114 states and 145 transitions. Complement of second has 14 states. [2024-10-12 00:59:30,476 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 [2024-10-12 00:59:30,477 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 4 states have (on average 3.25) internal successors, (13), 4 states have internal predecessors, (13), 2 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-10-12 00:59:30,478 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 48 transitions. [2024-10-12 00:59:30,479 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 14 letters. Loop has 3 letters. [2024-10-12 00:59:30,479 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:30,479 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 17 letters. Loop has 3 letters. [2024-10-12 00:59:30,479 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:30,479 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 48 transitions. Stem has 14 letters. Loop has 6 letters. [2024-10-12 00:59:30,480 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:30,480 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 114 states and 145 transitions. [2024-10-12 00:59:30,482 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2024-10-12 00:59:30,483 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 114 states to 106 states and 137 transitions. [2024-10-12 00:59:30,483 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 99 [2024-10-12 00:59:30,483 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 101 [2024-10-12 00:59:30,483 INFO L73 IsDeterministic]: Start isDeterministic. Operand 106 states and 137 transitions. [2024-10-12 00:59:30,484 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:30,484 INFO L218 hiAutomatonCegarLoop]: Abstraction has 106 states and 137 transitions. [2024-10-12 00:59:30,484 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 106 states and 137 transitions. [2024-10-12 00:59:30,487 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 106 to 97. [2024-10-12 00:59:30,487 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 97 states, 71 states have (on average 1.3380281690140845) internal successors, (95), 73 states have internal predecessors, (95), 18 states have call successors, (18), 10 states have call predecessors, (18), 8 states have return successors, (15), 13 states have call predecessors, (15), 13 states have call successors, (15) [2024-10-12 00:59:30,488 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 97 states and 128 transitions. [2024-10-12 00:59:30,488 INFO L240 hiAutomatonCegarLoop]: Abstraction has 97 states and 128 transitions. [2024-10-12 00:59:30,488 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-12 00:59:30,489 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-10-12 00:59:30,489 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2024-10-12 00:59:30,489 INFO L87 Difference]: Start difference. First operand 97 states and 128 transitions. Second operand has 7 states, 6 states have (on average 1.8333333333333333) internal successors, (11), 6 states have internal predecessors, (11), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-10-12 00:59:30,517 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (18)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:30,529 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (34)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:30,542 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-12 00:59:30,542 INFO L93 Difference]: Finished difference Result 108 states and 139 transitions. [2024-10-12 00:59:30,542 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 108 states and 139 transitions. [2024-10-12 00:59:30,544 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2024-10-12 00:59:30,546 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 108 states to 101 states and 131 transitions. [2024-10-12 00:59:30,546 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 98 [2024-10-12 00:59:30,546 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 98 [2024-10-12 00:59:30,546 INFO L73 IsDeterministic]: Start isDeterministic. Operand 101 states and 131 transitions. [2024-10-12 00:59:30,547 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:30,549 INFO L218 hiAutomatonCegarLoop]: Abstraction has 101 states and 131 transitions. [2024-10-12 00:59:30,549 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 101 states and 131 transitions. [2024-10-12 00:59:30,556 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 101 to 97. [2024-10-12 00:59:30,556 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 97 states, 71 states have (on average 1.3098591549295775) internal successors, (93), 73 states have internal predecessors, (93), 18 states have call successors, (18), 10 states have call predecessors, (18), 8 states have return successors, (15), 13 states have call predecessors, (15), 13 states have call successors, (15) [2024-10-12 00:59:30,557 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 97 states to 97 states and 126 transitions. [2024-10-12 00:59:30,557 INFO L240 hiAutomatonCegarLoop]: Abstraction has 97 states and 126 transitions. [2024-10-12 00:59:30,558 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-12 00:59:30,559 INFO L425 stractBuchiCegarLoop]: Abstraction has 97 states and 126 transitions. [2024-10-12 00:59:30,559 INFO L332 stractBuchiCegarLoop]: ======== Iteration 6 ============ [2024-10-12 00:59:30,559 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 97 states and 126 transitions. [2024-10-12 00:59:30,560 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 28 [2024-10-12 00:59:30,560 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:30,560 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:30,560 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:30,560 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2024-10-12 00:59:30,561 INFO L745 eck$LassoCheckResult]: Stem: 2526#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 2484#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 2485#L78 assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 2516#L53 call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 2528#$Ultimate##0 ~n := #in~n;~m := #in~m; 2537#L58 assume !(~n <= 1); 2534#L61 assume !(2 == ~n); 2535#L64 assume ~n > 2; 2532#L65 assume !(~m <= 1); 2517#L68 call #t~ret10 := multiple_of(~n, ~m);< 2540#$Ultimate##0 ~n := #in~n;~m := #in~m; 2555#L32 assume !(~m < 0); 2552#L35 assume ~n < 0; 2503#L36 call #t~ret7 := multiple_of(-~n, ~m);< 2518#$Ultimate##0 [2024-10-12 00:59:30,561 INFO L747 eck$LassoCheckResult]: Loop: 2518#$Ultimate##0 ~n := #in~n;~m := #in~m; 2519#L32 assume !(~m < 0); 2520#L35 assume ~n < 0; 2502#L36 call #t~ret7 := multiple_of(-~n, ~m);< 2518#$Ultimate##0 [2024-10-12 00:59:30,561 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:30,561 INFO L85 PathProgramCache]: Analyzing trace with hash -607918156, now seen corresponding path program 1 times [2024-10-12 00:59:30,561 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:30,561 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [890811196] [2024-10-12 00:59:30,561 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:30,561 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:30,567 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:30,629 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:30,629 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-12 00:59:30,630 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [890811196] [2024-10-12 00:59:30,630 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [890811196] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-12 00:59:30,630 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-12 00:59:30,630 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2024-10-12 00:59:30,630 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [39020582] [2024-10-12 00:59:30,630 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-12 00:59:30,630 INFO L750 eck$LassoCheckResult]: stem already infeasible [2024-10-12 00:59:30,630 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:30,631 INFO L85 PathProgramCache]: Analyzing trace with hash 929677, now seen corresponding path program 1 times [2024-10-12 00:59:30,631 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:30,631 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [507616239] [2024-10-12 00:59:30,631 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:30,631 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:30,636 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:30,636 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:30,637 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:30,638 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:30,686 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:30,686 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:30,686 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:30,686 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:30,686 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-12 00:59:30,686 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,686 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:30,686 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:30,686 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2024-10-12 00:59:30,686 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:30,686 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:30,687 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,695 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,697 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,702 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,704 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,706 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,707 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,709 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,749 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:30,749 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-12 00:59:30,750 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,750 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,751 INFO L229 MonitoredProcess]: Starting monitored process 35 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,753 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (35)] Waiting until timeout for monitored process [2024-10-12 00:59:30,754 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:30,754 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:30,781 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (35)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:30,782 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,782 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,783 INFO L229 MonitoredProcess]: Starting monitored process 36 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,785 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (36)] Waiting until timeout for monitored process [2024-10-12 00:59:30,786 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-12 00:59:30,786 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:30,851 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-12 00:59:30,856 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (36)] Ended with exit code 0 [2024-10-12 00:59:30,856 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:30,857 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:30,857 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:30,857 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:30,857 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-12 00:59:30,857 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,857 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:30,857 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:30,857 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration6_Loop [2024-10-12 00:59:30,857 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:30,857 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:30,858 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,864 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,867 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,869 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,874 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,876 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,880 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,882 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:30,917 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:30,918 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-12 00:59:30,918 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,918 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,920 INFO L229 MonitoredProcess]: Starting monitored process 37 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,921 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (37)] Waiting until timeout for monitored process [2024-10-12 00:59:30,922 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:30,934 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:30,934 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:30,935 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:30,935 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:30,935 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:30,936 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:30,936 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:30,937 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-12 00:59:30,940 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2024-10-12 00:59:30,940 INFO L444 ModelExtractionUtils]: 1 out of 3 variables were initially zero. Simplification set additionally 0 variables to zero. [2024-10-12 00:59:30,940 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:30,941 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:30,942 INFO L229 MonitoredProcess]: Starting monitored process 38 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:30,943 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (38)] Waiting until timeout for monitored process [2024-10-12 00:59:30,944 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-12 00:59:30,944 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-12 00:59:30,944 INFO L474 LassoAnalysis]: Proved termination. [2024-10-12 00:59:30,944 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = -1*multiple_of_#in~n Supporting invariants [] [2024-10-12 00:59:30,958 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (37)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:30,959 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-12 00:59:30,970 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:30,993 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:30,995 INFO L255 TraceCheckSpWp]: Trace formula consists of 144 conjuncts, 8 conjuncts are in the unsatisfiable core [2024-10-12 00:59:30,996 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:31,023 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:31,023 INFO L255 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 7 conjuncts are in the unsatisfiable core [2024-10-12 00:59:31,024 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:31,044 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:31,045 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 3 loop predicates [2024-10-12 00:59:31,045 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 97 states and 126 transitions. cyclomatic complexity: 33 Second operand has 4 states, 3 states have (on average 4.666666666666667) internal successors, (14), 3 states have internal predecessors, (14), 2 states have call successors, (4), 2 states have call predecessors, (4), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-12 00:59:31,101 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 97 states and 126 transitions. cyclomatic complexity: 33. Second operand has 4 states, 3 states have (on average 4.666666666666667) internal successors, (14), 3 states have internal predecessors, (14), 2 states have call successors, (4), 2 states have call predecessors, (4), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 200 states and 269 transitions. Complement of second has 17 states. [2024-10-12 00:59:31,102 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 [2024-10-12 00:59:31,102 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 3 states have (on average 4.666666666666667) internal successors, (14), 3 states have internal predecessors, (14), 2 states have call successors, (4), 2 states have call predecessors, (4), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-12 00:59:31,103 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 56 transitions. [2024-10-12 00:59:31,103 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 56 transitions. Stem has 14 letters. Loop has 4 letters. [2024-10-12 00:59:31,103 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:31,103 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 56 transitions. Stem has 18 letters. Loop has 4 letters. [2024-10-12 00:59:31,103 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:31,103 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 56 transitions. Stem has 14 letters. Loop has 8 letters. [2024-10-12 00:59:31,103 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:31,103 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 200 states and 269 transitions. [2024-10-12 00:59:31,108 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 48 [2024-10-12 00:59:31,111 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 200 states to 188 states and 257 transitions. [2024-10-12 00:59:31,111 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 173 [2024-10-12 00:59:31,112 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 175 [2024-10-12 00:59:31,112 INFO L73 IsDeterministic]: Start isDeterministic. Operand 188 states and 257 transitions. [2024-10-12 00:59:31,112 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:31,112 INFO L218 hiAutomatonCegarLoop]: Abstraction has 188 states and 257 transitions. [2024-10-12 00:59:31,112 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 188 states and 257 transitions. [2024-10-12 00:59:31,123 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 188 to 163. [2024-10-12 00:59:31,124 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 163 states, 119 states have (on average 1.3277310924369747) internal successors, (158), 125 states have internal predecessors, (158), 28 states have call successors, (28), 16 states have call predecessors, (28), 16 states have return successors, (37), 21 states have call predecessors, (37), 22 states have call successors, (37) [2024-10-12 00:59:31,125 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 163 states to 163 states and 223 transitions. [2024-10-12 00:59:31,125 INFO L240 hiAutomatonCegarLoop]: Abstraction has 163 states and 223 transitions. [2024-10-12 00:59:31,125 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-12 00:59:31,128 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-10-12 00:59:31,128 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2024-10-12 00:59:31,128 INFO L87 Difference]: Start difference. First operand 163 states and 223 transitions. Second operand has 7 states, 5 states have (on average 2.2) internal successors, (11), 5 states have internal predecessors, (11), 3 states have call successors, (3), 3 states have call predecessors, (3), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-12 00:59:31,213 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-12 00:59:31,213 INFO L93 Difference]: Finished difference Result 171 states and 230 transitions. [2024-10-12 00:59:31,214 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 171 states and 230 transitions. [2024-10-12 00:59:31,215 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2024-10-12 00:59:31,217 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 171 states to 171 states and 230 transitions. [2024-10-12 00:59:31,217 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 164 [2024-10-12 00:59:31,217 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 164 [2024-10-12 00:59:31,218 INFO L73 IsDeterministic]: Start isDeterministic. Operand 171 states and 230 transitions. [2024-10-12 00:59:31,218 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:31,218 INFO L218 hiAutomatonCegarLoop]: Abstraction has 171 states and 230 transitions. [2024-10-12 00:59:31,218 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 171 states and 230 transitions. [2024-10-12 00:59:31,222 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 171 to 165. [2024-10-12 00:59:31,222 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 165 states, 121 states have (on average 1.2975206611570247) internal successors, (157), 127 states have internal predecessors, (157), 26 states have call successors, (26), 16 states have call predecessors, (26), 18 states have return successors, (40), 21 states have call predecessors, (40), 22 states have call successors, (40) [2024-10-12 00:59:31,225 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 165 states to 165 states and 223 transitions. [2024-10-12 00:59:31,225 INFO L240 hiAutomatonCegarLoop]: Abstraction has 165 states and 223 transitions. [2024-10-12 00:59:31,226 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-12 00:59:31,227 INFO L425 stractBuchiCegarLoop]: Abstraction has 165 states and 223 transitions. [2024-10-12 00:59:31,227 INFO L332 stractBuchiCegarLoop]: ======== Iteration 7 ============ [2024-10-12 00:59:31,227 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 165 states and 223 transitions. [2024-10-12 00:59:31,229 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2024-10-12 00:59:31,229 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:31,229 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:31,229 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:31,229 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2024-10-12 00:59:31,230 INFO L745 eck$LassoCheckResult]: Stem: 3267#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 3212#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 3213#L78 assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 3255#L53 call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 3268#$Ultimate##0 ~n := #in~n;~m := #in~m; 3309#L58 assume !(~n <= 1); 3305#L61 assume !(2 == ~n); 3306#L64 assume ~n > 2; 3303#L65 assume !(~m <= 1); 3201#L68 call #t~ret10 := multiple_of(~n, ~m);< 3247#$Ultimate##0 ~n := #in~n;~m := #in~m; 3248#L32 assume !(~m < 0); 3260#L35 assume !(~n < 0); 3253#L38 assume !(0 == ~m); 3254#L41 assume !(0 == ~n); 3236#L44 call #t~ret8 := multiple_of(~n - ~m, ~m);< 3275#$Ultimate##0 [2024-10-12 00:59:31,230 INFO L747 eck$LassoCheckResult]: Loop: 3275#$Ultimate##0 ~n := #in~n;~m := #in~m; 3274#L32 assume !(~m < 0); 3271#L35 assume !(~n < 0); 3272#L38 assume !(0 == ~m); 3322#L41 assume !(0 == ~n); 3234#L44 call #t~ret8 := multiple_of(~n - ~m, ~m);< 3275#$Ultimate##0 [2024-10-12 00:59:31,230 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:31,230 INFO L85 PathProgramCache]: Analyzing trace with hash -93796849, now seen corresponding path program 1 times [2024-10-12 00:59:31,231 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:31,231 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1278040449] [2024-10-12 00:59:31,231 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:31,231 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:31,237 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:31,238 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:31,242 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:31,248 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:31,248 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:31,248 INFO L85 PathProgramCache]: Analyzing trace with hash 893418408, now seen corresponding path program 1 times [2024-10-12 00:59:31,249 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:31,249 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [67306062] [2024-10-12 00:59:31,249 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:31,249 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:31,251 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:31,251 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:31,254 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:31,255 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:31,255 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:31,255 INFO L85 PathProgramCache]: Analyzing trace with hash -1206649034, now seen corresponding path program 2 times [2024-10-12 00:59:31,255 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:31,256 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1197275930] [2024-10-12 00:59:31,256 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:31,256 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:31,262 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:31,262 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:31,266 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:31,268 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:31,337 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:31,338 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:31,338 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:31,338 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:31,338 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-12 00:59:31,338 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,338 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:31,338 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:31,338 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2024-10-12 00:59:31,338 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:31,338 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:31,339 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,341 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,343 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,344 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,346 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,347 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,358 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,415 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:31,415 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-12 00:59:31,416 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,416 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,418 INFO L229 MonitoredProcess]: Starting monitored process 39 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,419 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (39)] Waiting until timeout for monitored process [2024-10-12 00:59:31,420 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:31,420 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:31,436 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:31,436 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#res=0} Honda state: {multiple_of_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:31,452 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (39)] Ended with exit code 0 [2024-10-12 00:59:31,452 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,453 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,454 INFO L229 MonitoredProcess]: Starting monitored process 40 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,456 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (40)] Waiting until timeout for monitored process [2024-10-12 00:59:31,457 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:31,457 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:31,471 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:31,471 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~n=0} Honda state: {multiple_of_~n=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:31,485 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (40)] Ended with exit code 0 [2024-10-12 00:59:31,486 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,486 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,488 INFO L229 MonitoredProcess]: Starting monitored process 41 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,489 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (41)] Waiting until timeout for monitored process [2024-10-12 00:59:31,490 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:31,490 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:31,505 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:31,505 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_~m=0} Honda state: {multiple_of_~m=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:31,520 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (41)] Ended with exit code 0 [2024-10-12 00:59:31,520 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,520 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,522 INFO L229 MonitoredProcess]: Starting monitored process 42 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,523 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (42)] Waiting until timeout for monitored process [2024-10-12 00:59:31,524 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:31,524 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:31,538 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:31,538 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret8=0} Honda state: {multiple_of_#t~ret8=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:31,553 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (42)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:31,553 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,553 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,554 INFO L229 MonitoredProcess]: Starting monitored process 43 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,556 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (43)] Waiting until timeout for monitored process [2024-10-12 00:59:31,557 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:31,557 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:31,570 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:31,570 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {multiple_of_#t~ret7=0} Honda state: {multiple_of_#t~ret7=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:31,584 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (43)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:31,585 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,585 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,586 INFO L229 MonitoredProcess]: Starting monitored process 44 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,587 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (44)] Waiting until timeout for monitored process [2024-10-12 00:59:31,588 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:31,588 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:31,617 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (44)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:31,617 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,617 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,619 INFO L229 MonitoredProcess]: Starting monitored process 45 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,620 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (45)] Waiting until timeout for monitored process [2024-10-12 00:59:31,621 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-12 00:59:31,621 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:31,698 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-12 00:59:31,703 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (45)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:31,703 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:31,703 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:31,703 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:31,703 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:31,703 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-12 00:59:31,703 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,703 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:31,703 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:31,703 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration7_Loop [2024-10-12 00:59:31,703 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:31,703 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:31,704 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,706 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,708 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,712 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,713 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,715 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,727 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:31,782 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:31,782 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-12 00:59:31,783 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,783 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,787 INFO L229 MonitoredProcess]: Starting monitored process 46 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,791 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (46)] Waiting until timeout for monitored process [2024-10-12 00:59:31,794 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:31,807 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:31,807 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:31,807 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:31,807 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:31,807 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:31,808 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:31,808 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:31,810 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:31,824 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (46)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:31,825 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,825 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,826 INFO L229 MonitoredProcess]: Starting monitored process 47 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,827 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (47)] Waiting until timeout for monitored process [2024-10-12 00:59:31,828 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:31,840 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:31,841 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:31,841 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:31,841 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:31,841 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:31,841 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:31,841 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:31,844 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:31,858 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (47)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:31,859 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,859 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,861 INFO L229 MonitoredProcess]: Starting monitored process 48 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,862 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (48)] Waiting until timeout for monitored process [2024-10-12 00:59:31,863 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:31,876 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:31,876 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:31,876 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:31,876 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:31,876 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:31,877 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:31,877 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:31,878 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:31,889 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (48)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:31,890 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,890 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,891 INFO L229 MonitoredProcess]: Starting monitored process 49 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,891 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (49)] Waiting until timeout for monitored process [2024-10-12 00:59:31,892 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:31,902 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:31,902 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:31,902 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:31,902 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:31,902 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:31,902 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:31,902 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:31,903 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:31,913 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (49)] Ended with exit code 0 [2024-10-12 00:59:31,914 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,914 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,915 INFO L229 MonitoredProcess]: Starting monitored process 50 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,916 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (50)] Waiting until timeout for monitored process [2024-10-12 00:59:31,917 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:31,928 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:31,928 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:31,928 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:31,928 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:31,928 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:31,929 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:31,929 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:31,932 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:31,944 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (50)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:31,944 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,944 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,945 INFO L229 MonitoredProcess]: Starting monitored process 51 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,946 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (51)] Waiting until timeout for monitored process [2024-10-12 00:59:31,946 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:31,956 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:31,956 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:31,956 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:31,956 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:31,957 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:31,958 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:31,958 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:31,960 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-12 00:59:31,963 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2024-10-12 00:59:31,963 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. [2024-10-12 00:59:31,963 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:31,963 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:31,965 INFO L229 MonitoredProcess]: Starting monitored process 52 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:31,966 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (52)] Waiting until timeout for monitored process [2024-10-12 00:59:31,966 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-12 00:59:31,966 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-12 00:59:31,967 INFO L474 LassoAnalysis]: Proved termination. [2024-10-12 00:59:31,967 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(multiple_of_#in~n) = 1*multiple_of_#in~n Supporting invariants [] [2024-10-12 00:59:31,980 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (51)] Ended with exit code 0 [2024-10-12 00:59:31,981 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-12 00:59:31,992 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:32,012 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:32,013 INFO L255 TraceCheckSpWp]: Trace formula consists of 146 conjuncts, 8 conjuncts are in the unsatisfiable core [2024-10-12 00:59:32,014 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:32,046 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:32,046 INFO L255 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 10 conjuncts are in the unsatisfiable core [2024-10-12 00:59:32,047 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:32,129 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:32,130 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 6 loop predicates [2024-10-12 00:59:32,130 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 165 states and 223 transitions. cyclomatic complexity: 65 Second operand has 7 states, 6 states have (on average 3.0) internal successors, (18), 6 states have internal predecessors, (18), 2 states have call successors, (4), 2 states have call predecessors, (4), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-12 00:59:32,199 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (52)] Ended with exit code 0 [2024-10-12 00:59:32,229 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (38)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:32,293 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 165 states and 223 transitions. cyclomatic complexity: 65. Second operand has 7 states, 6 states have (on average 3.0) internal successors, (18), 6 states have internal predecessors, (18), 2 states have call successors, (4), 2 states have call predecessors, (4), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 218 states and 293 transitions. Complement of second has 29 states. [2024-10-12 00:59:32,293 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 8 states 1 stem states 6 non-accepting loop states 1 accepting loop states [2024-10-12 00:59:32,294 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 7 states, 6 states have (on average 3.0) internal successors, (18), 6 states have internal predecessors, (18), 2 states have call successors, (4), 2 states have call predecessors, (4), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-12 00:59:32,294 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 8 states to 8 states and 43 transitions. [2024-10-12 00:59:32,294 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 8 states and 43 transitions. Stem has 16 letters. Loop has 6 letters. [2024-10-12 00:59:32,295 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:32,295 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 8 states and 43 transitions. Stem has 22 letters. Loop has 6 letters. [2024-10-12 00:59:32,295 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:32,295 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 8 states and 43 transitions. Stem has 16 letters. Loop has 12 letters. [2024-10-12 00:59:32,295 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:32,295 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 218 states and 293 transitions. [2024-10-12 00:59:32,297 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 48 [2024-10-12 00:59:32,300 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 218 states to 206 states and 279 transitions. [2024-10-12 00:59:32,300 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 183 [2024-10-12 00:59:32,300 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 185 [2024-10-12 00:59:32,300 INFO L73 IsDeterministic]: Start isDeterministic. Operand 206 states and 279 transitions. [2024-10-12 00:59:32,301 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:32,301 INFO L218 hiAutomatonCegarLoop]: Abstraction has 206 states and 279 transitions. [2024-10-12 00:59:32,301 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 206 states and 279 transitions. [2024-10-12 00:59:32,305 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 206 to 181. [2024-10-12 00:59:32,305 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 181 states, 134 states have (on average 1.291044776119403) internal successors, (173), 141 states have internal predecessors, (173), 28 states have call successors, (28), 18 states have call predecessors, (28), 19 states have return successors, (44), 21 states have call predecessors, (44), 23 states have call successors, (44) [2024-10-12 00:59:32,306 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 181 states to 181 states and 245 transitions. [2024-10-12 00:59:32,306 INFO L240 hiAutomatonCegarLoop]: Abstraction has 181 states and 245 transitions. [2024-10-12 00:59:32,306 INFO L425 stractBuchiCegarLoop]: Abstraction has 181 states and 245 transitions. [2024-10-12 00:59:32,306 INFO L332 stractBuchiCegarLoop]: ======== Iteration 8 ============ [2024-10-12 00:59:32,306 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 181 states and 245 transitions. [2024-10-12 00:59:32,309 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2024-10-12 00:59:32,310 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:32,310 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:32,310 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:32,311 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1] [2024-10-12 00:59:32,311 INFO L745 eck$LassoCheckResult]: Stem: 3784#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 3725#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 3726#L78 assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 3767#L53 call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 3786#$Ultimate##0 ~n := #in~n;~m := #in~m; 3804#L58 assume !(~n <= 1); 3803#L61 assume 2 == ~n;#res := 1; 3801#is_prime_FINAL assume true; 3805#is_prime_EXIT >#120#return; 3782#L53-1 is_prime_#res#1 := is_prime_#t~ret9#1;havoc is_prime_#t~ret9#1; 3719#is_prime_returnLabel#1 main_#t~ret13#1 := is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;havoc is_prime_#in~n#1;assume { :end_inline_is_prime } true;main_~result~0#1 := main_#t~ret13#1;havoc main_#t~ret13#1;havoc main_#t~nondet14#1;main_~f1~0#1 := main_#t~nondet14#1;havoc main_#t~nondet14#1; 3720#L85 assume !(main_~f1~0#1 < 1 || main_~f1~0#1 > 46340);havoc main_#t~nondet15#1;main_~f2~0#1 := main_#t~nondet15#1;havoc main_#t~nondet15#1; 3721#L91 assume !(main_~f2~0#1 < 1 || main_~f2~0#1 > 46340);main_#t~short17#1 := 1 == main_~result~0#1; 3723#L97 assume main_#t~short17#1; 3724#L97-1 call main_#t~ret16#1 := mult(main_~f1~0#1, main_~f2~0#1);< 3752#$Ultimate##0 ~n := #in~n;~m := #in~m; 3753#L18 assume !(~m < 0); 3754#L21 [2024-10-12 00:59:32,311 INFO L747 eck$LassoCheckResult]: Loop: 3754#L21 assume !(0 == ~m); 3732#L24 assume !(1 == ~m); 3733#L27 call #t~ret5 := mult(~n, ~m - 1);< 3741#$Ultimate##0 ~n := #in~n;~m := #in~m; 3759#L18 assume !(~m < 0); 3754#L21 [2024-10-12 00:59:32,311 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:32,311 INFO L85 PathProgramCache]: Analyzing trace with hash 1729864318, now seen corresponding path program 1 times [2024-10-12 00:59:32,311 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:32,311 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [821310191] [2024-10-12 00:59:32,311 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:32,312 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:32,323 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:32,323 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:32,326 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:32,332 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:32,332 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:32,332 INFO L85 PathProgramCache]: Analyzing trace with hash 61274134, now seen corresponding path program 1 times [2024-10-12 00:59:32,332 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:32,332 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [162235932] [2024-10-12 00:59:32,332 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:32,333 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:32,335 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:32,335 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:32,337 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:32,339 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:32,340 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:32,340 INFO L85 PathProgramCache]: Analyzing trace with hash 466508729, now seen corresponding path program 1 times [2024-10-12 00:59:32,340 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:32,340 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [167414060] [2024-10-12 00:59:32,340 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:32,340 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:32,353 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:32,353 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:32,359 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:32,361 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:32,444 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:32,445 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:32,445 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:32,445 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:32,445 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-12 00:59:32,445 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:32,445 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:32,445 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:32,445 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2024-10-12 00:59:32,445 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:32,445 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:32,446 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:32,448 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:32,455 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:32,460 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:32,464 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:32,510 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:32,510 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-12 00:59:32,511 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:32,511 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:32,512 INFO L229 MonitoredProcess]: Starting monitored process 53 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:32,514 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (53)] Waiting until timeout for monitored process [2024-10-12 00:59:32,515 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:32,515 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:32,526 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:32,526 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#res=0} Honda state: {mult_#res=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:32,536 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (53)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:32,536 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:32,536 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:32,537 INFO L229 MonitoredProcess]: Starting monitored process 54 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:32,537 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (54)] Waiting until timeout for monitored process [2024-10-12 00:59:32,538 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:32,538 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:32,567 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (54)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:32,567 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:32,567 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:32,568 INFO L229 MonitoredProcess]: Starting monitored process 55 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:32,569 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (55)] Waiting until timeout for monitored process [2024-10-12 00:59:32,570 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-12 00:59:32,570 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:32,901 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-12 00:59:32,906 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (55)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:32,906 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:32,906 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:32,906 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:32,906 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:32,906 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-12 00:59:32,906 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:32,906 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:32,906 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:32,907 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration8_Loop [2024-10-12 00:59:32,907 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:32,907 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:32,908 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:32,913 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:32,919 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:32,920 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:32,927 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:32,971 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:32,971 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-12 00:59:32,971 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:32,971 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:32,972 INFO L229 MonitoredProcess]: Starting monitored process 56 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:32,973 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (56)] Waiting until timeout for monitored process [2024-10-12 00:59:32,974 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:32,983 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:32,984 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:32,984 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:32,984 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:32,984 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:32,985 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:32,985 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:32,986 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:33,000 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (56)] Ended with exit code 0 [2024-10-12 00:59:33,000 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:33,000 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:33,001 INFO L229 MonitoredProcess]: Starting monitored process 57 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:33,002 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (57)] Waiting until timeout for monitored process [2024-10-12 00:59:33,003 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:33,012 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:33,012 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:33,013 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:33,013 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:33,013 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:33,014 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:33,014 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:33,016 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-12 00:59:33,019 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2024-10-12 00:59:33,019 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. [2024-10-12 00:59:33,019 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:33,019 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:33,021 INFO L229 MonitoredProcess]: Starting monitored process 58 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:33,022 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (58)] Waiting until timeout for monitored process [2024-10-12 00:59:33,022 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-12 00:59:33,022 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-12 00:59:33,022 INFO L474 LassoAnalysis]: Proved termination. [2024-10-12 00:59:33,022 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] [2024-10-12 00:59:33,036 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (57)] Ended with exit code 0 [2024-10-12 00:59:33,036 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-12 00:59:33,045 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:33,065 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:33,065 INFO L255 TraceCheckSpWp]: Trace formula consists of 123 conjuncts, 6 conjuncts are in the unsatisfiable core [2024-10-12 00:59:33,066 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:33,132 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:33,132 INFO L255 TraceCheckSpWp]: Trace formula consists of 43 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-10-12 00:59:33,133 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:33,246 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:33,246 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 5 loop predicates [2024-10-12 00:59:33,246 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 181 states and 245 transitions. cyclomatic complexity: 72 Second operand has 7 states, 6 states have (on average 3.0) internal successors, (18), 6 states have internal predecessors, (18), 2 states have call successors, (3), 3 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-10-12 00:59:33,450 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 181 states and 245 transitions. cyclomatic complexity: 72. Second operand has 7 states, 6 states have (on average 3.0) internal successors, (18), 6 states have internal predecessors, (18), 2 states have call successors, (3), 3 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Result 205 states and 272 transitions. Complement of second has 25 states. [2024-10-12 00:59:33,451 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 8 states 2 stem states 5 non-accepting loop states 1 accepting loop states [2024-10-12 00:59:33,452 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 7 states, 6 states have (on average 3.0) internal successors, (18), 6 states have internal predecessors, (18), 2 states have call successors, (3), 3 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-10-12 00:59:33,452 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 8 states to 8 states and 52 transitions. [2024-10-12 00:59:33,452 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 8 states and 52 transitions. Stem has 17 letters. Loop has 5 letters. [2024-10-12 00:59:33,452 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:33,452 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 8 states and 52 transitions. Stem has 22 letters. Loop has 5 letters. [2024-10-12 00:59:33,452 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:33,452 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 8 states and 52 transitions. Stem has 17 letters. Loop has 10 letters. [2024-10-12 00:59:33,452 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:33,453 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 205 states and 272 transitions. [2024-10-12 00:59:33,455 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2024-10-12 00:59:33,457 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 205 states to 204 states and 271 transitions. [2024-10-12 00:59:33,457 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 177 [2024-10-12 00:59:33,457 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 180 [2024-10-12 00:59:33,457 INFO L73 IsDeterministic]: Start isDeterministic. Operand 204 states and 271 transitions. [2024-10-12 00:59:33,458 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:33,458 INFO L218 hiAutomatonCegarLoop]: Abstraction has 204 states and 271 transitions. [2024-10-12 00:59:33,458 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 204 states and 271 transitions. [2024-10-12 00:59:33,461 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 204 to 191. [2024-10-12 00:59:33,462 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 191 states, 142 states have (on average 1.2887323943661972) internal successors, (183), 149 states have internal predecessors, (183), 30 states have call successors, (30), 20 states have call predecessors, (30), 19 states have return successors, (44), 21 states have call predecessors, (44), 23 states have call successors, (44) [2024-10-12 00:59:33,463 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 191 states to 191 states and 257 transitions. [2024-10-12 00:59:33,463 INFO L240 hiAutomatonCegarLoop]: Abstraction has 191 states and 257 transitions. [2024-10-12 00:59:33,463 INFO L425 stractBuchiCegarLoop]: Abstraction has 191 states and 257 transitions. [2024-10-12 00:59:33,463 INFO L332 stractBuchiCegarLoop]: ======== Iteration 9 ============ [2024-10-12 00:59:33,464 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 191 states and 257 transitions. [2024-10-12 00:59:33,465 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2024-10-12 00:59:33,465 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:33,465 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:33,465 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:33,466 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1] [2024-10-12 00:59:33,466 INFO L745 eck$LassoCheckResult]: Stem: 4294#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 4227#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 4228#L78 assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 4276#L53 call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 4295#$Ultimate##0 ~n := #in~n;~m := #in~m; 4307#L58 assume !(~n <= 1); 4303#L61 assume 2 == ~n;#res := 1; 4299#is_prime_FINAL assume true; 4298#is_prime_EXIT >#120#return; 4293#L53-1 is_prime_#res#1 := is_prime_#t~ret9#1;havoc is_prime_#t~ret9#1; 4221#is_prime_returnLabel#1 main_#t~ret13#1 := is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;havoc is_prime_#in~n#1;assume { :end_inline_is_prime } true;main_~result~0#1 := main_#t~ret13#1;havoc main_#t~ret13#1;havoc main_#t~nondet14#1;main_~f1~0#1 := main_#t~nondet14#1;havoc main_#t~nondet14#1; 4222#L85 assume !(main_~f1~0#1 < 1 || main_~f1~0#1 > 46340);havoc main_#t~nondet15#1;main_~f2~0#1 := main_#t~nondet15#1;havoc main_#t~nondet15#1; 4223#L91 assume !(main_~f2~0#1 < 1 || main_~f2~0#1 > 46340);main_#t~short17#1 := 1 == main_~result~0#1; 4229#L97 assume main_#t~short17#1; 4230#L97-1 call main_#t~ret16#1 := mult(main_~f1~0#1, main_~f2~0#1);< 4258#$Ultimate##0 ~n := #in~n;~m := #in~m; 4259#L18 assume !(~m < 0); 4260#L21 assume !(0 == ~m); 4236#L24 assume !(1 == ~m); 4238#L27 call #t~ret5 := mult(~n, ~m - 1);< 4262#$Ultimate##0 ~n := #in~n;~m := #in~m; 4348#L18 assume ~m < 0; 4246#L19 [2024-10-12 00:59:33,466 INFO L747 eck$LassoCheckResult]: Loop: 4246#L19 call #t~ret4 := mult(~n, -~m);< 4248#$Ultimate##0 ~n := #in~n;~m := #in~m; 4266#L18 assume ~m < 0; 4246#L19 [2024-10-12 00:59:33,466 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:33,466 INFO L85 PathProgramCache]: Analyzing trace with hash 466508726, now seen corresponding path program 1 times [2024-10-12 00:59:33,466 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:33,467 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1363419272] [2024-10-12 00:59:33,467 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:33,467 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:33,472 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:33,520 INFO L368 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 3 [2024-10-12 00:59:33,521 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:33,523 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:33,523 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-12 00:59:33,523 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1363419272] [2024-10-12 00:59:33,523 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1363419272] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-12 00:59:33,523 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-12 00:59:33,523 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-10-12 00:59:33,524 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [153932294] [2024-10-12 00:59:33,524 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-12 00:59:33,524 INFO L750 eck$LassoCheckResult]: stem already infeasible [2024-10-12 00:59:33,524 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:33,524 INFO L85 PathProgramCache]: Analyzing trace with hash 141077, now seen corresponding path program 2 times [2024-10-12 00:59:33,524 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:33,525 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1405017112] [2024-10-12 00:59:33,525 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:33,525 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:33,527 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:33,527 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:33,528 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:33,528 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:33,589 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:33,590 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:33,590 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:33,590 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:33,590 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-12 00:59:33,590 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:33,590 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:33,590 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:33,590 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2024-10-12 00:59:33,590 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:33,590 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:33,591 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:33,597 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:33,603 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:33,604 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:33,610 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:33,646 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:33,647 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-12 00:59:33,647 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:33,647 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:33,649 INFO L229 MonitoredProcess]: Starting monitored process 59 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:33,650 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (59)] Waiting until timeout for monitored process [2024-10-12 00:59:33,651 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:33,651 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:33,667 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:33,667 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret5=0} Honda state: {mult_#t~ret5=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:33,680 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (59)] Ended with exit code 0 [2024-10-12 00:59:33,680 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:33,680 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:33,681 INFO L229 MonitoredProcess]: Starting monitored process 60 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:33,682 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (60)] Waiting until timeout for monitored process [2024-10-12 00:59:33,682 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:33,682 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:33,701 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:33,701 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_~n=-6, mult_#in~n=-6} Honda state: {mult_~n=-6, mult_#in~n=-6} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:33,711 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (60)] Ended with exit code 0 [2024-10-12 00:59:33,712 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:33,712 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:33,713 INFO L229 MonitoredProcess]: Starting monitored process 61 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:33,714 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (61)] Waiting until timeout for monitored process [2024-10-12 00:59:33,714 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:33,714 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:33,725 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-12 00:59:33,725 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {mult_#t~ret4=0} Honda state: {mult_#t~ret4=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-12 00:59:33,735 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (61)] Ended with exit code 0 [2024-10-12 00:59:33,736 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:33,736 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:33,737 INFO L229 MonitoredProcess]: Starting monitored process 62 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:33,738 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (62)] Waiting until timeout for monitored process [2024-10-12 00:59:33,739 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-12 00:59:33,739 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:33,783 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (62)] Ended with exit code 0 [2024-10-12 00:59:33,784 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:33,784 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:33,785 INFO L229 MonitoredProcess]: Starting monitored process 63 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:33,787 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (63)] Waiting until timeout for monitored process [2024-10-12 00:59:33,788 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-12 00:59:33,788 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-12 00:59:34,377 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-12 00:59:34,382 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (63)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:34,382 INFO L204 LassoAnalysis]: Preferences: [2024-10-12 00:59:34,382 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-12 00:59:34,382 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-12 00:59:34,382 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-12 00:59:34,382 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-12 00:59:34,382 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:34,382 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-12 00:59:34,383 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-12 00:59:34,383 INFO L132 ssoRankerPreferences]: Filename of dumped script: Primes.c_Iteration9_Loop [2024-10-12 00:59:34,383 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-12 00:59:34,383 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-12 00:59:34,383 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:34,391 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:34,393 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:34,396 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:34,402 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-12 00:59:34,444 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-12 00:59:34,444 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-12 00:59:34,444 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:34,444 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:34,446 INFO L229 MonitoredProcess]: Starting monitored process 64 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:34,448 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (64)] Waiting until timeout for monitored process [2024-10-12 00:59:34,449 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:34,453 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (58)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:34,460 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:34,460 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:34,460 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:34,460 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:34,460 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:34,461 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:34,461 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:34,462 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:34,472 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (64)] Ended with exit code 0 [2024-10-12 00:59:34,473 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:34,473 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:34,474 INFO L229 MonitoredProcess]: Starting monitored process 65 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:34,475 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (65)] Waiting until timeout for monitored process [2024-10-12 00:59:34,476 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:34,487 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:34,487 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:34,487 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:34,487 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:34,487 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:34,487 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:34,488 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:34,489 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:34,499 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (65)] Ended with exit code 0 [2024-10-12 00:59:34,499 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:34,500 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:34,501 INFO L229 MonitoredProcess]: Starting monitored process 66 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:34,502 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (66)] Waiting until timeout for monitored process [2024-10-12 00:59:34,503 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:34,512 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:34,512 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:34,513 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:34,513 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:34,513 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:34,513 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:34,513 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:34,514 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-12 00:59:34,524 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (66)] Ended with exit code 0 [2024-10-12 00:59:34,524 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:34,525 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:34,525 INFO L229 MonitoredProcess]: Starting monitored process 67 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:34,526 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (67)] Waiting until timeout for monitored process [2024-10-12 00:59:34,527 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2024-10-12 00:59:34,537 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-12 00:59:34,537 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-12 00:59:34,537 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-12 00:59:34,537 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-12 00:59:34,537 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-12 00:59:34,538 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-12 00:59:34,539 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-12 00:59:34,541 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-12 00:59:34,542 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2024-10-12 00:59:34,542 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. [2024-10-12 00:59:34,543 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-12 00:59:34,543 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:34,544 INFO L229 MonitoredProcess]: Starting monitored process 68 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-12 00:59:34,545 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (68)] Waiting until timeout for monitored process [2024-10-12 00:59:34,545 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-12 00:59:34,545 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-12 00:59:34,545 INFO L474 LassoAnalysis]: Proved termination. [2024-10-12 00:59:34,545 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(mult_~m) = 1*mult_~m Supporting invariants [] [2024-10-12 00:59:34,555 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (67)] Ended with exit code 0 [2024-10-12 00:59:34,556 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-12 00:59:34,566 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:34,587 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:34,588 INFO L255 TraceCheckSpWp]: Trace formula consists of 164 conjuncts, 8 conjuncts are in the unsatisfiable core [2024-10-12 00:59:34,588 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:34,666 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:34,667 INFO L255 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 7 conjuncts are in the unsatisfiable core [2024-10-12 00:59:34,667 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:34,684 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:34,684 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.2 stem predicates 3 loop predicates [2024-10-12 00:59:34,684 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 191 states and 257 transitions. cyclomatic complexity: 75 Second operand has 5 states, 4 states have (on average 4.75) internal successors, (19), 4 states have internal predecessors, (19), 2 states have call successors, (4), 3 states have call predecessors, (4), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-10-12 00:59:34,760 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 191 states and 257 transitions. cyclomatic complexity: 75. Second operand has 5 states, 4 states have (on average 4.75) internal successors, (19), 4 states have internal predecessors, (19), 2 states have call successors, (4), 3 states have call predecessors, (4), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Result 232 states and 303 transitions. Complement of second has 11 states. [2024-10-12 00:59:34,761 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 [2024-10-12 00:59:34,761 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 4 states have (on average 4.75) internal successors, (19), 4 states have internal predecessors, (19), 2 states have call successors, (4), 3 states have call predecessors, (4), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-10-12 00:59:34,762 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 54 transitions. [2024-10-12 00:59:34,762 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 22 letters. Loop has 3 letters. [2024-10-12 00:59:34,762 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:34,762 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 25 letters. Loop has 3 letters. [2024-10-12 00:59:34,762 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:34,762 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 54 transitions. Stem has 22 letters. Loop has 6 letters. [2024-10-12 00:59:34,762 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-12 00:59:34,762 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 232 states and 303 transitions. [2024-10-12 00:59:34,765 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 42 [2024-10-12 00:59:34,767 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 232 states to 222 states and 293 transitions. [2024-10-12 00:59:34,767 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 188 [2024-10-12 00:59:34,767 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 190 [2024-10-12 00:59:34,767 INFO L73 IsDeterministic]: Start isDeterministic. Operand 222 states and 293 transitions. [2024-10-12 00:59:34,768 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:34,768 INFO L218 hiAutomatonCegarLoop]: Abstraction has 222 states and 293 transitions. [2024-10-12 00:59:34,768 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 222 states and 293 transitions. [2024-10-12 00:59:34,772 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 222 to 209. [2024-10-12 00:59:34,772 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 209 states, 156 states have (on average 1.2692307692307692) internal successors, (198), 162 states have internal predecessors, (198), 34 states have call successors, (37), 25 states have call predecessors, (37), 19 states have return successors, (44), 21 states have call predecessors, (44), 23 states have call successors, (44) [2024-10-12 00:59:34,774 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 209 states to 209 states and 279 transitions. [2024-10-12 00:59:34,774 INFO L240 hiAutomatonCegarLoop]: Abstraction has 209 states and 279 transitions. [2024-10-12 00:59:34,774 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-12 00:59:34,774 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-10-12 00:59:34,774 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2024-10-12 00:59:34,774 INFO L87 Difference]: Start difference. First operand 209 states and 279 transitions. Second operand has 5 states, 4 states have (on average 4.5) internal successors, (18), 4 states have internal predecessors, (18), 2 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-10-12 00:59:34,801 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-12 00:59:34,801 INFO L93 Difference]: Finished difference Result 205 states and 270 transitions. [2024-10-12 00:59:34,802 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 205 states and 270 transitions. [2024-10-12 00:59:34,804 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2024-10-12 00:59:34,805 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 205 states to 145 states and 177 transitions. [2024-10-12 00:59:34,805 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 135 [2024-10-12 00:59:34,805 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 135 [2024-10-12 00:59:34,805 INFO L73 IsDeterministic]: Start isDeterministic. Operand 145 states and 177 transitions. [2024-10-12 00:59:34,806 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:34,806 INFO L218 hiAutomatonCegarLoop]: Abstraction has 145 states and 177 transitions. [2024-10-12 00:59:34,806 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 145 states and 177 transitions. [2024-10-12 00:59:34,808 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 145 to 125. [2024-10-12 00:59:34,809 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 125 states, 95 states have (on average 1.1368421052631579) internal successors, (108), 100 states have internal predecessors, (108), 18 states have call successors, (18), 13 states have call predecessors, (18), 12 states have return successors, (28), 11 states have call predecessors, (28), 14 states have call successors, (28) [2024-10-12 00:59:34,809 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 125 states to 125 states and 154 transitions. [2024-10-12 00:59:34,809 INFO L240 hiAutomatonCegarLoop]: Abstraction has 125 states and 154 transitions. [2024-10-12 00:59:34,810 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-12 00:59:34,810 INFO L425 stractBuchiCegarLoop]: Abstraction has 125 states and 154 transitions. [2024-10-12 00:59:34,810 INFO L332 stractBuchiCegarLoop]: ======== Iteration 10 ============ [2024-10-12 00:59:34,810 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 125 states and 154 transitions. [2024-10-12 00:59:34,811 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2024-10-12 00:59:34,811 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:34,811 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:34,812 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [3, 3, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:34,812 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:34,812 INFO L745 eck$LassoCheckResult]: Stem: 5206#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 5196#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 5188#L78 assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 5176#L53 call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 5211#$Ultimate##0 ~n := #in~n;~m := #in~m; 5233#L58 assume !(~n <= 1); 5232#L61 assume !(2 == ~n); 5231#L64 assume ~n > 2; 5230#L65 assume !(~m <= 1); 5224#L68 call #t~ret10 := multiple_of(~n, ~m);< 5229#$Ultimate##0 ~n := #in~n;~m := #in~m; 5228#L32 assume !(~m < 0); 5227#L35 assume !(~n < 0); 5226#L38 assume !(0 == ~m); 5225#L41 assume !(0 == ~n); 5168#L44 call #t~ret8 := multiple_of(~n - ~m, ~m);< 5222#$Ultimate##0 ~n := #in~n;~m := #in~m; 5223#L32 assume !(~m < 0); 5240#L35 assume ~n < 0; 5194#L36 call #t~ret7 := multiple_of(-~n, ~m);< 5220#$Ultimate##0 ~n := #in~n;~m := #in~m; 5221#L32 assume !(~m < 0); 5251#L35 assume !(~n < 0); 5249#L38 assume !(0 == ~m); 5245#L41 assume !(0 == ~n); 5214#L44 [2024-10-12 00:59:34,812 INFO L747 eck$LassoCheckResult]: Loop: 5214#L44 call #t~ret8 := multiple_of(~n - ~m, ~m);< 5255#$Ultimate##0 ~n := #in~n;~m := #in~m; 5254#L32 assume !(~m < 0); 5234#L35 assume ~n < 0; 5190#L36 call #t~ret7 := multiple_of(-~n, ~m);< 5191#$Ultimate##0 ~n := #in~n;~m := #in~m; 5253#L32 assume !(~m < 0); 5252#L35 assume !(~n < 0); 5250#L38 assume !(0 == ~m); 5246#L41 assume !(0 == ~n); 5214#L44 [2024-10-12 00:59:34,812 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:34,812 INFO L85 PathProgramCache]: Analyzing trace with hash 1630507919, now seen corresponding path program 1 times [2024-10-12 00:59:34,812 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:34,813 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [847738875] [2024-10-12 00:59:34,813 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:34,813 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:34,819 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:34,921 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 8 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:34,921 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-12 00:59:34,921 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [847738875] [2024-10-12 00:59:34,921 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [847738875] provided 0 perfect and 1 imperfect interpolant sequences [2024-10-12 00:59:34,921 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [239893325] [2024-10-12 00:59:34,921 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:34,921 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-12 00:59:34,921 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 00:59:34,922 INFO L229 MonitoredProcess]: Starting monitored process 69 with /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-10-12 00:59:34,923 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (69)] Waiting until timeout for monitored process [2024-10-12 00:59:34,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 00:59:34,959 INFO L255 TraceCheckSpWp]: Trace formula consists of 82 conjuncts, 11 conjuncts are in the unsatisfiable core [2024-10-12 00:59:34,960 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-12 00:59:34,995 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 8 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:34,996 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-10-12 00:59:35,079 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 8 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 00:59:35,079 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [239893325] provided 0 perfect and 2 imperfect interpolant sequences [2024-10-12 00:59:35,079 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-10-12 00:59:35,080 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8, 8] total 14 [2024-10-12 00:59:35,080 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2111349933] [2024-10-12 00:59:35,080 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-10-12 00:59:35,080 INFO L750 eck$LassoCheckResult]: stem already infeasible [2024-10-12 00:59:35,080 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:35,080 INFO L85 PathProgramCache]: Analyzing trace with hash 1914411566, now seen corresponding path program 1 times [2024-10-12 00:59:35,080 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:35,081 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1068545429] [2024-10-12 00:59:35,081 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:35,081 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:35,084 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:35,084 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:35,085 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:35,086 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:35,290 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-12 00:59:35,291 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 14 interpolants. [2024-10-12 00:59:35,291 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=31, Invalid=151, Unknown=0, NotChecked=0, Total=182 [2024-10-12 00:59:35,291 INFO L87 Difference]: Start difference. First operand 125 states and 154 transitions. cyclomatic complexity: 35 Second operand has 14 states, 14 states have (on average 2.4285714285714284) internal successors, (34), 8 states have internal predecessors, (34), 6 states have call successors, (7), 7 states have call predecessors, (7), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-12 00:59:35,418 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-12 00:59:35,418 INFO L93 Difference]: Finished difference Result 149 states and 188 transitions. [2024-10-12 00:59:35,418 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 149 states and 188 transitions. [2024-10-12 00:59:35,420 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2024-10-12 00:59:35,421 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 149 states to 147 states and 186 transitions. [2024-10-12 00:59:35,421 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 132 [2024-10-12 00:59:35,421 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 132 [2024-10-12 00:59:35,421 INFO L73 IsDeterministic]: Start isDeterministic. Operand 147 states and 186 transitions. [2024-10-12 00:59:35,421 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-12 00:59:35,421 INFO L218 hiAutomatonCegarLoop]: Abstraction has 147 states and 186 transitions. [2024-10-12 00:59:35,422 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 147 states and 186 transitions. [2024-10-12 00:59:35,424 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 147 to 143. [2024-10-12 00:59:35,425 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 143 states, 110 states have (on average 1.1090909090909091) internal successors, (122), 114 states have internal predecessors, (122), 20 states have call successors, (20), 15 states have call predecessors, (20), 13 states have return successors, (31), 13 states have call predecessors, (31), 17 states have call successors, (31) [2024-10-12 00:59:35,425 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 143 states to 143 states and 173 transitions. [2024-10-12 00:59:35,425 INFO L240 hiAutomatonCegarLoop]: Abstraction has 143 states and 173 transitions. [2024-10-12 00:59:35,426 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 11 states. [2024-10-12 00:59:35,426 INFO L425 stractBuchiCegarLoop]: Abstraction has 143 states and 173 transitions. [2024-10-12 00:59:35,426 INFO L332 stractBuchiCegarLoop]: ======== Iteration 11 ============ [2024-10-12 00:59:35,427 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 143 states and 173 transitions. [2024-10-12 00:59:35,427 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 36 [2024-10-12 00:59:35,427 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-12 00:59:35,428 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-12 00:59:35,428 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [4, 4, 3, 3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:35,428 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [2, 2, 1, 1, 1, 1, 1, 1] [2024-10-12 00:59:35,428 INFO L745 eck$LassoCheckResult]: Stem: 5655#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(9, 2);call #Ultimate.allocInit(12, 3); 5639#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet12#1, main_#t~ret13#1, main_#t~nondet14#1, main_#t~nondet15#1, main_#t~ret16#1, main_#t~short17#1, main_~n~0#1, main_~result~0#1, main_~f1~0#1, main_~f2~0#1;havoc main_#t~nondet12#1;main_~n~0#1 := main_#t~nondet12#1;havoc main_#t~nondet12#1; 5634#L78 assume !(main_~n~0#1 < 1 || main_~n~0#1 > 46340);assume { :begin_inline_is_prime } true;is_prime_#in~n#1 := main_~n~0#1;havoc is_prime_#res#1;havoc is_prime_#t~ret9#1, is_prime_~n#1;is_prime_~n#1 := is_prime_#in~n#1; 5618#L53 call is_prime_#t~ret9#1 := is_prime_(is_prime_~n#1, is_prime_~n#1 - 1);< 5658#$Ultimate##0 ~n := #in~n;~m := #in~m; 5684#L58 assume !(~n <= 1); 5683#L61 assume !(2 == ~n); 5682#L64 assume ~n > 2; 5681#L65 assume !(~m <= 1); 5675#L68 call #t~ret10 := multiple_of(~n, ~m);< 5680#$Ultimate##0 ~n := #in~n;~m := #in~m; 5679#L32 assume !(~m < 0); 5678#L35 assume !(~n < 0); 5677#L38 assume !(0 == ~m); 5676#L41 assume !(0 == ~n); 5673#L44 call #t~ret8 := multiple_of(~n - ~m, ~m);< 5672#$Ultimate##0 ~n := #in~n;~m := #in~m; 5674#L32 assume !(~m < 0); 5746#L35 assume !(~n < 0); 5745#L38 assume !(0 == ~m); 5744#L41 assume !(0 == ~n); 5624#L44 call #t~ret8 := multiple_of(~n - ~m, ~m);< 5622#$Ultimate##0 ~n := #in~n;~m := #in~m; 5625#L32 assume !(~m < 0); 5667#L35 assume ~n < 0; 5610#L36 call #t~ret7 := multiple_of(-~n, ~m);< 5666#$Ultimate##0 ~n := #in~n;~m := #in~m; 5640#L32 assume !(~m < 0); 5641#L35 assume !(~n < 0); 5657#L38 assume !(0 == ~m); 5748#L41 assume !(0 == ~n); 5630#L44 [2024-10-12 00:59:35,428 INFO L747 eck$LassoCheckResult]: Loop: 5630#L44 call #t~ret8 := multiple_of(~n - ~m, ~m);< 5691#$Ultimate##0 ~n := #in~n;~m := #in~m; 5686#L32 assume !(~m < 0); 5685#L35 assume ~n < 0; 5613#L36 call #t~ret7 := multiple_of(-~n, ~m);< 5635#$Ultimate##0 ~n := #in~n;~m := #in~m; 5689#L32 assume !(~m < 0); 5751#L35 assume !(~n < 0); 5750#L38 assume !(0 == ~m); 5656#L41 assume !(0 == ~n); 5630#L44 [2024-10-12 00:59:35,429 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:35,429 INFO L85 PathProgramCache]: Analyzing trace with hash 1699001928, now seen corresponding path program 2 times [2024-10-12 00:59:35,429 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:35,429 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [589945416] [2024-10-12 00:59:35,429 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:35,429 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:35,435 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:35,436 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:35,440 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:35,442 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:35,442 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:35,442 INFO L85 PathProgramCache]: Analyzing trace with hash 1914411566, now seen corresponding path program 2 times [2024-10-12 00:59:35,443 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:35,443 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [241849992] [2024-10-12 00:59:35,443 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:35,443 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:35,445 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:35,446 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:35,447 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:35,449 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:35,450 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 00:59:35,450 INFO L85 PathProgramCache]: Analyzing trace with hash -186489931, now seen corresponding path program 3 times [2024-10-12 00:59:35,450 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 00:59:35,450 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [542542544] [2024-10-12 00:59:35,450 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 00:59:35,450 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 00:59:35,458 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:35,458 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:35,465 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:35,469 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 00:59:35,523 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (68)] Forceful destruction successful, exit code 0 [2024-10-12 00:59:36,434 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:36,434 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 00:59:36,441 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 00:59:36,483 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 12.10 12:59:36 BoogieIcfgContainer [2024-10-12 00:59:36,484 INFO L131 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2024-10-12 00:59:36,484 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-12 00:59:36,484 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-12 00:59:36,485 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-12 00:59:36,485 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.10 12:59:24" (3/4) ... [2024-10-12 00:59:36,486 INFO L136 WitnessPrinter]: Generating witness for non-termination counterexample [2024-10-12 00:59:36,519 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/witness.graphml [2024-10-12 00:59:36,519 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-12 00:59:36,520 INFO L158 Benchmark]: Toolchain (without parser) took 12935.92ms. Allocated memory was 144.7MB in the beginning and 205.5MB in the end (delta: 60.8MB). Free memory was 89.4MB in the beginning and 72.3MB in the end (delta: 17.0MB). Peak memory consumption was 78.2MB. Max. memory is 16.1GB. [2024-10-12 00:59:36,520 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 144.7MB. Free memory is still 104.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-12 00:59:36,520 INFO L158 Benchmark]: CACSL2BoogieTranslator took 314.87ms. Allocated memory is still 144.7MB. Free memory was 89.4MB in the beginning and 76.7MB in the end (delta: 12.6MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-10-12 00:59:36,521 INFO L158 Benchmark]: Boogie Procedure Inliner took 34.20ms. Allocated memory is still 144.7MB. Free memory was 76.4MB in the beginning and 75.0MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-12 00:59:36,521 INFO L158 Benchmark]: Boogie Preprocessor took 47.65ms. Allocated memory is still 144.7MB. Free memory was 75.0MB in the beginning and 73.2MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-12 00:59:36,521 INFO L158 Benchmark]: RCFGBuilder took 341.88ms. Allocated memory is still 144.7MB. Free memory was 73.2MB in the beginning and 59.3MB in the end (delta: 13.9MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-10-12 00:59:36,521 INFO L158 Benchmark]: BuchiAutomizer took 12154.07ms. Allocated memory was 144.7MB in the beginning and 205.5MB in the end (delta: 60.8MB). Free memory was 59.3MB in the beginning and 75.4MB in the end (delta: -16.1MB). Peak memory consumption was 46.7MB. Max. memory is 16.1GB. [2024-10-12 00:59:36,521 INFO L158 Benchmark]: Witness Printer took 35.33ms. Allocated memory is still 205.5MB. Free memory was 75.4MB in the beginning and 72.3MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-12 00:59:36,523 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.17ms. Allocated memory is still 144.7MB. Free memory is still 104.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 314.87ms. Allocated memory is still 144.7MB. Free memory was 89.4MB in the beginning and 76.7MB in the end (delta: 12.6MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 34.20ms. Allocated memory is still 144.7MB. Free memory was 76.4MB in the beginning and 75.0MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 47.65ms. Allocated memory is still 144.7MB. Free memory was 75.0MB in the beginning and 73.2MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 341.88ms. Allocated memory is still 144.7MB. Free memory was 73.2MB in the beginning and 59.3MB in the end (delta: 13.9MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * BuchiAutomizer took 12154.07ms. Allocated memory was 144.7MB in the beginning and 205.5MB in the end (delta: 60.8MB). Free memory was 59.3MB in the beginning and 75.4MB in the end (delta: -16.1MB). Peak memory consumption was 46.7MB. Max. memory is 16.1GB. * Witness Printer took 35.33ms. Allocated memory is still 205.5MB. Free memory was 75.4MB in the beginning and 72.3MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * 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 15 locations. One deterministic module has affine ranking function m and consists of 5 locations. One deterministic module has affine ranking function ((long long) -1 * \old(m)) and consists of 5 locations. One deterministic module has affine ranking function ((long long) -1 * \old(n)) and consists of 5 locations. One deterministic module has affine ranking function \old(n) and consists of 8 locations. One deterministic module has affine ranking function m and consists of 8 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 14 locations. The remainder module has 143 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 12.0s and 11 iterations. TraceHistogramMax:4. Analysis of lassos took 8.4s. Construction of modules took 0.8s. Büchi inclusion checks took 2.4s. Highest rank in rank-based complementation 3. Minimization of det autom 4. Minimization of nondet autom 11. Automata minimization 0.1s AutomataMinimizationTime, 15 MinimizatonAttempts, 303 StatesRemovedByMinimization, 15 NontrivialMinimizations. Non-live state removal took 0.1s Buchi closure took 0.0s. Biggest automaton had -1 states and ocurred in iteration -1. Nontrivial modules had stage [7, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 1/7 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 667 SdHoareTripleChecker+Valid, 1.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 643 mSDsluCounter, 2013 SdHoareTripleChecker+Invalid, 0.9s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 1347 mSDsCounter, 205 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 998 IncrementalHoareTripleChecker+Invalid, 1203 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 205 mSolverCounterUnsat, 666 mSDtfsCounter, 998 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI2 SFLT2 conc0 concLT1 SILN1 SILU0 SILI0 SILT4 lasso0 LassoPreprocessingBenchmarks: Lassos: inital20 mio100 ax100 hnf100 lsp79 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq170 hnf93 smp89 dnf100 smp100 tf109 neg100 sie103 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 25ms VariablesStem: 0 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 0 MotzkinApplications: 2 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 19 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 7 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 2.3s InitialAbstractionConstructionTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - LassoShapedNonTerminationArgument [Line: 44]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite program execution. Stem: [L77] int n = __VERIFIER_nondet_int(); [L78] COND FALSE !(n < 1 || n > 46340) [L83] CALL is_prime(n) [L53] CALL is_prime_(n, n - 1) VAL [\old(m)=2, \old(n)=3] [L58] COND FALSE !(n <= 1) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L61] COND FALSE !(n == 2) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L64] COND TRUE n > 2 VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L65] COND FALSE !(m <= 1) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L68] CALL multiple_of(n, m) VAL [\old(m)=2, \old(n)=3] [L32] COND FALSE !(m < 0) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L35] COND FALSE !(n < 0) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L38] COND FALSE !(m == 0) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L41] COND FALSE !(n == 0) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L44] CALL multiple_of(n - m, m) VAL [\old(m)=2, \old(n)=1] [L32] COND FALSE !(m < 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L35] COND FALSE !(n < 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L38] COND FALSE !(m == 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L41] COND FALSE !(n == 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L44] CALL multiple_of(n - m, m) VAL [\old(m)=2, \old(n)=-1] [L32] COND FALSE !(m < 0) VAL [\old(m)=2, \old(n)=-1, m=2, n=-1] [L35] COND TRUE n < 0 VAL [\old(m)=2, \old(n)=-1, m=2, n=-1] [L36] CALL multiple_of(-n, m) VAL [\old(m)=2, \old(n)=1] [L32] COND FALSE !(m < 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L35] COND FALSE !(n < 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L38] COND FALSE !(m == 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L41] COND FALSE !(n == 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] 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. - 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) [L83] CALL is_prime(n) [L53] CALL is_prime_(n, n - 1) VAL [\old(m)=2, \old(n)=3] [L58] COND FALSE !(n <= 1) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L61] COND FALSE !(n == 2) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L64] COND TRUE n > 2 VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L65] COND FALSE !(m <= 1) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L68] CALL multiple_of(n, m) VAL [\old(m)=2, \old(n)=3] [L32] COND FALSE !(m < 0) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L35] COND FALSE !(n < 0) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L38] COND FALSE !(m == 0) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L41] COND FALSE !(n == 0) VAL [\old(m)=2, \old(n)=3, m=2, n=3] [L44] CALL multiple_of(n - m, m) VAL [\old(m)=2, \old(n)=1] [L32] COND FALSE !(m < 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L35] COND FALSE !(n < 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L38] COND FALSE !(m == 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L41] COND FALSE !(n == 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L44] CALL multiple_of(n - m, m) VAL [\old(m)=2, \old(n)=-1] [L32] COND FALSE !(m < 0) VAL [\old(m)=2, \old(n)=-1, m=2, n=-1] [L35] COND TRUE n < 0 VAL [\old(m)=2, \old(n)=-1, m=2, n=-1] [L36] CALL multiple_of(-n, m) VAL [\old(m)=2, \old(n)=1] [L32] COND FALSE !(m < 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L35] COND FALSE !(n < 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L38] COND FALSE !(m == 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] [L41] COND FALSE !(n == 0) VAL [\old(m)=2, \old(n)=1, m=2, n=1] 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! [2024-10-12 00:59:36,545 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (69)] Ended with exit code 0 [2024-10-12 00:59:36,745 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2024-10-12 00:59:36,947 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-clean/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM)