./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/termination-restricted-15/Flip2.c --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 906a4fb5 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/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.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash cda310f9ec541637625c4cf2e3662e22b6979f61 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.1.25-906a4fb [2020-10-19 18:42:19,156 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-19 18:42:19,158 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-19 18:42:19,183 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-19 18:42:19,184 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-19 18:42:19,185 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-19 18:42:19,187 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-19 18:42:19,189 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-19 18:42:19,191 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-19 18:42:19,192 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-19 18:42:19,193 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-19 18:42:19,194 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-19 18:42:19,195 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-19 18:42:19,199 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-19 18:42:19,200 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-19 18:42:19,203 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-19 18:42:19,204 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-19 18:42:19,208 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-19 18:42:19,211 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-19 18:42:19,216 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-19 18:42:19,220 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-19 18:42:19,221 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-19 18:42:19,222 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-19 18:42:19,224 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-19 18:42:19,229 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-19 18:42:19,230 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-19 18:42:19,231 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-19 18:42:19,232 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-19 18:42:19,233 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-19 18:42:19,235 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-19 18:42:19,235 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-19 18:42:19,236 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-19 18:42:19,237 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-19 18:42:19,238 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-19 18:42:19,240 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-19 18:42:19,241 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-19 18:42:19,241 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-19 18:42:19,242 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-19 18:42:19,242 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-19 18:42:19,253 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-19 18:42:19,257 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-19 18:42:19,258 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2020-10-19 18:42:19,305 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-19 18:42:19,305 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-19 18:42:19,307 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-19 18:42:19,307 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-19 18:42:19,307 INFO L138 SettingsManager]: * Use SBE=true [2020-10-19 18:42:19,308 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-19 18:42:19,308 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-19 18:42:19,308 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-19 18:42:19,308 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-19 18:42:19,309 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-19 18:42:19,309 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-19 18:42:19,309 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-19 18:42:19,310 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-19 18:42:19,310 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-19 18:42:19,310 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-19 18:42:19,310 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-19 18:42:19,311 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-19 18:42:19,311 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-19 18:42:19,311 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-19 18:42:19,312 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-19 18:42:19,312 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-19 18:42:19,312 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-19 18:42:19,312 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-19 18:42:19,313 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-19 18:42:19,313 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-19 18:42:19,313 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-19 18:42:19,314 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-19 18:42:19,314 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-19 18:42:19,314 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-19 18:42:19,315 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-19 18:42:19,316 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> cda310f9ec541637625c4cf2e3662e22b6979f61 [2020-10-19 18:42:19,650 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-19 18:42:19,663 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-19 18:42:19,669 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-19 18:42:19,671 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-19 18:42:19,673 INFO L275 PluginConnector]: CDTParser initialized [2020-10-19 18:42:19,674 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-restricted-15/Flip2.c [2020-10-19 18:42:19,741 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/69df10055/351ffa48cf9a482287e00548eaf1511d/FLAG3f13aeeba [2020-10-19 18:42:20,235 INFO L306 CDTParser]: Found 1 translation units. [2020-10-19 18:42:20,236 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-restricted-15/Flip2.c [2020-10-19 18:42:20,241 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/69df10055/351ffa48cf9a482287e00548eaf1511d/FLAG3f13aeeba [2020-10-19 18:42:20,585 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/69df10055/351ffa48cf9a482287e00548eaf1511d [2020-10-19 18:42:20,588 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-19 18:42:20,595 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-19 18:42:20,597 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-19 18:42:20,597 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-19 18:42:20,600 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-19 18:42:20,601 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,604 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3659697e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20, skipping insertion in model container [2020-10-19 18:42:20,604 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,611 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-19 18:42:20,627 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 18:42:20,778 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 18:42:20,782 INFO L203 MainTranslator]: Completed pre-run [2020-10-19 18:42:20,795 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 18:42:20,806 INFO L208 MainTranslator]: Completed translation [2020-10-19 18:42:20,806 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20 WrapperNode [2020-10-19 18:42:20,806 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-19 18:42:20,807 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-19 18:42:20,807 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-19 18:42:20,808 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-19 18:42:20,816 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,821 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,837 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-19 18:42:20,838 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-19 18:42:20,838 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-19 18:42:20,838 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-19 18:42:20,845 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,845 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,846 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,846 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,903 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,908 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,909 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (1/1) ... [2020-10-19 18:42:20,910 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-19 18:42:20,910 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-19 18:42:20,911 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-19 18:42:20,911 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-19 18:42:20,912 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:20,980 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-19 18:42:20,980 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-19 18:42:21,127 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-19 18:42:21,127 INFO L298 CfgBuilder]: Removed 5 assume(true) statements. [2020-10-19 18:42:21,129 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 06:42:21 BoogieIcfgContainer [2020-10-19 18:42:21,129 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-19 18:42:21,130 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-19 18:42:21,130 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-19 18:42:21,134 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-19 18:42:21,135 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 18:42:21,135 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 19.10 06:42:20" (1/3) ... [2020-10-19 18:42:21,136 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7cead750 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 06:42:21, skipping insertion in model container [2020-10-19 18:42:21,137 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 18:42:21,137 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:42:20" (2/3) ... [2020-10-19 18:42:21,137 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7cead750 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 06:42:21, skipping insertion in model container [2020-10-19 18:42:21,138 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 18:42:21,138 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 06:42:21" (3/3) ... [2020-10-19 18:42:21,140 INFO L373 chiAutomizerObserver]: Analyzing ICFG Flip2.c [2020-10-19 18:42:21,190 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-19 18:42:21,191 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-19 18:42:21,191 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-19 18:42:21,191 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-19 18:42:21,192 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-19 18:42:21,192 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-19 18:42:21,192 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-19 18:42:21,192 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-19 18:42:21,207 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 8 states. [2020-10-19 18:42:21,230 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2020-10-19 18:42:21,230 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:42:21,231 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:42:21,239 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1] [2020-10-19 18:42:21,239 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2020-10-19 18:42:21,239 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-19 18:42:21,240 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 8 states. [2020-10-19 18:42:21,241 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2020-10-19 18:42:21,241 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:42:21,241 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:42:21,241 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1] [2020-10-19 18:42:21,242 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2020-10-19 18:42:21,250 INFO L794 eck$LassoCheckResult]: Stem: 3#ULTIMATE.startENTRYtrue havoc main_#res;havoc main_#t~nondet0, main_#t~nondet1, main_~i~0, main_~j~0, main_~t~0;havoc main_~i~0;havoc main_~j~0;havoc main_~t~0;main_~i~0 := main_#t~nondet0;havoc main_#t~nondet0;main_~j~0 := main_#t~nondet1;havoc main_#t~nondet1;main_~t~0 := 0; 6#L19-2true [2020-10-19 18:42:21,251 INFO L796 eck$LassoCheckResult]: Loop: 6#L19-2true assume !!(main_~i~0 > 0 && main_~j~0 > 0); 10#L14true assume main_~i~0 < main_~j~0;main_~t~0 := main_~i~0;main_~i~0 := main_~j~0;main_~j~0 := main_~t~0; 6#L19-2true [2020-10-19 18:42:21,257 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:21,258 INFO L82 PathProgramCache]: Analyzing trace with hash 32, now seen corresponding path program 1 times [2020-10-19 18:42:21,266 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:21,267 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [31324320] [2020-10-19 18:42:21,267 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:21,336 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:21,337 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:21,341 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:21,342 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:21,359 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:21,361 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:21,361 INFO L82 PathProgramCache]: Analyzing trace with hash 1284, now seen corresponding path program 1 times [2020-10-19 18:42:21,361 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:21,362 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1298468789] [2020-10-19 18:42:21,362 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:21,376 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:21,376 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:21,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:21,382 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:21,384 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:21,387 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:21,387 INFO L82 PathProgramCache]: Analyzing trace with hash 31075, now seen corresponding path program 1 times [2020-10-19 18:42:21,388 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:21,388 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [74834085] [2020-10-19 18:42:21,388 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:21,395 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:21,396 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:21,405 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:21,405 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:21,407 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:21,591 WARN L193 SmtUtils]: Spent 123.00 ms on a formula simplification that was a NOOP. DAG size: 12 [2020-10-19 18:42:21,603 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:42:21,604 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:42:21,604 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:42:21,604 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:42:21,605 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 18:42:21,605 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:21,605 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:42:21,605 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:42:21,606 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration1_Loop [2020-10-19 18:42:21,606 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:42:21,606 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:42:21,633 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:21,644 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:21,650 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:21,758 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:42:21,759 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:21,775 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:21,775 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:21,786 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 18:42:21,786 INFO L440 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: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:21,820 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:21,820 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 18:42:21,824 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 18:42:21,824 INFO L440 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: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:21,849 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:21,849 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:21,884 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 18:42:21,884 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 18:42:22,135 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 18:42:22,137 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:42:22,137 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:42:22,138 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:42:22,138 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:42:22,138 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 18:42:22,138 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:22,138 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:42:22,138 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:42:22,139 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration1_Loop [2020-10-19 18:42:22,139 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:42:22,139 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:42:22,142 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:22,146 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:22,153 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:22,240 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:42:22,246 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:22,258 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 18:42:22,261 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:22,262 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:22,262 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:22,262 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:22,274 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:42:22,274 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 18:42:22,284 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:22,332 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 18:42:22,334 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:22,334 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:22,334 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:22,335 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:42:22,345 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:42:22,345 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 18:42:22,351 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:22,394 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false Waiting until toolchain timeout for monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:22,396 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:22,397 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 18:42:22,398 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:22,398 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:22,398 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:42:22,401 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 18:42:22,401 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 18:42:22,406 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 18:42:22,417 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-10-19 18:42:22,417 INFO L444 ModelExtractionUtils]: 2 out of 5 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:22,425 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 18:42:22,425 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 18:42:22,425 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 18:42:22,426 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~j~0) = 1*ULTIMATE.start_main_~j~0 Supporting invariants [] [2020-10-19 18:42:22,463 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 18:42:22,489 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:22,499 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:22,502 INFO L263 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-19 18:42:22,503 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:42:22,514 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:22,515 WARN L261 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-19 18:42:22,516 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:42:22,533 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 18:42:22,552 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-10-19 18:42:22,553 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 8 states. Second operand 3 states. [2020-10-19 18:42:22,614 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 8 states.. Second operand 3 states. Result 30 states and 43 transitions. Complement of second has 8 states. [2020-10-19 18:42:22,615 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 [2020-10-19 18:42:22,617 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-19 18:42:22,618 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 16 transitions. [2020-10-19 18:42:22,620 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 1 letters. Loop has 2 letters. [2020-10-19 18:42:22,620 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:22,621 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 3 letters. Loop has 2 letters. [2020-10-19 18:42:22,621 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:22,621 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 1 letters. Loop has 4 letters. [2020-10-19 18:42:22,622 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:22,623 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 30 states and 43 transitions. [2020-10-19 18:42:22,627 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 6 [2020-10-19 18:42:22,632 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 30 states to 13 states and 19 transitions. [2020-10-19 18:42:22,633 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2020-10-19 18:42:22,634 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 9 [2020-10-19 18:42:22,635 INFO L73 IsDeterministic]: Start isDeterministic. Operand 13 states and 19 transitions. [2020-10-19 18:42:22,635 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 18:42:22,635 INFO L691 BuchiCegarLoop]: Abstraction has 13 states and 19 transitions. [2020-10-19 18:42:22,654 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states and 19 transitions. [2020-10-19 18:42:22,665 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 12. [2020-10-19 18:42:22,666 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2020-10-19 18:42:22,667 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 18 transitions. [2020-10-19 18:42:22,668 INFO L714 BuchiCegarLoop]: Abstraction has 12 states and 18 transitions. [2020-10-19 18:42:22,668 INFO L594 BuchiCegarLoop]: Abstraction has 12 states and 18 transitions. [2020-10-19 18:42:22,668 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-19 18:42:22,669 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 12 states and 18 transitions. [2020-10-19 18:42:22,670 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 6 [2020-10-19 18:42:22,670 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:42:22,670 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:42:22,671 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2020-10-19 18:42:22,671 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-19 18:42:22,671 INFO L794 eck$LassoCheckResult]: Stem: 75#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet0, main_#t~nondet1, main_~i~0, main_~j~0, main_~t~0;havoc main_~i~0;havoc main_~j~0;havoc main_~t~0;main_~i~0 := main_#t~nondet0;havoc main_#t~nondet0;main_~j~0 := main_#t~nondet1;havoc main_#t~nondet1;main_~t~0 := 0; 76#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 78#L14 [2020-10-19 18:42:22,671 INFO L796 eck$LassoCheckResult]: Loop: 78#L14 assume !(main_~i~0 < main_~j~0); 84#L19 assume !(main_~i~0 > main_~j~0);main_~i~0 := main_~i~0 - 1; 77#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 78#L14 [2020-10-19 18:42:22,672 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:22,672 INFO L82 PathProgramCache]: Analyzing trace with hash 1002, now seen corresponding path program 1 times [2020-10-19 18:42:22,672 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:22,673 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1512851829] [2020-10-19 18:42:22,673 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:22,679 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:22,680 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:22,683 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:22,683 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:22,685 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:22,685 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:22,686 INFO L82 PathProgramCache]: Analyzing trace with hash 44836, now seen corresponding path program 1 times [2020-10-19 18:42:22,686 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:22,686 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [334592087] [2020-10-19 18:42:22,687 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:22,692 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:22,692 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:22,696 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:22,696 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:22,698 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:22,699 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:22,699 INFO L82 PathProgramCache]: Analyzing trace with hash 29865627, now seen corresponding path program 1 times [2020-10-19 18:42:22,699 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:22,700 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [496483136] [2020-10-19 18:42:22,700 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:22,706 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:22,707 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:22,713 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:22,714 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:22,716 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:22,758 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:42:22,758 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:42:22,759 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:42:22,759 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:42:22,759 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 18:42:22,759 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:22,759 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:42:22,759 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:42:22,760 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration2_Loop [2020-10-19 18:42:22,760 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:42:22,760 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:42:22,762 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:22,768 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:22,772 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:22,841 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:42:22,841 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:22,845 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:22,845 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:22,851 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 18:42:22,851 INFO L440 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: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:22,905 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:22,906 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 18:42:22,911 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 18:42:22,911 INFO L440 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: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:22,960 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:22,961 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:23,014 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 18:42:23,014 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:23,118 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 18:42:23,120 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:42:23,120 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:42:23,120 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:42:23,120 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:42:23,120 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 18:42:23,121 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:23,121 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:42:23,121 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:42:23,121 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration2_Loop [2020-10-19 18:42:23,121 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:42:23,121 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:42:23,123 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:23,128 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:23,141 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:23,214 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:42:23,214 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:23,233 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 18:42:23,237 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:23,237 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:23,237 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:23,238 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:42:23,243 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:42:23,243 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:23,251 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:23,296 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 18:42:23,298 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:23,298 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:23,298 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:23,298 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:42:23,301 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:42:23,301 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 18:42:23,305 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:23,338 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 18:42:23,340 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:23,340 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 18:42:23,340 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:23,340 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:23,340 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:42:23,346 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 18:42:23,346 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 18:42:23,354 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 18:42:23,360 INFO L443 ModelExtractionUtils]: Simplification made 4 calls to the SMT solver. [2020-10-19 18:42:23,360 INFO L444 ModelExtractionUtils]: 0 out of 4 variables were initially zero. Simplification set additionally 2 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:23,375 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 18:42:23,376 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 18:42:23,376 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 18:42:23,376 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~i~0) = 1*ULTIMATE.start_main_~i~0 Supporting invariants [] Waiting until toolchain timeout for monitored process 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:23,409 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 18:42:23,424 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:23,429 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:23,429 INFO L263 TraceCheckSpWp]: Trace formula consists of 10 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-19 18:42:23,430 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:42:23,434 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:23,435 WARN L261 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-19 18:42:23,436 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:42:23,479 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 18:42:23,479 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-10-19 18:42:23,480 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 12 states and 18 transitions. cyclomatic complexity: 9 Second operand 4 states. [2020-10-19 18:42:23,514 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 12 states and 18 transitions. cyclomatic complexity: 9. Second operand 4 states. Result 34 states and 49 transitions. Complement of second has 7 states. [2020-10-19 18:42:23,514 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2020-10-19 18:42:23,515 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-10-19 18:42:23,515 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 8 transitions. [2020-10-19 18:42:23,516 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 8 transitions. Stem has 2 letters. Loop has 3 letters. [2020-10-19 18:42:23,517 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:23,517 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 8 transitions. Stem has 5 letters. Loop has 3 letters. [2020-10-19 18:42:23,518 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:23,518 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 8 transitions. Stem has 2 letters. Loop has 6 letters. [2020-10-19 18:42:23,518 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:23,518 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 34 states and 49 transitions. [2020-10-19 18:42:23,521 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 9 [2020-10-19 18:42:23,522 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 34 states to 30 states and 44 transitions. [2020-10-19 18:42:23,522 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 12 [2020-10-19 18:42:23,523 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 15 [2020-10-19 18:42:23,523 INFO L73 IsDeterministic]: Start isDeterministic. Operand 30 states and 44 transitions. [2020-10-19 18:42:23,523 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 18:42:23,524 INFO L691 BuchiCegarLoop]: Abstraction has 30 states and 44 transitions. [2020-10-19 18:42:23,524 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states and 44 transitions. [2020-10-19 18:42:23,527 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 24. [2020-10-19 18:42:23,527 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 24 states. [2020-10-19 18:42:23,528 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 37 transitions. [2020-10-19 18:42:23,528 INFO L714 BuchiCegarLoop]: Abstraction has 24 states and 37 transitions. [2020-10-19 18:42:23,529 INFO L594 BuchiCegarLoop]: Abstraction has 24 states and 37 transitions. [2020-10-19 18:42:23,529 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-10-19 18:42:23,529 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 24 states and 37 transitions. [2020-10-19 18:42:23,530 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 9 [2020-10-19 18:42:23,530 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:42:23,531 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:42:23,531 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2020-10-19 18:42:23,531 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-19 18:42:23,532 INFO L794 eck$LassoCheckResult]: Stem: 160#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet0, main_#t~nondet1, main_~i~0, main_~j~0, main_~t~0;havoc main_~i~0;havoc main_~j~0;havoc main_~t~0;main_~i~0 := main_#t~nondet0;havoc main_#t~nondet0;main_~j~0 := main_#t~nondet1;havoc main_#t~nondet1;main_~t~0 := 0; 161#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 173#L14 assume !(main_~i~0 < main_~j~0); 166#L19 [2020-10-19 18:42:23,532 INFO L796 eck$LassoCheckResult]: Loop: 166#L19 assume main_~i~0 > main_~j~0;main_~j~0 := main_~i~0; 167#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 179#L14 assume !(main_~i~0 < main_~j~0); 166#L19 [2020-10-19 18:42:23,532 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:23,532 INFO L82 PathProgramCache]: Analyzing trace with hash 31077, now seen corresponding path program 1 times [2020-10-19 18:42:23,533 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:23,533 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1928524657] [2020-10-19 18:42:23,533 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:23,538 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:23,538 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:23,542 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:23,543 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:23,545 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:23,545 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:23,545 INFO L82 PathProgramCache]: Analyzing trace with hash 47414, now seen corresponding path program 1 times [2020-10-19 18:42:23,546 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:23,546 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [816915017] [2020-10-19 18:42:23,546 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:23,552 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:23,553 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:23,556 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:23,556 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:23,557 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:23,558 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:23,558 INFO L82 PathProgramCache]: Analyzing trace with hash 925832530, now seen corresponding path program 1 times [2020-10-19 18:42:23,559 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:23,559 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [916374183] [2020-10-19 18:42:23,559 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:23,565 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:23,566 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:23,571 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:23,571 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:23,573 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:23,606 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:42:23,606 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:42:23,606 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:42:23,606 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:42:23,607 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 18:42:23,607 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:23,607 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:42:23,607 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:42:23,607 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration3_Loop [2020-10-19 18:42:23,607 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:42:23,607 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:42:23,611 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:23,616 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:23,623 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:23,686 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:42:23,686 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 18 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:23,703 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:23,703 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 18 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:23,712 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 18:42:23,712 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {v_rep~unnamed0~0~true_5=1} Honda state: {v_rep~unnamed0~0~true_5=1} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:23,769 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:23,769 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:23,774 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-19 18:42:23,774 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {v_rep~unnamed0~0~false_5=0} Honda state: {v_rep~unnamed0~0~false_5=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:23,831 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:23,831 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:23,909 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 18:42:23,909 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:24,097 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 18:42:24,099 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:42:24,099 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:42:24,099 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:42:24,099 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:42:24,099 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 18:42:24,100 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:24,100 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:42:24,100 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:42:24,101 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration3_Loop [2020-10-19 18:42:24,101 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:42:24,101 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:42:24,102 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:24,108 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:24,116 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:24,165 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:42:24,166 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:24,176 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 18:42:24,177 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:24,177 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:24,177 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:24,177 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:42:24,179 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:42:24,180 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 18:42:24,183 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:24,211 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 18:42:24,212 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:24,213 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 18:42:24,213 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:24,213 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:24,213 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:42:24,214 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 18:42:24,214 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 18:42:24,217 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 18:42:24,235 INFO L443 ModelExtractionUtils]: Simplification made 4 calls to the SMT solver. [2020-10-19 18:42:24,235 INFO L444 ModelExtractionUtils]: 0 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:24,238 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 18:42:24,238 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 18:42:24,239 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 18:42:24,239 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~i~0, ULTIMATE.start_main_~j~0) = 1*ULTIMATE.start_main_~i~0 - 1*ULTIMATE.start_main_~j~0 Supporting invariants [] Waiting until toolchain timeout for monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:24,278 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 18:42:24,309 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:24,314 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:24,315 INFO L263 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-19 18:42:24,315 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:42:24,320 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:24,320 WARN L261 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-19 18:42:24,321 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:42:24,338 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 18:42:24,338 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-10-19 18:42:24,338 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 24 states and 37 transitions. cyclomatic complexity: 19 Second operand 3 states. [2020-10-19 18:42:24,358 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 24 states and 37 transitions. cyclomatic complexity: 19. Second operand 3 states. Result 62 states and 91 transitions. Complement of second has 5 states. [2020-10-19 18:42:24,359 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 [2020-10-19 18:42:24,359 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-19 18:42:24,360 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 11 transitions. [2020-10-19 18:42:24,360 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 3 letters. Loop has 3 letters. [2020-10-19 18:42:24,360 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:24,360 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 6 letters. Loop has 3 letters. [2020-10-19 18:42:24,360 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:24,361 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 3 letters. Loop has 6 letters. [2020-10-19 18:42:24,361 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:24,361 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 62 states and 91 transitions. [2020-10-19 18:42:24,364 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 12 [2020-10-19 18:42:24,365 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 62 states to 55 states and 80 transitions. [2020-10-19 18:42:24,365 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 19 [2020-10-19 18:42:24,366 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 22 [2020-10-19 18:42:24,366 INFO L73 IsDeterministic]: Start isDeterministic. Operand 55 states and 80 transitions. [2020-10-19 18:42:24,366 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 18:42:24,366 INFO L691 BuchiCegarLoop]: Abstraction has 55 states and 80 transitions. [2020-10-19 18:42:24,366 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 55 states and 80 transitions. [2020-10-19 18:42:24,370 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 55 to 41. [2020-10-19 18:42:24,370 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2020-10-19 18:42:24,371 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 60 transitions. [2020-10-19 18:42:24,372 INFO L714 BuchiCegarLoop]: Abstraction has 41 states and 60 transitions. [2020-10-19 18:42:24,372 INFO L594 BuchiCegarLoop]: Abstraction has 41 states and 60 transitions. [2020-10-19 18:42:24,372 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-10-19 18:42:24,372 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 41 states and 60 transitions. [2020-10-19 18:42:24,373 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 12 [2020-10-19 18:42:24,374 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:42:24,374 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:42:24,374 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1] [2020-10-19 18:42:24,374 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2020-10-19 18:42:24,375 INFO L794 eck$LassoCheckResult]: Stem: 285#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet0, main_#t~nondet1, main_~i~0, main_~j~0, main_~t~0;havoc main_~i~0;havoc main_~j~0;havoc main_~t~0;main_~i~0 := main_#t~nondet0;havoc main_#t~nondet0;main_~j~0 := main_#t~nondet1;havoc main_#t~nondet1;main_~t~0 := 0; 286#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 316#L14 assume !(main_~i~0 < main_~j~0); 291#L19 assume main_~i~0 > main_~j~0;main_~j~0 := main_~i~0; 292#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 304#L14 assume main_~i~0 < main_~j~0;main_~t~0 := main_~i~0;main_~i~0 := main_~j~0;main_~j~0 := main_~t~0; 299#L19-2 [2020-10-19 18:42:24,375 INFO L796 eck$LassoCheckResult]: Loop: 299#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 309#L14 assume main_~i~0 < main_~j~0;main_~t~0 := main_~i~0;main_~i~0 := main_~j~0;main_~j~0 := main_~t~0; 299#L19-2 [2020-10-19 18:42:24,375 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:24,375 INFO L82 PathProgramCache]: Analyzing trace with hash 925832528, now seen corresponding path program 1 times [2020-10-19 18:42:24,375 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:24,376 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [19635969] [2020-10-19 18:42:24,376 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:24,383 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:24,419 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 18:42:24,420 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [19635969] [2020-10-19 18:42:24,421 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 18:42:24,421 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-19 18:42:24,421 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1244311312] [2020-10-19 18:42:24,425 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 18:42:24,425 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:24,425 INFO L82 PathProgramCache]: Analyzing trace with hash 1284, now seen corresponding path program 2 times [2020-10-19 18:42:24,425 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:24,426 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1561499054] [2020-10-19 18:42:24,426 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:24,430 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:24,430 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:24,434 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:24,434 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:24,435 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:24,468 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:42:24,468 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:42:24,468 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:42:24,468 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:42:24,468 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 18:42:24,468 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:24,468 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:42:24,469 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:42:24,469 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration4_Loop [2020-10-19 18:42:24,469 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:42:24,469 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:42:24,471 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:24,521 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:24,533 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:24,629 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:42:24,629 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:24,633 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:24,634 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 26 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 26 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:24,675 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 18:42:24,675 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 18:42:25,699 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 18:42:25,701 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:42:25,701 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:42:25,701 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:42:25,701 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:42:25,701 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 18:42:25,701 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:25,701 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:42:25,702 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:42:25,702 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration4_Loop [2020-10-19 18:42:25,702 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:42:25,702 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:42:25,703 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:25,713 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:25,716 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:25,779 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:42:25,779 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:25,783 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 18:42:25,784 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:25,784 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 18:42:25,785 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:25,785 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:25,785 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:42:25,787 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 18:42:25,787 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 18:42:25,790 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 18:42:25,795 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-10-19 18:42:25,795 INFO L444 ModelExtractionUtils]: 2 out of 5 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:25,797 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 18:42:25,797 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 18:42:25,797 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 18:42:25,798 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~j~0) = 1*ULTIMATE.start_main_~j~0 Supporting invariants [] [2020-10-19 18:42:25,818 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 18:42:25,836 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:25,846 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:25,847 INFO L263 TraceCheckSpWp]: Trace formula consists of 23 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-19 18:42:25,847 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:42:25,852 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:25,852 WARN L261 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-19 18:42:25,852 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:42:25,864 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 18:42:25,864 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-10-19 18:42:25,864 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 41 states and 60 transitions. cyclomatic complexity: 29 Second operand 3 states. [2020-10-19 18:42:25,883 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 41 states and 60 transitions. cyclomatic complexity: 29. Second operand 3 states. Result 73 states and 104 transitions. Complement of second has 7 states. [2020-10-19 18:42:25,883 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2020-10-19 18:42:25,883 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-19 18:42:25,884 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 11 transitions. [2020-10-19 18:42:25,884 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 11 transitions. Stem has 6 letters. Loop has 2 letters. [2020-10-19 18:42:25,884 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:25,884 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 11 transitions. Stem has 8 letters. Loop has 2 letters. [2020-10-19 18:42:25,884 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:25,884 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 11 transitions. Stem has 6 letters. Loop has 4 letters. [2020-10-19 18:42:25,885 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:25,885 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 73 states and 104 transitions. [2020-10-19 18:42:25,887 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 15 [2020-10-19 18:42:25,888 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 73 states to 57 states and 83 transitions. [2020-10-19 18:42:25,888 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2020-10-19 18:42:25,888 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 24 [2020-10-19 18:42:25,889 INFO L73 IsDeterministic]: Start isDeterministic. Operand 57 states and 83 transitions. [2020-10-19 18:42:25,889 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 18:42:25,889 INFO L691 BuchiCegarLoop]: Abstraction has 57 states and 83 transitions. [2020-10-19 18:42:25,889 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 57 states and 83 transitions. [2020-10-19 18:42:25,893 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 57 to 42. [2020-10-19 18:42:25,893 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 42 states. [2020-10-19 18:42:25,893 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 42 states and 62 transitions. [2020-10-19 18:42:25,893 INFO L714 BuchiCegarLoop]: Abstraction has 42 states and 62 transitions. [2020-10-19 18:42:25,894 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 18:42:25,896 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 18:42:25,897 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 18:42:25,898 INFO L87 Difference]: Start difference. First operand 42 states and 62 transitions. Second operand 3 states. [2020-10-19 18:42:25,917 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 18:42:25,918 INFO L93 Difference]: Finished difference Result 51 states and 69 transitions. [2020-10-19 18:42:25,918 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 18:42:25,918 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 51 states and 69 transitions. [2020-10-19 18:42:25,920 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 15 [2020-10-19 18:42:25,920 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 51 states to 46 states and 63 transitions. [2020-10-19 18:42:25,920 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2020-10-19 18:42:25,921 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 23 [2020-10-19 18:42:25,921 INFO L73 IsDeterministic]: Start isDeterministic. Operand 46 states and 63 transitions. [2020-10-19 18:42:25,921 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 18:42:25,921 INFO L691 BuchiCegarLoop]: Abstraction has 46 states and 63 transitions. [2020-10-19 18:42:25,921 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 46 states and 63 transitions. [2020-10-19 18:42:25,924 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 46 to 44. [2020-10-19 18:42:25,924 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2020-10-19 18:42:25,925 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 61 transitions. [2020-10-19 18:42:25,925 INFO L714 BuchiCegarLoop]: Abstraction has 44 states and 61 transitions. [2020-10-19 18:42:25,925 INFO L594 BuchiCegarLoop]: Abstraction has 44 states and 61 transitions. [2020-10-19 18:42:25,925 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-10-19 18:42:25,925 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 44 states and 61 transitions. [2020-10-19 18:42:25,926 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 15 [2020-10-19 18:42:25,926 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:42:25,926 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:42:25,927 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1] [2020-10-19 18:42:25,927 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-19 18:42:25,927 INFO L794 eck$LassoCheckResult]: Stem: 539#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet0, main_#t~nondet1, main_~i~0, main_~j~0, main_~t~0;havoc main_~i~0;havoc main_~j~0;havoc main_~t~0;main_~i~0 := main_#t~nondet0;havoc main_#t~nondet0;main_~j~0 := main_#t~nondet1;havoc main_#t~nondet1;main_~t~0 := 0; 540#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 567#L14 assume main_~i~0 < main_~j~0;main_~t~0 := main_~i~0;main_~i~0 := main_~j~0;main_~j~0 := main_~t~0; 568#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 570#L14 assume !(main_~i~0 < main_~j~0); 581#L19 assume !(main_~i~0 > main_~j~0);main_~i~0 := main_~i~0 - 1; 541#L19-2 [2020-10-19 18:42:25,927 INFO L796 eck$LassoCheckResult]: Loop: 541#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 542#L14 assume !(main_~i~0 < main_~j~0); 545#L19 assume !(main_~i~0 > main_~j~0);main_~i~0 := main_~i~0 - 1; 541#L19-2 [2020-10-19 18:42:25,927 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:25,927 INFO L82 PathProgramCache]: Analyzing trace with hash 925765420, now seen corresponding path program 1 times [2020-10-19 18:42:25,927 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:25,928 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1083350883] [2020-10-19 18:42:25,928 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:25,936 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:25,954 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 18:42:25,955 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1083350883] [2020-10-19 18:42:25,955 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 18:42:25,955 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-19 18:42:25,955 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1937786949] [2020-10-19 18:42:25,956 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-19 18:42:25,956 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:25,956 INFO L82 PathProgramCache]: Analyzing trace with hash 39886, now seen corresponding path program 2 times [2020-10-19 18:42:25,956 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:25,957 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [30585321] [2020-10-19 18:42:25,957 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:25,960 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:25,960 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:25,962 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:25,962 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:25,963 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:25,990 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:42:25,991 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:42:25,991 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:42:25,991 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:42:25,991 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-19 18:42:25,991 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:25,991 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:42:25,991 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:42:25,991 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration5_Loop [2020-10-19 18:42:25,991 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:42:25,991 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:42:25,993 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:26,002 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:26,005 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:26,050 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:42:26,050 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:26,057 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-19 18:42:26,057 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:26,084 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-19 18:42:26,084 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-19 18:42:26,112 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-19 18:42:26,114 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:42:26,114 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:42:26,114 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:42:26,114 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:42:26,115 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 18:42:26,115 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:26,115 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:42:26,115 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:42:26,115 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration5_Loop [2020-10-19 18:42:26,115 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:42:26,115 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:42:26,116 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:26,119 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:26,132 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:42:26,170 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:42:26,170 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:26,183 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 18:42:26,184 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:26,185 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:26,185 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:26,185 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:42:26,187 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:42:26,187 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:26,190 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:42:26,215 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false Waiting until toolchain timeout for monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:26,216 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:42:26,216 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 18:42:26,216 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:42:26,216 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:42:26,217 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:42:26,217 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 18:42:26,217 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 18:42:26,220 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 18:42:26,228 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-10-19 18:42:26,228 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:42:26,230 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 18:42:26,231 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-19 18:42:26,231 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 18:42:26,231 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~i~0) = 1*ULTIMATE.start_main_~i~0 Supporting invariants [] [2020-10-19 18:42:26,251 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-19 18:42:26,266 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:26,274 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:26,274 INFO L263 TraceCheckSpWp]: Trace formula consists of 23 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-19 18:42:26,275 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:42:26,280 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:42:26,281 WARN L261 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-19 18:42:26,281 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:42:26,292 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 18:42:26,293 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-10-19 18:42:26,293 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 44 states and 61 transitions. cyclomatic complexity: 26 Second operand 3 states. [2020-10-19 18:42:26,316 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 44 states and 61 transitions. cyclomatic complexity: 26. Second operand 3 states. Result 81 states and 106 transitions. Complement of second has 5 states. [2020-10-19 18:42:26,318 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 [2020-10-19 18:42:26,319 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-19 18:42:26,319 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 11 transitions. [2020-10-19 18:42:26,319 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 6 letters. Loop has 3 letters. [2020-10-19 18:42:26,320 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:26,320 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 9 letters. Loop has 3 letters. [2020-10-19 18:42:26,320 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:26,320 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 6 letters. Loop has 6 letters. [2020-10-19 18:42:26,320 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:42:26,320 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 81 states and 106 transitions. [2020-10-19 18:42:26,322 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2020-10-19 18:42:26,323 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 81 states to 60 states and 81 transitions. [2020-10-19 18:42:26,323 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 19 [2020-10-19 18:42:26,323 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 21 [2020-10-19 18:42:26,324 INFO L73 IsDeterministic]: Start isDeterministic. Operand 60 states and 81 transitions. [2020-10-19 18:42:26,324 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 18:42:26,324 INFO L691 BuchiCegarLoop]: Abstraction has 60 states and 81 transitions. [2020-10-19 18:42:26,324 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 60 states and 81 transitions. [2020-10-19 18:42:26,327 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 60 to 50. [2020-10-19 18:42:26,328 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 50 states. [2020-10-19 18:42:26,328 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 50 states and 69 transitions. [2020-10-19 18:42:26,329 INFO L714 BuchiCegarLoop]: Abstraction has 50 states and 69 transitions. [2020-10-19 18:42:26,329 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 18:42:26,329 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 18:42:26,329 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 18:42:26,329 INFO L87 Difference]: Start difference. First operand 50 states and 69 transitions. Second operand 3 states. [2020-10-19 18:42:26,344 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 18:42:26,344 INFO L93 Difference]: Finished difference Result 53 states and 67 transitions. [2020-10-19 18:42:26,345 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 18:42:26,346 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 53 states and 67 transitions. [2020-10-19 18:42:26,347 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 9 [2020-10-19 18:42:26,347 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 53 states to 49 states and 62 transitions. [2020-10-19 18:42:26,347 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2020-10-19 18:42:26,348 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 26 [2020-10-19 18:42:26,348 INFO L73 IsDeterministic]: Start isDeterministic. Operand 49 states and 62 transitions. [2020-10-19 18:42:26,348 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-19 18:42:26,348 INFO L691 BuchiCegarLoop]: Abstraction has 49 states and 62 transitions. [2020-10-19 18:42:26,348 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 49 states and 62 transitions. [2020-10-19 18:42:26,352 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 49 to 37. [2020-10-19 18:42:26,352 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 37 states. [2020-10-19 18:42:26,353 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 37 states and 48 transitions. [2020-10-19 18:42:26,353 INFO L714 BuchiCegarLoop]: Abstraction has 37 states and 48 transitions. [2020-10-19 18:42:26,353 INFO L594 BuchiCegarLoop]: Abstraction has 37 states and 48 transitions. [2020-10-19 18:42:26,353 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-10-19 18:42:26,353 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 37 states and 48 transitions. [2020-10-19 18:42:26,354 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 9 [2020-10-19 18:42:26,354 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:42:26,354 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:42:26,355 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1] [2020-10-19 18:42:26,355 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [3, 2, 1, 1, 1] [2020-10-19 18:42:26,355 INFO L794 eck$LassoCheckResult]: Stem: 814#ULTIMATE.startENTRY havoc main_#res;havoc main_#t~nondet0, main_#t~nondet1, main_~i~0, main_~j~0, main_~t~0;havoc main_~i~0;havoc main_~j~0;havoc main_~t~0;main_~i~0 := main_#t~nondet0;havoc main_#t~nondet0;main_~j~0 := main_#t~nondet1;havoc main_#t~nondet1;main_~t~0 := 0; 815#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 835#L14 assume !(main_~i~0 < main_~j~0); 823#L19 assume !(main_~i~0 > main_~j~0);main_~i~0 := main_~i~0 - 1; 824#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 817#L14 assume main_~i~0 < main_~j~0;main_~t~0 := main_~i~0;main_~i~0 := main_~j~0;main_~j~0 := main_~t~0; 828#L19-2 [2020-10-19 18:42:26,355 INFO L796 eck$LassoCheckResult]: Loop: 828#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 826#L14 assume !(main_~i~0 < main_~j~0); 827#L19 assume main_~i~0 > main_~j~0;main_~j~0 := main_~i~0; 838#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 841#L14 assume !(main_~i~0 < main_~j~0); 821#L19 assume !(main_~i~0 > main_~j~0);main_~i~0 := main_~i~0 - 1; 822#L19-2 assume !!(main_~i~0 > 0 && main_~j~0 > 0); 840#L14 assume main_~i~0 < main_~j~0;main_~t~0 := main_~i~0;main_~i~0 := main_~j~0;main_~j~0 := main_~t~0; 828#L19-2 [2020-10-19 18:42:26,355 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:26,355 INFO L82 PathProgramCache]: Analyzing trace with hash 925834450, now seen corresponding path program 2 times [2020-10-19 18:42:26,355 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:26,356 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [331954973] [2020-10-19 18:42:26,356 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:26,369 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:26,369 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:26,377 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:26,377 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:26,379 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:26,380 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:26,380 INFO L82 PathProgramCache]: Analyzing trace with hash -606540634, now seen corresponding path program 1 times [2020-10-19 18:42:26,380 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:26,380 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1412593583] [2020-10-19 18:42:26,381 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:26,386 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:26,387 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:26,391 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:26,392 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:26,393 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:26,394 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:42:26,394 INFO L82 PathProgramCache]: Analyzing trace with hash -66410377, now seen corresponding path program 1 times [2020-10-19 18:42:26,394 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:42:26,394 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [781748754] [2020-10-19 18:42:26,395 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:42:26,405 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:26,405 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:26,415 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:42:26,415 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:42:26,418 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:42:26,560 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 19.10 06:42:26 BoogieIcfgContainer [2020-10-19 18:42:26,560 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-19 18:42:26,560 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-19 18:42:26,560 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-19 18:42:26,561 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-19 18:42:26,561 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 06:42:21" (3/4) ... [2020-10-19 18:42:26,565 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-10-19 18:42:26,612 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-10-19 18:42:26,613 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-19 18:42:26,614 INFO L168 Benchmark]: Toolchain (without parser) took 6024.89 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 213.4 MB). Free memory was 958.6 MB in the beginning and 1.0 GB in the end (delta: -88.0 MB). Peak memory consumption was 125.4 MB. Max. memory is 11.5 GB. [2020-10-19 18:42:26,615 INFO L168 Benchmark]: CDTParser took 0.32 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 18:42:26,616 INFO L168 Benchmark]: CACSL2BoogieTranslator took 210.26 ms. Allocated memory is still 1.0 GB. Free memory was 958.6 MB in the beginning and 947.9 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2020-10-19 18:42:26,616 INFO L168 Benchmark]: Boogie Procedure Inliner took 30.09 ms. Allocated memory is still 1.0 GB. Free memory is still 947.9 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 18:42:26,617 INFO L168 Benchmark]: Boogie Preprocessor took 72.58 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 140.0 MB). Free memory was 947.9 MB in the beginning and 1.1 GB in the end (delta: -188.3 MB). Peak memory consumption was 15.2 MB. Max. memory is 11.5 GB. [2020-10-19 18:42:26,617 INFO L168 Benchmark]: RCFGBuilder took 218.94 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 18.4 MB). Peak memory consumption was 18.4 MB. Max. memory is 11.5 GB. [2020-10-19 18:42:26,618 INFO L168 Benchmark]: BuchiAutomizer took 5429.99 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 73.4 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 65.0 MB). Peak memory consumption was 138.4 MB. Max. memory is 11.5 GB. [2020-10-19 18:42:26,618 INFO L168 Benchmark]: Witness Printer took 52.44 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 6.2 MB). Peak memory consumption was 6.2 MB. Max. memory is 11.5 GB. [2020-10-19 18:42:26,622 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.32 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 210.26 ms. Allocated memory is still 1.0 GB. Free memory was 958.6 MB in the beginning and 947.9 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 30.09 ms. Allocated memory is still 1.0 GB. Free memory is still 947.9 MB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 72.58 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 140.0 MB). Free memory was 947.9 MB in the beginning and 1.1 GB in the end (delta: -188.3 MB). Peak memory consumption was 15.2 MB. Max. memory is 11.5 GB. * RCFGBuilder took 218.94 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 18.4 MB). Peak memory consumption was 18.4 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 5429.99 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 73.4 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 65.0 MB). Peak memory consumption was 138.4 MB. Max. memory is 11.5 GB. * Witness Printer took 52.44 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 6.2 MB). Peak memory consumption was 6.2 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 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 i + -1 * j 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 37 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 5.3s and 6 iterations. TraceHistogramMax:3. Analysis of lassos took 4.6s. Construction of modules took 0.0s. Büchi inclusion checks took 0.4s. 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 44 states and ocurred in iteration 4. Nontrivial modules had stage [5, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 34 SDtfs, 33 SDslu, 6 SDs, 0 SdLazy, 81 SolverSat, 14 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT3 conc0 concLT0 SILN0 SILU0 SILI0 SILT2 lasso0 LassoPreprocessingBenchmarks: Lassos: inital16 mio100 ax176 hnf97 lsp55 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq150 hnf92 smp100 dnf100 smp100 tf109 neg100 sie114 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 37ms VariablesStem: 1 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 2 MotzkinApplications: 6 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 6 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 5 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 1.9s - TerminationAnalysisResult: Nontermination possible Buchi Automizer proved that your program is nonterminating for some inputs - FixpointNonTerminationResult [Line: 13]: Nontermination argument in form of an infinite program execution. Nontermination argument in form of an infinite execution State at position 0 is {} State at position 1 is {t=1, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@5c8a7e0c=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@401aa152=0, i=2, j=1} - 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 [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 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! Received shutdown request...