./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 54858612 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../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.2.0-5485861 [2020-10-26 04:16:25,175 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-26 04:16:25,186 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-26 04:16:25,225 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-26 04:16:25,226 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-26 04:16:25,227 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-26 04:16:25,229 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-26 04:16:25,232 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-26 04:16:25,234 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-26 04:16:25,235 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-26 04:16:25,236 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-26 04:16:25,238 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-26 04:16:25,238 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-26 04:16:25,240 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-26 04:16:25,241 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-26 04:16:25,242 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-26 04:16:25,243 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-26 04:16:25,245 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-26 04:16:25,247 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-26 04:16:25,250 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-26 04:16:25,252 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-26 04:16:25,253 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-26 04:16:25,255 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-26 04:16:25,256 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-26 04:16:25,259 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-26 04:16:25,260 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-26 04:16:25,260 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-26 04:16:25,262 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-26 04:16:25,262 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-26 04:16:25,264 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-26 04:16:25,264 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-26 04:16:25,265 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-26 04:16:25,266 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-26 04:16:25,267 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-26 04:16:25,269 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-26 04:16:25,269 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-26 04:16:25,270 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-26 04:16:25,270 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-26 04:16:25,271 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-26 04:16:25,272 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-26 04:16:25,273 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-26 04:16:25,276 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2020-10-26 04:16:25,331 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-26 04:16:25,332 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-26 04:16:25,336 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-26 04:16:25,336 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-26 04:16:25,336 INFO L138 SettingsManager]: * Use SBE=true [2020-10-26 04:16:25,337 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-26 04:16:25,337 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-26 04:16:25,337 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-26 04:16:25,337 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-26 04:16:25,337 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-26 04:16:25,339 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-26 04:16:25,339 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-26 04:16:25,339 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-26 04:16:25,339 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-26 04:16:25,340 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-26 04:16:25,340 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-26 04:16:25,340 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-26 04:16:25,340 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-26 04:16:25,340 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-26 04:16:25,341 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-26 04:16:25,341 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-26 04:16:25,341 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-26 04:16:25,341 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-26 04:16:25,341 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-26 04:16:25,342 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-26 04:16:25,342 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-26 04:16:25,342 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-26 04:16:25,342 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-26 04:16:25,342 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-26 04:16:25,345 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-26 04:16:25,345 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.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-26 04:16:25,829 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-26 04:16:25,872 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-26 04:16:25,877 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-26 04:16:25,879 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-26 04:16:25,880 INFO L275 PluginConnector]: CDTParser initialized [2020-10-26 04:16:25,881 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-26 04:16:25,978 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/65dba16f6/892e597a27ee41dbaded55f82d50e27d/FLAG4379e582e [2020-10-26 04:16:26,669 INFO L306 CDTParser]: Found 1 translation units. [2020-10-26 04:16:26,670 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-restricted-15/Flip2.c [2020-10-26 04:16:26,678 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/65dba16f6/892e597a27ee41dbaded55f82d50e27d/FLAG4379e582e [2020-10-26 04:16:27,007 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/65dba16f6/892e597a27ee41dbaded55f82d50e27d [2020-10-26 04:16:27,010 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-26 04:16:27,018 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-26 04:16:27,021 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-26 04:16:27,021 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-26 04:16:27,029 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-26 04:16:27,030 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,034 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@277a9b59 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27, skipping insertion in model container [2020-10-26 04:16:27,034 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,043 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-26 04:16:27,065 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-26 04:16:27,259 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-26 04:16:27,282 INFO L203 MainTranslator]: Completed pre-run [2020-10-26 04:16:27,308 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-26 04:16:27,325 INFO L208 MainTranslator]: Completed translation [2020-10-26 04:16:27,326 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27 WrapperNode [2020-10-26 04:16:27,326 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-26 04:16:27,329 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-26 04:16:27,329 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-26 04:16:27,329 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-26 04:16:27,342 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,349 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,372 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-26 04:16:27,375 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-26 04:16:27,375 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-26 04:16:27,375 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-26 04:16:27,386 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,387 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,388 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,388 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,392 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,403 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,404 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (1/1) ... [2020-10-26 04:16:27,406 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-26 04:16:27,408 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-26 04:16:27,409 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-26 04:16:27,409 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-26 04:16:27,410 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (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-26 04:16:27,529 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-26 04:16:27,530 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-26 04:16:27,796 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-26 04:16:27,796 INFO L298 CfgBuilder]: Removed 5 assume(true) statements. [2020-10-26 04:16:27,798 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 04:16:27 BoogieIcfgContainer [2020-10-26 04:16:27,799 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-26 04:16:27,808 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-26 04:16:27,808 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-26 04:16:27,813 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-26 04:16:27,814 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-26 04:16:27,814 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 26.10 04:16:27" (1/3) ... [2020-10-26 04:16:27,815 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7e93fc33 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 26.10 04:16:27, skipping insertion in model container [2020-10-26 04:16:27,820 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-26 04:16:27,820 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 04:16:27" (2/3) ... [2020-10-26 04:16:27,821 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@7e93fc33 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 26.10 04:16:27, skipping insertion in model container [2020-10-26 04:16:27,821 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-26 04:16:27,822 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 04:16:27" (3/3) ... [2020-10-26 04:16:27,824 INFO L373 chiAutomizerObserver]: Analyzing ICFG Flip2.c [2020-10-26 04:16:27,941 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-26 04:16:27,942 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-26 04:16:27,942 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-26 04:16:27,942 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-26 04:16:27,943 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-26 04:16:27,943 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-26 04:16:27,943 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-26 04:16:27,943 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-26 04:16:27,961 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 8 states. [2020-10-26 04:16:27,987 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2020-10-26 04:16:27,988 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 04:16:27,988 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 04:16:27,998 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1] [2020-10-26 04:16:27,998 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2020-10-26 04:16:27,998 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-26 04:16:27,998 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 8 states. [2020-10-26 04:16:28,000 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2020-10-26 04:16:28,001 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 04:16:28,001 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 04:16:28,001 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1] [2020-10-26 04:16:28,001 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2020-10-26 04:16:28,010 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-26 04:16:28,011 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-26 04:16:28,019 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:28,020 INFO L82 PathProgramCache]: Analyzing trace with hash 32, now seen corresponding path program 1 times [2020-10-26 04:16:28,032 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:28,033 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [48089287] [2020-10-26 04:16:28,034 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:28,152 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:28,153 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:28,166 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:28,166 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:28,198 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:28,206 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:28,207 INFO L82 PathProgramCache]: Analyzing trace with hash 1284, now seen corresponding path program 1 times [2020-10-26 04:16:28,207 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:28,209 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [79545375] [2020-10-26 04:16:28,210 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:28,242 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:28,243 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:28,255 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:28,256 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:28,259 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:28,262 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:28,262 INFO L82 PathProgramCache]: Analyzing trace with hash 31075, now seen corresponding path program 1 times [2020-10-26 04:16:28,263 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:28,263 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1835585165] [2020-10-26 04:16:28,263 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:28,281 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:28,282 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:28,288 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:28,288 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:28,290 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:28,502 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 04:16:28,503 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 04:16:28,503 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 04:16:28,504 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 04:16:28,504 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 04:16:28,504 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:28,504 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 04:16:28,504 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 04:16:28,504 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration1_Loop [2020-10-26 04:16:28,505 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 04:16:28,505 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 04:16:28,544 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-26 04:16:28,568 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-26 04:16:28,573 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-26 04:16:28,688 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 04:16:28,689 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) Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:28,697 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:28,698 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 04:16:28,707 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 04:16:28,708 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-26 04:16:28,738 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:28,738 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 04:16:28,743 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 04:16:28,743 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-26 04:16:28,775 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:28,776 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-26 04:16:28,819 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 04:16:28,819 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 04:16:29,066 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 04:16:29,069 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 04:16:29,069 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 04:16:29,069 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 04:16:29,069 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 04:16:29,069 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 04:16:29,070 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:29,070 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 04:16:29,070 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 04:16:29,071 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration1_Loop [2020-10-26 04:16:29,071 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 04:16:29,071 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 04:16:29,075 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-26 04:16:29,080 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-26 04:16:29,085 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-26 04:16:29,175 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 04:16:29,181 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) Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:29,189 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-26 04:16:29,191 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:29,191 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:29,192 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:29,192 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:29,206 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-26 04:16:29,207 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-26 04:16:29,223 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-26 04:16:29,267 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-26 04:16:29,269 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:29,269 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:29,269 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:29,270 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:29,275 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-26 04:16:29,276 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-26 04:16:29,282 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-26 04:16:29,321 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-26 04:16:29,324 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:29,324 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 04:16:29,325 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:29,325 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:29,325 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:29,328 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 04:16:29,329 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:29,334 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 04:16:29,341 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-10-26 04:16:29,342 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) [2020-10-26 04:16:29,350 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 04:16:29,350 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 04:16:29,350 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 04:16:29,351 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~j~0) = 1*ULTIMATE.start_main_~j~0 Supporting invariants [] Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:29,377 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 04:16:29,402 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:29,413 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:29,415 INFO L263 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-26 04:16:29,416 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 04:16:29,428 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:29,429 WARN L261 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-26 04:16:29,430 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 04:16:29,444 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-26 04:16:29,463 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-26 04:16:29,465 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 8 states. Second operand 3 states. [2020-10-26 04:16:29,566 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-26 04:16:29,568 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-26 04:16:29,571 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-26 04:16:29,571 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 16 transitions. [2020-10-26 04:16:29,574 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 1 letters. Loop has 2 letters. [2020-10-26 04:16:29,574 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:29,575 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 3 letters. Loop has 2 letters. [2020-10-26 04:16:29,575 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:29,575 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 1 letters. Loop has 4 letters. [2020-10-26 04:16:29,575 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:29,576 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 30 states and 43 transitions. [2020-10-26 04:16:29,585 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 6 [2020-10-26 04:16:29,590 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 30 states to 13 states and 19 transitions. [2020-10-26 04:16:29,591 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2020-10-26 04:16:29,591 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 9 [2020-10-26 04:16:29,592 INFO L73 IsDeterministic]: Start isDeterministic. Operand 13 states and 19 transitions. [2020-10-26 04:16:29,592 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 04:16:29,593 INFO L691 BuchiCegarLoop]: Abstraction has 13 states and 19 transitions. [2020-10-26 04:16:29,612 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states and 19 transitions. [2020-10-26 04:16:29,623 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 12. [2020-10-26 04:16:29,623 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2020-10-26 04:16:29,624 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 18 transitions. [2020-10-26 04:16:29,626 INFO L714 BuchiCegarLoop]: Abstraction has 12 states and 18 transitions. [2020-10-26 04:16:29,626 INFO L594 BuchiCegarLoop]: Abstraction has 12 states and 18 transitions. [2020-10-26 04:16:29,626 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-26 04:16:29,626 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 12 states and 18 transitions. [2020-10-26 04:16:29,628 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 6 [2020-10-26 04:16:29,629 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 04:16:29,629 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 04:16:29,630 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2020-10-26 04:16:29,630 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-26 04:16:29,630 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-26 04:16:29,630 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-26 04:16:29,632 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:29,632 INFO L82 PathProgramCache]: Analyzing trace with hash 1002, now seen corresponding path program 1 times [2020-10-26 04:16:29,633 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:29,633 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2118626800] [2020-10-26 04:16:29,633 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:29,658 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:29,659 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:29,662 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:29,663 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:29,664 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:29,665 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:29,665 INFO L82 PathProgramCache]: Analyzing trace with hash 44836, now seen corresponding path program 1 times [2020-10-26 04:16:29,665 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:29,666 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1782722116] [2020-10-26 04:16:29,666 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:29,671 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:29,671 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:29,674 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:29,675 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:29,676 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:29,677 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:29,677 INFO L82 PathProgramCache]: Analyzing trace with hash 29865627, now seen corresponding path program 1 times [2020-10-26 04:16:29,677 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:29,677 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1922535840] [2020-10-26 04:16:29,677 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:29,684 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:29,684 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:29,691 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:29,691 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:29,693 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:29,723 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 04:16:29,723 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 04:16:29,723 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 04:16:29,723 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 04:16:29,724 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 04:16:29,724 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:29,724 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 04:16:29,724 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 04:16:29,724 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration2_Loop [2020-10-26 04:16:29,724 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 04:16:29,724 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 04:16:29,726 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-26 04:16:29,735 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-26 04:16:29,742 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-26 04:16:29,801 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 04:16:29,801 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-26 04:16:29,812 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:29,812 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-26 04:16:29,818 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 04:16:29,818 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-26 04:16:29,865 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:29,865 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 04:16:29,869 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 04:16:29,869 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-26 04:16:29,914 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:29,915 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-26 04:16:29,962 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 04:16:29,963 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-26 04:16:30,130 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 04:16:30,134 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 04:16:30,134 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 04:16:30,134 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 04:16:30,134 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 04:16:30,134 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 04:16:30,135 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:30,135 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 04:16:30,135 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 04:16:30,135 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration2_Loop [2020-10-26 04:16:30,136 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 04:16:30,136 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 04:16:30,138 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-26 04:16:30,150 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-26 04:16:30,156 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-26 04:16:30,213 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 04:16:30,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-26 04:16:30,220 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-26 04:16:30,222 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:30,223 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:30,223 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:30,223 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:30,226 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-26 04:16:30,227 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-26 04:16:30,232 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) [2020-10-26 04:16:30,272 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-26 04:16:30,274 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:30,275 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:30,275 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:30,275 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:30,278 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-26 04:16:30,278 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:30,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 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-26 04:16:30,327 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-26 04:16:30,329 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:30,329 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 04:16:30,330 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:30,330 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:30,330 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:30,332 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 04:16:30,332 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:30,337 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 04:16:30,344 INFO L443 ModelExtractionUtils]: Simplification made 4 calls to the SMT solver. [2020-10-26 04:16:30,344 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-26 04:16:30,351 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 04:16:30,351 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 04:16:30,351 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 04:16:30,351 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-26 04:16:30,387 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 04:16:30,405 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:30,410 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:30,411 INFO L263 TraceCheckSpWp]: Trace formula consists of 10 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-26 04:16:30,411 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 04:16:30,417 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:30,417 WARN L261 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-26 04:16:30,418 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 04:16:30,462 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-26 04:16:30,463 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-26 04:16:30,463 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 12 states and 18 transitions. cyclomatic complexity: 9 Second operand 4 states. [2020-10-26 04:16:30,536 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-26 04:16:30,537 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-26 04:16:30,538 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-10-26 04:16:30,539 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 8 transitions. [2020-10-26 04:16:30,539 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 8 transitions. Stem has 2 letters. Loop has 3 letters. [2020-10-26 04:16:30,540 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:30,541 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 8 transitions. Stem has 5 letters. Loop has 3 letters. [2020-10-26 04:16:30,541 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:30,541 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 8 transitions. Stem has 2 letters. Loop has 6 letters. [2020-10-26 04:16:30,541 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:30,542 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 34 states and 49 transitions. [2020-10-26 04:16:30,544 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 9 [2020-10-26 04:16:30,546 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 34 states to 30 states and 44 transitions. [2020-10-26 04:16:30,546 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 12 [2020-10-26 04:16:30,546 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 15 [2020-10-26 04:16:30,547 INFO L73 IsDeterministic]: Start isDeterministic. Operand 30 states and 44 transitions. [2020-10-26 04:16:30,547 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 04:16:30,547 INFO L691 BuchiCegarLoop]: Abstraction has 30 states and 44 transitions. [2020-10-26 04:16:30,548 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states and 44 transitions. [2020-10-26 04:16:30,551 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 24. [2020-10-26 04:16:30,551 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 24 states. [2020-10-26 04:16:30,552 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 37 transitions. [2020-10-26 04:16:30,552 INFO L714 BuchiCegarLoop]: Abstraction has 24 states and 37 transitions. [2020-10-26 04:16:30,552 INFO L594 BuchiCegarLoop]: Abstraction has 24 states and 37 transitions. [2020-10-26 04:16:30,553 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-10-26 04:16:30,553 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 24 states and 37 transitions. [2020-10-26 04:16:30,554 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 9 [2020-10-26 04:16:30,554 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 04:16:30,554 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 04:16:30,555 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2020-10-26 04:16:30,555 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-26 04:16:30,555 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-26 04:16:30,556 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-26 04:16:30,556 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:30,556 INFO L82 PathProgramCache]: Analyzing trace with hash 31077, now seen corresponding path program 1 times [2020-10-26 04:16:30,557 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:30,557 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [546693713] [2020-10-26 04:16:30,557 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:30,562 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:30,563 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:30,567 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:30,567 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:30,569 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:30,569 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:30,570 INFO L82 PathProgramCache]: Analyzing trace with hash 47414, now seen corresponding path program 1 times [2020-10-26 04:16:30,570 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:30,570 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1248333722] [2020-10-26 04:16:30,571 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:30,581 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:30,581 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:30,585 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:30,585 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:30,586 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:30,587 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:30,587 INFO L82 PathProgramCache]: Analyzing trace with hash 925832530, now seen corresponding path program 1 times [2020-10-26 04:16:30,587 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:30,588 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [761533849] [2020-10-26 04:16:30,588 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:30,595 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:30,595 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:30,600 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:30,601 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:30,603 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:30,625 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 04:16:30,625 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 04:16:30,626 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 04:16:30,626 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 04:16:30,626 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 04:16:30,626 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:30,626 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 04:16:30,626 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 04:16:30,626 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration3_Loop [2020-10-26 04:16:30,626 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 04:16:30,626 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 04:16:30,628 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 04:16:30,632 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-26 04:16:30,636 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 04:16:30,690 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 04:16:30,691 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-26 04:16:30,697 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:30,697 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-26 04:16:30,702 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 04:16:30,702 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-26 04:16:30,742 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:30,743 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-26 04:16:30,747 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-10-26 04:16:30,748 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) Waiting until toolchain timeout for monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:30,783 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:30,783 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:30,818 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 04:16:30,819 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 04:16:30,988 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 04:16:30,990 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 04:16:30,991 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 04:16:30,991 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 04:16:30,991 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 04:16:30,991 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 04:16:30,991 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:30,991 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 04:16:30,992 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 04:16:30,992 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration3_Loop [2020-10-26 04:16:30,992 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 04:16:30,992 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 04:16:30,994 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-26 04:16:30,999 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-26 04:16:31,016 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-26 04:16:31,062 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 04:16:31,063 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) [2020-10-26 04:16:31,073 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-26 04:16:31,075 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:31,075 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:31,075 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:31,075 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:31,077 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-26 04:16:31,078 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:31,082 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) [2020-10-26 04:16:31,117 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-26 04:16:31,119 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:31,120 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 04:16:31,120 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:31,120 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:31,120 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:31,122 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 04:16:31,122 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:31,127 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 04:16:31,133 INFO L443 ModelExtractionUtils]: Simplification made 4 calls to the SMT solver. [2020-10-26 04:16:31,134 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-26 04:16:31,141 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 04:16:31,142 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 04:16:31,142 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 04:16:31,142 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-26 04:16:31,176 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 04:16:31,197 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:31,203 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:31,204 INFO L263 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-26 04:16:31,205 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 04:16:31,210 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:31,212 WARN L261 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-26 04:16:31,212 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 04:16:31,233 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-26 04:16:31,234 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-26 04:16:31,234 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 24 states and 37 transitions. cyclomatic complexity: 19 Second operand 3 states. [2020-10-26 04:16:31,257 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-26 04:16:31,258 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-26 04:16:31,259 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-26 04:16:31,259 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 11 transitions. [2020-10-26 04:16:31,259 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 3 letters. Loop has 3 letters. [2020-10-26 04:16:31,259 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:31,260 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 6 letters. Loop has 3 letters. [2020-10-26 04:16:31,260 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:31,260 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 3 letters. Loop has 6 letters. [2020-10-26 04:16:31,261 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:31,261 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 62 states and 91 transitions. [2020-10-26 04:16:31,264 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 12 [2020-10-26 04:16:31,266 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 62 states to 55 states and 80 transitions. [2020-10-26 04:16:31,266 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 19 [2020-10-26 04:16:31,266 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 22 [2020-10-26 04:16:31,267 INFO L73 IsDeterministic]: Start isDeterministic. Operand 55 states and 80 transitions. [2020-10-26 04:16:31,267 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 04:16:31,267 INFO L691 BuchiCegarLoop]: Abstraction has 55 states and 80 transitions. [2020-10-26 04:16:31,267 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 55 states and 80 transitions. [2020-10-26 04:16:31,271 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 55 to 41. [2020-10-26 04:16:31,272 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2020-10-26 04:16:31,273 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 60 transitions. [2020-10-26 04:16:31,273 INFO L714 BuchiCegarLoop]: Abstraction has 41 states and 60 transitions. [2020-10-26 04:16:31,274 INFO L594 BuchiCegarLoop]: Abstraction has 41 states and 60 transitions. [2020-10-26 04:16:31,274 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-10-26 04:16:31,274 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 41 states and 60 transitions. [2020-10-26 04:16:31,275 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 12 [2020-10-26 04:16:31,276 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 04:16:31,276 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 04:16:31,276 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1] [2020-10-26 04:16:31,277 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2020-10-26 04:16:31,277 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-26 04:16:31,277 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-26 04:16:31,278 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:31,278 INFO L82 PathProgramCache]: Analyzing trace with hash 925832528, now seen corresponding path program 1 times [2020-10-26 04:16:31,278 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:31,279 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [278886685] [2020-10-26 04:16:31,279 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:31,287 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:31,323 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-26 04:16:31,324 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [278886685] [2020-10-26 04:16:31,325 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-26 04:16:31,325 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-26 04:16:31,325 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1832828967] [2020-10-26 04:16:31,336 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-26 04:16:31,339 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:31,339 INFO L82 PathProgramCache]: Analyzing trace with hash 1284, now seen corresponding path program 2 times [2020-10-26 04:16:31,339 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:31,340 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [612146580] [2020-10-26 04:16:31,340 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:31,352 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:31,352 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:31,368 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:31,368 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:31,369 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:31,415 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 04:16:31,415 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 04:16:31,415 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 04:16:31,415 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 04:16:31,415 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 04:16:31,416 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:31,416 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 04:16:31,416 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 04:16:31,416 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration4_Loop [2020-10-26 04:16:31,416 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 04:16:31,417 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 04:16:31,418 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-26 04:16:31,434 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-26 04:16:31,439 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-26 04:16:31,514 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 04:16:31,514 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-26 04:16:31,518 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:31,518 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) [2020-10-26 04:16:31,564 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 04:16:31,565 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 26 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:32,722 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 04:16:32,724 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 04:16:32,724 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 04:16:32,724 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 04:16:32,724 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 04:16:32,724 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 04:16:32,724 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:32,725 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 04:16:32,725 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 04:16:32,725 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration4_Loop [2020-10-26 04:16:32,725 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 04:16:32,725 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 04:16:32,727 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-26 04:16:32,741 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-26 04:16:32,752 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-26 04:16:32,817 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 04:16:32,817 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) [2020-10-26 04:16:32,828 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-26 04:16:32,830 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:32,830 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 04:16:32,831 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:32,831 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:32,831 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:32,838 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 04:16:32,838 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:32,847 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 04:16:32,853 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-10-26 04:16:32,853 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) [2020-10-26 04:16:32,857 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 04:16:32,857 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 04:16:32,857 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 04:16:32,857 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~j~0) = 1*ULTIMATE.start_main_~j~0 Supporting invariants [] Waiting until toolchain timeout for monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:32,887 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 04:16:32,904 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:32,912 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:32,913 INFO L263 TraceCheckSpWp]: Trace formula consists of 23 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-26 04:16:32,914 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 04:16:32,921 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:32,921 WARN L261 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-26 04:16:32,922 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 04:16:32,935 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-26 04:16:32,936 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-26 04:16:32,936 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 41 states and 60 transitions. cyclomatic complexity: 29 Second operand 3 states. [2020-10-26 04:16:32,960 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-26 04:16:32,961 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-26 04:16:32,961 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-26 04:16:32,961 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 11 transitions. [2020-10-26 04:16:32,962 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 11 transitions. Stem has 6 letters. Loop has 2 letters. [2020-10-26 04:16:32,962 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:32,962 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 11 transitions. Stem has 8 letters. Loop has 2 letters. [2020-10-26 04:16:32,962 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:32,962 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 11 transitions. Stem has 6 letters. Loop has 4 letters. [2020-10-26 04:16:32,962 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:32,963 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 73 states and 104 transitions. [2020-10-26 04:16:32,965 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 15 [2020-10-26 04:16:32,966 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 73 states to 57 states and 83 transitions. [2020-10-26 04:16:32,966 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2020-10-26 04:16:32,966 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 24 [2020-10-26 04:16:32,967 INFO L73 IsDeterministic]: Start isDeterministic. Operand 57 states and 83 transitions. [2020-10-26 04:16:32,967 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 04:16:32,967 INFO L691 BuchiCegarLoop]: Abstraction has 57 states and 83 transitions. [2020-10-26 04:16:32,967 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 57 states and 83 transitions. [2020-10-26 04:16:32,971 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 57 to 42. [2020-10-26 04:16:32,971 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 42 states. [2020-10-26 04:16:32,972 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 42 states and 62 transitions. [2020-10-26 04:16:32,972 INFO L714 BuchiCegarLoop]: Abstraction has 42 states and 62 transitions. [2020-10-26 04:16:32,972 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-26 04:16:32,975 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-26 04:16:32,975 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-26 04:16:32,977 INFO L87 Difference]: Start difference. First operand 42 states and 62 transitions. Second operand 3 states. [2020-10-26 04:16:33,004 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-26 04:16:33,005 INFO L93 Difference]: Finished difference Result 51 states and 69 transitions. [2020-10-26 04:16:33,005 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-26 04:16:33,005 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 51 states and 69 transitions. [2020-10-26 04:16:33,007 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 15 [2020-10-26 04:16:33,008 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 51 states to 46 states and 63 transitions. [2020-10-26 04:16:33,008 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2020-10-26 04:16:33,008 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 23 [2020-10-26 04:16:33,008 INFO L73 IsDeterministic]: Start isDeterministic. Operand 46 states and 63 transitions. [2020-10-26 04:16:33,008 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 04:16:33,008 INFO L691 BuchiCegarLoop]: Abstraction has 46 states and 63 transitions. [2020-10-26 04:16:33,009 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 46 states and 63 transitions. [2020-10-26 04:16:33,012 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 46 to 44. [2020-10-26 04:16:33,012 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2020-10-26 04:16:33,012 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 61 transitions. [2020-10-26 04:16:33,013 INFO L714 BuchiCegarLoop]: Abstraction has 44 states and 61 transitions. [2020-10-26 04:16:33,013 INFO L594 BuchiCegarLoop]: Abstraction has 44 states and 61 transitions. [2020-10-26 04:16:33,013 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-10-26 04:16:33,013 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 44 states and 61 transitions. [2020-10-26 04:16:33,014 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 15 [2020-10-26 04:16:33,014 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 04:16:33,014 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 04:16:33,014 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1] [2020-10-26 04:16:33,014 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-26 04:16:33,015 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-26 04:16:33,015 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-26 04:16:33,015 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:33,015 INFO L82 PathProgramCache]: Analyzing trace with hash 925765420, now seen corresponding path program 1 times [2020-10-26 04:16:33,016 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:33,016 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1146101263] [2020-10-26 04:16:33,016 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:33,057 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:33,080 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-26 04:16:33,080 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1146101263] [2020-10-26 04:16:33,080 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-26 04:16:33,080 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-26 04:16:33,081 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1091274968] [2020-10-26 04:16:33,081 INFO L799 eck$LassoCheckResult]: stem already infeasible [2020-10-26 04:16:33,081 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:33,081 INFO L82 PathProgramCache]: Analyzing trace with hash 39886, now seen corresponding path program 2 times [2020-10-26 04:16:33,081 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:33,082 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1989308570] [2020-10-26 04:16:33,082 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:33,088 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:33,088 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:33,090 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:33,090 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:33,091 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:33,123 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 04:16:33,124 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 04:16:33,124 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 04:16:33,124 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 04:16:33,124 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-10-26 04:16:33,124 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:33,124 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 04:16:33,124 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 04:16:33,124 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration5_Loop [2020-10-26 04:16:33,125 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 04:16:33,125 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 04:16:33,126 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-26 04:16:33,138 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-26 04:16:33,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-26 04:16:33,192 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 04:16:33,193 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) [2020-10-26 04:16:33,198 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-10-26 04:16:33,198 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 29 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 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-26 04:16:33,228 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-10-26 04:16:33,228 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-10-26 04:16:33,265 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-10-26 04:16:33,267 INFO L210 LassoAnalysis]: Preferences: [2020-10-26 04:16:33,267 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-26 04:16:33,267 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-26 04:16:33,267 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-26 04:16:33,267 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-26 04:16:33,267 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:33,267 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-26 04:16:33,267 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-26 04:16:33,267 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration5_Loop [2020-10-26 04:16:33,267 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-26 04:16:33,268 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-26 04:16:33,269 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-26 04:16:33,275 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-26 04:16:33,287 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-26 04:16:33,350 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-26 04:16:33,351 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-26 04:16:33,359 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-26 04:16:33,361 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:33,361 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:33,362 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:33,362 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:33,364 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-26 04:16:33,365 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-26 04:16:33,372 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-26 04:16:33,408 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-26 04:16:33,410 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-26 04:16:33,410 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-26 04:16:33,410 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-26 04:16:33,411 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-26 04:16:33,411 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-26 04:16:33,412 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-26 04:16:33,412 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:33,415 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-26 04:16:33,420 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-10-26 04:16:33,420 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) [2020-10-26 04:16:33,426 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-26 04:16:33,426 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-10-26 04:16:33,426 INFO L510 LassoAnalysis]: Proved termination. [2020-10-26 04:16:33,426 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 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-26 04:16:33,455 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-10-26 04:16:33,471 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:33,479 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:33,480 INFO L263 TraceCheckSpWp]: Trace formula consists of 23 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-26 04:16:33,481 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 04:16:33,489 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-26 04:16:33,490 WARN L261 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-26 04:16:33,490 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-26 04:16:33,506 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-26 04:16:33,508 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-26 04:16:33,508 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 44 states and 61 transitions. cyclomatic complexity: 26 Second operand 3 states. [2020-10-26 04:16:33,538 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-26 04:16:33,539 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-26 04:16:33,539 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-26 04:16:33,540 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 11 transitions. [2020-10-26 04:16:33,540 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 6 letters. Loop has 3 letters. [2020-10-26 04:16:33,540 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:33,540 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 9 letters. Loop has 3 letters. [2020-10-26 04:16:33,540 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:33,541 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 6 letters. Loop has 6 letters. [2020-10-26 04:16:33,541 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-26 04:16:33,541 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 81 states and 106 transitions. [2020-10-26 04:16:33,543 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2020-10-26 04:16:33,544 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 81 states to 60 states and 81 transitions. [2020-10-26 04:16:33,544 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 19 [2020-10-26 04:16:33,544 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 21 [2020-10-26 04:16:33,544 INFO L73 IsDeterministic]: Start isDeterministic. Operand 60 states and 81 transitions. [2020-10-26 04:16:33,545 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 04:16:33,545 INFO L691 BuchiCegarLoop]: Abstraction has 60 states and 81 transitions. [2020-10-26 04:16:33,545 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 60 states and 81 transitions. [2020-10-26 04:16:33,548 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 60 to 50. [2020-10-26 04:16:33,549 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 50 states. [2020-10-26 04:16:33,549 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 50 states and 69 transitions. [2020-10-26 04:16:33,550 INFO L714 BuchiCegarLoop]: Abstraction has 50 states and 69 transitions. [2020-10-26 04:16:33,550 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-26 04:16:33,550 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-26 04:16:33,551 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-26 04:16:33,551 INFO L87 Difference]: Start difference. First operand 50 states and 69 transitions. Second operand 3 states. [2020-10-26 04:16:33,583 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-26 04:16:33,583 INFO L93 Difference]: Finished difference Result 53 states and 67 transitions. [2020-10-26 04:16:33,584 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-26 04:16:33,584 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 53 states and 67 transitions. [2020-10-26 04:16:33,587 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 9 [2020-10-26 04:16:33,588 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 53 states to 49 states and 62 transitions. [2020-10-26 04:16:33,588 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2020-10-26 04:16:33,588 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 26 [2020-10-26 04:16:33,588 INFO L73 IsDeterministic]: Start isDeterministic. Operand 49 states and 62 transitions. [2020-10-26 04:16:33,588 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-10-26 04:16:33,588 INFO L691 BuchiCegarLoop]: Abstraction has 49 states and 62 transitions. [2020-10-26 04:16:33,589 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 49 states and 62 transitions. [2020-10-26 04:16:33,594 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 49 to 37. [2020-10-26 04:16:33,598 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 37 states. [2020-10-26 04:16:33,599 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 37 states and 48 transitions. [2020-10-26 04:16:33,599 INFO L714 BuchiCegarLoop]: Abstraction has 37 states and 48 transitions. [2020-10-26 04:16:33,599 INFO L594 BuchiCegarLoop]: Abstraction has 37 states and 48 transitions. [2020-10-26 04:16:33,599 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-10-26 04:16:33,599 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 37 states and 48 transitions. [2020-10-26 04:16:33,600 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 9 [2020-10-26 04:16:33,601 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-26 04:16:33,601 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-26 04:16:33,601 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1] [2020-10-26 04:16:33,602 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [3, 2, 1, 1, 1] [2020-10-26 04:16:33,602 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-26 04:16:33,602 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-26 04:16:33,602 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:33,603 INFO L82 PathProgramCache]: Analyzing trace with hash 925834450, now seen corresponding path program 2 times [2020-10-26 04:16:33,603 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:33,603 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [565656463] [2020-10-26 04:16:33,604 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:33,610 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:33,610 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:33,615 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:33,615 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:33,617 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:33,618 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:33,618 INFO L82 PathProgramCache]: Analyzing trace with hash -606540634, now seen corresponding path program 1 times [2020-10-26 04:16:33,618 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:33,618 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [455724448] [2020-10-26 04:16:33,619 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:33,625 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:33,625 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:33,630 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:33,630 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:33,632 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:33,633 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-26 04:16:33,633 INFO L82 PathProgramCache]: Analyzing trace with hash -66410377, now seen corresponding path program 1 times [2020-10-26 04:16:33,633 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-26 04:16:33,633 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [402272851] [2020-10-26 04:16:33,634 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-26 04:16:33,643 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:33,644 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:33,652 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-26 04:16:33,653 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-26 04:16:33,655 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-26 04:16:33,857 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 26.10 04:16:33 BoogieIcfgContainer [2020-10-26 04:16:33,857 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-26 04:16:33,858 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-26 04:16:33,858 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-26 04:16:33,859 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-26 04:16:33,859 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 04:16:27" (3/4) ... [2020-10-26 04:16:33,863 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2020-10-26 04:16:33,916 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-10-26 04:16:33,917 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-26 04:16:33,919 INFO L168 Benchmark]: Toolchain (without parser) took 6905.33 ms. Allocated memory was 50.3 MB in the beginning and 60.8 MB in the end (delta: 10.5 MB). Free memory was 27.1 MB in the beginning and 23.6 MB in the end (delta: 3.5 MB). Peak memory consumption was 15.5 MB. Max. memory is 16.1 GB. [2020-10-26 04:16:33,920 INFO L168 Benchmark]: CDTParser took 0.20 ms. Allocated memory is still 37.7 MB. Free memory was 23.7 MB in the beginning and 23.7 MB in the end (delta: 36.6 kB). There was no memory consumed. Max. memory is 16.1 GB. [2020-10-26 04:16:33,921 INFO L168 Benchmark]: CACSL2BoogieTranslator took 306.10 ms. Allocated memory is still 50.3 MB. Free memory was 26.5 MB in the beginning and 31.0 MB in the end (delta: -4.6 MB). Peak memory consumption was 7.8 MB. Max. memory is 16.1 GB. [2020-10-26 04:16:33,921 INFO L168 Benchmark]: Boogie Procedure Inliner took 44.31 ms. Allocated memory is still 50.3 MB. Free memory was 31.0 MB in the beginning and 29.8 MB in the end (delta: 1.3 MB). There was no memory consumed. Max. memory is 16.1 GB. [2020-10-26 04:16:33,924 INFO L168 Benchmark]: Boogie Preprocessor took 31.48 ms. Allocated memory is still 50.3 MB. Free memory was 29.8 MB in the beginning and 29.0 MB in the end (delta: 843.5 kB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-10-26 04:16:33,925 INFO L168 Benchmark]: RCFGBuilder took 390.67 ms. Allocated memory is still 50.3 MB. Free memory was 28.8 MB in the beginning and 20.7 MB in the end (delta: 8.1 MB). Peak memory consumption was 6.3 MB. Max. memory is 16.1 GB. [2020-10-26 04:16:33,926 INFO L168 Benchmark]: BuchiAutomizer took 6049.95 ms. Allocated memory was 50.3 MB in the beginning and 60.8 MB in the end (delta: 10.5 MB). Free memory was 34.4 MB in the beginning and 25.2 MB in the end (delta: 9.2 MB). Peak memory consumption was 29.3 MB. Max. memory is 16.1 GB. [2020-10-26 04:16:33,926 INFO L168 Benchmark]: Witness Printer took 58.87 ms. Allocated memory is still 60.8 MB. Free memory was 25.2 MB in the beginning and 23.6 MB in the end (delta: 1.7 MB). There was no memory consumed. Max. memory is 16.1 GB. [2020-10-26 04:16:33,934 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.20 ms. Allocated memory is still 37.7 MB. Free memory was 23.7 MB in the beginning and 23.7 MB in the end (delta: 36.6 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 306.10 ms. Allocated memory is still 50.3 MB. Free memory was 26.5 MB in the beginning and 31.0 MB in the end (delta: -4.6 MB). Peak memory consumption was 7.8 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 44.31 ms. Allocated memory is still 50.3 MB. Free memory was 31.0 MB in the beginning and 29.8 MB in the end (delta: 1.3 MB). There was no memory consumed. Max. memory is 16.1 GB. * Boogie Preprocessor took 31.48 ms. Allocated memory is still 50.3 MB. Free memory was 29.8 MB in the beginning and 29.0 MB in the end (delta: 843.5 kB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 390.67 ms. Allocated memory is still 50.3 MB. Free memory was 28.8 MB in the beginning and 20.7 MB in the end (delta: 8.1 MB). Peak memory consumption was 6.3 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 6049.95 ms. Allocated memory was 50.3 MB in the beginning and 60.8 MB in the end (delta: 10.5 MB). Free memory was 34.4 MB in the beginning and 25.2 MB in the end (delta: 9.2 MB). Peak memory consumption was 29.3 MB. Max. memory is 16.1 GB. * Witness Printer took 58.87 ms. Allocated memory is still 60.8 MB. Free memory was 25.2 MB in the beginning and 23.6 MB in the end (delta: 1.7 MB). There was no memory consumed. Max. memory is 16.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 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.9s and 6 iterations. TraceHistogramMax:3. Analysis of lassos took 5.0s. Construction of modules took 0.1s. 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.1s 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: 40ms VariablesStem: 1 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 2 MotzkinApplications: 6 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 6 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 5 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 2.0s - 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@127175ad=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@a7b86a3=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...