./Ultimate.py --spec /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/properties/termination.prp --file /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-restricted-15/Flip2.c --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version a046e57d Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-restricted-15/Flip2.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/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 64bit --witnessprinter.graph.data.programhash 743a1142650cc90419737e0fcd83ae36167644025e705a99270cea90986dadac --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.dk.eval-mul-div-a046e57-m [2024-10-13 16:57:49,502 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-13 16:57:49,580 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2024-10-13 16:57:49,586 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-13 16:57:49,586 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-13 16:57:49,617 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-13 16:57:49,618 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-13 16:57:49,619 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-13 16:57:49,620 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-13 16:57:49,621 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-13 16:57:49,622 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-13 16:57:49,622 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-13 16:57:49,622 INFO L153 SettingsManager]: * Use SBE=true [2024-10-13 16:57:49,623 INFO L151 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2024-10-13 16:57:49,623 INFO L153 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2024-10-13 16:57:49,623 INFO L153 SettingsManager]: * Use old map elimination=false [2024-10-13 16:57:49,624 INFO L153 SettingsManager]: * Use external solver (rank synthesis)=false [2024-10-13 16:57:49,627 INFO L153 SettingsManager]: * Use only trivial implications for array writes=true [2024-10-13 16:57:49,627 INFO L153 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2024-10-13 16:57:49,627 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-13 16:57:49,627 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2024-10-13 16:57:49,629 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-13 16:57:49,630 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-13 16:57:49,630 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2024-10-13 16:57:49,630 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2024-10-13 16:57:49,630 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2024-10-13 16:57:49,631 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-13 16:57:49,631 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-13 16:57:49,631 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-13 16:57:49,631 INFO L153 SettingsManager]: * Assume nondeterminstic values are in range=false [2024-10-13 16:57:49,631 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-13 16:57:49,632 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-13 16:57:49,632 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-13 16:57:49,632 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-13 16:57:49,633 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-13 16:57:49,633 INFO L151 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2024-10-13 16:57:49,634 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/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 743a1142650cc90419737e0fcd83ae36167644025e705a99270cea90986dadac [2024-10-13 16:57:49,895 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-13 16:57:49,916 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-13 16:57:49,919 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-13 16:57:49,920 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-13 16:57:49,922 INFO L274 PluginConnector]: CDTParser initialized [2024-10-13 16:57:49,923 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-restricted-15/Flip2.c [2024-10-13 16:57:51,414 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-13 16:57:51,586 INFO L384 CDTParser]: Found 1 translation units. [2024-10-13 16:57:51,587 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-restricted-15/Flip2.c [2024-10-13 16:57:51,597 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3f182060a/438d0a1abc0e4c8390b893c899ae40a7/FLAG5a6b6303f [2024-10-13 16:57:51,622 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3f182060a/438d0a1abc0e4c8390b893c899ae40a7 [2024-10-13 16:57:51,627 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-13 16:57:51,629 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-13 16:57:51,630 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-13 16:57:51,630 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-13 16:57:51,635 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-13 16:57:51,636 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,639 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@782d1872 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51, skipping insertion in model container [2024-10-13 16:57:51,639 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,658 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-13 16:57:51,841 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 16:57:51,848 INFO L200 MainTranslator]: Completed pre-run [2024-10-13 16:57:51,862 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 16:57:51,877 INFO L204 MainTranslator]: Completed translation [2024-10-13 16:57:51,878 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51 WrapperNode [2024-10-13 16:57:51,878 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-13 16:57:51,879 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-13 16:57:51,879 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-13 16:57:51,879 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-13 16:57:51,886 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,889 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,905 INFO L138 Inliner]: procedures = 4, calls = 2, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 25 [2024-10-13 16:57:51,906 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-13 16:57:51,907 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-13 16:57:51,907 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-13 16:57:51,908 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-13 16:57:51,917 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,918 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,918 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,925 INFO L175 MemorySlicer]: No memory access in input program. [2024-10-13 16:57:51,926 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,926 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,928 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,932 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,932 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,933 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,934 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-13 16:57:51,935 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-13 16:57:51,936 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-13 16:57:51,936 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-13 16:57:51,937 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (1/1) ... [2024-10-13 16:57:51,942 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:51,953 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:51,969 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:51,971 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2024-10-13 16:57:52,009 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-13 16:57:52,009 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-13 16:57:52,106 INFO L238 CfgBuilder]: Building ICFG [2024-10-13 16:57:52,108 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-13 16:57:52,176 INFO L? ?]: Removed 6 outVars from TransFormulas that were not future-live. [2024-10-13 16:57:52,176 INFO L287 CfgBuilder]: Performing block encoding [2024-10-13 16:57:52,187 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-13 16:57:52,187 INFO L314 CfgBuilder]: Removed 1 assume(true) statements. [2024-10-13 16:57:52,188 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 04:57:52 BoogieIcfgContainer [2024-10-13 16:57:52,188 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-13 16:57:52,189 INFO L112 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2024-10-13 16:57:52,189 INFO L270 PluginConnector]: Initializing BuchiAutomizer... [2024-10-13 16:57:52,193 INFO L274 PluginConnector]: BuchiAutomizer initialized [2024-10-13 16:57:52,194 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-10-13 16:57:52,195 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 13.10 04:57:51" (1/3) ... [2024-10-13 16:57:52,196 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@69fcb5a5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 13.10 04:57:52, skipping insertion in model container [2024-10-13 16:57:52,196 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-10-13 16:57:52,196 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 04:57:51" (2/3) ... [2024-10-13 16:57:52,197 INFO L204 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@69fcb5a5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 13.10 04:57:52, skipping insertion in model container [2024-10-13 16:57:52,197 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2024-10-13 16:57:52,197 INFO L184 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 04:57:52" (3/3) ... [2024-10-13 16:57:52,200 INFO L332 chiAutomizerObserver]: Analyzing ICFG Flip2.c [2024-10-13 16:57:52,251 INFO L300 stractBuchiCegarLoop]: Interprodecural is true [2024-10-13 16:57:52,251 INFO L301 stractBuchiCegarLoop]: Hoare is None [2024-10-13 16:57:52,251 INFO L302 stractBuchiCegarLoop]: Compute interpolants for ForwardPredicates [2024-10-13 16:57:52,251 INFO L303 stractBuchiCegarLoop]: Backedges is STRAIGHT_LINE [2024-10-13 16:57:52,252 INFO L304 stractBuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2024-10-13 16:57:52,252 INFO L305 stractBuchiCegarLoop]: Difference is false [2024-10-13 16:57:52,252 INFO L306 stractBuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2024-10-13 16:57:52,253 INFO L310 stractBuchiCegarLoop]: ======== Iteration 0 == of CEGAR loop == BuchiAutomatonCegarLoop ======== [2024-10-13 16:57:52,257 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 9 states, 8 states have (on average 1.5) internal successors, (12), 8 states have internal predecessors, (12), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:52,272 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2024-10-13 16:57:52,272 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-13 16:57:52,272 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-13 16:57:52,278 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1] [2024-10-13 16:57:52,278 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1] [2024-10-13 16:57:52,278 INFO L332 stractBuchiCegarLoop]: ======== Iteration 1 ============ [2024-10-13 16:57:52,278 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 9 states, 8 states have (on average 1.5) internal successors, (12), 8 states have internal predecessors, (12), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:52,279 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2024-10-13 16:57:52,279 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-13 16:57:52,279 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-13 16:57:52,280 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1] [2024-10-13 16:57:52,280 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1] [2024-10-13 16:57:52,286 INFO L745 eck$LassoCheckResult]: Stem: 6#$Ultimate##0true assume { :begin_inline_ULTIMATE.init } true; 7#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet1#1, main_~i~0#1, main_~j~0#1, main_~t~0#1;havoc main_~i~0#1;havoc main_~j~0#1;havoc main_~t~0#1;havoc main_#t~nondet0#1;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;havoc main_#t~nondet1#1;main_~j~0#1 := main_#t~nondet1#1;havoc main_#t~nondet1#1;main_~t~0#1 := 0; 2#L19-2true [2024-10-13 16:57:52,287 INFO L747 eck$LassoCheckResult]: Loop: 2#L19-2true assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 9#L14true assume main_~i~0#1 < main_~j~0#1;main_~t~0#1 := main_~i~0#1;main_~i~0#1 := main_~j~0#1;main_~j~0#1 := main_~t~0#1; 2#L19-2true [2024-10-13 16:57:52,292 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:52,293 INFO L85 PathProgramCache]: Analyzing trace with hash 963, now seen corresponding path program 1 times [2024-10-13 16:57:52,302 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:52,302 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1008901738] [2024-10-13 16:57:52,303 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:52,303 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:52,403 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:52,407 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:52,413 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:52,431 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:52,433 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:52,437 INFO L85 PathProgramCache]: Analyzing trace with hash 1316, now seen corresponding path program 1 times [2024-10-13 16:57:52,437 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:52,437 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1357845454] [2024-10-13 16:57:52,437 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:52,438 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:52,452 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:52,453 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:52,462 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:52,465 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:52,466 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:52,467 INFO L85 PathProgramCache]: Analyzing trace with hash 925798, now seen corresponding path program 1 times [2024-10-13 16:57:52,468 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:52,468 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [222570046] [2024-10-13 16:57:52,468 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:52,468 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:52,482 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:52,484 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:52,494 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:52,496 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:52,629 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 16:57:52,631 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 16:57:52,632 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 16:57:52,632 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 16:57:52,632 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-13 16:57:52,632 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:52,632 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 16:57:52,632 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 16:57:52,633 INFO L132 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration1_Loop [2024-10-13 16:57:52,633 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 16:57:52,633 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 16:57:52,646 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:52,655 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:52,659 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:52,739 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 16:57:52,740 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-13 16:57:52,742 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:52,743 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:52,745 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:52,747 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (2)] Waiting until timeout for monitored process [2024-10-13 16:57:52,748 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:52,748 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:52,778 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-13 16:57:52,778 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {v_rep~unnamed0~0~true_1=1} Honda state: {v_rep~unnamed0~0~true_1=1} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-13 16:57:52,794 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (2)] Ended with exit code 0 [2024-10-13 16:57:52,795 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:52,795 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:52,797 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:52,799 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Waiting until timeout for monitored process [2024-10-13 16:57:52,800 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:52,800 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:52,820 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-13 16:57:52,821 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {v_rep~unnamed0~0~false_1=0} Honda state: {v_rep~unnamed0~0~false_1=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-13 16:57:52,833 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:52,834 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:52,834 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:52,835 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:52,836 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Waiting until timeout for monitored process [2024-10-13 16:57:52,837 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:52,838 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:52,873 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Ended with exit code 0 [2024-10-13 16:57:52,874 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:52,874 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:52,875 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:52,877 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Waiting until timeout for monitored process [2024-10-13 16:57:52,878 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-13 16:57:52,878 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:52,921 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-13 16:57:52,926 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:52,926 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 16:57:52,926 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 16:57:52,927 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 16:57:52,927 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 16:57:52,927 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-13 16:57:52,927 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:52,927 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 16:57:52,927 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 16:57:52,927 INFO L132 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration1_Loop [2024-10-13 16:57:52,927 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 16:57:52,927 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 16:57:52,929 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:52,933 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:52,943 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:52,991 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 16:57:52,995 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-13 16:57:52,996 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:52,996 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:52,998 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,000 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (6)] Waiting until timeout for monitored process [2024-10-13 16:57:53,001 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-13 16:57:53,014 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 16:57:53,014 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 16:57:53,015 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 16:57:53,015 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 16:57:53,019 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2024-10-13 16:57:53,019 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2024-10-13 16:57:53,024 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-13 16:57:53,037 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (6)] Ended with exit code 0 [2024-10-13 16:57:53,037 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,038 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:53,039 INFO L229 MonitoredProcess]: Starting monitored process 7 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,040 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (7)] Waiting until timeout for monitored process [2024-10-13 16:57:53,041 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-13 16:57:53,051 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 16:57:53,051 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-13 16:57:53,052 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 16:57:53,052 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 16:57:53,052 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 16:57:53,054 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-13 16:57:53,054 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-13 16:57:53,060 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-13 16:57:53,065 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2024-10-13 16:57:53,066 INFO L444 ModelExtractionUtils]: 2 out of 4 variables were initially zero. Simplification set additionally 0 variables to zero. [2024-10-13 16:57:53,067 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,067 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:53,092 INFO L229 MonitoredProcess]: Starting monitored process 8 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,093 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Waiting until timeout for monitored process [2024-10-13 16:57:53,094 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-13 16:57:53,094 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-13 16:57:53,094 INFO L474 LassoAnalysis]: Proved termination. [2024-10-13 16:57:53,094 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~j~0#1) = 1*ULTIMATE.start_main_~j~0#1 Supporting invariants [] [2024-10-13 16:57:53,105 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (7)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:53,108 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-13 16:57:53,135 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:53,145 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:53,147 INFO L255 TraceCheckSpWp]: Trace formula consists of 5 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-10-13 16:57:53,147 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 16:57:53,159 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:53,160 WARN L253 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 6 conjuncts are in the unsatisfiable core [2024-10-13 16:57:53,164 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 16:57:53,187 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-13 16:57:53,228 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2024-10-13 16:57:53,230 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand has 9 states, 8 states have (on average 1.5) internal successors, (12), 8 states have internal predecessors, (12), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 3 states, 3 states have (on average 1.3333333333333333) internal successors, (4), 3 states have internal predecessors, (4), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:53,291 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand has 9 states, 8 states have (on average 1.5) internal successors, (12), 8 states have internal predecessors, (12), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0). Second operand has 3 states, 3 states have (on average 1.3333333333333333) internal successors, (4), 3 states have internal predecessors, (4), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 23 states and 35 transitions. Complement of second has 8 states. [2024-10-13 16:57:53,295 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2024-10-13 16:57:53,302 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 3 states have (on average 1.3333333333333333) internal successors, (4), 3 states have internal predecessors, (4), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:53,302 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 12 transitions. [2024-10-13 16:57:53,304 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 12 transitions. Stem has 2 letters. Loop has 2 letters. [2024-10-13 16:57:53,305 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:53,305 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 12 transitions. Stem has 4 letters. Loop has 2 letters. [2024-10-13 16:57:53,305 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:53,305 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 12 transitions. Stem has 2 letters. Loop has 4 letters. [2024-10-13 16:57:53,305 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:53,306 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 23 states and 35 transitions. [2024-10-13 16:57:53,308 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 6 [2024-10-13 16:57:53,313 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 23 states to 14 states and 20 transitions. [2024-10-13 16:57:53,314 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 9 [2024-10-13 16:57:53,314 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 10 [2024-10-13 16:57:53,315 INFO L73 IsDeterministic]: Start isDeterministic. Operand 14 states and 20 transitions. [2024-10-13 16:57:53,315 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-13 16:57:53,315 INFO L218 hiAutomatonCegarLoop]: Abstraction has 14 states and 20 transitions. [2024-10-13 16:57:53,330 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 14 states and 20 transitions. [2024-10-13 16:57:53,338 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 14 to 13. [2024-10-13 16:57:53,339 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 13 states, 13 states have (on average 1.4615384615384615) internal successors, (19), 12 states have internal predecessors, (19), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:53,339 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 19 transitions. [2024-10-13 16:57:53,341 INFO L240 hiAutomatonCegarLoop]: Abstraction has 13 states and 19 transitions. [2024-10-13 16:57:53,341 INFO L425 stractBuchiCegarLoop]: Abstraction has 13 states and 19 transitions. [2024-10-13 16:57:53,341 INFO L332 stractBuchiCegarLoop]: ======== Iteration 2 ============ [2024-10-13 16:57:53,341 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 13 states and 19 transitions. [2024-10-13 16:57:53,343 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 6 [2024-10-13 16:57:53,343 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-13 16:57:53,343 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-13 16:57:53,343 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1] [2024-10-13 16:57:53,343 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1] [2024-10-13 16:57:53,343 INFO L745 eck$LassoCheckResult]: Stem: 75#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true; 76#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet1#1, main_~i~0#1, main_~j~0#1, main_~t~0#1;havoc main_~i~0#1;havoc main_~j~0#1;havoc main_~t~0#1;havoc main_#t~nondet0#1;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;havoc main_#t~nondet1#1;main_~j~0#1 := main_#t~nondet1#1;havoc main_#t~nondet1#1;main_~t~0#1 := 0; 77#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 72#L14 [2024-10-13 16:57:53,344 INFO L747 eck$LassoCheckResult]: Loop: 72#L14 assume !(main_~i~0#1 < main_~j~0#1); 81#L19 assume !(main_~i~0#1 > main_~j~0#1);main_~i~0#1 := main_~i~0#1 - 1; 71#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 72#L14 [2024-10-13 16:57:53,348 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:53,348 INFO L85 PathProgramCache]: Analyzing trace with hash 29864, now seen corresponding path program 1 times [2024-10-13 16:57:53,348 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:53,348 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [277893893] [2024-10-13 16:57:53,348 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:53,349 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:53,353 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:53,353 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:53,357 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:53,359 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:53,359 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:53,360 INFO L85 PathProgramCache]: Analyzing trace with hash 45829, now seen corresponding path program 1 times [2024-10-13 16:57:53,360 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:53,360 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [882428870] [2024-10-13 16:57:53,360 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:53,360 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:53,365 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:53,365 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:53,368 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:53,370 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:53,370 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:53,371 INFO L85 PathProgramCache]: Analyzing trace with hash 889694462, now seen corresponding path program 1 times [2024-10-13 16:57:53,371 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:53,371 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1480602972] [2024-10-13 16:57:53,371 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:53,371 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:53,377 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:53,378 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:53,381 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:53,383 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:53,423 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 16:57:53,423 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 16:57:53,423 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 16:57:53,423 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 16:57:53,423 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-13 16:57:53,423 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,423 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 16:57:53,423 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 16:57:53,424 INFO L132 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration2_Loop [2024-10-13 16:57:53,424 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 16:57:53,424 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 16:57:53,425 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:53,429 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:53,433 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:53,487 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 16:57:53,487 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-13 16:57:53,487 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,487 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:53,489 INFO L229 MonitoredProcess]: Starting monitored process 9 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,490 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (9)] Waiting until timeout for monitored process [2024-10-13 16:57:53,491 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:53,491 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:53,509 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-13 16:57:53,509 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {v_rep~unnamed0~0~false_3=0} Honda state: {v_rep~unnamed0~0~false_3=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-13 16:57:53,519 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (9)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:53,520 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,520 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:53,521 INFO L229 MonitoredProcess]: Starting monitored process 10 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,522 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (10)] Waiting until timeout for monitored process [2024-10-13 16:57:53,523 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:53,523 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:53,543 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-13 16:57:53,544 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {v_rep~unnamed0~0~true_3=1} Honda state: {v_rep~unnamed0~0~true_3=1} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-13 16:57:53,562 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (10)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:53,563 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,563 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:53,565 INFO L229 MonitoredProcess]: Starting monitored process 11 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,567 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (11)] Waiting until timeout for monitored process [2024-10-13 16:57:53,567 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:53,568 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:53,598 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (11)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:53,598 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,599 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:53,603 INFO L229 MonitoredProcess]: Starting monitored process 12 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,604 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (12)] Waiting until timeout for monitored process [2024-10-13 16:57:53,605 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-13 16:57:53,605 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:53,715 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-13 16:57:53,720 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (12)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:53,720 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 16:57:53,720 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 16:57:53,720 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 16:57:53,720 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 16:57:53,721 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-13 16:57:53,721 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,721 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 16:57:53,721 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 16:57:53,721 INFO L132 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration2_Loop [2024-10-13 16:57:53,721 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 16:57:53,721 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 16:57:53,722 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:53,726 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:53,729 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:53,776 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 16:57:53,777 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-13 16:57:53,777 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,777 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:53,779 INFO L229 MonitoredProcess]: Starting monitored process 13 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,780 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (13)] Waiting until timeout for monitored process [2024-10-13 16:57:53,782 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-13 16:57:53,795 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 16:57:53,796 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 16:57:53,796 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 16:57:53,796 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 16:57:53,800 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2024-10-13 16:57:53,800 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2024-10-13 16:57:53,807 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-13 16:57:53,822 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (13)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:53,822 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,823 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:53,824 INFO L229 MonitoredProcess]: Starting monitored process 14 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,826 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (14)] Waiting until timeout for monitored process [2024-10-13 16:57:53,827 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-13 16:57:53,840 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 16:57:53,841 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 16:57:53,841 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 16:57:53,841 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 16:57:53,846 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2024-10-13 16:57:53,846 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2024-10-13 16:57:53,851 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-13 16:57:53,861 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (14)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:53,862 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,862 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:53,863 INFO L229 MonitoredProcess]: Starting monitored process 15 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,864 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (15)] Waiting until timeout for monitored process [2024-10-13 16:57:53,865 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-13 16:57:53,875 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 16:57:53,875 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-13 16:57:53,875 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 16:57:53,875 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 16:57:53,875 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 16:57:53,877 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-13 16:57:53,877 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-13 16:57:53,881 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-13 16:57:53,886 INFO L443 ModelExtractionUtils]: Simplification made 5 calls to the SMT solver. [2024-10-13 16:57:53,886 INFO L444 ModelExtractionUtils]: 0 out of 4 variables were initially zero. Simplification set additionally 2 variables to zero. [2024-10-13 16:57:53,886 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:53,886 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:53,888 INFO L229 MonitoredProcess]: Starting monitored process 16 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:53,889 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (16)] Waiting until timeout for monitored process [2024-10-13 16:57:53,890 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-13 16:57:53,890 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-13 16:57:53,890 INFO L474 LassoAnalysis]: Proved termination. [2024-10-13 16:57:53,890 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~i~0#1) = 1*ULTIMATE.start_main_~i~0#1 Supporting invariants [] [2024-10-13 16:57:53,900 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (15)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:53,902 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-13 16:57:53,917 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:53,923 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:53,924 INFO L255 TraceCheckSpWp]: Trace formula consists of 7 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-10-13 16:57:53,924 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 16:57:53,934 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:53,935 WARN L253 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjuncts are in the unsatisfiable core [2024-10-13 16:57:53,935 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 16:57:53,961 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-13 16:57:53,962 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2024-10-13 16:57:53,962 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 13 states and 19 transitions. cyclomatic complexity: 9 Second operand has 4 states, 4 states have (on average 1.5) internal successors, (6), 4 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:53,996 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 13 states and 19 transitions. cyclomatic complexity: 9. Second operand has 4 states, 4 states have (on average 1.5) internal successors, (6), 4 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 35 states and 50 transitions. Complement of second has 7 states. [2024-10-13 16:57:53,998 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2024-10-13 16:57:53,999 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 4 states have (on average 1.5) internal successors, (6), 4 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:54,000 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 9 transitions. [2024-10-13 16:57:54,000 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 9 transitions. Stem has 3 letters. Loop has 3 letters. [2024-10-13 16:57:54,001 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:54,002 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 9 transitions. Stem has 6 letters. Loop has 3 letters. [2024-10-13 16:57:54,002 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:54,002 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 9 transitions. Stem has 3 letters. Loop has 6 letters. [2024-10-13 16:57:54,003 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:54,003 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 35 states and 50 transitions. [2024-10-13 16:57:54,004 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 9 [2024-10-13 16:57:54,007 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 35 states to 31 states and 45 transitions. [2024-10-13 16:57:54,007 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 13 [2024-10-13 16:57:54,007 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 16 [2024-10-13 16:57:54,009 INFO L73 IsDeterministic]: Start isDeterministic. Operand 31 states and 45 transitions. [2024-10-13 16:57:54,009 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-13 16:57:54,009 INFO L218 hiAutomatonCegarLoop]: Abstraction has 31 states and 45 transitions. [2024-10-13 16:57:54,009 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 31 states and 45 transitions. [2024-10-13 16:57:54,012 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 31 to 25. [2024-10-13 16:57:54,012 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 25 states, 25 states have (on average 1.52) internal successors, (38), 24 states have internal predecessors, (38), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:54,013 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 25 states and 38 transitions. [2024-10-13 16:57:54,014 INFO L240 hiAutomatonCegarLoop]: Abstraction has 25 states and 38 transitions. [2024-10-13 16:57:54,014 INFO L425 stractBuchiCegarLoop]: Abstraction has 25 states and 38 transitions. [2024-10-13 16:57:54,014 INFO L332 stractBuchiCegarLoop]: ======== Iteration 3 ============ [2024-10-13 16:57:54,014 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 25 states and 38 transitions. [2024-10-13 16:57:54,015 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 9 [2024-10-13 16:57:54,016 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-13 16:57:54,016 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-13 16:57:54,017 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2024-10-13 16:57:54,017 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1] [2024-10-13 16:57:54,017 INFO L745 eck$LassoCheckResult]: Stem: 164#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true; 165#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet1#1, main_~i~0#1, main_~j~0#1, main_~t~0#1;havoc main_~i~0#1;havoc main_~j~0#1;havoc main_~t~0#1;havoc main_#t~nondet0#1;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;havoc main_#t~nondet1#1;main_~j~0#1 := main_#t~nondet1#1;havoc main_#t~nondet1#1;main_~t~0#1 := 0; 168#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 173#L14 assume !(main_~i~0#1 < main_~j~0#1); 166#L19 [2024-10-13 16:57:54,017 INFO L747 eck$LassoCheckResult]: Loop: 166#L19 assume main_~i~0#1 > main_~j~0#1;main_~j~0#1 := main_~i~0#1; 160#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 161#L14 assume !(main_~i~0#1 < main_~j~0#1); 166#L19 [2024-10-13 16:57:54,018 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:54,021 INFO L85 PathProgramCache]: Analyzing trace with hash 925800, now seen corresponding path program 1 times [2024-10-13 16:57:54,021 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:54,022 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1783591057] [2024-10-13 16:57:54,022 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:54,022 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:54,028 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:54,030 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:54,032 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:54,036 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:54,038 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:54,038 INFO L85 PathProgramCache]: Analyzing trace with hash 48407, now seen corresponding path program 1 times [2024-10-13 16:57:54,038 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:54,039 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1589920589] [2024-10-13 16:57:54,039 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:54,039 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:54,048 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:54,049 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:54,051 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:54,053 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:54,053 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:54,053 INFO L85 PathProgramCache]: Analyzing trace with hash 1810722640, now seen corresponding path program 1 times [2024-10-13 16:57:54,053 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:54,053 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [950562304] [2024-10-13 16:57:54,054 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:54,054 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:54,059 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:54,062 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:54,066 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:54,070 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:54,104 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 16:57:54,104 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 16:57:54,104 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 16:57:54,104 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 16:57:54,104 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-13 16:57:54,104 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,105 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 16:57:54,105 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 16:57:54,105 INFO L132 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration3_Loop [2024-10-13 16:57:54,105 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 16:57:54,105 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 16:57:54,106 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,113 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,116 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,154 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 16:57:54,154 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-13 16:57:54,154 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,154 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:54,156 INFO L229 MonitoredProcess]: Starting monitored process 17 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:54,157 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (17)] Waiting until timeout for monitored process [2024-10-13 16:57:54,158 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:54,158 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:54,202 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (17)] Ended with exit code 0 [2024-10-13 16:57:54,202 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,203 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:54,205 INFO L229 MonitoredProcess]: Starting monitored process 18 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:54,207 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (18)] Waiting until timeout for monitored process [2024-10-13 16:57:54,209 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-13 16:57:54,209 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:54,377 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-13 16:57:54,381 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (18)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:54,381 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 16:57:54,382 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 16:57:54,382 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 16:57:54,382 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 16:57:54,382 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-13 16:57:54,382 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,382 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 16:57:54,382 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 16:57:54,382 INFO L132 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration3_Loop [2024-10-13 16:57:54,382 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 16:57:54,382 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 16:57:54,383 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,409 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,412 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,424 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (16)] Ended with exit code 0 [2024-10-13 16:57:54,443 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Ended with exit code 0 [2024-10-13 16:57:54,455 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 16:57:54,455 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-13 16:57:54,455 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,455 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:54,456 INFO L229 MonitoredProcess]: Starting monitored process 19 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:54,457 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (19)] Waiting until timeout for monitored process [2024-10-13 16:57:54,459 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-13 16:57:54,469 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 16:57:54,469 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-13 16:57:54,469 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 16:57:54,469 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 16:57:54,469 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 16:57:54,471 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-13 16:57:54,472 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-13 16:57:54,474 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-13 16:57:54,477 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2024-10-13 16:57:54,477 INFO L444 ModelExtractionUtils]: 0 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. [2024-10-13 16:57:54,477 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,477 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:54,479 INFO L229 MonitoredProcess]: Starting monitored process 20 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:54,482 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (20)] Waiting until timeout for monitored process [2024-10-13 16:57:54,483 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-13 16:57:54,483 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-13 16:57:54,483 INFO L474 LassoAnalysis]: Proved termination. [2024-10-13 16:57:54,483 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~i~0#1, ULTIMATE.start_main_~j~0#1) = 1*ULTIMATE.start_main_~i~0#1 - 1*ULTIMATE.start_main_~j~0#1 Supporting invariants [] [2024-10-13 16:57:54,495 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (19)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:54,496 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-13 16:57:54,519 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:54,523 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:54,524 INFO L255 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-10-13 16:57:54,524 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 16:57:54,537 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:54,538 WARN L253 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjuncts are in the unsatisfiable core [2024-10-13 16:57:54,539 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 16:57:54,566 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-13 16:57:54,567 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2024-10-13 16:57:54,567 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 25 states and 38 transitions. cyclomatic complexity: 19 Second operand has 3 states, 3 states have (on average 2.3333333333333335) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:54,583 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 25 states and 38 transitions. cyclomatic complexity: 19. Second operand has 3 states, 3 states have (on average 2.3333333333333335) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 63 states and 92 transitions. Complement of second has 5 states. [2024-10-13 16:57:54,583 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 3 states 1 stem states 1 non-accepting loop states 1 accepting loop states [2024-10-13 16:57:54,584 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 3 states have (on average 2.3333333333333335) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:54,584 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 12 transitions. [2024-10-13 16:57:54,584 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 12 transitions. Stem has 4 letters. Loop has 3 letters. [2024-10-13 16:57:54,584 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:54,584 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 12 transitions. Stem has 7 letters. Loop has 3 letters. [2024-10-13 16:57:54,585 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:54,585 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 12 transitions. Stem has 4 letters. Loop has 6 letters. [2024-10-13 16:57:54,585 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:54,585 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 63 states and 92 transitions. [2024-10-13 16:57:54,587 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 12 [2024-10-13 16:57:54,588 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 63 states to 56 states and 81 transitions. [2024-10-13 16:57:54,588 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 20 [2024-10-13 16:57:54,588 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 23 [2024-10-13 16:57:54,588 INFO L73 IsDeterministic]: Start isDeterministic. Operand 56 states and 81 transitions. [2024-10-13 16:57:54,589 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-13 16:57:54,589 INFO L218 hiAutomatonCegarLoop]: Abstraction has 56 states and 81 transitions. [2024-10-13 16:57:54,589 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 56 states and 81 transitions. [2024-10-13 16:57:54,592 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 56 to 42. [2024-10-13 16:57:54,592 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 42 states, 42 states have (on average 1.4523809523809523) internal successors, (61), 41 states have internal predecessors, (61), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:54,593 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 42 states and 61 transitions. [2024-10-13 16:57:54,593 INFO L240 hiAutomatonCegarLoop]: Abstraction has 42 states and 61 transitions. [2024-10-13 16:57:54,593 INFO L425 stractBuchiCegarLoop]: Abstraction has 42 states and 61 transitions. [2024-10-13 16:57:54,593 INFO L332 stractBuchiCegarLoop]: ======== Iteration 4 ============ [2024-10-13 16:57:54,593 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 42 states and 61 transitions. [2024-10-13 16:57:54,594 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 12 [2024-10-13 16:57:54,594 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-13 16:57:54,594 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-13 16:57:54,595 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1] [2024-10-13 16:57:54,595 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1] [2024-10-13 16:57:54,598 INFO L745 eck$LassoCheckResult]: Stem: 293#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true; 294#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet1#1, main_~i~0#1, main_~j~0#1, main_~t~0#1;havoc main_~i~0#1;havoc main_~j~0#1;havoc main_~t~0#1;havoc main_#t~nondet0#1;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;havoc main_#t~nondet1#1;main_~j~0#1 := main_#t~nondet1#1;havoc main_#t~nondet1#1;main_~t~0#1 := 0; 298#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 321#L14 assume !(main_~i~0#1 < main_~j~0#1); 295#L19 assume main_~i~0#1 > main_~j~0#1;main_~j~0#1 := main_~i~0#1; 296#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 306#L14 assume main_~i~0#1 < main_~j~0#1;main_~t~0#1 := main_~i~0#1;main_~i~0#1 := main_~j~0#1;main_~j~0#1 := main_~t~0#1; 304#L19-2 [2024-10-13 16:57:54,598 INFO L747 eck$LassoCheckResult]: Loop: 304#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 315#L14 assume main_~i~0#1 < main_~j~0#1;main_~t~0#1 := main_~i~0#1;main_~i~0#1 := main_~j~0#1;main_~j~0#1 := main_~t~0#1; 304#L19-2 [2024-10-13 16:57:54,598 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:54,598 INFO L85 PathProgramCache]: Analyzing trace with hash 1810722638, now seen corresponding path program 1 times [2024-10-13 16:57:54,598 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:54,599 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1565782730] [2024-10-13 16:57:54,599 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:54,599 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:54,606 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:54,659 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-13 16:57:54,659 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 16:57:54,659 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1565782730] [2024-10-13 16:57:54,660 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1565782730] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 16:57:54,660 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 16:57:54,660 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-13 16:57:54,661 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [843642841] [2024-10-13 16:57:54,661 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 16:57:54,663 INFO L750 eck$LassoCheckResult]: stem already infeasible [2024-10-13 16:57:54,663 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:54,663 INFO L85 PathProgramCache]: Analyzing trace with hash 1316, now seen corresponding path program 2 times [2024-10-13 16:57:54,664 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:54,664 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1895913160] [2024-10-13 16:57:54,664 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:54,664 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:54,668 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:54,669 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:54,671 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:54,672 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:54,704 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 16:57:54,704 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 16:57:54,705 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 16:57:54,705 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 16:57:54,705 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-13 16:57:54,705 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,705 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 16:57:54,705 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 16:57:54,705 INFO L132 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration4_Loop [2024-10-13 16:57:54,705 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 16:57:54,705 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 16:57:54,707 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,715 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,718 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,759 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 16:57:54,759 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-13 16:57:54,759 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,759 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:54,761 INFO L229 MonitoredProcess]: Starting monitored process 21 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:54,762 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (21)] Waiting until timeout for monitored process [2024-10-13 16:57:54,763 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:54,763 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:54,795 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (21)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:54,795 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,796 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:54,797 INFO L229 MonitoredProcess]: Starting monitored process 22 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:54,798 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (22)] Waiting until timeout for monitored process [2024-10-13 16:57:54,800 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-13 16:57:54,800 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:54,846 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-13 16:57:54,851 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (22)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:54,851 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 16:57:54,851 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 16:57:54,851 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 16:57:54,852 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 16:57:54,852 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-13 16:57:54,852 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,852 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 16:57:54,852 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 16:57:54,852 INFO L132 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration4_Loop [2024-10-13 16:57:54,852 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 16:57:54,852 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 16:57:54,853 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,862 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,864 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:54,903 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 16:57:54,903 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-13 16:57:54,904 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,904 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:54,905 INFO L229 MonitoredProcess]: Starting monitored process 23 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:54,906 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (23)] Waiting until timeout for monitored process [2024-10-13 16:57:54,906 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-13 16:57:54,916 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 16:57:54,917 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-13 16:57:54,917 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 16:57:54,917 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 16:57:54,917 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 16:57:54,918 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-13 16:57:54,918 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-13 16:57:54,921 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-13 16:57:54,924 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2024-10-13 16:57:54,925 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. [2024-10-13 16:57:54,925 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:54,925 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:54,928 INFO L229 MonitoredProcess]: Starting monitored process 24 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:54,929 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (24)] Waiting until timeout for monitored process [2024-10-13 16:57:54,929 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-13 16:57:54,930 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-13 16:57:54,930 INFO L474 LassoAnalysis]: Proved termination. [2024-10-13 16:57:54,930 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~j~0#1) = 1*ULTIMATE.start_main_~j~0#1 Supporting invariants [] [2024-10-13 16:57:54,945 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (23)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:54,946 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-13 16:57:54,963 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:54,972 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:54,972 INFO L255 TraceCheckSpWp]: Trace formula consists of 20 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-10-13 16:57:54,973 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 16:57:54,992 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:54,993 WARN L253 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 6 conjuncts are in the unsatisfiable core [2024-10-13 16:57:54,993 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 16:57:55,012 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-13 16:57:55,013 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2024-10-13 16:57:55,013 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 42 states and 61 transitions. cyclomatic complexity: 29 Second operand has 3 states, 3 states have (on average 2.6666666666666665) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:55,040 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 42 states and 61 transitions. cyclomatic complexity: 29. Second operand has 3 states, 3 states have (on average 2.6666666666666665) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 74 states and 105 transitions. Complement of second has 7 states. [2024-10-13 16:57:55,040 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2024-10-13 16:57:55,041 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 3 states have (on average 2.6666666666666665) internal successors, (8), 3 states have internal predecessors, (8), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:55,041 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 12 transitions. [2024-10-13 16:57:55,041 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 12 transitions. Stem has 7 letters. Loop has 2 letters. [2024-10-13 16:57:55,042 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:55,042 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 12 transitions. Stem has 9 letters. Loop has 2 letters. [2024-10-13 16:57:55,042 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:55,042 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 12 transitions. Stem has 7 letters. Loop has 4 letters. [2024-10-13 16:57:55,042 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:55,042 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 74 states and 105 transitions. [2024-10-13 16:57:55,045 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 15 [2024-10-13 16:57:55,046 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 74 states to 58 states and 84 transitions. [2024-10-13 16:57:55,046 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 24 [2024-10-13 16:57:55,046 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 25 [2024-10-13 16:57:55,046 INFO L73 IsDeterministic]: Start isDeterministic. Operand 58 states and 84 transitions. [2024-10-13 16:57:55,047 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-13 16:57:55,047 INFO L218 hiAutomatonCegarLoop]: Abstraction has 58 states and 84 transitions. [2024-10-13 16:57:55,047 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 58 states and 84 transitions. [2024-10-13 16:57:55,049 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 58 to 43. [2024-10-13 16:57:55,050 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 43 states, 43 states have (on average 1.4651162790697674) internal successors, (63), 42 states have internal predecessors, (63), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:55,050 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 43 states and 63 transitions. [2024-10-13 16:57:55,050 INFO L240 hiAutomatonCegarLoop]: Abstraction has 43 states and 63 transitions. [2024-10-13 16:57:55,051 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 16:57:55,052 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 16:57:55,053 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 16:57:55,054 INFO L87 Difference]: Start difference. First operand 43 states and 63 transitions. Second operand has 3 states, 2 states have (on average 3.5) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:55,073 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-13 16:57:55,073 INFO L93 Difference]: Finished difference Result 50 states and 69 transitions. [2024-10-13 16:57:55,073 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 50 states and 69 transitions. [2024-10-13 16:57:55,074 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 14 [2024-10-13 16:57:55,078 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 50 states to 45 states and 62 transitions. [2024-10-13 16:57:55,079 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2024-10-13 16:57:55,079 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 23 [2024-10-13 16:57:55,079 INFO L73 IsDeterministic]: Start isDeterministic. Operand 45 states and 62 transitions. [2024-10-13 16:57:55,079 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-13 16:57:55,079 INFO L218 hiAutomatonCegarLoop]: Abstraction has 45 states and 62 transitions. [2024-10-13 16:57:55,080 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 45 states and 62 transitions. [2024-10-13 16:57:55,084 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 45 to 41. [2024-10-13 16:57:55,085 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 41 states, 41 states have (on average 1.4146341463414633) internal successors, (58), 40 states have internal predecessors, (58), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:55,086 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 58 transitions. [2024-10-13 16:57:55,089 INFO L240 hiAutomatonCegarLoop]: Abstraction has 41 states and 58 transitions. [2024-10-13 16:57:55,089 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 16:57:55,090 INFO L425 stractBuchiCegarLoop]: Abstraction has 41 states and 58 transitions. [2024-10-13 16:57:55,090 INFO L332 stractBuchiCegarLoop]: ======== Iteration 5 ============ [2024-10-13 16:57:55,090 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 41 states and 58 transitions. [2024-10-13 16:57:55,091 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 14 [2024-10-13 16:57:55,091 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-13 16:57:55,091 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-13 16:57:55,091 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1] [2024-10-13 16:57:55,091 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [1, 1, 1] [2024-10-13 16:57:55,092 INFO L745 eck$LassoCheckResult]: Stem: 551#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true; 552#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet1#1, main_~i~0#1, main_~j~0#1, main_~t~0#1;havoc main_~i~0#1;havoc main_~j~0#1;havoc main_~t~0#1;havoc main_#t~nondet0#1;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;havoc main_#t~nondet1#1;main_~j~0#1 := main_#t~nondet1#1;havoc main_#t~nondet1#1;main_~t~0#1 := 0; 556#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 562#L14 assume main_~i~0#1 < main_~j~0#1;main_~t~0#1 := main_~i~0#1;main_~i~0#1 := main_~j~0#1;main_~j~0#1 := main_~t~0#1; 586#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 557#L14 assume !(main_~i~0#1 < main_~j~0#1); 558#L19 assume !(main_~i~0#1 > main_~j~0#1);main_~i~0#1 := main_~i~0#1 - 1; 554#L19-2 [2024-10-13 16:57:55,092 INFO L747 eck$LassoCheckResult]: Loop: 554#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 585#L14 assume !(main_~i~0#1 < main_~j~0#1); 553#L19 assume !(main_~i~0#1 > main_~j~0#1);main_~i~0#1 := main_~i~0#1 - 1; 554#L19-2 [2024-10-13 16:57:55,092 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:55,092 INFO L85 PathProgramCache]: Analyzing trace with hash 1810655530, now seen corresponding path program 1 times [2024-10-13 16:57:55,092 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:55,092 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [738560091] [2024-10-13 16:57:55,092 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:55,092 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:55,105 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:55,156 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-13 16:57:55,157 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 16:57:55,157 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [738560091] [2024-10-13 16:57:55,157 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [738560091] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 16:57:55,157 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 16:57:55,157 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-13 16:57:55,157 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [186731595] [2024-10-13 16:57:55,157 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 16:57:55,158 INFO L750 eck$LassoCheckResult]: stem already infeasible [2024-10-13 16:57:55,158 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:55,158 INFO L85 PathProgramCache]: Analyzing trace with hash 40879, now seen corresponding path program 2 times [2024-10-13 16:57:55,158 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:55,158 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2119905749] [2024-10-13 16:57:55,158 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:55,158 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:55,166 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:55,166 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:55,169 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:55,172 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:55,209 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 16:57:55,210 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 16:57:55,210 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 16:57:55,210 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 16:57:55,210 INFO L128 ssoRankerPreferences]: Use exernal solver: true [2024-10-13 16:57:55,210 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:55,210 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 16:57:55,210 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 16:57:55,211 INFO L132 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration5_Loop [2024-10-13 16:57:55,211 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 16:57:55,211 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 16:57:55,212 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:55,215 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:55,218 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:55,263 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 16:57:55,263 INFO L365 LassoAnalysis]: Checking for nontermination... [2024-10-13 16:57:55,263 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:55,263 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:55,265 INFO L229 MonitoredProcess]: Starting monitored process 25 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:55,265 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (25)] Waiting until timeout for monitored process [2024-10-13 16:57:55,266 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:55,266 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:55,284 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-13 16:57:55,284 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {v_rep~unnamed0~0~true_9=1} Honda state: {v_rep~unnamed0~0~true_9=1} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-13 16:57:55,294 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (25)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:55,295 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:55,295 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:55,296 INFO L229 MonitoredProcess]: Starting monitored process 26 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:55,296 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (26)] Waiting until timeout for monitored process [2024-10-13 16:57:55,297 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:55,297 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:55,314 INFO L398 LassoAnalysis]: Proved nontermination for one component. [2024-10-13 16:57:55,314 INFO L401 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {v_rep~unnamed0~0~false_9=0} Honda state: {v_rep~unnamed0~0~false_9=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] [2024-10-13 16:57:55,324 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (26)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:55,325 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:55,325 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:55,326 INFO L229 MonitoredProcess]: Starting monitored process 27 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:55,326 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (27)] Waiting until timeout for monitored process [2024-10-13 16:57:55,327 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2024-10-13 16:57:55,327 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:55,349 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (27)] Ended with exit code 0 [2024-10-13 16:57:55,350 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:55,350 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:55,352 INFO L229 MonitoredProcess]: Starting monitored process 28 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:55,353 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (28)] Waiting until timeout for monitored process [2024-10-13 16:57:55,354 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2024-10-13 16:57:55,354 INFO L160 nArgumentSynthesizer]: Using integer mode. [2024-10-13 16:57:55,443 INFO L405 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2024-10-13 16:57:55,481 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (28)] Ended with exit code 0 [2024-10-13 16:57:55,482 INFO L204 LassoAnalysis]: Preferences: [2024-10-13 16:57:55,482 INFO L125 ssoRankerPreferences]: Compute integeral hull: false [2024-10-13 16:57:55,482 INFO L126 ssoRankerPreferences]: Enable LassoPartitioneer: true [2024-10-13 16:57:55,482 INFO L127 ssoRankerPreferences]: Term annotations enabled: false [2024-10-13 16:57:55,482 INFO L128 ssoRankerPreferences]: Use exernal solver: false [2024-10-13 16:57:55,482 INFO L129 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:55,482 INFO L130 ssoRankerPreferences]: Dump SMT script to file: false [2024-10-13 16:57:55,482 INFO L131 ssoRankerPreferences]: Path of dumped script: [2024-10-13 16:57:55,482 INFO L132 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration5_Loop [2024-10-13 16:57:55,482 INFO L133 ssoRankerPreferences]: MapElimAlgo: Frank [2024-10-13 16:57:55,482 INFO L241 LassoAnalysis]: Starting lasso preprocessing... [2024-10-13 16:57:55,483 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:55,487 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:55,490 INFO L118 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2024-10-13 16:57:55,524 INFO L259 LassoAnalysis]: Preprocessing complete. [2024-10-13 16:57:55,524 INFO L451 LassoAnalysis]: Using template 'affine'. [2024-10-13 16:57:55,524 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:55,524 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:55,526 INFO L229 MonitoredProcess]: Starting monitored process 29 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:55,527 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (29)] Waiting until timeout for monitored process [2024-10-13 16:57:55,528 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-13 16:57:55,538 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 16:57:55,538 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 16:57:55,538 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 16:57:55,538 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 16:57:55,539 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2024-10-13 16:57:55,539 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2024-10-13 16:57:55,542 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-13 16:57:55,556 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (29)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:55,557 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:55,557 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:55,559 INFO L229 MonitoredProcess]: Starting monitored process 30 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:55,560 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (30)] Waiting until timeout for monitored process [2024-10-13 16:57:55,561 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-13 16:57:55,573 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 16:57:55,573 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 16:57:55,573 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 16:57:55,574 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 16:57:55,575 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2024-10-13 16:57:55,575 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2024-10-13 16:57:55,578 INFO L488 LassoAnalysis]: Proving termination failed for this template and these settings. [2024-10-13 16:57:55,593 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (30)] Ended with exit code 0 [2024-10-13 16:57:55,593 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:55,594 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:55,595 INFO L229 MonitoredProcess]: Starting monitored process 31 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:55,597 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (31)] Waiting until timeout for monitored process [2024-10-13 16:57:55,597 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-13 16:57:55,607 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2024-10-13 16:57:55,607 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2024-10-13 16:57:55,607 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2024-10-13 16:57:55,608 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2024-10-13 16:57:55,608 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2024-10-13 16:57:55,608 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2024-10-13 16:57:55,609 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2024-10-13 16:57:55,611 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2024-10-13 16:57:55,615 INFO L443 ModelExtractionUtils]: Simplification made 5 calls to the SMT solver. [2024-10-13 16:57:55,615 INFO L444 ModelExtractionUtils]: 0 out of 4 variables were initially zero. Simplification set additionally 2 variables to zero. [2024-10-13 16:57:55,615 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-10-13 16:57:55,615 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 16:57:55,617 INFO L229 MonitoredProcess]: Starting monitored process 32 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-10-13 16:57:55,619 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (32)] Waiting until timeout for monitored process [2024-10-13 16:57:55,619 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2024-10-13 16:57:55,619 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2024-10-13 16:57:55,619 INFO L474 LassoAnalysis]: Proved termination. [2024-10-13 16:57:55,619 INFO L476 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~i~0#1) = 1*ULTIMATE.start_main_~i~0#1 Supporting invariants [] [2024-10-13 16:57:55,631 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (31)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:55,631 INFO L156 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2024-10-13 16:57:55,645 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:55,653 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:55,653 INFO L255 TraceCheckSpWp]: Trace formula consists of 20 conjuncts, 2 conjuncts are in the unsatisfiable core [2024-10-13 16:57:55,654 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 16:57:55,664 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 16:57:55,665 WARN L253 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjuncts are in the unsatisfiable core [2024-10-13 16:57:55,665 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 16:57:55,682 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-13 16:57:55,682 INFO L141 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2024-10-13 16:57:55,683 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 41 states and 58 transitions. cyclomatic complexity: 25 Second operand has 3 states, 3 states have (on average 3.0) internal successors, (9), 3 states have internal predecessors, (9), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:55,704 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 41 states and 58 transitions. cyclomatic complexity: 25. Second operand has 3 states, 3 states have (on average 3.0) internal successors, (9), 3 states have internal predecessors, (9), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 74 states and 102 transitions. Complement of second has 5 states. [2024-10-13 16:57:55,710 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 3 states 1 stem states 1 non-accepting loop states 1 accepting loop states [2024-10-13 16:57:55,711 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 3 states have (on average 3.0) internal successors, (9), 3 states have internal predecessors, (9), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:55,711 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 12 transitions. [2024-10-13 16:57:55,711 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 12 transitions. Stem has 7 letters. Loop has 3 letters. [2024-10-13 16:57:55,711 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:55,711 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 12 transitions. Stem has 10 letters. Loop has 3 letters. [2024-10-13 16:57:55,712 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:55,712 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 12 transitions. Stem has 7 letters. Loop has 6 letters. [2024-10-13 16:57:55,712 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2024-10-13 16:57:55,712 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 74 states and 102 transitions. [2024-10-13 16:57:55,715 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 8 [2024-10-13 16:57:55,716 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 74 states to 57 states and 79 transitions. [2024-10-13 16:57:55,716 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 19 [2024-10-13 16:57:55,716 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 21 [2024-10-13 16:57:55,716 INFO L73 IsDeterministic]: Start isDeterministic. Operand 57 states and 79 transitions. [2024-10-13 16:57:55,717 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-13 16:57:55,717 INFO L218 hiAutomatonCegarLoop]: Abstraction has 57 states and 79 transitions. [2024-10-13 16:57:55,717 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 57 states and 79 transitions. [2024-10-13 16:57:55,722 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 57 to 49. [2024-10-13 16:57:55,722 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 49 states, 49 states have (on average 1.4081632653061225) internal successors, (69), 48 states have internal predecessors, (69), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:55,723 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 49 states and 69 transitions. [2024-10-13 16:57:55,723 INFO L240 hiAutomatonCegarLoop]: Abstraction has 49 states and 69 transitions. [2024-10-13 16:57:55,725 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 16:57:55,726 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 16:57:55,726 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 16:57:55,726 INFO L87 Difference]: Start difference. First operand 49 states and 69 transitions. Second operand has 3 states, 2 states have (on average 3.5) internal successors, (7), 3 states have internal predecessors, (7), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:55,745 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-13 16:57:55,746 INFO L93 Difference]: Finished difference Result 51 states and 66 transitions. [2024-10-13 16:57:55,746 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 51 states and 66 transitions. [2024-10-13 16:57:55,747 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 8 [2024-10-13 16:57:55,750 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 51 states to 47 states and 61 transitions. [2024-10-13 16:57:55,750 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2024-10-13 16:57:55,751 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 26 [2024-10-13 16:57:55,751 INFO L73 IsDeterministic]: Start isDeterministic. Operand 47 states and 61 transitions. [2024-10-13 16:57:55,751 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2024-10-13 16:57:55,751 INFO L218 hiAutomatonCegarLoop]: Abstraction has 47 states and 61 transitions. [2024-10-13 16:57:55,751 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 47 states and 61 transitions. [2024-10-13 16:57:55,753 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 47 to 35. [2024-10-13 16:57:55,756 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 35 states, 35 states have (on average 1.3428571428571427) internal successors, (47), 34 states have internal predecessors, (47), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 16:57:55,757 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 47 transitions. [2024-10-13 16:57:55,757 INFO L240 hiAutomatonCegarLoop]: Abstraction has 35 states and 47 transitions. [2024-10-13 16:57:55,757 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 16:57:55,758 INFO L425 stractBuchiCegarLoop]: Abstraction has 35 states and 47 transitions. [2024-10-13 16:57:55,758 INFO L332 stractBuchiCegarLoop]: ======== Iteration 6 ============ [2024-10-13 16:57:55,758 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 35 states and 47 transitions. [2024-10-13 16:57:55,759 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 8 [2024-10-13 16:57:55,759 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2024-10-13 16:57:55,759 INFO L119 BuchiIsEmpty]: Starting construction of run [2024-10-13 16:57:55,761 INFO L148 hiAutomatonCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1] [2024-10-13 16:57:55,761 INFO L149 hiAutomatonCegarLoop]: Counterexample loop histogram [3, 2, 1, 1, 1] [2024-10-13 16:57:55,761 INFO L745 eck$LassoCheckResult]: Stem: 815#$Ultimate##0 assume { :begin_inline_ULTIMATE.init } true; 816#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet0#1, main_#t~nondet1#1, main_~i~0#1, main_~j~0#1, main_~t~0#1;havoc main_~i~0#1;havoc main_~j~0#1;havoc main_~t~0#1;havoc main_#t~nondet0#1;main_~i~0#1 := main_#t~nondet0#1;havoc main_#t~nondet0#1;havoc main_#t~nondet1#1;main_~j~0#1 := main_#t~nondet1#1;havoc main_#t~nondet1#1;main_~t~0#1 := 0; 821#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 828#L14 assume !(main_~i~0#1 < main_~j~0#1); 824#L19 assume !(main_~i~0#1 > main_~j~0#1);main_~i~0#1 := main_~i~0#1 - 1; 839#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 822#L14 assume main_~i~0#1 < main_~j~0#1;main_~t~0#1 := main_~i~0#1;main_~i~0#1 := main_~j~0#1;main_~j~0#1 := main_~t~0#1; 811#L19-2 [2024-10-13 16:57:55,761 INFO L747 eck$LassoCheckResult]: Loop: 811#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 812#L14 assume !(main_~i~0#1 < main_~j~0#1); 817#L19 assume main_~i~0#1 > main_~j~0#1;main_~j~0#1 := main_~i~0#1; 818#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 845#L14 assume !(main_~i~0#1 < main_~j~0#1); 842#L19 assume !(main_~i~0#1 > main_~j~0#1);main_~i~0#1 := main_~i~0#1 - 1; 843#L19-2 assume !!(main_~i~0#1 > 0 && main_~j~0#1 > 0); 844#L14 assume main_~i~0#1 < main_~j~0#1;main_~t~0#1 := main_~i~0#1;main_~i~0#1 := main_~j~0#1;main_~j~0#1 := main_~t~0#1; 811#L19-2 [2024-10-13 16:57:55,761 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:55,762 INFO L85 PathProgramCache]: Analyzing trace with hash 1810724560, now seen corresponding path program 2 times [2024-10-13 16:57:55,762 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:55,762 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [758402544] [2024-10-13 16:57:55,762 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:55,762 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:55,767 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:55,771 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:55,775 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:55,780 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:55,781 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:55,781 INFO L85 PathProgramCache]: Analyzing trace with hash 2053356838, now seen corresponding path program 1 times [2024-10-13 16:57:55,781 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:55,783 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1151235073] [2024-10-13 16:57:55,783 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:55,783 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:55,790 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:55,790 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:55,794 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:55,795 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:55,796 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 16:57:55,796 INFO L85 PathProgramCache]: Analyzing trace with hash 399570165, now seen corresponding path program 1 times [2024-10-13 16:57:55,796 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 16:57:55,796 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1239027839] [2024-10-13 16:57:55,797 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 16:57:55,797 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 16:57:55,805 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:55,805 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:55,811 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:55,813 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 16:57:55,931 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:55,932 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 16:57:55,934 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 16:57:55,957 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 13.10 04:57:55 BoogieIcfgContainer [2024-10-13 16:57:55,958 INFO L131 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2024-10-13 16:57:55,959 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-13 16:57:55,959 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-13 16:57:55,959 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-13 16:57:55,960 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 04:57:52" (3/4) ... [2024-10-13 16:57:55,961 INFO L136 WitnessPrinter]: Generating witness for non-termination counterexample [2024-10-13 16:57:55,997 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2024-10-13 16:57:55,997 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-13 16:57:55,998 INFO L158 Benchmark]: Toolchain (without parser) took 4369.24ms. Allocated memory is still 178.3MB. Free memory was 110.4MB in the beginning and 59.6MB in the end (delta: 50.8MB). Peak memory consumption was 51.0MB. Max. memory is 16.1GB. [2024-10-13 16:57:55,998 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 178.3MB. Free memory was 136.8MB in the beginning and 136.6MB in the end (delta: 160.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 16:57:55,998 INFO L158 Benchmark]: CACSL2BoogieTranslator took 248.65ms. Allocated memory is still 178.3MB. Free memory was 110.3MB in the beginning and 99.3MB in the end (delta: 10.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2024-10-13 16:57:55,998 INFO L158 Benchmark]: Boogie Procedure Inliner took 27.09ms. Allocated memory is still 178.3MB. Free memory was 99.2MB in the beginning and 98.0MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 16:57:55,998 INFO L158 Benchmark]: Boogie Preprocessor took 26.70ms. Allocated memory is still 178.3MB. Free memory was 97.9MB in the beginning and 96.6MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 16:57:55,999 INFO L158 Benchmark]: RCFGBuilder took 252.49ms. Allocated memory is still 178.3MB. Free memory was 96.4MB in the beginning and 146.2MB in the end (delta: -49.8MB). Peak memory consumption was 9.2MB. Max. memory is 16.1GB. [2024-10-13 16:57:55,999 INFO L158 Benchmark]: BuchiAutomizer took 3769.62ms. Allocated memory is still 178.3MB. Free memory was 146.2MB in the beginning and 61.7MB in the end (delta: 84.5MB). Peak memory consumption was 85.8MB. Max. memory is 16.1GB. [2024-10-13 16:57:55,999 INFO L158 Benchmark]: Witness Printer took 38.08ms. Allocated memory is still 178.3MB. Free memory was 60.8MB in the beginning and 59.6MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 16:57:56,001 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.13ms. Allocated memory is still 178.3MB. Free memory was 136.8MB in the beginning and 136.6MB in the end (delta: 160.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 248.65ms. Allocated memory is still 178.3MB. Free memory was 110.3MB in the beginning and 99.3MB in the end (delta: 10.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 27.09ms. Allocated memory is still 178.3MB. Free memory was 99.2MB in the beginning and 98.0MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 26.70ms. Allocated memory is still 178.3MB. Free memory was 97.9MB in the beginning and 96.6MB in the end (delta: 1.3MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 252.49ms. Allocated memory is still 178.3MB. Free memory was 96.4MB in the beginning and 146.2MB in the end (delta: -49.8MB). Peak memory consumption was 9.2MB. Max. memory is 16.1GB. * BuchiAutomizer took 3769.62ms. Allocated memory is still 178.3MB. Free memory was 146.2MB in the beginning and 61.7MB in the end (delta: 84.5MB). Peak memory consumption was 85.8MB. Max. memory is 16.1GB. * Witness Printer took 38.08ms. Allocated memory is still 178.3MB. Free memory was 60.8MB in the beginning and 59.6MB in the end (delta: 1.1MB). There was no memory consumed. 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 7 terminating modules (2 trivial, 5 deterministic, 0 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function j and consists of 5 locations. One deterministic module has affine ranking function i and consists of 4 locations. One deterministic module has affine ranking function (((long) -1 * j) + i) and consists of 3 locations. One deterministic module has affine ranking function j and consists of 4 locations. One deterministic module has affine ranking function i and consists of 3 locations. 2 modules have a trivial ranking function, the largest among these consists of 3 locations. The remainder module has 35 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.7s and 6 iterations. TraceHistogramMax:3. Analysis of lassos took 2.9s. Construction of modules took 0.0s. Büchi inclusion checks took 0.5s. Highest rank in rank-based complementation 3. Minimization of det autom 0. Minimization of nondet autom 7. Automata minimization 0.0s AutomataMinimizationTime, 7 MinimizatonAttempts, 60 StatesRemovedByMinimization, 7 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had -1 states and ocurred in iteration -1. Nontrivial modules had stage [5, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 38 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 33 mSDsluCounter, 38 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 2 mSDsCounter, 12 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 82 IncrementalHoareTripleChecker+Invalid, 94 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 12 mSolverCounterUnsat, 36 mSDtfsCounter, 82 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT3 conc0 concLT0 SILN0 SILU0 SILI0 SILT2 lasso0 LassoPreprocessingBenchmarks: Lassos: inital14 mio100 ax185 hnf100 lsp54 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq156 hnf92 smp100 dnf100 smp100 tf109 neg100 sie100 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 28ms VariablesStem: 1 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 2 MotzkinApplications: 6 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 6 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 5 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.8s InitialAbstractionConstructionTime: 0.0s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - LassoShapedNonTerminationArgument [Line: 13]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite program execution. Stem: [L6] int i; [L7] int j; [L8] int t; [L9] i = __VERIFIER_nondet_int() [L10] j = __VERIFIER_nondet_int() [L11] t = 0 [L13] COND TRUE i > 0 && j > 0 VAL [i=2, j=2] [L14] COND FALSE !(i < j) VAL [i=2, j=2] [L19] COND FALSE !(i > j) [L22] i = i-1 VAL [i=1, j=2] [L13] COND TRUE i > 0 && j > 0 VAL [i=1, j=2] [L14] COND TRUE i < j [L15] t = i [L16] i = j [L17] j = t VAL [i=2, j=1] Loop: [L13] COND TRUE i > 0 && j > 0 [L14] COND FALSE !(i < j) [L19] COND TRUE i > j [L20] j = i [L13] COND TRUE i > 0 && j > 0 [L14] COND FALSE !(i < j) [L19] COND FALSE !(i > j) [L22] i = i-1 [L13] COND TRUE i > 0 && j > 0 [L14] COND TRUE i < j [L15] t = i [L16] i = j [L17] j = t End of lasso representation. - StatisticsResult: NonterminationArgumentStatistics Fixpoint - NonterminatingLassoResult [Line: 13]: Nonterminating execution Found a nonterminating execution for the following lasso shaped sequence of statements. Stem: [L6] int i; [L7] int j; [L8] int t; [L9] i = __VERIFIER_nondet_int() [L10] j = __VERIFIER_nondet_int() [L11] t = 0 [L13] COND TRUE i > 0 && j > 0 VAL [i=2, j=2] [L14] COND FALSE !(i < j) VAL [i=2, j=2] [L19] COND FALSE !(i > j) [L22] i = i-1 VAL [i=1, j=2] [L13] COND TRUE i > 0 && j > 0 VAL [i=1, j=2] [L14] COND TRUE i < j [L15] t = i [L16] i = j [L17] j = t VAL [i=2, j=1] Loop: [L13] COND TRUE i > 0 && j > 0 [L14] COND FALSE !(i < j) [L19] COND TRUE i > j [L20] j = i [L13] COND TRUE i > 0 && j > 0 [L14] COND FALSE !(i < j) [L19] COND FALSE !(i > j) [L22] i = i-1 [L13] COND TRUE i > 0 && j > 0 [L14] COND TRUE i < j [L15] t = i [L16] i = j [L17] j = t End of lasso representation. RESULT: Ultimate proved your program to be incorrect! [2024-10-13 16:57:56,024 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (32)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:56,221 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (24)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:56,421 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (20)] Forceful destruction successful, exit code 0 [2024-10-13 16:57:56,626 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/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)