./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/loop-invgen/heapsort.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version a4ecdabc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/data/config -Xmx15G -Xms4m -jar /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/loop-invgen/heapsort.i -s /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer --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 32bit --witnessprinter.graph.data.programhash 149fdbbcb5d1f0b05c2de89b523b2d2cfc590a6f .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.2.0-a4ecdab [2020-11-29 18:48:56,359 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-11-29 18:48:56,362 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-11-29 18:48:56,423 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-11-29 18:48:56,424 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-11-29 18:48:56,436 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-11-29 18:48:56,440 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-11-29 18:48:56,446 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-11-29 18:48:56,457 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-11-29 18:48:56,459 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-11-29 18:48:56,466 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-11-29 18:48:56,467 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-11-29 18:48:56,468 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-11-29 18:48:56,470 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-11-29 18:48:56,471 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-11-29 18:48:56,473 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-11-29 18:48:56,474 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-11-29 18:48:56,476 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-11-29 18:48:56,478 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-11-29 18:48:56,489 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-11-29 18:48:56,493 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-11-29 18:48:56,495 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-11-29 18:48:56,498 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-11-29 18:48:56,500 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-11-29 18:48:56,513 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-11-29 18:48:56,513 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-11-29 18:48:56,514 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-11-29 18:48:56,516 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-11-29 18:48:56,517 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-11-29 18:48:56,519 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-11-29 18:48:56,519 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-11-29 18:48:56,521 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-11-29 18:48:56,523 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-11-29 18:48:56,525 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-11-29 18:48:56,527 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-11-29 18:48:56,527 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-11-29 18:48:56,529 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-11-29 18:48:56,529 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-11-29 18:48:56,529 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-11-29 18:48:56,531 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-11-29 18:48:56,532 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-11-29 18:48:56,536 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-11-29 18:48:56,589 INFO L113 SettingsManager]: Loading preferences was successful [2020-11-29 18:48:56,589 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-11-29 18:48:56,591 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-11-29 18:48:56,591 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-11-29 18:48:56,591 INFO L138 SettingsManager]: * Use SBE=true [2020-11-29 18:48:56,592 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-11-29 18:48:56,592 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-11-29 18:48:56,592 INFO L138 SettingsManager]: * Use old map elimination=false [2020-11-29 18:48:56,592 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-11-29 18:48:56,592 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-11-29 18:48:56,593 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-11-29 18:48:56,593 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-11-29 18:48:56,593 INFO L138 SettingsManager]: * sizeof long=4 [2020-11-29 18:48:56,593 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-11-29 18:48:56,594 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-11-29 18:48:56,594 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-11-29 18:48:56,594 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-11-29 18:48:56,594 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-11-29 18:48:56,595 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-11-29 18:48:56,595 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-11-29 18:48:56,595 INFO L138 SettingsManager]: * sizeof long double=12 [2020-11-29 18:48:56,595 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-11-29 18:48:56,595 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-11-29 18:48:56,596 INFO L138 SettingsManager]: * Use constant arrays=true [2020-11-29 18:48:56,596 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-11-29 18:48:56,596 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-11-29 18:48:56,596 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-11-29 18:48:56,597 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-11-29 18:48:56,597 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-11-29 18:48:56,597 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-11-29 18:48:56,597 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-11-29 18:48:56,598 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-11-29 18:48:56,599 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-11-29 18:48:56,599 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 149fdbbcb5d1f0b05c2de89b523b2d2cfc590a6f [2020-11-29 18:48:56,927 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-11-29 18:48:56,968 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-11-29 18:48:56,974 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-11-29 18:48:56,976 INFO L271 PluginConnector]: Initializing CDTParser... [2020-11-29 18:48:56,977 INFO L275 PluginConnector]: CDTParser initialized [2020-11-29 18:48:56,978 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/../../sv-benchmarks/c/loop-invgen/heapsort.i [2020-11-29 18:48:57,067 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/data/55447741c/8f31bc78ab84450ea718842bd280c455/FLAG314b4d52e [2020-11-29 18:48:57,583 INFO L306 CDTParser]: Found 1 translation units. [2020-11-29 18:48:57,583 INFO L160 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/sv-benchmarks/c/loop-invgen/heapsort.i [2020-11-29 18:48:57,592 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/data/55447741c/8f31bc78ab84450ea718842bd280c455/FLAG314b4d52e [2020-11-29 18:48:57,972 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/data/55447741c/8f31bc78ab84450ea718842bd280c455 [2020-11-29 18:48:57,974 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-11-29 18:48:57,976 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-11-29 18:48:57,988 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-11-29 18:48:57,988 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-11-29 18:48:57,992 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-11-29 18:48:57,994 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 06:48:57" (1/1) ... [2020-11-29 18:48:58,001 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@21f256c0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:57, skipping insertion in model container [2020-11-29 18:48:58,001 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 06:48:57" (1/1) ... [2020-11-29 18:48:58,009 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-11-29 18:48:58,034 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-11-29 18:48:58,232 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-11-29 18:48:58,258 INFO L203 MainTranslator]: Completed pre-run [2020-11-29 18:48:58,285 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-11-29 18:48:58,307 INFO L208 MainTranslator]: Completed translation [2020-11-29 18:48:58,307 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58 WrapperNode [2020-11-29 18:48:58,310 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-11-29 18:48:58,311 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-11-29 18:48:58,312 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-11-29 18:48:58,312 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-11-29 18:48:58,322 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (1/1) ... [2020-11-29 18:48:58,347 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (1/1) ... [2020-11-29 18:48:58,374 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-11-29 18:48:58,375 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-11-29 18:48:58,375 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-11-29 18:48:58,375 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-11-29 18:48:58,384 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (1/1) ... [2020-11-29 18:48:58,384 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (1/1) ... [2020-11-29 18:48:58,387 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (1/1) ... [2020-11-29 18:48:58,387 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (1/1) ... [2020-11-29 18:48:58,393 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (1/1) ... [2020-11-29 18:48:58,400 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (1/1) ... [2020-11-29 18:48:58,402 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (1/1) ... [2020-11-29 18:48:58,406 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-11-29 18:48:58,407 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-11-29 18:48:58,419 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-11-29 18:48:58,419 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-11-29 18:48:58,422 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:48:58,514 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2020-11-29 18:48:58,514 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-11-29 18:48:58,514 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-11-29 18:48:58,514 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-11-29 18:48:59,003 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-11-29 18:48:59,003 INFO L298 CfgBuilder]: Removed 62 assume(true) statements. [2020-11-29 18:48:59,005 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 06:48:59 BoogieIcfgContainer [2020-11-29 18:48:59,006 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-11-29 18:48:59,007 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-11-29 18:48:59,007 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-11-29 18:48:59,011 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-11-29 18:48:59,012 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-11-29 18:48:59,013 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 29.11 06:48:57" (1/3) ... [2020-11-29 18:48:59,015 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6cd8bb19 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 29.11 06:48:59, skipping insertion in model container [2020-11-29 18:48:59,015 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-11-29 18:48:59,015 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 06:48:58" (2/3) ... [2020-11-29 18:48:59,016 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6cd8bb19 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 29.11 06:48:59, skipping insertion in model container [2020-11-29 18:48:59,016 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-11-29 18:48:59,016 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 06:48:59" (3/3) ... [2020-11-29 18:48:59,018 INFO L373 chiAutomizerObserver]: Analyzing ICFG heapsort.i [2020-11-29 18:48:59,069 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-11-29 18:48:59,070 INFO L360 BuchiCegarLoop]: Hoare is false [2020-11-29 18:48:59,070 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-11-29 18:48:59,070 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-11-29 18:48:59,071 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-11-29 18:48:59,071 INFO L364 BuchiCegarLoop]: Difference is false [2020-11-29 18:48:59,071 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-11-29 18:48:59,071 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-11-29 18:48:59,091 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 83 states. [2020-11-29 18:48:59,135 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 75 [2020-11-29 18:48:59,136 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 18:48:59,137 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 18:48:59,148 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-11-29 18:48:59,149 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:48:59,149 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-11-29 18:48:59,149 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 83 states. [2020-11-29 18:48:59,169 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 75 [2020-11-29 18:48:59,169 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 18:48:59,170 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 18:48:59,173 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-11-29 18:48:59,174 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:48:59,183 INFO L794 eck$LassoCheckResult]: Stem: 40#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(9); 16#L-1true main_#in~argc, main_#in~argv.base, main_#in~argv.offset := #in~argc, #in~argv.base, #in~argv.offset;havoc main_#res;havoc main_#t~nondet3, main_#t~post4, main_#t~post5, main_#t~nondet6, main_#t~nondet7, main_#t~post8, main_#t~post9, main_~argc, main_~argv.base, main_~argv.offset, main_~n~0, main_~l~0, main_~r~0, main_~i~0, main_~j~0;main_~argc := main_#in~argc;main_~argv.base, main_~argv.offset := main_#in~argv.base, main_#in~argv.offset;havoc main_~n~0;havoc main_~l~0;havoc main_~r~0;havoc main_~i~0;havoc main_~j~0;main_~n~0 := main_#t~nondet3;havoc main_#t~nondet3; 54#L27true assume !!(1 <= main_~n~0 && main_~n~0 <= 1000000);main_~l~0 := 1 + (if main_~n~0 < 0 && 0 != main_~n~0 % 2 then 1 + main_~n~0 / 2 else main_~n~0 / 2);main_~r~0 := main_~n~0; 36#L30true assume !(main_~l~0 > 1);main_#t~post5 := main_~r~0;main_~r~0 := main_#t~post5 - 1;havoc main_#t~post5; 27#L59-1true [2020-11-29 18:48:59,184 INFO L796 eck$LassoCheckResult]: Loop: 27#L59-1true assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 68#L38-2true assume !true; 66#L38-3true assume !(main_~l~0 > 1);__VERIFIER_assert_#in~cond := (if 1 <= main_~r~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 49#L18-36true assume !(0 == __VERIFIER_assert_~cond); 45#L18-38true __VERIFIER_assert_#in~cond := (if main_~r~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 42#L18-39true assume !(0 == __VERIFIER_assert_~cond); 15#L18-41true main_#t~post9 := main_~r~0;main_~r~0 := main_#t~post9 - 1;havoc main_#t~post9; 27#L59-1true [2020-11-29 18:48:59,203 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:48:59,204 INFO L82 PathProgramCache]: Analyzing trace with hash 925672, now seen corresponding path program 1 times [2020-11-29 18:48:59,215 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:48:59,216 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [55826456] [2020-11-29 18:48:59,217 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:48:59,422 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:48:59,423 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:48:59,477 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:48:59,479 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:48:59,513 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:48:59,518 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:48:59,519 INFO L82 PathProgramCache]: Analyzing trace with hash 1098383874, now seen corresponding path program 1 times [2020-11-29 18:48:59,520 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:48:59,521 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [93742487] [2020-11-29 18:48:59,521 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:48:59,537 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:48:59,576 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:48:59,577 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [93742487] [2020-11-29 18:48:59,578 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 18:48:59,579 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-11-29 18:48:59,579 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2006927542] [2020-11-29 18:48:59,588 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-29 18:48:59,589 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 18:48:59,607 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2020-11-29 18:48:59,609 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2020-11-29 18:48:59,611 INFO L87 Difference]: Start difference. First operand 83 states. Second operand 2 states. [2020-11-29 18:48:59,631 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 18:48:59,631 INFO L93 Difference]: Finished difference Result 69 states and 76 transitions. [2020-11-29 18:48:59,632 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2020-11-29 18:48:59,634 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 69 states and 76 transitions. [2020-11-29 18:48:59,645 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 33 [2020-11-29 18:48:59,650 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 69 states to 37 states and 43 transitions. [2020-11-29 18:48:59,651 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 37 [2020-11-29 18:48:59,653 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 37 [2020-11-29 18:48:59,654 INFO L73 IsDeterministic]: Start isDeterministic. Operand 37 states and 43 transitions. [2020-11-29 18:48:59,655 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-29 18:48:59,655 INFO L691 BuchiCegarLoop]: Abstraction has 37 states and 43 transitions. [2020-11-29 18:48:59,677 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 37 states and 43 transitions. [2020-11-29 18:48:59,705 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 37 to 37. [2020-11-29 18:48:59,706 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 37 states. [2020-11-29 18:48:59,711 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 37 states and 43 transitions. [2020-11-29 18:48:59,712 INFO L714 BuchiCegarLoop]: Abstraction has 37 states and 43 transitions. [2020-11-29 18:48:59,713 INFO L594 BuchiCegarLoop]: Abstraction has 37 states and 43 transitions. [2020-11-29 18:48:59,713 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-11-29 18:48:59,713 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 37 states and 43 transitions. [2020-11-29 18:48:59,718 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 33 [2020-11-29 18:48:59,719 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 18:48:59,719 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 18:48:59,720 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-11-29 18:48:59,720 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:48:59,721 INFO L794 eck$LassoCheckResult]: Stem: 192#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(9); 173#L-1 main_#in~argc, main_#in~argv.base, main_#in~argv.offset := #in~argc, #in~argv.base, #in~argv.offset;havoc main_#res;havoc main_#t~nondet3, main_#t~post4, main_#t~post5, main_#t~nondet6, main_#t~nondet7, main_#t~post8, main_#t~post9, main_~argc, main_~argv.base, main_~argv.offset, main_~n~0, main_~l~0, main_~r~0, main_~i~0, main_~j~0;main_~argc := main_#in~argc;main_~argv.base, main_~argv.offset := main_#in~argv.base, main_#in~argv.offset;havoc main_~n~0;havoc main_~l~0;havoc main_~r~0;havoc main_~i~0;havoc main_~j~0;main_~n~0 := main_#t~nondet3;havoc main_#t~nondet3; 166#L27 assume !!(1 <= main_~n~0 && main_~n~0 <= 1000000);main_~l~0 := 1 + (if main_~n~0 < 0 && 0 != main_~n~0 % 2 then 1 + main_~n~0 / 2 else main_~n~0 / 2);main_~r~0 := main_~n~0; 167#L30 assume !(main_~l~0 > 1);main_#t~post5 := main_~r~0;main_~r~0 := main_#t~post5 - 1;havoc main_#t~post5; 172#L59-1 [2020-11-29 18:48:59,721 INFO L796 eck$LassoCheckResult]: Loop: 172#L59-1 assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 177#L38-2 assume !(main_~j~0 <= main_~r~0); 180#L38-3 assume !(main_~l~0 > 1);__VERIFIER_assert_#in~cond := (if 1 <= main_~r~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 181#L18-36 assume !(0 == __VERIFIER_assert_~cond); 195#L18-38 __VERIFIER_assert_#in~cond := (if main_~r~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 193#L18-39 assume !(0 == __VERIFIER_assert_~cond); 171#L18-41 main_#t~post9 := main_~r~0;main_~r~0 := main_#t~post9 - 1;havoc main_#t~post9; 172#L59-1 [2020-11-29 18:48:59,722 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:48:59,723 INFO L82 PathProgramCache]: Analyzing trace with hash 925672, now seen corresponding path program 2 times [2020-11-29 18:48:59,723 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:48:59,724 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [343092174] [2020-11-29 18:48:59,724 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:48:59,753 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:48:59,756 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:48:59,797 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:48:59,798 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:48:59,812 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:48:59,815 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:48:59,815 INFO L82 PathProgramCache]: Analyzing trace with hash -46187520, now seen corresponding path program 1 times [2020-11-29 18:48:59,816 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:48:59,817 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1899363977] [2020-11-29 18:48:59,817 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:48:59,845 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:48:59,881 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:48:59,881 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1899363977] [2020-11-29 18:48:59,882 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 18:48:59,882 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-11-29 18:48:59,882 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [622693652] [2020-11-29 18:48:59,883 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-29 18:48:59,883 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 18:48:59,884 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-11-29 18:48:59,884 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-11-29 18:48:59,884 INFO L87 Difference]: Start difference. First operand 37 states and 43 transitions. cyclomatic complexity: 7 Second operand 4 states. [2020-11-29 18:49:00,060 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 18:49:00,060 INFO L93 Difference]: Finished difference Result 70 states and 81 transitions. [2020-11-29 18:49:00,061 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-11-29 18:49:00,062 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 70 states and 81 transitions. [2020-11-29 18:49:00,063 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 66 [2020-11-29 18:49:00,065 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 70 states to 70 states and 81 transitions. [2020-11-29 18:49:00,065 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 70 [2020-11-29 18:49:00,066 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 70 [2020-11-29 18:49:00,066 INFO L73 IsDeterministic]: Start isDeterministic. Operand 70 states and 81 transitions. [2020-11-29 18:49:00,067 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-29 18:49:00,067 INFO L691 BuchiCegarLoop]: Abstraction has 70 states and 81 transitions. [2020-11-29 18:49:00,067 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 70 states and 81 transitions. [2020-11-29 18:49:00,071 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 70 to 39. [2020-11-29 18:49:00,072 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 39 states. [2020-11-29 18:49:00,075 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 46 transitions. [2020-11-29 18:49:00,076 INFO L714 BuchiCegarLoop]: Abstraction has 39 states and 46 transitions. [2020-11-29 18:49:00,076 INFO L594 BuchiCegarLoop]: Abstraction has 39 states and 46 transitions. [2020-11-29 18:49:00,076 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-11-29 18:49:00,076 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 39 states and 46 transitions. [2020-11-29 18:49:00,077 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 35 [2020-11-29 18:49:00,077 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 18:49:00,077 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 18:49:00,078 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-11-29 18:49:00,078 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:49:00,078 INFO L794 eck$LassoCheckResult]: Stem: 307#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(9); 289#L-1 main_#in~argc, main_#in~argv.base, main_#in~argv.offset := #in~argc, #in~argv.base, #in~argv.offset;havoc main_#res;havoc main_#t~nondet3, main_#t~post4, main_#t~post5, main_#t~nondet6, main_#t~nondet7, main_#t~post8, main_#t~post9, main_~argc, main_~argv.base, main_~argv.offset, main_~n~0, main_~l~0, main_~r~0, main_~i~0, main_~j~0;main_~argc := main_#in~argc;main_~argv.base, main_~argv.offset := main_#in~argv.base, main_#in~argv.offset;havoc main_~n~0;havoc main_~l~0;havoc main_~r~0;havoc main_~i~0;havoc main_~j~0;main_~n~0 := main_#t~nondet3;havoc main_#t~nondet3; 282#L27 assume !!(1 <= main_~n~0 && main_~n~0 <= 1000000);main_~l~0 := 1 + (if main_~n~0 < 0 && 0 != main_~n~0 % 2 then 1 + main_~n~0 / 2 else main_~n~0 / 2);main_~r~0 := main_~n~0; 283#L30 assume !(main_~l~0 > 1);main_#t~post5 := main_~r~0;main_~r~0 := main_#t~post5 - 1;havoc main_#t~post5; 288#L59-1 [2020-11-29 18:49:00,078 INFO L796 eck$LassoCheckResult]: Loop: 288#L59-1 assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 298#L38-2 assume !(main_~j~0 <= main_~r~0); 296#L38-3 assume main_~l~0 > 1;__VERIFIER_assert_#in~cond := (if 1 <= main_~l~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 297#L18-30 assume !(0 == __VERIFIER_assert_~cond); 306#L18-32 __VERIFIER_assert_#in~cond := (if main_~l~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 304#L18-33 assume !(0 == __VERIFIER_assert_~cond); 300#L18-35 main_#t~post8 := main_~l~0;main_~l~0 := main_#t~post8 - 1;havoc main_#t~post8; 288#L59-1 [2020-11-29 18:49:00,079 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:00,079 INFO L82 PathProgramCache]: Analyzing trace with hash 925672, now seen corresponding path program 3 times [2020-11-29 18:49:00,079 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:00,080 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2058529518] [2020-11-29 18:49:00,080 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:00,103 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:00,103 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:00,115 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:00,116 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:00,120 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:00,121 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:00,121 INFO L82 PathProgramCache]: Analyzing trace with hash -80542500, now seen corresponding path program 1 times [2020-11-29 18:49:00,122 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:00,122 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [463592942] [2020-11-29 18:49:00,122 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:00,130 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:00,130 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:00,137 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:00,137 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:00,141 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:00,142 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:00,142 INFO L82 PathProgramCache]: Analyzing trace with hash 1879278357, now seen corresponding path program 1 times [2020-11-29 18:49:00,142 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:00,143 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1033157587] [2020-11-29 18:49:00,143 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:00,158 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:00,179 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:00,180 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1033157587] [2020-11-29 18:49:00,180 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 18:49:00,180 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-11-29 18:49:00,180 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [508380680] [2020-11-29 18:49:00,359 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:00,360 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:00,360 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:00,360 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:00,361 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 18:49:00,361 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:00,361 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:00,361 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:00,361 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration3_Loop [2020-11-29 18:49:00,362 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:00,362 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:00,386 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:00,421 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:00,425 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:00,537 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:00,538 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:00,545 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 18:49:00,545 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 No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:00,614 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 18:49:00,614 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 [2020-11-29 18:49:00,933 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 18:49:00,935 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:00,936 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:00,936 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:00,936 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:00,936 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 18:49:00,936 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:00,936 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:00,937 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:00,937 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration3_Loop [2020-11-29 18:49:00,937 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:00,937 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:00,938 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:00,947 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:00,958 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:01,068 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:01,073 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:01,080 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:01,083 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:01,083 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:01,084 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:01,084 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:01,084 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:01,087 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:01,087 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:01,090 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:01,141 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:01,143 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:01,143 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:01,143 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:01,143 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:01,143 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:01,145 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:01,146 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 18:49:01,149 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:01,199 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:01,202 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:01,202 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:01,202 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:01,202 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:01,202 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:01,206 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:01,206 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 18:49:01,211 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 18:49:01,239 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-11-29 18:49:01,239 INFO L444 ModelExtractionUtils]: 4 out of 7 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:01,252 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 18:49:01,252 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 18:49:01,252 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 18:49:01,253 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~l~0) = 1*ULTIMATE.start_main_~l~0 Supporting invariants [] [2020-11-29 18:49:01,277 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 18:49:01,314 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:01,351 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:01,353 INFO L263 TraceCheckSpWp]: Trace formula consists of 46 conjuncts, 2 conjunts are in the unsatisfiable core [2020-11-29 18:49:01,354 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:01,372 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:01,373 INFO L263 TraceCheckSpWp]: Trace formula consists of 21 conjuncts, 4 conjunts are in the unsatisfiable core [2020-11-29 18:49:01,374 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:01,392 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:01,396 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-11-29 18:49:01,397 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 39 states and 46 transitions. cyclomatic complexity: 8 Second operand 4 states. [2020-11-29 18:49:01,481 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 39 states and 46 transitions. cyclomatic complexity: 8. Second operand 4 states. Result 112 states and 133 transitions. Complement of second has 6 states. [2020-11-29 18:49:01,486 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2020-11-29 18:49:01,491 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-11-29 18:49:01,492 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 82 transitions. [2020-11-29 18:49:01,494 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 82 transitions. Stem has 4 letters. Loop has 7 letters. [2020-11-29 18:49:01,496 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:01,496 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 82 transitions. Stem has 11 letters. Loop has 7 letters. [2020-11-29 18:49:01,496 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:01,496 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 82 transitions. Stem has 4 letters. Loop has 14 letters. [2020-11-29 18:49:01,497 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:01,497 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 112 states and 133 transitions. [2020-11-29 18:49:01,499 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 65 [2020-11-29 18:49:01,503 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 112 states to 107 states and 126 transitions. [2020-11-29 18:49:01,505 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 70 [2020-11-29 18:49:01,506 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 71 [2020-11-29 18:49:01,506 INFO L73 IsDeterministic]: Start isDeterministic. Operand 107 states and 126 transitions. [2020-11-29 18:49:01,506 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 18:49:01,506 INFO L691 BuchiCegarLoop]: Abstraction has 107 states and 126 transitions. [2020-11-29 18:49:01,507 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 107 states and 126 transitions. [2020-11-29 18:49:01,517 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 107 to 106. [2020-11-29 18:49:01,518 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 106 states. [2020-11-29 18:49:01,519 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 106 states to 106 states and 125 transitions. [2020-11-29 18:49:01,519 INFO L714 BuchiCegarLoop]: Abstraction has 106 states and 125 transitions. [2020-11-29 18:49:01,521 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 18:49:01,521 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-11-29 18:49:01,522 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-11-29 18:49:01,522 INFO L87 Difference]: Start difference. First operand 106 states and 125 transitions. Second operand 3 states. [2020-11-29 18:49:01,555 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 18:49:01,555 INFO L93 Difference]: Finished difference Result 128 states and 148 transitions. [2020-11-29 18:49:01,558 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-11-29 18:49:01,558 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 128 states and 148 transitions. [2020-11-29 18:49:01,560 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 91 [2020-11-29 18:49:01,595 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 128 states to 96 states and 111 transitions. [2020-11-29 18:49:01,596 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 96 [2020-11-29 18:49:01,596 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 96 [2020-11-29 18:49:01,596 INFO L73 IsDeterministic]: Start isDeterministic. Operand 96 states and 111 transitions. [2020-11-29 18:49:01,597 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-29 18:49:01,597 INFO L691 BuchiCegarLoop]: Abstraction has 96 states and 111 transitions. [2020-11-29 18:49:01,598 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 96 states and 111 transitions. [2020-11-29 18:49:01,602 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 96 to 65. [2020-11-29 18:49:01,602 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 65 states. [2020-11-29 18:49:01,603 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 65 states to 65 states and 76 transitions. [2020-11-29 18:49:01,603 INFO L714 BuchiCegarLoop]: Abstraction has 65 states and 76 transitions. [2020-11-29 18:49:01,615 INFO L594 BuchiCegarLoop]: Abstraction has 65 states and 76 transitions. [2020-11-29 18:49:01,615 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-11-29 18:49:01,616 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 65 states and 76 transitions. [2020-11-29 18:49:01,616 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 61 [2020-11-29 18:49:01,617 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 18:49:01,617 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 18:49:01,617 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-11-29 18:49:01,617 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:49:01,618 INFO L794 eck$LassoCheckResult]: Stem: 752#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(9); 731#L-1 main_#in~argc, main_#in~argv.base, main_#in~argv.offset := #in~argc, #in~argv.base, #in~argv.offset;havoc main_#res;havoc main_#t~nondet3, main_#t~post4, main_#t~post5, main_#t~nondet6, main_#t~nondet7, main_#t~post8, main_#t~post9, main_~argc, main_~argv.base, main_~argv.offset, main_~n~0, main_~l~0, main_~r~0, main_~i~0, main_~j~0;main_~argc := main_#in~argc;main_~argv.base, main_~argv.offset := main_#in~argv.base, main_#in~argv.offset;havoc main_~n~0;havoc main_~l~0;havoc main_~r~0;havoc main_~i~0;havoc main_~j~0;main_~n~0 := main_#t~nondet3;havoc main_#t~nondet3; 724#L27 assume !!(1 <= main_~n~0 && main_~n~0 <= 1000000);main_~l~0 := 1 + (if main_~n~0 < 0 && 0 != main_~n~0 % 2 then 1 + main_~n~0 / 2 else main_~n~0 / 2);main_~r~0 := main_~n~0; 725#L30 assume main_~l~0 > 1;main_#t~post4 := main_~l~0;main_~l~0 := main_#t~post4 - 1;havoc main_#t~post4; 743#L59-1 [2020-11-29 18:49:01,618 INFO L796 eck$LassoCheckResult]: Loop: 743#L59-1 assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 759#L38-2 assume !(main_~j~0 <= main_~r~0); 757#L38-3 assume main_~l~0 > 1;__VERIFIER_assert_#in~cond := (if 1 <= main_~l~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 750#L18-30 assume !(0 == __VERIFIER_assert_~cond); 749#L18-32 __VERIFIER_assert_#in~cond := (if main_~l~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 747#L18-33 assume !(0 == __VERIFIER_assert_~cond); 742#L18-35 main_#t~post8 := main_~l~0;main_~l~0 := main_#t~post8 - 1;havoc main_#t~post8; 743#L59-1 [2020-11-29 18:49:01,618 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:01,618 INFO L82 PathProgramCache]: Analyzing trace with hash 925670, now seen corresponding path program 1 times [2020-11-29 18:49:01,619 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:01,619 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1869459642] [2020-11-29 18:49:01,619 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:01,644 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:01,645 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:01,670 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:01,670 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:01,675 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:01,675 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:01,676 INFO L82 PathProgramCache]: Analyzing trace with hash -80542500, now seen corresponding path program 2 times [2020-11-29 18:49:01,676 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:01,676 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [71425288] [2020-11-29 18:49:01,676 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:01,685 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:01,685 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:01,695 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:01,696 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:01,699 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:01,701 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:01,702 INFO L82 PathProgramCache]: Analyzing trace with hash -1606342313, now seen corresponding path program 1 times [2020-11-29 18:49:01,702 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:01,702 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1115851873] [2020-11-29 18:49:01,703 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:01,724 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:01,772 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:01,772 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1115851873] [2020-11-29 18:49:01,773 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 18:49:01,773 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-11-29 18:49:01,773 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [654421904] [2020-11-29 18:49:01,916 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:01,916 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:01,916 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:01,916 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:01,916 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 18:49:01,916 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:01,917 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:01,917 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:01,917 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration4_Loop [2020-11-29 18:49:01,917 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:01,917 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:01,918 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:01,940 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:01,944 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:02,048 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:02,049 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:02,062 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 18:49:02,062 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:02,122 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 18:49:02,122 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:02,501 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 18:49:02,503 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:02,503 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:02,503 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:02,504 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:02,504 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 18:49:02,504 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:02,504 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:02,504 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:02,504 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration4_Loop [2020-11-29 18:49:02,504 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:02,504 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:02,506 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:02,539 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:02,568 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:02,695 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:02,695 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:02,709 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:02,712 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:02,712 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:02,712 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:02,712 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:02,712 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:02,715 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:02,716 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:02,719 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:02,777 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:02,779 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:02,779 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:02,780 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:02,780 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:02,780 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:02,784 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:02,784 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:02,789 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 18:49:02,798 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-11-29 18:49:02,798 INFO L444 ModelExtractionUtils]: 4 out of 7 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:02,805 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 18:49:02,806 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 18:49:02,806 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 18:49:02,806 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~l~0) = 1*ULTIMATE.start_main_~l~0 Supporting invariants [] Waiting until toolchain timeout for monitored process 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:02,844 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 18:49:02,867 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:02,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:02,887 INFO L263 TraceCheckSpWp]: Trace formula consists of 46 conjuncts, 2 conjunts are in the unsatisfiable core [2020-11-29 18:49:02,888 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:02,903 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:02,903 INFO L263 TraceCheckSpWp]: Trace formula consists of 21 conjuncts, 4 conjunts are in the unsatisfiable core [2020-11-29 18:49:02,904 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:02,927 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:02,928 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-11-29 18:49:02,928 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 65 states and 76 transitions. cyclomatic complexity: 13 Second operand 4 states. [2020-11-29 18:49:03,033 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 65 states and 76 transitions. cyclomatic complexity: 13. Second operand 4 states. Result 156 states and 182 transitions. Complement of second has 6 states. [2020-11-29 18:49:03,036 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2020-11-29 18:49:03,036 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-11-29 18:49:03,037 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 77 transitions. [2020-11-29 18:49:03,037 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 77 transitions. Stem has 4 letters. Loop has 7 letters. [2020-11-29 18:49:03,037 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:03,037 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 77 transitions. Stem has 11 letters. Loop has 7 letters. [2020-11-29 18:49:03,038 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:03,038 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 77 transitions. Stem has 4 letters. Loop has 14 letters. [2020-11-29 18:49:03,038 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:03,039 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 156 states and 182 transitions. [2020-11-29 18:49:03,040 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 83 [2020-11-29 18:49:03,045 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 156 states to 121 states and 141 transitions. [2020-11-29 18:49:03,046 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 89 [2020-11-29 18:49:03,046 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 90 [2020-11-29 18:49:03,046 INFO L73 IsDeterministic]: Start isDeterministic. Operand 121 states and 141 transitions. [2020-11-29 18:49:03,046 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 18:49:03,046 INFO L691 BuchiCegarLoop]: Abstraction has 121 states and 141 transitions. [2020-11-29 18:49:03,047 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 121 states and 141 transitions. [2020-11-29 18:49:03,055 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 121 to 64. [2020-11-29 18:49:03,057 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 64 states. [2020-11-29 18:49:03,058 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 64 states to 64 states and 75 transitions. [2020-11-29 18:49:03,058 INFO L714 BuchiCegarLoop]: Abstraction has 64 states and 75 transitions. [2020-11-29 18:49:03,058 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 18:49:03,061 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-11-29 18:49:03,061 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2020-11-29 18:49:03,061 INFO L87 Difference]: Start difference. First operand 64 states and 75 transitions. Second operand 5 states. [2020-11-29 18:49:03,279 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 18:49:03,279 INFO L93 Difference]: Finished difference Result 197 states and 221 transitions. [2020-11-29 18:49:03,280 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-11-29 18:49:03,280 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 197 states and 221 transitions. [2020-11-29 18:49:03,282 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 120 [2020-11-29 18:49:03,284 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 197 states to 197 states and 221 transitions. [2020-11-29 18:49:03,284 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 148 [2020-11-29 18:49:03,285 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 148 [2020-11-29 18:49:03,285 INFO L73 IsDeterministic]: Start isDeterministic. Operand 197 states and 221 transitions. [2020-11-29 18:49:03,285 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 18:49:03,285 INFO L691 BuchiCegarLoop]: Abstraction has 197 states and 221 transitions. [2020-11-29 18:49:03,285 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 197 states and 221 transitions. [2020-11-29 18:49:03,295 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 197 to 65. [2020-11-29 18:49:03,295 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 65 states. [2020-11-29 18:49:03,298 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 65 states to 65 states and 76 transitions. [2020-11-29 18:49:03,299 INFO L714 BuchiCegarLoop]: Abstraction has 65 states and 76 transitions. [2020-11-29 18:49:03,299 INFO L594 BuchiCegarLoop]: Abstraction has 65 states and 76 transitions. [2020-11-29 18:49:03,299 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-11-29 18:49:03,299 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 65 states and 76 transitions. [2020-11-29 18:49:03,300 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 30 [2020-11-29 18:49:03,300 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 18:49:03,300 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 18:49:03,301 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-11-29 18:49:03,301 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:49:03,301 INFO L794 eck$LassoCheckResult]: Stem: 1319#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(9); 1285#L-1 main_#in~argc, main_#in~argv.base, main_#in~argv.offset := #in~argc, #in~argv.base, #in~argv.offset;havoc main_#res;havoc main_#t~nondet3, main_#t~post4, main_#t~post5, main_#t~nondet6, main_#t~nondet7, main_#t~post8, main_#t~post9, main_~argc, main_~argv.base, main_~argv.offset, main_~n~0, main_~l~0, main_~r~0, main_~i~0, main_~j~0;main_~argc := main_#in~argc;main_~argv.base, main_~argv.offset := main_#in~argv.base, main_#in~argv.offset;havoc main_~n~0;havoc main_~l~0;havoc main_~r~0;havoc main_~i~0;havoc main_~j~0;main_~n~0 := main_#t~nondet3;havoc main_#t~nondet3; 1273#L27 assume !!(1 <= main_~n~0 && main_~n~0 <= 1000000);main_~l~0 := 1 + (if main_~n~0 < 0 && 0 != main_~n~0 % 2 then 1 + main_~n~0 / 2 else main_~n~0 / 2);main_~r~0 := main_~n~0; 1274#L30 assume !(main_~l~0 > 1);main_#t~post5 := main_~r~0;main_~r~0 := main_#t~post5 - 1;havoc main_#t~post5; 1284#L59-1 [2020-11-29 18:49:03,301 INFO L796 eck$LassoCheckResult]: Loop: 1284#L59-1 assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 1302#L38-2 assume !!(main_~j~0 <= main_~r~0); 1303#L39 assume !(main_~j~0 < main_~r~0); 1308#L39-1 __VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 1309#L18-12 assume !(0 == __VERIFIER_assert_~cond); 1312#L18-14 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 1326#L18-15 assume !(0 == __VERIFIER_assert_~cond); 1323#L18-17 assume 0 != main_#t~nondet7;havoc main_#t~nondet7; 1298#L38-3 assume !(main_~l~0 > 1);__VERIFIER_assert_#in~cond := (if 1 <= main_~r~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 1299#L18-36 assume !(0 == __VERIFIER_assert_~cond); 1325#L18-38 __VERIFIER_assert_#in~cond := (if main_~r~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 1322#L18-39 assume !(0 == __VERIFIER_assert_~cond); 1283#L18-41 main_#t~post9 := main_~r~0;main_~r~0 := main_#t~post9 - 1;havoc main_#t~post9; 1284#L59-1 [2020-11-29 18:49:03,302 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:03,303 INFO L82 PathProgramCache]: Analyzing trace with hash 925672, now seen corresponding path program 4 times [2020-11-29 18:49:03,303 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:03,303 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [805293811] [2020-11-29 18:49:03,303 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:03,322 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:03,322 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:03,329 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:03,329 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:03,354 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:03,354 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:03,355 INFO L82 PathProgramCache]: Analyzing trace with hash -1510380012, now seen corresponding path program 1 times [2020-11-29 18:49:03,355 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:03,355 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1684504162] [2020-11-29 18:49:03,355 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:03,363 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:03,363 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:03,379 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:03,379 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:03,382 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:03,382 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:03,382 INFO L82 PathProgramCache]: Analyzing trace with hash 1463197069, now seen corresponding path program 1 times [2020-11-29 18:49:03,383 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:03,383 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [512914442] [2020-11-29 18:49:03,383 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:03,411 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:03,446 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:03,446 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [512914442] [2020-11-29 18:49:03,447 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 18:49:03,447 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-11-29 18:49:03,447 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1422050608] [2020-11-29 18:49:03,588 WARN L193 SmtUtils]: Spent 137.00 ms on a formula simplification. DAG size of input: 56 DAG size of output: 51 [2020-11-29 18:49:03,615 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:03,617 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:03,706 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:03,706 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:03,706 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:03,706 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:03,706 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 18:49:03,706 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:03,706 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:03,707 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:03,707 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration5_Loop [2020-11-29 18:49:03,707 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:03,707 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:03,709 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:03,737 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:03,748 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:03,753 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:03,889 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:03,889 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/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 [2020-11-29 18:49:03,897 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 18:49:03,897 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:03,948 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 18:49:03,948 INFO L160 nArgumentSynthesizer]: Using integer mode. Waiting until toolchain timeout for monitored process 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:04,538 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 18:49:04,541 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:04,541 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:04,541 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:04,542 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:04,542 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 18:49:04,542 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:04,542 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:04,542 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:04,542 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration5_Loop [2020-11-29 18:49:04,542 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:04,542 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:04,544 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:04,578 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:04,583 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:04,588 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:04,719 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:04,719 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:04,733 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:04,735 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:04,736 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:04,736 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:04,736 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:04,736 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:04,742 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:04,743 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:04,750 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 18:49:04,756 INFO L443 ModelExtractionUtils]: Simplification made 3 calls to the SMT solver. [2020-11-29 18:49:04,756 INFO L444 ModelExtractionUtils]: 4 out of 7 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:04,788 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 18:49:04,789 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 18:49:04,789 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 18:49:04,789 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~r~0) = 1*ULTIMATE.start_main_~r~0 Supporting invariants [] Waiting until toolchain timeout for monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:04,832 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 18:49:04,868 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:04,892 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:04,893 INFO L263 TraceCheckSpWp]: Trace formula consists of 46 conjuncts, 2 conjunts are in the unsatisfiable core [2020-11-29 18:49:04,893 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:04,910 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:04,911 INFO L263 TraceCheckSpWp]: Trace formula consists of 33 conjuncts, 4 conjunts are in the unsatisfiable core [2020-11-29 18:49:04,912 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:04,928 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:04,928 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-11-29 18:49:04,929 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 65 states and 76 transitions. cyclomatic complexity: 13 Second operand 3 states. [2020-11-29 18:49:04,969 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 65 states and 76 transitions. cyclomatic complexity: 13. Second operand 3 states. Result 125 states and 145 transitions. Complement of second has 4 states. [2020-11-29 18:49:04,970 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 3 states 1 stem states 1 non-accepting loop states 1 accepting loop states [2020-11-29 18:49:04,970 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-11-29 18:49:04,970 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 76 transitions. [2020-11-29 18:49:04,970 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 76 transitions. Stem has 4 letters. Loop has 13 letters. [2020-11-29 18:49:04,971 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:04,971 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 76 transitions. Stem has 17 letters. Loop has 13 letters. [2020-11-29 18:49:04,971 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:04,972 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 3 states and 76 transitions. Stem has 4 letters. Loop has 26 letters. [2020-11-29 18:49:04,972 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:04,972 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 125 states and 145 transitions. [2020-11-29 18:49:04,974 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 53 [2020-11-29 18:49:04,975 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 125 states to 120 states and 139 transitions. [2020-11-29 18:49:04,976 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 59 [2020-11-29 18:49:04,976 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 60 [2020-11-29 18:49:04,976 INFO L73 IsDeterministic]: Start isDeterministic. Operand 120 states and 139 transitions. [2020-11-29 18:49:04,976 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 18:49:04,976 INFO L691 BuchiCegarLoop]: Abstraction has 120 states and 139 transitions. [2020-11-29 18:49:04,976 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 120 states and 139 transitions. [2020-11-29 18:49:04,981 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 120 to 119. [2020-11-29 18:49:04,981 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 119 states. [2020-11-29 18:49:04,982 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 119 states to 119 states and 138 transitions. [2020-11-29 18:49:04,982 INFO L714 BuchiCegarLoop]: Abstraction has 119 states and 138 transitions. [2020-11-29 18:49:04,982 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 18:49:04,983 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-11-29 18:49:04,983 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-11-29 18:49:04,983 INFO L87 Difference]: Start difference. First operand 119 states and 138 transitions. Second operand 4 states. [2020-11-29 18:49:05,034 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 18:49:05,034 INFO L93 Difference]: Finished difference Result 66 states and 76 transitions. [2020-11-29 18:49:05,035 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2020-11-29 18:49:05,035 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 66 states and 76 transitions. [2020-11-29 18:49:05,036 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 30 [2020-11-29 18:49:05,037 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 66 states to 65 states and 75 transitions. [2020-11-29 18:49:05,037 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 35 [2020-11-29 18:49:05,037 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 35 [2020-11-29 18:49:05,037 INFO L73 IsDeterministic]: Start isDeterministic. Operand 65 states and 75 transitions. [2020-11-29 18:49:05,038 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 18:49:05,038 INFO L691 BuchiCegarLoop]: Abstraction has 65 states and 75 transitions. [2020-11-29 18:49:05,038 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 65 states and 75 transitions. [2020-11-29 18:49:05,040 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 65 to 65. [2020-11-29 18:49:05,040 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 65 states. [2020-11-29 18:49:05,041 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 65 states to 65 states and 75 transitions. [2020-11-29 18:49:05,041 INFO L714 BuchiCegarLoop]: Abstraction has 65 states and 75 transitions. [2020-11-29 18:49:05,041 INFO L594 BuchiCegarLoop]: Abstraction has 65 states and 75 transitions. [2020-11-29 18:49:05,041 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-11-29 18:49:05,041 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 65 states and 75 transitions. [2020-11-29 18:49:05,042 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 30 [2020-11-29 18:49:05,042 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 18:49:05,042 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 18:49:05,042 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2020-11-29 18:49:05,042 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:49:05,043 INFO L794 eck$LassoCheckResult]: Stem: 1771#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(9); 1735#L-1 main_#in~argc, main_#in~argv.base, main_#in~argv.offset := #in~argc, #in~argv.base, #in~argv.offset;havoc main_#res;havoc main_#t~nondet3, main_#t~post4, main_#t~post5, main_#t~nondet6, main_#t~nondet7, main_#t~post8, main_#t~post9, main_~argc, main_~argv.base, main_~argv.offset, main_~n~0, main_~l~0, main_~r~0, main_~i~0, main_~j~0;main_~argc := main_#in~argc;main_~argv.base, main_~argv.offset := main_#in~argv.base, main_#in~argv.offset;havoc main_~n~0;havoc main_~l~0;havoc main_~r~0;havoc main_~i~0;havoc main_~j~0;main_~n~0 := main_#t~nondet3;havoc main_#t~nondet3; 1725#L27 assume !!(1 <= main_~n~0 && main_~n~0 <= 1000000);main_~l~0 := 1 + (if main_~n~0 < 0 && 0 != main_~n~0 % 2 then 1 + main_~n~0 / 2 else main_~n~0 / 2);main_~r~0 := main_~n~0; 1726#L30 assume main_~l~0 > 1;main_#t~post4 := main_~l~0;main_~l~0 := main_#t~post4 - 1;havoc main_#t~post4; 1768#L59-1 assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 1752#L38-2 [2020-11-29 18:49:05,043 INFO L796 eck$LassoCheckResult]: Loop: 1752#L38-2 assume !!(main_~j~0 <= main_~r~0); 1753#L39 assume !(main_~j~0 < main_~r~0); 1762#L39-1 __VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 1758#L18-12 assume !(0 == __VERIFIER_assert_~cond); 1759#L18-14 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 1776#L18-15 assume !(0 == __VERIFIER_assert_~cond); 1773#L18-17 assume 0 != main_#t~nondet7;havoc main_#t~nondet7; 1748#L38-3 assume !(main_~l~0 > 1);__VERIFIER_assert_#in~cond := (if 1 <= main_~r~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 1749#L18-36 assume !(0 == __VERIFIER_assert_~cond); 1775#L18-38 __VERIFIER_assert_#in~cond := (if main_~r~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 1772#L18-39 assume !(0 == __VERIFIER_assert_~cond); 1733#L18-41 main_#t~post9 := main_~r~0;main_~r~0 := main_#t~post9 - 1;havoc main_#t~post9; 1734#L59-1 assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 1752#L38-2 [2020-11-29 18:49:05,044 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:05,044 INFO L82 PathProgramCache]: Analyzing trace with hash 28695791, now seen corresponding path program 1 times [2020-11-29 18:49:05,044 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:05,045 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1872384021] [2020-11-29 18:49:05,045 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:05,054 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:05,054 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:05,062 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:05,063 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:05,066 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:05,067 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:05,067 INFO L82 PathProgramCache]: Analyzing trace with hash 436546004, now seen corresponding path program 2 times [2020-11-29 18:49:05,067 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:05,068 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [153017503] [2020-11-29 18:49:05,068 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:05,078 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:05,078 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:05,085 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:05,086 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:05,088 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:05,089 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:05,089 INFO L82 PathProgramCache]: Analyzing trace with hash -605667418, now seen corresponding path program 1 times [2020-11-29 18:49:05,089 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:05,090 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [862898562] [2020-11-29 18:49:05,090 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:05,100 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:05,140 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:05,140 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [862898562] [2020-11-29 18:49:05,140 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 18:49:05,141 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-11-29 18:49:05,141 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [730449091] [2020-11-29 18:49:05,257 WARN L193 SmtUtils]: Spent 115.00 ms on a formula simplification. DAG size of input: 57 DAG size of output: 51 [2020-11-29 18:49:05,262 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:05,262 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:05,342 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:05,342 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:05,342 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:05,342 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:05,342 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 18:49:05,342 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:05,342 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:05,342 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:05,342 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration6_Loop [2020-11-29 18:49:05,343 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:05,343 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:05,344 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:05,348 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:05,352 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:05,380 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:05,506 WARN L193 SmtUtils]: Spent 102.00 ms on a formula simplification that was a NOOP. DAG size: 23 [2020-11-29 18:49:05,566 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:05,566 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 17 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 17 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:05,577 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 18:49:05,577 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 18:49:05,581 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 18:49:05,581 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {ULTIMATE.start_main_#t~nondet7=-5} Honda state: {ULTIMATE.start_main_#t~nondet7=-5} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 18 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 18 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:05,606 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 18:49:05,606 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 18:49:05,609 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 18:49:05,609 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {ULTIMATE.start_main_#t~post9=0} Honda state: {ULTIMATE.start_main_#t~post9=0} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:05,652 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 18:49:05,652 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 No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:05,739 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 18:49:05,740 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 [2020-11-29 18:49:06,138 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 18:49:06,141 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:06,141 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:06,141 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:06,141 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:06,141 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 18:49:06,141 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:06,142 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:06,142 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:06,142 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration6_Loop [2020-11-29 18:49:06,142 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:06,142 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:06,143 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:06,152 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:06,158 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:06,170 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:06,316 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:06,316 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:06,333 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:06,335 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:06,335 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:06,335 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:06,335 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:06,335 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:06,337 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:06,337 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:06,344 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:06,372 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:06,373 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:06,373 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:06,374 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:06,374 INFO L204 nArgumentSynthesizer]: 2 loop disjuncts [2020-11-29 18:49:06,374 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:06,375 INFO L401 nArgumentSynthesizer]: We have 4 Motzkin's Theorem applications. [2020-11-29 18:49:06,375 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 18:49:06,378 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:06,407 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:06,408 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:06,408 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:06,408 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:06,408 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:06,409 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:06,409 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:06,409 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 18:49:06,410 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 24 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 24 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:06,450 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:06,452 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:06,452 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:06,452 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:06,452 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:06,453 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:06,456 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:06,456 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 18:49:06,460 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 18:49:06,465 INFO L443 ModelExtractionUtils]: Simplification made 2 calls to the SMT solver. [2020-11-29 18:49:06,465 INFO L444 ModelExtractionUtils]: 5 out of 7 variables were initially zero. Simplification set additionally 0 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 25 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 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:06,469 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 18:49:06,469 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 18:49:06,469 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 18:49:06,469 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~r~0) = 1*ULTIMATE.start_main_~r~0 Supporting invariants [] [2020-11-29 18:49:06,494 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 18:49:06,538 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:06,561 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:06,563 INFO L263 TraceCheckSpWp]: Trace formula consists of 51 conjuncts, 2 conjunts are in the unsatisfiable core [2020-11-29 18:49:06,563 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:06,601 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:06,602 INFO L263 TraceCheckSpWp]: Trace formula consists of 33 conjuncts, 4 conjunts are in the unsatisfiable core [2020-11-29 18:49:06,603 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:06,634 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:06,635 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-11-29 18:49:06,635 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 65 states and 75 transitions. cyclomatic complexity: 12 Second operand 4 states. [2020-11-29 18:49:06,701 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 65 states and 75 transitions. cyclomatic complexity: 12. Second operand 4 states. Result 129 states and 151 transitions. Complement of second has 6 states. [2020-11-29 18:49:06,702 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2020-11-29 18:49:06,702 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-11-29 18:49:06,702 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 45 transitions. [2020-11-29 18:49:06,702 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 45 transitions. Stem has 5 letters. Loop has 13 letters. [2020-11-29 18:49:06,703 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:06,703 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 45 transitions. Stem has 18 letters. Loop has 13 letters. [2020-11-29 18:49:06,703 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:06,703 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 45 transitions. Stem has 5 letters. Loop has 26 letters. [2020-11-29 18:49:06,704 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:06,704 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 129 states and 151 transitions. [2020-11-29 18:49:06,705 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 23 [2020-11-29 18:49:06,706 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 129 states to 123 states and 144 transitions. [2020-11-29 18:49:06,707 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 31 [2020-11-29 18:49:06,707 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 32 [2020-11-29 18:49:06,707 INFO L73 IsDeterministic]: Start isDeterministic. Operand 123 states and 144 transitions. [2020-11-29 18:49:06,707 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 18:49:06,707 INFO L691 BuchiCegarLoop]: Abstraction has 123 states and 144 transitions. [2020-11-29 18:49:06,711 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 123 states and 144 transitions. [2020-11-29 18:49:06,714 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 123 to 121. [2020-11-29 18:49:06,715 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 121 states. [2020-11-29 18:49:06,716 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 121 states to 121 states and 141 transitions. [2020-11-29 18:49:06,716 INFO L714 BuchiCegarLoop]: Abstraction has 121 states and 141 transitions. [2020-11-29 18:49:06,716 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 18:49:06,717 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2020-11-29 18:49:06,718 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=20, Unknown=0, NotChecked=0, Total=30 [2020-11-29 18:49:06,718 INFO L87 Difference]: Start difference. First operand 121 states and 141 transitions. Second operand 6 states. [2020-11-29 18:49:06,986 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 18:49:06,987 INFO L93 Difference]: Finished difference Result 402 states and 448 transitions. [2020-11-29 18:49:06,987 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2020-11-29 18:49:06,988 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 402 states and 448 transitions. [2020-11-29 18:49:06,992 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 59 [2020-11-29 18:49:06,997 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 402 states to 354 states and 396 transitions. [2020-11-29 18:49:06,997 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 89 [2020-11-29 18:49:06,997 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 89 [2020-11-29 18:49:06,997 INFO L73 IsDeterministic]: Start isDeterministic. Operand 354 states and 396 transitions. [2020-11-29 18:49:06,998 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 18:49:06,998 INFO L691 BuchiCegarLoop]: Abstraction has 354 states and 396 transitions. [2020-11-29 18:49:06,999 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 354 states and 396 transitions. [2020-11-29 18:49:07,003 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 354 to 122. [2020-11-29 18:49:07,003 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 122 states. [2020-11-29 18:49:07,004 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 122 states to 122 states and 142 transitions. [2020-11-29 18:49:07,004 INFO L714 BuchiCegarLoop]: Abstraction has 122 states and 142 transitions. [2020-11-29 18:49:07,004 INFO L594 BuchiCegarLoop]: Abstraction has 122 states and 142 transitions. [2020-11-29 18:49:07,005 INFO L427 BuchiCegarLoop]: ======== Iteration 7============ [2020-11-29 18:49:07,005 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 122 states and 142 transitions. [2020-11-29 18:49:07,006 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 23 [2020-11-29 18:49:07,006 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 18:49:07,006 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 18:49:07,008 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1] [2020-11-29 18:49:07,008 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:49:07,008 INFO L794 eck$LassoCheckResult]: Stem: 2579#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(9); 2544#L-1 main_#in~argc, main_#in~argv.base, main_#in~argv.offset := #in~argc, #in~argv.base, #in~argv.offset;havoc main_#res;havoc main_#t~nondet3, main_#t~post4, main_#t~post5, main_#t~nondet6, main_#t~nondet7, main_#t~post8, main_#t~post9, main_~argc, main_~argv.base, main_~argv.offset, main_~n~0, main_~l~0, main_~r~0, main_~i~0, main_~j~0;main_~argc := main_#in~argc;main_~argv.base, main_~argv.offset := main_#in~argv.base, main_#in~argv.offset;havoc main_~n~0;havoc main_~l~0;havoc main_~r~0;havoc main_~i~0;havoc main_~j~0;main_~n~0 := main_#t~nondet3;havoc main_#t~nondet3; 2531#L27 assume !!(1 <= main_~n~0 && main_~n~0 <= 1000000);main_~l~0 := 1 + (if main_~n~0 < 0 && 0 != main_~n~0 % 2 then 1 + main_~n~0 / 2 else main_~n~0 / 2);main_~r~0 := main_~n~0; 2532#L30 assume main_~l~0 > 1;main_#t~post4 := main_~l~0;main_~l~0 := main_#t~post4 - 1;havoc main_#t~post4; 2564#L59-1 assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 2566#L38-2 assume !!(main_~j~0 <= main_~r~0); 2559#L39 [2020-11-29 18:49:07,009 INFO L796 eck$LassoCheckResult]: Loop: 2559#L39 assume !(main_~j~0 < main_~r~0); 2567#L39-1 __VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2568#L18-12 assume !(0 == __VERIFIER_assert_~cond); 2571#L18-14 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2587#L18-15 assume !(0 == __VERIFIER_assert_~cond); 2583#L18-17 assume !(0 != main_#t~nondet7);havoc main_#t~nondet7;__VERIFIER_assert_#in~cond := (if 1 <= main_~i~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2580#L18-18 assume !(0 == __VERIFIER_assert_~cond); 2539#L18-20 __VERIFIER_assert_#in~cond := (if main_~i~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2537#L18-21 assume !(0 == __VERIFIER_assert_~cond); 2533#L18-23 __VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2525#L18-24 assume !(0 == __VERIFIER_assert_~cond); 2526#L18-26 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2555#L18-27 assume !(0 == __VERIFIER_assert_~cond); 2549#L18-29 main_~i~0 := main_~j~0;main_~j~0 := 2 * main_~j~0; 2550#L38-2 assume !!(main_~j~0 <= main_~r~0); 2559#L39 [2020-11-29 18:49:07,009 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:07,009 INFO L82 PathProgramCache]: Analyzing trace with hash 889569551, now seen corresponding path program 1 times [2020-11-29 18:49:07,012 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:07,016 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1075587490] [2020-11-29 18:49:07,017 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:07,032 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:07,032 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:07,043 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:07,043 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:07,057 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:07,059 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:07,063 INFO L82 PathProgramCache]: Analyzing trace with hash 1922606789, now seen corresponding path program 1 times [2020-11-29 18:49:07,064 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:07,064 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [804025368] [2020-11-29 18:49:07,064 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:07,070 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:07,155 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:07,155 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [804025368] [2020-11-29 18:49:07,172 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-11-29 18:49:07,172 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-11-29 18:49:07,173 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1748019918] [2020-11-29 18:49:07,173 INFO L811 eck$LassoCheckResult]: loop already infeasible [2020-11-29 18:49:07,173 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 18:49:07,174 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2020-11-29 18:49:07,174 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2020-11-29 18:49:07,175 INFO L87 Difference]: Start difference. First operand 122 states and 142 transitions. cyclomatic complexity: 24 Second operand 6 states. [2020-11-29 18:49:07,456 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 18:49:07,456 INFO L93 Difference]: Finished difference Result 213 states and 239 transitions. [2020-11-29 18:49:07,456 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2020-11-29 18:49:07,457 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 213 states and 239 transitions. [2020-11-29 18:49:07,459 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 23 [2020-11-29 18:49:07,461 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 213 states to 199 states and 225 transitions. [2020-11-29 18:49:07,461 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 30 [2020-11-29 18:49:07,461 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 30 [2020-11-29 18:49:07,461 INFO L73 IsDeterministic]: Start isDeterministic. Operand 199 states and 225 transitions. [2020-11-29 18:49:07,462 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 18:49:07,462 INFO L691 BuchiCegarLoop]: Abstraction has 199 states and 225 transitions. [2020-11-29 18:49:07,462 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 199 states and 225 transitions. [2020-11-29 18:49:07,468 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 199 to 164. [2020-11-29 18:49:07,468 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 164 states. [2020-11-29 18:49:07,469 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 164 states to 164 states and 186 transitions. [2020-11-29 18:49:07,469 INFO L714 BuchiCegarLoop]: Abstraction has 164 states and 186 transitions. [2020-11-29 18:49:07,470 INFO L594 BuchiCegarLoop]: Abstraction has 164 states and 186 transitions. [2020-11-29 18:49:07,470 INFO L427 BuchiCegarLoop]: ======== Iteration 8============ [2020-11-29 18:49:07,470 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 164 states and 186 transitions. [2020-11-29 18:49:07,471 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 23 [2020-11-29 18:49:07,471 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 18:49:07,471 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 18:49:07,473 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1] [2020-11-29 18:49:07,473 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:49:07,473 INFO L794 eck$LassoCheckResult]: Stem: 2942#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(9); 2897#L-1 main_#in~argc, main_#in~argv.base, main_#in~argv.offset := #in~argc, #in~argv.base, #in~argv.offset;havoc main_#res;havoc main_#t~nondet3, main_#t~post4, main_#t~post5, main_#t~nondet6, main_#t~nondet7, main_#t~post8, main_#t~post9, main_~argc, main_~argv.base, main_~argv.offset, main_~n~0, main_~l~0, main_~r~0, main_~i~0, main_~j~0;main_~argc := main_#in~argc;main_~argv.base, main_~argv.offset := main_#in~argv.base, main_#in~argv.offset;havoc main_~n~0;havoc main_~l~0;havoc main_~r~0;havoc main_~i~0;havoc main_~j~0;main_~n~0 := main_#t~nondet3;havoc main_#t~nondet3; 2884#L27 assume !!(1 <= main_~n~0 && main_~n~0 <= 1000000);main_~l~0 := 1 + (if main_~n~0 < 0 && 0 != main_~n~0 % 2 then 1 + main_~n~0 / 2 else main_~n~0 / 2);main_~r~0 := main_~n~0; 2885#L30 assume main_~l~0 > 1;main_#t~post4 := main_~l~0;main_~l~0 := main_#t~post4 - 1;havoc main_#t~post4; 2918#L59-1 assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 2920#L38-2 assume !!(main_~j~0 <= main_~r~0); 2932#L39 [2020-11-29 18:49:07,481 INFO L796 eck$LassoCheckResult]: Loop: 2932#L39 assume main_~j~0 < main_~r~0;__VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2888#L18 assume !(0 == __VERIFIER_assert_~cond); 2881#L18-2 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2873#L18-3 assume !(0 == __VERIFIER_assert_~cond); 2874#L18-5 __VERIFIER_assert_#in~cond := (if 1 <= 1 + main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2906#L18-6 assume !(0 == __VERIFIER_assert_~cond); 2898#L18-8 __VERIFIER_assert_#in~cond := (if 1 + main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2899#L18-9 assume !(0 == __VERIFIER_assert_~cond); 2934#L18-11 assume 0 != main_#t~nondet6;havoc main_#t~nondet6;main_~j~0 := 1 + main_~j~0; 2923#L39-1 __VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2924#L18-12 assume !(0 == __VERIFIER_assert_~cond); 2927#L18-14 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2949#L18-15 assume !(0 == __VERIFIER_assert_~cond); 2946#L18-17 assume !(0 != main_#t~nondet7);havoc main_#t~nondet7;__VERIFIER_assert_#in~cond := (if 1 <= main_~i~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2943#L18-18 assume !(0 == __VERIFIER_assert_~cond); 2893#L18-20 __VERIFIER_assert_#in~cond := (if main_~i~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2891#L18-21 assume !(0 == __VERIFIER_assert_~cond); 2886#L18-23 __VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2877#L18-24 assume !(0 == __VERIFIER_assert_~cond); 2878#L18-26 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 2909#L18-27 assume !(0 == __VERIFIER_assert_~cond); 2902#L18-29 main_~i~0 := main_~j~0;main_~j~0 := 2 * main_~j~0; 2903#L38-2 assume !!(main_~j~0 <= main_~r~0); 2932#L39 [2020-11-29 18:49:07,481 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:07,482 INFO L82 PathProgramCache]: Analyzing trace with hash 889569551, now seen corresponding path program 2 times [2020-11-29 18:49:07,482 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:07,482 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [777090559] [2020-11-29 18:49:07,482 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:07,499 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:07,500 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:07,505 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:07,514 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:07,517 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:07,518 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:07,520 INFO L82 PathProgramCache]: Analyzing trace with hash 1146797320, now seen corresponding path program 1 times [2020-11-29 18:49:07,520 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:07,520 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1321751742] [2020-11-29 18:49:07,520 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:07,541 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:07,541 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:07,563 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:07,568 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:07,576 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:07,577 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:07,577 INFO L82 PathProgramCache]: Analyzing trace with hash 780250170, now seen corresponding path program 1 times [2020-11-29 18:49:07,577 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:07,578 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [433803403] [2020-11-29 18:49:07,578 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:07,592 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:07,668 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:07,668 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [433803403] [2020-11-29 18:49:07,669 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1081288095] [2020-11-29 18:49:07,669 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 26 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 26 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-11-29 18:49:07,724 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:07,725 INFO L263 TraceCheckSpWp]: Trace formula consists of 113 conjuncts, 9 conjunts are in the unsatisfiable core [2020-11-29 18:49:07,727 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:07,732 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 3 disjuncts [2020-11-29 18:49:07,768 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 4 disjuncts [2020-11-29 18:49:07,780 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 4 disjuncts [2020-11-29 18:49:08,508 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:08,508 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2020-11-29 18:49:08,509 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [6] total 11 [2020-11-29 18:49:08,509 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [724831488] [2020-11-29 18:49:08,824 WARN L193 SmtUtils]: Spent 311.00 ms on a formula simplification. DAG size of input: 99 DAG size of output: 86 [2020-11-29 18:49:08,840 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:08,840 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:08,844 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:08,844 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:08,847 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:08,847 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:08,852 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:08,853 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:08,923 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:08,923 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:08,923 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:08,923 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:08,924 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 18:49:08,924 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:08,924 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:08,924 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:08,924 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration8_Loop [2020-11-29 18:49:08,924 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:08,924 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:08,925 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:08,930 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:08,954 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:08,960 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:09,076 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:09,077 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:09,080 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 18:49:09,080 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 18:49:09,084 INFO L437 LassoAnalysis]: Proved nontermination for one component. [2020-11-29 18:49:09,084 INFO L440 LassoAnalysis]: Non-Termination argument consisting of: Initial state: {ULTIMATE.start_main_#t~nondet6=7} Honda state: {ULTIMATE.start_main_#t~nondet6=7} Generalized eigenvectors: [] Lambdas: [] Nus: [] No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:09,109 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 18:49:09,109 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:09,140 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 18:49:09,141 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 18:49:09,246 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 18:49:09,247 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:09,248 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:09,248 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:09,248 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:09,248 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 18:49:09,248 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:09,248 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:09,248 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:09,248 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration8_Loop [2020-11-29 18:49:09,248 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:09,248 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:09,249 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:09,267 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:09,294 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:09,297 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:09,384 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:09,384 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:09,397 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:09,398 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:09,398 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:09,399 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:09,399 INFO L204 nArgumentSynthesizer]: 2 loop disjuncts [2020-11-29 18:49:09,399 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:09,400 INFO L401 nArgumentSynthesizer]: We have 4 Motzkin's Theorem applications. [2020-11-29 18:49:09,400 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 18:49:09,403 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:09,452 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:09,455 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:09,455 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:09,455 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts Waiting until toolchain timeout for monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:09,455 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:09,455 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:09,458 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:09,460 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 18:49:09,467 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 18:49:09,476 INFO L443 ModelExtractionUtils]: Simplification made 4 calls to the SMT solver. [2020-11-29 18:49:09,476 INFO L444 ModelExtractionUtils]: 2 out of 6 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:09,480 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 18:49:09,480 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. [2020-11-29 18:49:09,481 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 18:49:09,481 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~r~0, ULTIMATE.start_main_~j~0) = 3*ULTIMATE.start_main_~r~0 - 2*ULTIMATE.start_main_~j~0 Supporting invariants [] Waiting until toolchain timeout for monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:09,521 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 18:49:09,543 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:09,562 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:09,563 INFO L263 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 2 conjunts are in the unsatisfiable core [2020-11-29 18:49:09,564 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:09,584 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:09,585 INFO L263 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 11 conjunts are in the unsatisfiable core [2020-11-29 18:49:09,588 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:09,659 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:09,659 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:09,727 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:09,728 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 6 loop predicates [2020-11-29 18:49:09,728 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 164 states and 186 transitions. cyclomatic complexity: 26 Second operand 7 states. [2020-11-29 18:49:09,902 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 164 states and 186 transitions. cyclomatic complexity: 26. Second operand 7 states. Result 560 states and 602 transitions. Complement of second has 11 states. [2020-11-29 18:49:09,904 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 6 states 1 stem states 4 non-accepting loop states 1 accepting loop states [2020-11-29 18:49:09,904 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2020-11-29 18:49:09,904 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 66 transitions. [2020-11-29 18:49:09,904 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 6 states and 66 transitions. Stem has 6 letters. Loop has 23 letters. [2020-11-29 18:49:09,905 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:09,905 INFO L639 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2020-11-29 18:49:09,921 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:09,938 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:09,939 INFO L263 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 2 conjunts are in the unsatisfiable core [2020-11-29 18:49:09,940 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:09,967 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:09,968 INFO L263 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 11 conjunts are in the unsatisfiable core [2020-11-29 18:49:09,972 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:10,053 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:10,053 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:10,138 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:10,139 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and with honda bouncer for loop.1 stem predicates 6 loop predicates [2020-11-29 18:49:10,139 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 164 states and 186 transitions. cyclomatic complexity: 26 Second operand 7 states. [2020-11-29 18:49:10,539 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 164 states and 186 transitions. cyclomatic complexity: 26. Second operand 7 states. Result 668 states and 721 transitions. Complement of second has 17 states. [2020-11-29 18:49:10,540 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 9 states 1 stem states 7 non-accepting loop states 1 accepting loop states [2020-11-29 18:49:10,540 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2020-11-29 18:49:10,540 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 99 transitions. [2020-11-29 18:49:10,540 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 99 transitions. Stem has 6 letters. Loop has 23 letters. [2020-11-29 18:49:10,541 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:10,541 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 99 transitions. Stem has 29 letters. Loop has 23 letters. [2020-11-29 18:49:10,541 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:10,541 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 99 transitions. Stem has 6 letters. Loop has 46 letters. [2020-11-29 18:49:10,541 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:10,542 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 668 states and 721 transitions. [2020-11-29 18:49:10,559 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 23 [2020-11-29 18:49:10,564 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 668 states to 493 states and 544 transitions. [2020-11-29 18:49:10,564 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 51 [2020-11-29 18:49:10,565 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 52 [2020-11-29 18:49:10,565 INFO L73 IsDeterministic]: Start isDeterministic. Operand 493 states and 544 transitions. [2020-11-29 18:49:10,565 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 18:49:10,565 INFO L691 BuchiCegarLoop]: Abstraction has 493 states and 544 transitions. [2020-11-29 18:49:10,566 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 493 states and 544 transitions. [2020-11-29 18:49:10,572 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 493 to 290. [2020-11-29 18:49:10,572 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 290 states. [2020-11-29 18:49:10,573 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 290 states to 290 states and 324 transitions. [2020-11-29 18:49:10,573 INFO L714 BuchiCegarLoop]: Abstraction has 290 states and 324 transitions. [2020-11-29 18:49:10,574 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-11-29 18:49:10,574 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-11-29 18:49:10,574 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=35, Invalid=97, Unknown=0, NotChecked=0, Total=132 [2020-11-29 18:49:10,575 INFO L87 Difference]: Start difference. First operand 290 states and 324 transitions. Second operand 7 states. [2020-11-29 18:49:11,005 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-11-29 18:49:11,005 INFO L93 Difference]: Finished difference Result 519 states and 565 transitions. [2020-11-29 18:49:11,006 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2020-11-29 18:49:11,006 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 519 states and 565 transitions. [2020-11-29 18:49:11,011 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 23 [2020-11-29 18:49:11,014 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 519 states to 303 states and 341 transitions. [2020-11-29 18:49:11,015 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 29 [2020-11-29 18:49:11,015 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 29 [2020-11-29 18:49:11,015 INFO L73 IsDeterministic]: Start isDeterministic. Operand 303 states and 341 transitions. [2020-11-29 18:49:11,016 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2020-11-29 18:49:11,016 INFO L691 BuchiCegarLoop]: Abstraction has 303 states and 341 transitions. [2020-11-29 18:49:11,016 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 303 states and 341 transitions. [2020-11-29 18:49:11,020 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 303 to 211. [2020-11-29 18:49:11,021 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 211 states. [2020-11-29 18:49:11,022 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 211 states to 211 states and 239 transitions. [2020-11-29 18:49:11,022 INFO L714 BuchiCegarLoop]: Abstraction has 211 states and 239 transitions. [2020-11-29 18:49:11,022 INFO L594 BuchiCegarLoop]: Abstraction has 211 states and 239 transitions. [2020-11-29 18:49:11,022 INFO L427 BuchiCegarLoop]: ======== Iteration 9============ [2020-11-29 18:49:11,023 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 211 states and 239 transitions. [2020-11-29 18:49:11,024 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 23 [2020-11-29 18:49:11,024 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-11-29 18:49:11,024 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-11-29 18:49:11,026 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:49:11,026 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-11-29 18:49:11,026 INFO L794 eck$LassoCheckResult]: Stem: 5484#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string0.base, #t~string0.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string0.base, #t~string0.offset, 1);call write~init~int(0, #t~string0.base, 1 + #t~string0.offset, 1);call #t~string1.base, #t~string1.offset := #Ultimate.allocOnStack(9); 5435#L-1 main_#in~argc, main_#in~argv.base, main_#in~argv.offset := #in~argc, #in~argv.base, #in~argv.offset;havoc main_#res;havoc main_#t~nondet3, main_#t~post4, main_#t~post5, main_#t~nondet6, main_#t~nondet7, main_#t~post8, main_#t~post9, main_~argc, main_~argv.base, main_~argv.offset, main_~n~0, main_~l~0, main_~r~0, main_~i~0, main_~j~0;main_~argc := main_#in~argc;main_~argv.base, main_~argv.offset := main_#in~argv.base, main_#in~argv.offset;havoc main_~n~0;havoc main_~l~0;havoc main_~r~0;havoc main_~i~0;havoc main_~j~0;main_~n~0 := main_#t~nondet3;havoc main_#t~nondet3; 5424#L27 assume !!(1 <= main_~n~0 && main_~n~0 <= 1000000);main_~l~0 := 1 + (if main_~n~0 < 0 && 0 != main_~n~0 % 2 then 1 + main_~n~0 / 2 else main_~n~0 / 2);main_~r~0 := main_~n~0; 5425#L30 assume main_~l~0 > 1;main_#t~post4 := main_~l~0;main_~l~0 := main_#t~post4 - 1;havoc main_#t~post4; 5459#L59-1 assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 5460#L38-2 assume !!(main_~j~0 <= main_~r~0); 5565#L39 assume !(main_~j~0 < main_~r~0); 5476#L39-1 __VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5616#L18-12 assume !(0 == __VERIFIER_assert_~cond); 5614#L18-14 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5612#L18-15 assume !(0 == __VERIFIER_assert_~cond); 5487#L18-17 assume 0 != main_#t~nondet7;havoc main_#t~nondet7; 5456#L38-3 assume main_~l~0 > 1;__VERIFIER_assert_#in~cond := (if 1 <= main_~l~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5481#L18-30 assume !(0 == __VERIFIER_assert_~cond); 5477#L18-32 __VERIFIER_assert_#in~cond := (if main_~l~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5478#L18-33 assume !(0 == __VERIFIER_assert_~cond); 5457#L18-35 main_#t~post8 := main_~l~0;main_~l~0 := main_#t~post8 - 1;havoc main_#t~post8; 5458#L59-1 assume !!(main_~r~0 > 1);main_~i~0 := main_~l~0;main_~j~0 := 2 * main_~l~0; 5441#L38-2 [2020-11-29 18:49:11,026 INFO L796 eck$LassoCheckResult]: Loop: 5441#L38-2 assume !!(main_~j~0 <= main_~r~0); 5474#L39 assume main_~j~0 < main_~r~0;__VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5426#L18 assume !(0 == __VERIFIER_assert_~cond); 5419#L18-2 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5411#L18-3 assume !(0 == __VERIFIER_assert_~cond); 5412#L18-5 __VERIFIER_assert_#in~cond := (if 1 <= 1 + main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5444#L18-6 assume !(0 == __VERIFIER_assert_~cond); 5436#L18-8 __VERIFIER_assert_#in~cond := (if 1 + main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5437#L18-9 assume !(0 == __VERIFIER_assert_~cond); 5471#L18-11 assume 0 != main_#t~nondet6;havoc main_#t~nondet6;main_~j~0 := 1 + main_~j~0; 5463#L39-1 __VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5464#L18-12 assume !(0 == __VERIFIER_assert_~cond); 5467#L18-14 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5490#L18-15 assume !(0 == __VERIFIER_assert_~cond); 5486#L18-17 assume !(0 != main_#t~nondet7);havoc main_#t~nondet7;__VERIFIER_assert_#in~cond := (if 1 <= main_~i~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5482#L18-18 assume !(0 == __VERIFIER_assert_~cond); 5431#L18-20 __VERIFIER_assert_#in~cond := (if main_~i~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5429#L18-21 assume !(0 == __VERIFIER_assert_~cond); 5422#L18-23 __VERIFIER_assert_#in~cond := (if 1 <= main_~j~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5415#L18-24 assume !(0 == __VERIFIER_assert_~cond); 5416#L18-26 __VERIFIER_assert_#in~cond := (if main_~j~0 <= main_~n~0 then 1 else 0);havoc __VERIFIER_assert_~cond;__VERIFIER_assert_~cond := __VERIFIER_assert_#in~cond; 5447#L18-27 assume !(0 == __VERIFIER_assert_~cond); 5440#L18-29 main_~i~0 := main_~j~0;main_~j~0 := 2 * main_~j~0; 5441#L38-2 [2020-11-29 18:49:11,027 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:11,027 INFO L82 PathProgramCache]: Analyzing trace with hash -1670671798, now seen corresponding path program 1 times [2020-11-29 18:49:11,027 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:11,027 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2112354482] [2020-11-29 18:49:11,027 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:11,039 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:11,039 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:11,048 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:11,048 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:11,053 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:11,053 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:11,053 INFO L82 PathProgramCache]: Analyzing trace with hash -1478170350, now seen corresponding path program 2 times [2020-11-29 18:49:11,054 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:11,054 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1383028139] [2020-11-29 18:49:11,054 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:11,066 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:11,067 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:11,075 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:11,076 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:11,078 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:11,079 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:11,079 INFO L82 PathProgramCache]: Analyzing trace with hash 50779305, now seen corresponding path program 1 times [2020-11-29 18:49:11,079 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-11-29 18:49:11,079 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1749197801] [2020-11-29 18:49:11,079 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-11-29 18:49:11,094 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:11,094 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:11,116 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-11-29 18:49:11,116 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-11-29 18:49:11,136 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-11-29 18:49:11,368 WARN L193 SmtUtils]: Spent 228.00 ms on a formula simplification. DAG size of input: 99 DAG size of output: 86 [2020-11-29 18:49:11,371 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:11,371 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:11,383 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:11,383 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:11,423 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:11,423 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:11,432 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:11,432 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:11,489 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:11,489 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:11,490 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:11,490 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:11,490 INFO L129 ssoRankerPreferences]: Use exernal solver: true [2020-11-29 18:49:11,490 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:11,490 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:11,490 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:11,490 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration9_Loop [2020-11-29 18:49:11,490 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:11,490 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:11,491 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:11,506 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:11,509 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:11,515 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:11,597 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:11,597 INFO L404 LassoAnalysis]: Checking for nontermination... No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:11,599 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 0 Nilpotent components: true [2020-11-29 18:49:11,600 INFO L160 nArgumentSynthesizer]: Using integer mode. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 34 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 34 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:11,632 INFO L148 nArgumentSynthesizer]: Nontermination analysis: NONLINEAR Allow bounded executions: true Number of generalized eigenvectors: 3 Nilpotent components: true [2020-11-29 18:49:11,632 INFO L160 nArgumentSynthesizer]: Using integer mode. [2020-11-29 18:49:11,754 INFO L444 LassoAnalysis]: Proving nontermination failed: No geometric nontermination argument exists. [2020-11-29 18:49:11,756 INFO L210 LassoAnalysis]: Preferences: [2020-11-29 18:49:11,756 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-11-29 18:49:11,756 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-11-29 18:49:11,756 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-11-29 18:49:11,756 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-11-29 18:49:11,756 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:11,756 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-11-29 18:49:11,756 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-11-29 18:49:11,756 INFO L133 ssoRankerPreferences]: Filename of dumped script: heapsort.i_Iteration9_Loop [2020-11-29 18:49:11,757 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-11-29 18:49:11,757 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-11-29 18:49:11,757 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:11,777 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:11,783 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:11,790 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-11-29 18:49:11,865 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-11-29 18:49:11,865 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 35 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 35 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:11,871 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-11-29 18:49:11,873 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-11-29 18:49:11,873 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-11-29 18:49:11,874 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-11-29 18:49:11,874 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-11-29 18:49:11,874 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-11-29 18:49:11,878 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-11-29 18:49:11,878 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-11-29 18:49:11,903 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-11-29 18:49:11,913 INFO L443 ModelExtractionUtils]: Simplification made 4 calls to the SMT solver. [2020-11-29 18:49:11,913 INFO L444 ModelExtractionUtils]: 2 out of 6 variables were initially zero. Simplification set additionally 1 variables to zero. No working directory specified, using /tmp/vcloud-vcloud-master/worker/run_dir_f57c01b0-aaee-4338-857d-6aaadc332741/bin/uautomizer/z3 Starting monitored process 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-11-29 18:49:11,916 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-11-29 18:49:11,916 INFO L438 nArgumentSynthesizer]: Removed 0 redundant supporting invariants from a total of 0. Waiting until toolchain timeout for monitored process 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-11-29 18:49:11,916 INFO L510 LassoAnalysis]: Proved termination. [2020-11-29 18:49:11,916 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~n~0, ULTIMATE.start_main_~j~0) = 3*ULTIMATE.start_main_~n~0 - 2*ULTIMATE.start_main_~j~0 Supporting invariants [] [2020-11-29 18:49:11,940 INFO L297 tatePredicateManager]: 0 out of 0 supporting invariants were superfluous and have been removed [2020-11-29 18:49:11,955 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:11,977 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:11,977 INFO L263 TraceCheckSpWp]: Trace formula consists of 82 conjuncts, 2 conjunts are in the unsatisfiable core [2020-11-29 18:49:11,978 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:11,995 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:11,996 INFO L263 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 24 conjunts are in the unsatisfiable core [2020-11-29 18:49:11,997 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:12,020 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:12,020 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:12,146 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:12,146 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:12,238 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:12,238 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:12,282 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:12,367 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:12,368 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 9 loop predicates [2020-11-29 18:49:12,368 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 211 states and 239 transitions. cyclomatic complexity: 32 Second operand 11 states. [2020-11-29 18:49:12,793 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 211 states and 239 transitions. cyclomatic complexity: 32. Second operand 11 states. Result 425 states and 471 transitions. Complement of second has 17 states. [2020-11-29 18:49:12,795 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 9 states 1 stem states 7 non-accepting loop states 1 accepting loop states [2020-11-29 18:49:12,795 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 11 states. [2020-11-29 18:49:12,796 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 62 transitions. [2020-11-29 18:49:12,796 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 62 transitions. Stem has 18 letters. Loop has 23 letters. [2020-11-29 18:49:12,796 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:12,796 INFO L639 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2020-11-29 18:49:12,816 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:12,838 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:12,839 INFO L263 TraceCheckSpWp]: Trace formula consists of 82 conjuncts, 2 conjunts are in the unsatisfiable core [2020-11-29 18:49:12,840 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:12,864 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:12,865 INFO L263 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 24 conjunts are in the unsatisfiable core [2020-11-29 18:49:12,866 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:12,900 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:12,900 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:12,961 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:12,961 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:13,062 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:13,063 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:13,100 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:13,183 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:13,183 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and with honda bouncer for loop.1 stem predicates 9 loop predicates [2020-11-29 18:49:13,183 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 211 states and 239 transitions. cyclomatic complexity: 32 Second operand 11 states. [2020-11-29 18:49:13,713 WARN L193 SmtUtils]: Spent 103.00 ms on a formula simplification. DAG size of input: 40 DAG size of output: 20 [2020-11-29 18:49:13,931 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 211 states and 239 transitions. cyclomatic complexity: 32. Second operand 11 states. Result 465 states and 511 transitions. Complement of second has 27 states. [2020-11-29 18:49:13,933 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 14 states 1 stem states 12 non-accepting loop states 1 accepting loop states [2020-11-29 18:49:13,934 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 11 states. [2020-11-29 18:49:13,934 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 71 transitions. [2020-11-29 18:49:13,934 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 14 states and 71 transitions. Stem has 18 letters. Loop has 23 letters. [2020-11-29 18:49:13,934 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:13,934 INFO L639 RefineBuchi]: Bad chosen interpolant automaton: word not accepted [2020-11-29 18:49:13,949 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-11-29 18:49:13,972 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:13,973 INFO L263 TraceCheckSpWp]: Trace formula consists of 82 conjuncts, 2 conjunts are in the unsatisfiable core [2020-11-29 18:49:13,974 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:13,998 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-11-29 18:49:13,999 INFO L263 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 24 conjunts are in the unsatisfiable core [2020-11-29 18:49:14,000 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-11-29 18:49:14,056 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:14,056 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:14,138 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:14,138 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:14,235 INFO L375 QuantifierPusher]: Applying distributivity to a CONJUNCTION[2, 2, 2, 1] term [2020-11-29 18:49:14,235 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:14,270 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-11-29 18:49:14,325 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-11-29 18:49:14,326 INFO L152 lantAutomatonBouncer]: Defining Buchi interpolant automaton with scrooge nondeterminism in stemwith honda bouncer for stem and without honda bouncer for loop.1 stem predicates 9 loop predicates [2020-11-29 18:49:14,326 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 211 states and 239 transitions. cyclomatic complexity: 32 Second operand 11 states. [2020-11-29 18:49:14,762 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 211 states and 239 transitions. cyclomatic complexity: 32. Second operand 11 states. Result 763 states and 849 transitions. Complement of second has 16 states. [2020-11-29 18:49:14,762 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 9 states 1 stem states 7 non-accepting loop states 1 accepting loop states [2020-11-29 18:49:14,762 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 11 states. [2020-11-29 18:49:14,763 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 125 transitions. [2020-11-29 18:49:14,763 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 125 transitions. Stem has 18 letters. Loop has 23 letters. [2020-11-29 18:49:14,763 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:14,763 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 125 transitions. Stem has 41 letters. Loop has 23 letters. [2020-11-29 18:49:14,764 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:14,764 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 9 states and 125 transitions. Stem has 18 letters. Loop has 46 letters. [2020-11-29 18:49:14,764 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-11-29 18:49:14,764 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 763 states and 849 transitions. [2020-11-29 18:49:14,770 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2020-11-29 18:49:14,771 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 763 states to 0 states and 0 transitions. [2020-11-29 18:49:14,771 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2020-11-29 18:49:14,771 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2020-11-29 18:49:14,771 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2020-11-29 18:49:14,771 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-11-29 18:49:14,771 INFO L691 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-11-29 18:49:14,771 INFO L714 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-11-29 18:49:14,771 INFO L594 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-11-29 18:49:14,771 INFO L427 BuchiCegarLoop]: ======== Iteration 10============ [2020-11-29 18:49:14,771 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2020-11-29 18:49:14,771 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2020-11-29 18:49:14,772 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2020-11-29 18:49:14,778 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 29.11 06:49:14 BoogieIcfgContainer [2020-11-29 18:49:14,779 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-11-29 18:49:14,779 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-11-29 18:49:14,779 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-11-29 18:49:14,780 INFO L275 PluginConnector]: Witness Printer initialized [2020-11-29 18:49:14,780 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 06:48:59" (3/4) ... [2020-11-29 18:49:14,784 INFO L140 WitnessPrinter]: No result that supports witness generation found [2020-11-29 18:49:14,784 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-11-29 18:49:14,785 INFO L168 Benchmark]: Toolchain (without parser) took 16808.74 ms. Allocated memory was 107.0 MB in the beginning and 247.5 MB in the end (delta: 140.5 MB). Free memory was 80.6 MB in the beginning and 104.5 MB in the end (delta: -23.9 MB). Peak memory consumption was 117.7 MB. Max. memory is 16.1 GB. [2020-11-29 18:49:14,786 INFO L168 Benchmark]: CDTParser took 0.96 ms. Allocated memory is still 107.0 MB. Free memory is still 65.8 MB. There was no memory consumed. Max. memory is 16.1 GB. [2020-11-29 18:49:14,786 INFO L168 Benchmark]: CACSL2BoogieTranslator took 322.49 ms. Allocated memory is still 107.0 MB. Free memory was 80.4 MB in the beginning and 83.0 MB in the end (delta: -2.6 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. [2020-11-29 18:49:14,787 INFO L168 Benchmark]: Boogie Procedure Inliner took 62.54 ms. Allocated memory is still 107.0 MB. Free memory was 83.0 MB in the beginning and 81.2 MB in the end (delta: 1.8 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-11-29 18:49:14,787 INFO L168 Benchmark]: Boogie Preprocessor took 31.82 ms. Allocated memory is still 107.0 MB. Free memory was 80.9 MB in the beginning and 79.6 MB in the end (delta: 1.3 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2020-11-29 18:49:14,788 INFO L168 Benchmark]: RCFGBuilder took 598.82 ms. Allocated memory is still 107.0 MB. Free memory was 79.6 MB in the beginning and 56.7 MB in the end (delta: 22.8 MB). Peak memory consumption was 23.1 MB. Max. memory is 16.1 GB. [2020-11-29 18:49:14,788 INFO L168 Benchmark]: BuchiAutomizer took 15771.66 ms. Allocated memory was 107.0 MB in the beginning and 247.5 MB in the end (delta: 140.5 MB). Free memory was 56.7 MB in the beginning and 104.5 MB in the end (delta: -47.8 MB). Peak memory consumption was 94.3 MB. Max. memory is 16.1 GB. [2020-11-29 18:49:14,789 INFO L168 Benchmark]: Witness Printer took 5.03 ms. Allocated memory is still 247.5 MB. Free memory is still 104.5 MB. There was no memory consumed. Max. memory is 16.1 GB. [2020-11-29 18:49:14,791 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.96 ms. Allocated memory is still 107.0 MB. Free memory is still 65.8 MB. There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 322.49 ms. Allocated memory is still 107.0 MB. Free memory was 80.4 MB in the beginning and 83.0 MB in the end (delta: -2.6 MB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 62.54 ms. Allocated memory is still 107.0 MB. Free memory was 83.0 MB in the beginning and 81.2 MB in the end (delta: 1.8 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 31.82 ms. Allocated memory is still 107.0 MB. Free memory was 80.9 MB in the beginning and 79.6 MB in the end (delta: 1.3 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 598.82 ms. Allocated memory is still 107.0 MB. Free memory was 79.6 MB in the beginning and 56.7 MB in the end (delta: 22.8 MB). Peak memory consumption was 23.1 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 15771.66 ms. Allocated memory was 107.0 MB in the beginning and 247.5 MB in the end (delta: 140.5 MB). Free memory was 56.7 MB in the beginning and 104.5 MB in the end (delta: -47.8 MB). Peak memory consumption was 94.3 MB. Max. memory is 16.1 GB. * Witness Printer took 5.03 ms. Allocated memory is still 247.5 MB. Free memory is still 104.5 MB. There was no memory consumed. Max. memory is 16.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 14 terminating modules (8 trivial, 5 deterministic, 1 nondeterministic). One deterministic module has affine ranking function l and consists of 4 locations. One deterministic module has affine ranking function l and consists of 4 locations. One deterministic module has affine ranking function r and consists of 3 locations. One deterministic module has affine ranking function r and consists of 4 locations. One deterministic module has affine ranking function 3 * r + -2 * j and consists of 9 locations. One nondeterministic module has affine ranking function 3 * n + -2 * j and consists of 9 locations. 8 modules have a trivial ranking function, the largest among these consists of 7 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 15.7s and 10 iterations. TraceHistogramMax:2. Analysis of lassos took 9.1s. Construction of modules took 1.9s. Büchi inclusion checks took 4.1s. Highest rank in rank-based complementation 3. Minimization of det autom 4. Minimization of nondet autom 10. Automata minimization 0.1s AutomataMinimizationTime, 13 MinimizatonAttempts, 817 StatesRemovedByMinimization, 11 NontrivialMinimizations. Non-live state removal took 0.1s Buchi closure took 0.0s. Biggest automaton had 211 states and ocurred in iteration 8. Nontrivial modules had stage [4, 1, 1, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 806 SDtfs, 1354 SDslu, 1052 SDs, 0 SdLazy, 1441 SolverSat, 198 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1.9s Time LassoAnalysisResults: nont0 unkn0 SFLI3 SFLT1 conc0 concLT5 SILN0 SILU0 SILI0 SILT0 lasso0 LassoPreprocessingBenchmarks: Lassos: inital38 mio100 ax100 hnf97 lsp74 ukn100 mio100 lsp100 div100 bol100 ite100 ukn100 eq154 hnf93 smp100 dnf100 smp100 tf105 neg100 sie105 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 9ms VariablesStem: 0 VariablesLoop: 1 DisjunctsStem: 1 DisjunctsLoop: 2 SupportingInvariants: 0 MotzkinApplications: 4 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 3 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 6 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 2.3s - TerminationAnalysisResult: Termination proven Buchi Automizer proved that your program is terminating RESULT: Ultimate proved your program to be correct! Received shutdown request...