./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 f470102c Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/termination-restricted-15/Flip2.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash cda310f9ec541637625c4cf2e3662e22b6979f61 ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(TERM) --- Real Ultimate output --- This is Ultimate 0.1.25-f470102 [2019-11-28 20:30:50,470 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-11-28 20:30:50,474 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-11-28 20:30:50,493 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-11-28 20:30:50,493 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-11-28 20:30:50,496 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-11-28 20:30:50,498 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-11-28 20:30:50,510 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-11-28 20:30:50,513 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-11-28 20:30:50,517 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-11-28 20:30:50,518 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2019-11-28 20:30:50,520 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-11-28 20:30:50,521 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-11-28 20:30:50,524 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-11-28 20:30:50,527 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-11-28 20:30:50,529 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-11-28 20:30:50,531 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-11-28 20:30:50,533 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-11-28 20:30:50,535 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-11-28 20:30:50,541 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-11-28 20:30:50,545 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-11-28 20:30:50,549 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-11-28 20:30:50,551 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-11-28 20:30:50,553 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-11-28 20:30:50,557 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-11-28 20:30:50,557 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-11-28 20:30:50,558 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-11-28 20:30:50,560 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-11-28 20:30:50,560 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-11-28 20:30:50,561 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-11-28 20:30:50,562 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-11-28 20:30:50,563 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-11-28 20:30:50,563 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-11-28 20:30:50,564 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-11-28 20:30:50,566 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-11-28 20:30:50,566 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-11-28 20:30:50,568 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-11-28 20:30:50,568 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-11-28 20:30:50,568 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-11-28 20:30:50,571 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-11-28 20:30:50,572 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-11-28 20:30:50,573 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2019-11-28 20:30:50,589 INFO L113 SettingsManager]: Loading preferences was successful [2019-11-28 20:30:50,590 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-11-28 20:30:50,591 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-11-28 20:30:50,592 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-11-28 20:30:50,592 INFO L138 SettingsManager]: * Use SBE=true [2019-11-28 20:30:50,592 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2019-11-28 20:30:50,593 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2019-11-28 20:30:50,593 INFO L138 SettingsManager]: * Use old map elimination=false [2019-11-28 20:30:50,593 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2019-11-28 20:30:50,593 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2019-11-28 20:30:50,594 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2019-11-28 20:30:50,594 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-11-28 20:30:50,594 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2019-11-28 20:30:50,596 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-11-28 20:30:50,596 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-11-28 20:30:50,596 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2019-11-28 20:30:50,596 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2019-11-28 20:30:50,596 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2019-11-28 20:30:50,597 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-11-28 20:30:50,597 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2019-11-28 20:30:50,597 INFO L138 SettingsManager]: * Use constant arrays=true [2019-11-28 20:30:50,597 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2019-11-28 20:30:50,597 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-11-28 20:30:50,598 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-11-28 20:30:50,598 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2019-11-28 20:30:50,598 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-11-28 20:30:50,598 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2019-11-28 20:30:50,598 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2019-11-28 20:30:50,599 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2019-11-28 20:30:50,600 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2019-11-28 20:30:50,600 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> cda310f9ec541637625c4cf2e3662e22b6979f61 [2019-11-28 20:30:50,942 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-11-28 20:30:50,961 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-11-28 20:30:50,965 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-11-28 20:30:50,967 INFO L271 PluginConnector]: Initializing CDTParser... [2019-11-28 20:30:50,968 INFO L275 PluginConnector]: CDTParser initialized [2019-11-28 20:30:50,969 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-restricted-15/Flip2.c [2019-11-28 20:30:51,037 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b120253b7/95388a8cfe964f4f932b39a078963437/FLAG380f77b8e [2019-11-28 20:30:51,501 INFO L306 CDTParser]: Found 1 translation units. [2019-11-28 20:30:51,502 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-restricted-15/Flip2.c [2019-11-28 20:30:51,508 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b120253b7/95388a8cfe964f4f932b39a078963437/FLAG380f77b8e [2019-11-28 20:30:51,856 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b120253b7/95388a8cfe964f4f932b39a078963437 [2019-11-28 20:30:51,859 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-11-28 20:30:51,861 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2019-11-28 20:30:51,862 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2019-11-28 20:30:51,862 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2019-11-28 20:30:51,866 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2019-11-28 20:30:51,866 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 08:30:51" (1/1) ... [2019-11-28 20:30:51,869 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5323c1a5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:51, skipping insertion in model container [2019-11-28 20:30:51,869 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 08:30:51" (1/1) ... [2019-11-28 20:30:51,877 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2019-11-28 20:30:51,894 INFO L178 MainTranslator]: Built tables and reachable declarations [2019-11-28 20:30:52,055 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 20:30:52,061 INFO L203 MainTranslator]: Completed pre-run [2019-11-28 20:30:52,082 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 20:30:52,098 INFO L208 MainTranslator]: Completed translation [2019-11-28 20:30:52,099 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52 WrapperNode [2019-11-28 20:30:52,099 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2019-11-28 20:30:52,100 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-11-28 20:30:52,100 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-11-28 20:30:52,101 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-11-28 20:30:52,110 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (1/1) ... [2019-11-28 20:30:52,114 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (1/1) ... [2019-11-28 20:30:52,129 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-11-28 20:30:52,130 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-11-28 20:30:52,130 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-11-28 20:30:52,130 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-11-28 20:30:52,191 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (1/1) ... [2019-11-28 20:30:52,191 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (1/1) ... [2019-11-28 20:30:52,192 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (1/1) ... [2019-11-28 20:30:52,192 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (1/1) ... [2019-11-28 20:30:52,194 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (1/1) ... [2019-11-28 20:30:52,199 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (1/1) ... [2019-11-28 20:30:52,200 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (1/1) ... [2019-11-28 20:30:52,201 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-11-28 20:30:52,202 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-11-28 20:30:52,202 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-11-28 20:30:52,202 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-11-28 20:30:52,203 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (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 [2019-11-28 20:30:52,263 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-11-28 20:30:52,264 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-11-28 20:30:52,419 INFO L282 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-11-28 20:30:52,419 INFO L287 CfgBuilder]: Removed 5 assume(true) statements. [2019-11-28 20:30:52,420 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:30:52 BoogieIcfgContainer [2019-11-28 20:30:52,420 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-11-28 20:30:52,421 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2019-11-28 20:30:52,421 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2019-11-28 20:30:52,424 INFO L275 PluginConnector]: BuchiAutomizer initialized [2019-11-28 20:30:52,424 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 20:30:52,424 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.11 08:30:51" (1/3) ... [2019-11-28 20:30:52,425 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2e0fe25d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 08:30:52, skipping insertion in model container [2019-11-28 20:30:52,426 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 20:30:52,426 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:30:52" (2/3) ... [2019-11-28 20:30:52,426 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2e0fe25d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 08:30:52, skipping insertion in model container [2019-11-28 20:30:52,426 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 20:30:52,426 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:30:52" (3/3) ... [2019-11-28 20:30:52,428 INFO L371 chiAutomizerObserver]: Analyzing ICFG Flip2.c [2019-11-28 20:30:52,478 INFO L356 BuchiCegarLoop]: Interprodecural is true [2019-11-28 20:30:52,478 INFO L357 BuchiCegarLoop]: Hoare is false [2019-11-28 20:30:52,479 INFO L358 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2019-11-28 20:30:52,479 INFO L359 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2019-11-28 20:30:52,479 INFO L360 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-11-28 20:30:52,479 INFO L361 BuchiCegarLoop]: Difference is false [2019-11-28 20:30:52,479 INFO L362 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-11-28 20:30:52,479 INFO L365 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2019-11-28 20:30:52,494 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 8 states. [2019-11-28 20:30:52,517 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2019-11-28 20:30:52,517 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:30:52,518 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:30:52,526 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1] [2019-11-28 20:30:52,526 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2019-11-28 20:30:52,526 INFO L424 BuchiCegarLoop]: ======== Iteration 1============ [2019-11-28 20:30:52,526 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 8 states. [2019-11-28 20:30:52,528 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2019-11-28 20:30:52,528 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:30:52,528 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:30:52,529 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1] [2019-11-28 20:30:52,529 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2019-11-28 20:30:52,535 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 [2019-11-28 20:30:52,536 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 [2019-11-28 20:30:52,541 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:52,541 INFO L82 PathProgramCache]: Analyzing trace with hash 32, now seen corresponding path program 1 times [2019-11-28 20:30:52,548 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:52,549 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [845459747] [2019-11-28 20:30:52,549 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:52,634 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:52,639 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:52,655 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:52,656 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:52,656 INFO L82 PathProgramCache]: Analyzing trace with hash 1284, now seen corresponding path program 1 times [2019-11-28 20:30:52,656 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:52,657 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1777884150] [2019-11-28 20:30:52,657 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:52,670 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:52,676 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:52,678 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:52,680 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:52,680 INFO L82 PathProgramCache]: Analyzing trace with hash 31075, now seen corresponding path program 1 times [2019-11-28 20:30:52,680 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:52,681 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [910693740] [2019-11-28 20:30:52,681 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:52,692 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:52,700 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:52,702 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:52,814 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:30:52,815 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:30:52,815 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:30:52,816 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:30:52,816 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 20:30:52,816 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:52,816 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:30:52,816 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:30:52,817 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration1_Loop [2019-11-28 20:30:52,817 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:30:52,817 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:30:52,853 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:52,880 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:52,895 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:53,037 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:30:53,038 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) [2019-11-28 20:30:53,046 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:53,046 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:53,058 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 20:30:53,059 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 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 20:30:53,077 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:53,077 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:53,085 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 20:30:53,085 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 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 20:30:53,102 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:53,102 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 4 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 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 [2019-11-28 20:30:53,126 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 20:30:53,127 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 20:30:53,395 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 20:30:53,397 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:30:53,397 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:30:53,398 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:30:53,398 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:30:53,398 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 20:30:53,398 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:53,398 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:30:53,399 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:30:53,399 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration1_Loop [2019-11-28 20:30:53,399 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:30:53,399 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:30:53,401 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:53,408 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:53,418 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:53,519 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:30:53,526 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) [2019-11-28 20:30:53,543 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 [2019-11-28 20:30:53,546 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:53,547 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:53,547 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:53,547 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:53,556 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:30:53,557 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:53,564 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 [2019-11-28 20:30:53,581 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 [2019-11-28 20:30:53,583 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:53,583 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:53,583 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:53,583 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:53,587 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:30:53,588 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2019-11-28 20:30:53,593 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) Waiting until toolchain timeout for monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:53,604 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 [2019-11-28 20:30:53,606 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:53,606 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:30:53,607 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:53,607 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:53,607 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:53,610 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:30:53,611 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 20:30:53,615 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 20:30:53,621 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2019-11-28 20:30:53,622 INFO L444 ModelExtractionUtils]: 2 out of 5 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:53,628 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 20:30:53,628 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 20:30:53,628 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 20:30:53,629 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~j~0) = 1*ULTIMATE.start_main_~j~0 Supporting invariants [] [MP z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Exception during sending of exit command (exit): Broken pipe [2019-11-28 20:30:53,638 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 20:30:53,680 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:53,689 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:53,690 INFO L264 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 2 conjunts are in the unsatisfiable core [2019-11-28 20:30:53,692 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:30:53,701 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:53,702 WARN L262 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-28 20:30:53,703 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:30:53,726 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:30:53,745 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 [2019-11-28 20:30:53,746 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 8 states. Second operand 3 states. [2019-11-28 20:30:53,809 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 8 states.. Second operand 3 states. Result 30 states and 43 transitions. Complement of second has 8 states. [2019-11-28 20:30:53,809 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2019-11-28 20:30:53,811 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-11-28 20:30:53,812 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 16 transitions. [2019-11-28 20:30:53,814 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 1 letters. Loop has 2 letters. [2019-11-28 20:30:53,815 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:53,815 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 3 letters. Loop has 2 letters. [2019-11-28 20:30:53,816 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:53,816 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 1 letters. Loop has 4 letters. [2019-11-28 20:30:53,816 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:53,817 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 30 states and 43 transitions. [2019-11-28 20:30:53,821 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 6 [2019-11-28 20:30:53,826 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 30 states to 13 states and 19 transitions. [2019-11-28 20:30:53,827 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 8 [2019-11-28 20:30:53,828 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 9 [2019-11-28 20:30:53,829 INFO L73 IsDeterministic]: Start isDeterministic. Operand 13 states and 19 transitions. [2019-11-28 20:30:53,829 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 20:30:53,829 INFO L688 BuchiCegarLoop]: Abstraction has 13 states and 19 transitions. [2019-11-28 20:30:53,846 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states and 19 transitions. [2019-11-28 20:30:53,855 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 12. [2019-11-28 20:30:53,855 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2019-11-28 20:30:53,856 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 18 transitions. [2019-11-28 20:30:53,857 INFO L711 BuchiCegarLoop]: Abstraction has 12 states and 18 transitions. [2019-11-28 20:30:53,857 INFO L591 BuchiCegarLoop]: Abstraction has 12 states and 18 transitions. [2019-11-28 20:30:53,857 INFO L424 BuchiCegarLoop]: ======== Iteration 2============ [2019-11-28 20:30:53,858 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 12 states and 18 transitions. [2019-11-28 20:30:53,859 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 6 [2019-11-28 20:30:53,859 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:30:53,859 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:30:53,859 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1] [2019-11-28 20:30:53,859 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 20:30:53,860 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 [2019-11-28 20:30:53,860 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 [2019-11-28 20:30:53,860 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:53,861 INFO L82 PathProgramCache]: Analyzing trace with hash 1002, now seen corresponding path program 1 times [2019-11-28 20:30:53,861 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:53,861 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1138870705] [2019-11-28 20:30:53,861 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:53,867 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:53,870 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:53,872 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:53,873 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:53,873 INFO L82 PathProgramCache]: Analyzing trace with hash 44836, now seen corresponding path program 1 times [2019-11-28 20:30:53,873 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:53,874 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1588068541] [2019-11-28 20:30:53,874 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:53,880 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:53,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:53,889 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:53,890 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:53,890 INFO L82 PathProgramCache]: Analyzing trace with hash 29865627, now seen corresponding path program 1 times [2019-11-28 20:30:53,891 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:53,892 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1469914321] [2019-11-28 20:30:53,892 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:53,908 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:53,917 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:53,919 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:53,958 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:30:53,958 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:30:53,958 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:30:53,958 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:30:53,959 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 20:30:53,959 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:53,959 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:30:53,959 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:30:53,959 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration2_Loop [2019-11-28 20:30:53,959 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:30:53,960 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:30:53,961 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:53,966 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:53,971 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:54,040 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:30:54,040 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) [2019-11-28 20:30:54,054 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:54,054 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 [2019-11-28 20:30:54,059 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 20:30:54,059 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) [2019-11-28 20:30:54,075 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:54,076 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:54,081 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 20:30:54,082 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) [2019-11-28 20:30:54,100 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:54,100 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) Waiting until toolchain timeout for monitored process 13 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:54,119 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 20:30:54,119 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 20:30:54,211 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 20:30:54,214 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:30:54,214 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:30:54,214 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:30:54,214 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:30:54,215 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 20:30:54,215 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:54,215 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:30:54,215 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:30:54,215 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration2_Loop [2019-11-28 20:30:54,215 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:30:54,215 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:30:54,217 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:54,225 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:54,227 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:54,291 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:30:54,291 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) [2019-11-28 20:30:54,316 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 20:30:54,320 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:54,320 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:54,321 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:54,321 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:54,327 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:30:54,329 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 [2019-11-28 20:30:54,335 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) [2019-11-28 20:30:54,351 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 [2019-11-28 20:30:54,353 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:54,357 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:54,357 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:54,357 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:54,363 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:30:54,365 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2019-11-28 20:30:54,376 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. Waiting until toolchain timeout for monitored process 15 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 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 20:30:54,395 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 [2019-11-28 20:30:54,397 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:54,397 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:30:54,398 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:54,398 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:54,398 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:54,400 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:30:54,400 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 [2019-11-28 20:30:54,406 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 20:30:54,413 INFO L443 ModelExtractionUtils]: Simplification made 4 calls to the SMT solver. [2019-11-28 20:30:54,413 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) [2019-11-28 20:30:54,427 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 20:30:54,428 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 20:30:54,428 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 20:30:54,428 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 [2019-11-28 20:30:54,431 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 20:30:54,452 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:54,458 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:54,459 INFO L264 TraceCheckSpWp]: Trace formula consists of 10 conjuncts, 2 conjunts are in the unsatisfiable core [2019-11-28 20:30:54,460 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:30:54,464 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:54,465 WARN L262 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-28 20:30:54,466 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:30:54,499 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:30:54,499 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 [2019-11-28 20:30:54,500 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 12 states and 18 transitions. cyclomatic complexity: 9 Second operand 4 states. [2019-11-28 20:30:54,543 INFO L76 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. [2019-11-28 20:30:54,544 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2019-11-28 20:30:54,544 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2019-11-28 20:30:54,545 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 8 transitions. [2019-11-28 20:30:54,545 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 8 transitions. Stem has 2 letters. Loop has 3 letters. [2019-11-28 20:30:54,546 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:54,546 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 8 transitions. Stem has 5 letters. Loop has 3 letters. [2019-11-28 20:30:54,546 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:54,546 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 8 transitions. Stem has 2 letters. Loop has 6 letters. [2019-11-28 20:30:54,547 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:54,547 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 34 states and 49 transitions. [2019-11-28 20:30:54,550 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 9 [2019-11-28 20:30:54,554 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 34 states to 30 states and 44 transitions. [2019-11-28 20:30:54,554 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 12 [2019-11-28 20:30:54,555 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 15 [2019-11-28 20:30:54,555 INFO L73 IsDeterministic]: Start isDeterministic. Operand 30 states and 44 transitions. [2019-11-28 20:30:54,555 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 20:30:54,555 INFO L688 BuchiCegarLoop]: Abstraction has 30 states and 44 transitions. [2019-11-28 20:30:54,555 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states and 44 transitions. [2019-11-28 20:30:54,562 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 24. [2019-11-28 20:30:54,562 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 24 states. [2019-11-28 20:30:54,564 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 37 transitions. [2019-11-28 20:30:54,564 INFO L711 BuchiCegarLoop]: Abstraction has 24 states and 37 transitions. [2019-11-28 20:30:54,565 INFO L591 BuchiCegarLoop]: Abstraction has 24 states and 37 transitions. [2019-11-28 20:30:54,565 INFO L424 BuchiCegarLoop]: ======== Iteration 3============ [2019-11-28 20:30:54,565 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 24 states and 37 transitions. [2019-11-28 20:30:54,567 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 9 [2019-11-28 20:30:54,568 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:30:54,568 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:30:54,568 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 20:30:54,568 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 20:30:54,568 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 [2019-11-28 20:30:54,569 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 [2019-11-28 20:30:54,569 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:54,569 INFO L82 PathProgramCache]: Analyzing trace with hash 31077, now seen corresponding path program 1 times [2019-11-28 20:30:54,570 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:54,570 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [150386524] [2019-11-28 20:30:54,570 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:54,575 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:54,578 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:54,579 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:54,580 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:54,580 INFO L82 PathProgramCache]: Analyzing trace with hash 47414, now seen corresponding path program 1 times [2019-11-28 20:30:54,580 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:54,580 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [438765219] [2019-11-28 20:30:54,581 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:54,586 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:54,589 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:54,590 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:54,590 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:54,591 INFO L82 PathProgramCache]: Analyzing trace with hash 925832530, now seen corresponding path program 1 times [2019-11-28 20:30:54,591 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:54,591 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [406718445] [2019-11-28 20:30:54,591 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:54,597 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:54,602 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:54,604 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:54,639 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:30:54,639 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:30:54,640 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:30:54,640 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:30:54,640 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 20:30:54,640 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:54,640 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:30:54,640 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:30:54,640 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration3_Loop [2019-11-28 20:30:54,641 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:30:54,641 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:30:54,642 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:54,647 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:54,652 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:54,706 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:30:54,709 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) [2019-11-28 20:30:54,716 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:54,716 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 [2019-11-28 20:30:54,722 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 20:30:54,722 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) [2019-11-28 20:30:54,734 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:54,734 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 [2019-11-28 20:30:54,741 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2019-11-28 20:30:54,741 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) [2019-11-28 20:30:54,763 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:54,763 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2019-11-28 20:30:54,798 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 20:30:54,798 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:55,054 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 20:30:55,057 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:30:55,057 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:30:55,057 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:30:55,057 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:30:55,057 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 20:30:55,057 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:55,058 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:30:55,058 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:30:55,058 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration3_Loop [2019-11-28 20:30:55,058 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:30:55,058 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:30:55,060 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:55,069 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:55,078 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:55,134 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:30:55,134 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:55,144 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 [2019-11-28 20:30:55,146 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:55,146 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:55,146 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:55,146 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:55,154 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:30:55,154 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2019-11-28 20:30:55,162 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:55,183 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 20:30:55,185 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:55,188 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:30:55,188 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:55,188 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:55,188 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:55,190 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:30:55,190 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 20:30:55,200 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 20:30:55,207 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2019-11-28 20:30:55,207 INFO L444 ModelExtractionUtils]: 1 out of 4 variables were initially zero. Simplification set additionally 0 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) [2019-11-28 20:30:55,215 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 20:30:55,215 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 20:30:55,215 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 20:30:55,215 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 [] [2019-11-28 20:30:55,220 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed Waiting until toolchain timeout for monitored process 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:55,242 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:55,248 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:55,249 INFO L264 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 2 conjunts are in the unsatisfiable core [2019-11-28 20:30:55,250 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:30:55,254 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:55,254 WARN L262 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-28 20:30:55,255 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:30:55,276 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:30:55,277 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 [2019-11-28 20:30:55,277 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 24 states and 37 transitions. cyclomatic complexity: 19 Second operand 3 states. [2019-11-28 20:30:55,298 INFO L76 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. [2019-11-28 20:30:55,300 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 3 states 1 stem states 1 non-accepting loop states 1 accepting loop states [2019-11-28 20:30:55,300 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-11-28 20:30:55,301 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 11 transitions. [2019-11-28 20:30:55,301 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 3 letters. Loop has 3 letters. [2019-11-28 20:30:55,301 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:55,301 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 6 letters. Loop has 3 letters. [2019-11-28 20:30:55,301 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:55,302 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 3 letters. Loop has 6 letters. [2019-11-28 20:30:55,302 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:55,302 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 62 states and 91 transitions. [2019-11-28 20:30:55,306 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 12 [2019-11-28 20:30:55,308 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 62 states to 55 states and 80 transitions. [2019-11-28 20:30:55,308 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 19 [2019-11-28 20:30:55,309 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 22 [2019-11-28 20:30:55,309 INFO L73 IsDeterministic]: Start isDeterministic. Operand 55 states and 80 transitions. [2019-11-28 20:30:55,309 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 20:30:55,309 INFO L688 BuchiCegarLoop]: Abstraction has 55 states and 80 transitions. [2019-11-28 20:30:55,309 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 55 states and 80 transitions. [2019-11-28 20:30:55,313 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 55 to 41. [2019-11-28 20:30:55,313 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2019-11-28 20:30:55,314 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 60 transitions. [2019-11-28 20:30:55,314 INFO L711 BuchiCegarLoop]: Abstraction has 41 states and 60 transitions. [2019-11-28 20:30:55,314 INFO L591 BuchiCegarLoop]: Abstraction has 41 states and 60 transitions. [2019-11-28 20:30:55,314 INFO L424 BuchiCegarLoop]: ======== Iteration 4============ [2019-11-28 20:30:55,314 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 41 states and 60 transitions. [2019-11-28 20:30:55,315 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 12 [2019-11-28 20:30:55,316 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:30:55,316 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:30:55,316 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1] [2019-11-28 20:30:55,316 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2019-11-28 20:30:55,317 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 [2019-11-28 20:30:55,317 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 [2019-11-28 20:30:55,317 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:55,317 INFO L82 PathProgramCache]: Analyzing trace with hash 925832528, now seen corresponding path program 1 times [2019-11-28 20:30:55,317 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:55,317 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2077230944] [2019-11-28 20:30:55,318 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:55,323 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:55,372 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:30:55,373 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2077230944] [2019-11-28 20:30:55,373 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 20:30:55,374 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2019-11-28 20:30:55,375 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1208298548] [2019-11-28 20:30:55,379 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 20:30:55,380 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:55,380 INFO L82 PathProgramCache]: Analyzing trace with hash 1284, now seen corresponding path program 2 times [2019-11-28 20:30:55,381 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:55,381 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [962292947] [2019-11-28 20:30:55,382 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:55,387 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:55,394 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:55,397 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:55,442 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:30:55,442 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:30:55,442 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:30:55,442 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:30:55,442 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 20:30:55,443 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:55,443 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:30:55,443 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:30:55,443 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration4_Loop [2019-11-28 20:30:55,443 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:30:55,443 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:30:55,445 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:55,459 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:55,462 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:55,516 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:30:55,516 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) [2019-11-28 20:30:55,523 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:55,524 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) [2019-11-28 20:30:55,542 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 20:30:55,543 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 [2019-11-28 20:30:56,531 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 20:30:56,533 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:30:56,533 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:30:56,533 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:30:56,533 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:30:56,534 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 20:30:56,534 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:56,534 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:30:56,534 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:30:56,534 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration4_Loop [2019-11-28 20:30:56,534 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:30:56,534 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:30:56,536 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:56,550 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:56,558 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [MP z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (9)] Exception during sending of exit command (exit): Broken pipe [2019-11-28 20:30:56,651 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:30:56,653 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:56,657 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 [2019-11-28 20:30:56,658 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:56,659 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:30:56,659 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:56,659 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:56,659 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:56,661 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:30:56,661 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 20:30:56,667 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 20:30:56,674 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2019-11-28 20:30:56,674 INFO L444 ModelExtractionUtils]: 2 out of 5 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:56,678 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 20:30:56,678 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 20:30:56,679 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 20:30:56,679 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~j~0) = 1*ULTIMATE.start_main_~j~0 Supporting invariants [] [2019-11-28 20:30:56,680 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 20:30:56,697 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:56,708 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:56,709 INFO L264 TraceCheckSpWp]: Trace formula consists of 23 conjuncts, 2 conjunts are in the unsatisfiable core [2019-11-28 20:30:56,709 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:30:56,714 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:56,715 WARN L262 TraceCheckSpWp]: Trace formula consists of 11 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-28 20:30:56,715 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:30:56,724 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:30:56,725 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 [2019-11-28 20:30:56,725 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 41 states and 60 transitions. cyclomatic complexity: 29 Second operand 3 states. [2019-11-28 20:30:56,747 INFO L76 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. [2019-11-28 20:30:56,751 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2019-11-28 20:30:56,751 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-11-28 20:30:56,751 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 11 transitions. [2019-11-28 20:30:56,752 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 11 transitions. Stem has 6 letters. Loop has 2 letters. [2019-11-28 20:30:56,752 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:56,752 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 11 transitions. Stem has 8 letters. Loop has 2 letters. [2019-11-28 20:30:56,752 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:56,752 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 11 transitions. Stem has 6 letters. Loop has 4 letters. [2019-11-28 20:30:56,753 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:56,753 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 73 states and 104 transitions. [2019-11-28 20:30:56,755 INFO L131 ngComponentsAnalysis]: Automaton has 5 accepting balls. 15 [2019-11-28 20:30:56,756 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 73 states to 57 states and 83 transitions. [2019-11-28 20:30:56,756 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2019-11-28 20:30:56,757 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 24 [2019-11-28 20:30:56,757 INFO L73 IsDeterministic]: Start isDeterministic. Operand 57 states and 83 transitions. [2019-11-28 20:30:56,757 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 20:30:56,757 INFO L688 BuchiCegarLoop]: Abstraction has 57 states and 83 transitions. [2019-11-28 20:30:56,757 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 57 states and 83 transitions. [2019-11-28 20:30:56,761 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 57 to 42. [2019-11-28 20:30:56,761 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 42 states. [2019-11-28 20:30:56,762 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 42 states and 62 transitions. [2019-11-28 20:30:56,762 INFO L711 BuchiCegarLoop]: Abstraction has 42 states and 62 transitions. [2019-11-28 20:30:56,762 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 20:30:56,764 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-11-28 20:30:56,765 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-11-28 20:30:56,766 INFO L87 Difference]: Start difference. First operand 42 states and 62 transitions. Second operand 3 states. [2019-11-28 20:30:56,789 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 20:30:56,789 INFO L93 Difference]: Finished difference Result 51 states and 69 transitions. [2019-11-28 20:30:56,790 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-11-28 20:30:56,790 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 51 states and 69 transitions. [2019-11-28 20:30:56,792 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 15 [2019-11-28 20:30:56,793 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 51 states to 46 states and 63 transitions. [2019-11-28 20:30:56,793 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2019-11-28 20:30:56,793 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 23 [2019-11-28 20:30:56,793 INFO L73 IsDeterministic]: Start isDeterministic. Operand 46 states and 63 transitions. [2019-11-28 20:30:56,793 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 20:30:56,794 INFO L688 BuchiCegarLoop]: Abstraction has 46 states and 63 transitions. [2019-11-28 20:30:56,794 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 46 states and 63 transitions. [2019-11-28 20:30:56,797 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 46 to 44. [2019-11-28 20:30:56,797 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2019-11-28 20:30:56,798 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 61 transitions. [2019-11-28 20:30:56,799 INFO L711 BuchiCegarLoop]: Abstraction has 44 states and 61 transitions. [2019-11-28 20:30:56,799 INFO L591 BuchiCegarLoop]: Abstraction has 44 states and 61 transitions. [2019-11-28 20:30:56,799 INFO L424 BuchiCegarLoop]: ======== Iteration 5============ [2019-11-28 20:30:56,799 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 44 states and 61 transitions. [2019-11-28 20:30:56,800 INFO L131 ngComponentsAnalysis]: Automaton has 4 accepting balls. 15 [2019-11-28 20:30:56,800 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:30:56,800 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:30:56,801 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1] [2019-11-28 20:30:56,801 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2019-11-28 20:30:56,801 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 [2019-11-28 20:30:56,801 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 [2019-11-28 20:30:56,801 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:56,802 INFO L82 PathProgramCache]: Analyzing trace with hash 925765420, now seen corresponding path program 1 times [2019-11-28 20:30:56,802 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:56,802 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1747882793] [2019-11-28 20:30:56,802 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:56,811 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:56,830 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:30:56,830 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1747882793] [2019-11-28 20:30:56,830 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 20:30:56,830 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2019-11-28 20:30:56,830 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1566772514] [2019-11-28 20:30:56,831 INFO L799 eck$LassoCheckResult]: stem already infeasible [2019-11-28 20:30:56,831 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:56,831 INFO L82 PathProgramCache]: Analyzing trace with hash 39886, now seen corresponding path program 2 times [2019-11-28 20:30:56,831 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:56,831 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [239643454] [2019-11-28 20:30:56,832 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:56,835 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:56,837 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:56,838 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:56,860 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:30:56,860 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:30:56,860 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:30:56,860 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:30:56,861 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2019-11-28 20:30:56,861 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:56,861 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:30:56,861 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:30:56,861 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration5_Loop [2019-11-28 20:30:56,861 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:30:56,861 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:30:56,863 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:56,871 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:56,875 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:56,939 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:30:56,939 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) [2019-11-28 20:30:56,950 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2019-11-28 20:30:56,951 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 [2019-11-28 20:30:56,960 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2019-11-28 20:30:56,960 INFO L160 nArgumentSynthesizer]: Using integer mode. [2019-11-28 20:30:56,970 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2019-11-28 20:30:56,973 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:30:56,973 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:30:56,973 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:30:56,973 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:30:56,973 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 20:30:56,973 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:56,973 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:30:56,974 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:30:56,974 INFO L133 ssoRankerPreferences]: Filename of dumped script: Flip2.c_Iteration5_Loop [2019-11-28 20:30:56,974 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:30:56,974 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:30:56,975 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:56,979 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:56,991 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:30:57,034 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:30:57,035 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) Waiting until toolchain timeout for monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:30:57,047 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 [2019-11-28 20:30:57,050 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:57,050 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:57,050 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:57,051 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:57,054 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:30:57,054 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2019-11-28 20:30:57,058 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) [2019-11-28 20:30:57,065 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 [2019-11-28 20:30:57,067 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:30:57,068 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:30:57,068 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:30:57,068 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:30:57,068 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:30:57,069 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:30:57,070 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 [2019-11-28 20:30:57,073 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 20:30:57,077 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2019-11-28 20:30:57,077 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) [2019-11-28 20:30:57,082 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 20:30:57,082 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2019-11-28 20:30:57,082 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 20:30:57,082 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 [2019-11-28 20:30:57,086 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2019-11-28 20:30:57,098 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:57,103 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:57,103 INFO L264 TraceCheckSpWp]: Trace formula consists of 23 conjuncts, 2 conjunts are in the unsatisfiable core [2019-11-28 20:30:57,104 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:30:57,108 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:30:57,109 WARN L262 TraceCheckSpWp]: Trace formula consists of 8 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-28 20:30:57,110 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:30:57,130 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:30:57,131 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 [2019-11-28 20:30:57,131 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 44 states and 61 transitions. cyclomatic complexity: 26 Second operand 3 states. [2019-11-28 20:30:57,155 INFO L76 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. [2019-11-28 20:30:57,158 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 3 states 1 stem states 1 non-accepting loop states 1 accepting loop states [2019-11-28 20:30:57,158 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2019-11-28 20:30:57,158 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 11 transitions. [2019-11-28 20:30:57,158 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 6 letters. Loop has 3 letters. [2019-11-28 20:30:57,159 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:57,159 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 9 letters. Loop has 3 letters. [2019-11-28 20:30:57,159 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:57,159 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 11 transitions. Stem has 6 letters. Loop has 6 letters. [2019-11-28 20:30:57,159 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:30:57,159 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 81 states and 106 transitions. [2019-11-28 20:30:57,160 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 9 [2019-11-28 20:30:57,161 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 81 states to 60 states and 81 transitions. [2019-11-28 20:30:57,161 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 19 [2019-11-28 20:30:57,162 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 21 [2019-11-28 20:30:57,162 INFO L73 IsDeterministic]: Start isDeterministic. Operand 60 states and 81 transitions. [2019-11-28 20:30:57,162 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 20:30:57,162 INFO L688 BuchiCegarLoop]: Abstraction has 60 states and 81 transitions. [2019-11-28 20:30:57,162 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 60 states and 81 transitions. [2019-11-28 20:30:57,167 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 60 to 50. [2019-11-28 20:30:57,167 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 50 states. [2019-11-28 20:30:57,168 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 50 states and 69 transitions. [2019-11-28 20:30:57,169 INFO L711 BuchiCegarLoop]: Abstraction has 50 states and 69 transitions. [2019-11-28 20:30:57,169 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 20:30:57,169 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-11-28 20:30:57,169 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-11-28 20:30:57,169 INFO L87 Difference]: Start difference. First operand 50 states and 69 transitions. Second operand 3 states. [2019-11-28 20:30:57,188 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 20:30:57,189 INFO L93 Difference]: Finished difference Result 53 states and 67 transitions. [2019-11-28 20:30:57,190 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-11-28 20:30:57,190 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 53 states and 67 transitions. [2019-11-28 20:30:57,192 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 9 [2019-11-28 20:30:57,193 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 53 states to 49 states and 62 transitions. [2019-11-28 20:30:57,193 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 23 [2019-11-28 20:30:57,193 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 26 [2019-11-28 20:30:57,193 INFO L73 IsDeterministic]: Start isDeterministic. Operand 49 states and 62 transitions. [2019-11-28 20:30:57,194 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-11-28 20:30:57,194 INFO L688 BuchiCegarLoop]: Abstraction has 49 states and 62 transitions. [2019-11-28 20:30:57,194 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 49 states and 62 transitions. [2019-11-28 20:30:57,197 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 49 to 37. [2019-11-28 20:30:57,197 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 37 states. [2019-11-28 20:30:57,198 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 37 states and 48 transitions. [2019-11-28 20:30:57,198 INFO L711 BuchiCegarLoop]: Abstraction has 37 states and 48 transitions. [2019-11-28 20:30:57,198 INFO L591 BuchiCegarLoop]: Abstraction has 37 states and 48 transitions. [2019-11-28 20:30:57,198 INFO L424 BuchiCegarLoop]: ======== Iteration 6============ [2019-11-28 20:30:57,198 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 37 states and 48 transitions. [2019-11-28 20:30:57,199 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 9 [2019-11-28 20:30:57,199 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:30:57,200 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:30:57,200 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1] [2019-11-28 20:30:57,200 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [3, 2, 1, 1, 1] [2019-11-28 20:30:57,201 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 [2019-11-28 20:30:57,201 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 [2019-11-28 20:30:57,201 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:57,201 INFO L82 PathProgramCache]: Analyzing trace with hash 925834450, now seen corresponding path program 2 times [2019-11-28 20:30:57,201 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:57,201 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [343214647] [2019-11-28 20:30:57,202 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:57,207 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:57,211 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:57,213 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:57,213 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:57,214 INFO L82 PathProgramCache]: Analyzing trace with hash -606540634, now seen corresponding path program 1 times [2019-11-28 20:30:57,214 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:57,214 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1686663050] [2019-11-28 20:30:57,214 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:57,219 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:57,224 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:57,226 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:57,226 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:30:57,227 INFO L82 PathProgramCache]: Analyzing trace with hash -66410377, now seen corresponding path program 1 times [2019-11-28 20:30:57,227 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:30:57,227 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1309593293] [2019-11-28 20:30:57,227 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:30:57,236 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:57,244 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:30:57,247 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:30:57,376 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.11 08:30:57 BoogieIcfgContainer [2019-11-28 20:30:57,376 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2019-11-28 20:30:57,376 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2019-11-28 20:30:57,377 INFO L271 PluginConnector]: Initializing Witness Printer... [2019-11-28 20:30:57,377 INFO L275 PluginConnector]: Witness Printer initialized [2019-11-28 20:30:57,377 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:30:52" (3/4) ... [2019-11-28 20:30:57,380 INFO L134 WitnessPrinter]: Generating witness for non-termination counterexample [2019-11-28 20:30:57,424 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2019-11-28 20:30:57,425 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2019-11-28 20:30:57,427 INFO L168 Benchmark]: Toolchain (without parser) took 5565.81 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 213.4 MB). Free memory was 956.3 MB in the beginning and 1.1 GB in the end (delta: -122.1 MB). Peak memory consumption was 91.3 MB. Max. memory is 11.5 GB. [2019-11-28 20:30:57,428 INFO L168 Benchmark]: CDTParser took 0.27 ms. Allocated memory is still 1.0 GB. Free memory is still 987.2 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 20:30:57,429 INFO L168 Benchmark]: CACSL2BoogieTranslator took 237.77 ms. Allocated memory is still 1.0 GB. Free memory was 956.3 MB in the beginning and 945.6 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2019-11-28 20:30:57,429 INFO L168 Benchmark]: Boogie Procedure Inliner took 29.39 ms. Allocated memory is still 1.0 GB. Free memory is still 945.6 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 20:30:57,430 INFO L168 Benchmark]: Boogie Preprocessor took 71.66 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 145.2 MB). Free memory was 945.6 MB in the beginning and 1.1 GB in the end (delta: -196.3 MB). Peak memory consumption was 9.7 MB. Max. memory is 11.5 GB. [2019-11-28 20:30:57,430 INFO L168 Benchmark]: RCFGBuilder took 218.46 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 17.5 MB). Peak memory consumption was 17.5 MB. Max. memory is 11.5 GB. [2019-11-28 20:30:57,431 INFO L168 Benchmark]: BuchiAutomizer took 4955.50 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 68.2 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 39.7 MB). Peak memory consumption was 107.9 MB. Max. memory is 11.5 GB. [2019-11-28 20:30:57,432 INFO L168 Benchmark]: Witness Printer took 48.47 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.3 MB). Peak memory consumption was 6.3 MB. Max. memory is 11.5 GB. [2019-11-28 20:30:57,436 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.27 ms. Allocated memory is still 1.0 GB. Free memory is still 987.2 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 237.77 ms. Allocated memory is still 1.0 GB. Free memory was 956.3 MB in the beginning and 945.6 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 29.39 ms. Allocated memory is still 1.0 GB. Free memory is still 945.6 MB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 71.66 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 145.2 MB). Free memory was 945.6 MB in the beginning and 1.1 GB in the end (delta: -196.3 MB). Peak memory consumption was 9.7 MB. Max. memory is 11.5 GB. * RCFGBuilder took 218.46 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 17.5 MB). Peak memory consumption was 17.5 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 4955.50 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 68.2 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 39.7 MB). Peak memory consumption was 107.9 MB. Max. memory is 11.5 GB. * Witness Printer took 48.47 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.3 MB). Peak memory consumption was 6.3 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 7 terminating modules (2 trivial, 5 deterministic, 0 nondeterministic) and one nonterminating remainder module.One deterministic module has affine ranking function j and consists of 5 locations. One deterministic module has affine ranking function i and consists of 4 locations. One deterministic module has affine ranking function i + -1 * j and consists of 3 locations. One deterministic module has affine ranking function j and consists of 4 locations. One deterministic module has affine ranking function i and consists of 3 locations. 2 modules have a trivial ranking function, the largest among these consists of 3 locations. The remainder module has 37 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 4.8s and 6 iterations. TraceHistogramMax:3. Analysis of lassos took 4.1s. Construction of modules took 0.0s. Büchi inclusion checks took 0.4s. Highest rank in rank-based complementation 3. Minimization of det autom 0. Minimization of nondet autom 7. Automata minimization 0.0s AutomataMinimizationTime, 7 MinimizatonAttempts, 60 StatesRemovedByMinimization, 7 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 44 states and ocurred in iteration 4. Nontrivial modules had stage [5, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 34 SDtfs, 33 SDslu, 6 SDs, 0 SdLazy, 81 SolverSat, 14 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time LassoAnalysisResults: nont1 unkn0 SFLI0 SFLT3 conc0 concLT0 SILN0 SILU0 SILI0 SILT2 lasso0 LassoPreprocessingBenchmarks: Lassos: inital16 mio100 ax176 hnf97 lsp55 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq150 hnf92 smp100 dnf100 smp100 tf109 neg100 sie114 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 35ms VariablesStem: 1 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 2 MotzkinApplications: 6 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 6 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 5 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 1.8s - 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@5de1ee1b=0, \result=0, org.eclipse.cdt.internal.core.dom.parser.c.CASTFunctionCallExpression@30f38dab=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...