./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/array-memsafety/openbsd_cstrncmp-alloca-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 906a4fb5 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/array-memsafety/openbsd_cstrncmp-alloca-2.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash f3eebd0d696af164582cbeee8be4a910d35e299c ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.1.25-906a4fb [2020-10-19 20:26:06,554 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-19 20:26:06,557 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-19 20:26:06,603 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-19 20:26:06,604 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-19 20:26:06,616 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-19 20:26:06,618 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-19 20:26:06,620 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-19 20:26:06,622 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-19 20:26:06,623 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-19 20:26:06,624 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-19 20:26:06,625 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-19 20:26:06,626 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-19 20:26:06,627 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-19 20:26:06,628 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-19 20:26:06,629 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-19 20:26:06,630 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-19 20:26:06,631 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-19 20:26:06,633 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-19 20:26:06,635 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-19 20:26:06,637 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-19 20:26:06,638 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-19 20:26:06,639 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-19 20:26:06,640 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-19 20:26:06,643 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-19 20:26:06,644 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-19 20:26:06,644 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-19 20:26:06,645 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-19 20:26:06,646 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-19 20:26:06,647 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-19 20:26:06,647 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-19 20:26:06,648 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-19 20:26:06,649 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-19 20:26:06,650 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-19 20:26:06,651 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-19 20:26:06,652 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-19 20:26:06,652 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-19 20:26:06,653 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-19 20:26:06,653 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-19 20:26:06,654 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-19 20:26:06,655 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-19 20:26:06,656 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2020-10-19 20:26:06,686 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-19 20:26:06,688 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-19 20:26:06,689 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-19 20:26:06,690 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-19 20:26:06,691 INFO L138 SettingsManager]: * Use SBE=true [2020-10-19 20:26:06,691 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-19 20:26:06,691 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-19 20:26:06,692 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-19 20:26:06,692 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-19 20:26:06,692 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-19 20:26:06,693 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-19 20:26:06,694 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-19 20:26:06,694 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-19 20:26:06,695 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-19 20:26:06,695 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-19 20:26:06,695 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-19 20:26:06,696 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-19 20:26:06,696 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-19 20:26:06,696 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-19 20:26:06,696 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-19 20:26:06,697 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-19 20:26:06,698 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-19 20:26:06,698 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-19 20:26:06,698 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-19 20:26:06,698 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-19 20:26:06,699 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-19 20:26:06,699 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-19 20:26:06,699 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-19 20:26:06,700 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-19 20:26:06,700 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-19 20:26:06,700 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-19 20:26:06,700 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-19 20:26:06,702 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-19 20:26:06,703 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> f3eebd0d696af164582cbeee8be4a910d35e299c [2020-10-19 20:26:07,077 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-19 20:26:07,098 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-19 20:26:07,105 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-19 20:26:07,109 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-19 20:26:07,115 INFO L275 PluginConnector]: CDTParser initialized [2020-10-19 20:26:07,116 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/array-memsafety/openbsd_cstrncmp-alloca-2.i [2020-10-19 20:26:07,178 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4de1bc517/0ab5297161174abd9f0b926ae56afacd/FLAGa98f778cb [2020-10-19 20:26:07,646 INFO L306 CDTParser]: Found 1 translation units. [2020-10-19 20:26:07,647 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/openbsd_cstrncmp-alloca-2.i [2020-10-19 20:26:07,660 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4de1bc517/0ab5297161174abd9f0b926ae56afacd/FLAGa98f778cb [2020-10-19 20:26:08,013 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4de1bc517/0ab5297161174abd9f0b926ae56afacd [2020-10-19 20:26:08,017 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-19 20:26:08,024 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-19 20:26:08,026 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-19 20:26:08,026 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-19 20:26:08,030 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-19 20:26:08,031 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,035 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5819c440 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08, skipping insertion in model container [2020-10-19 20:26:08,035 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,045 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-19 20:26:08,104 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 20:26:08,600 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 20:26:08,613 INFO L203 MainTranslator]: Completed pre-run [2020-10-19 20:26:08,668 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 20:26:08,723 INFO L208 MainTranslator]: Completed translation [2020-10-19 20:26:08,724 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08 WrapperNode [2020-10-19 20:26:08,724 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-19 20:26:08,725 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-19 20:26:08,725 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-19 20:26:08,726 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-19 20:26:08,735 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,751 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,777 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-19 20:26:08,778 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-19 20:26:08,778 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-19 20:26:08,778 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-19 20:26:08,785 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,786 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,789 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,790 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,797 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,803 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,805 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (1/1) ... [2020-10-19 20:26:08,808 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-19 20:26:08,809 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-19 20:26:08,809 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-19 20:26:08,809 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-19 20:26:08,810 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:08,872 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2020-10-19 20:26:08,872 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2020-10-19 20:26:08,872 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-19 20:26:08,873 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-10-19 20:26:08,873 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-19 20:26:08,873 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-19 20:26:09,230 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-19 20:26:09,231 INFO L298 CfgBuilder]: Removed 9 assume(true) statements. [2020-10-19 20:26:09,234 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:26:09 BoogieIcfgContainer [2020-10-19 20:26:09,234 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-19 20:26:09,235 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-19 20:26:09,235 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-19 20:26:09,240 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-19 20:26:09,241 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:26:09,241 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 19.10 08:26:08" (1/3) ... [2020-10-19 20:26:09,242 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@44c165ac and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 08:26:09, skipping insertion in model container [2020-10-19 20:26:09,243 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:26:09,243 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 08:26:08" (2/3) ... [2020-10-19 20:26:09,243 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@44c165ac and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 08:26:09, skipping insertion in model container [2020-10-19 20:26:09,244 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 20:26:09,244 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:26:09" (3/3) ... [2020-10-19 20:26:09,246 INFO L373 chiAutomizerObserver]: Analyzing ICFG openbsd_cstrncmp-alloca-2.i [2020-10-19 20:26:09,326 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-19 20:26:09,327 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-19 20:26:09,327 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-19 20:26:09,327 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-19 20:26:09,328 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-19 20:26:09,328 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-19 20:26:09,328 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-19 20:26:09,329 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-19 20:26:09,347 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 22 states. [2020-10-19 20:26:09,366 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 9 [2020-10-19 20:26:09,366 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:26:09,367 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:26:09,372 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2020-10-19 20:26:09,373 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2020-10-19 20:26:09,373 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-19 20:26:09,373 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 22 states. [2020-10-19 20:26:09,375 INFO L131 ngComponentsAnalysis]: Automaton has 3 accepting balls. 9 [2020-10-19 20:26:09,376 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:26:09,376 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:26:09,376 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2020-10-19 20:26:09,376 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2020-10-19 20:26:09,383 INFO L794 eck$LassoCheckResult]: Stem: 13#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 11#L-1true havoc main_#res;havoc main_#t~nondet11, main_#t~nondet12, main_#t~malloc13.base, main_#t~malloc13.offset, main_#t~malloc14.base, main_#t~malloc14.offset, main_#t~nondet16, main_#t~post15, main_~i~0, main_#t~nondet18, main_#t~post17, main_~i~1, main_#t~nondet19, main_#t~ret20, main_~length1~0, main_~length2~0, main_~nondetString1~0.base, main_~nondetString1~0.offset, main_~nondetString2~0.base, main_~nondetString2~0.offset;main_~length1~0 := main_#t~nondet11;havoc main_#t~nondet11;main_~length2~0 := main_#t~nondet12;havoc main_#t~nondet12; 19#L529true assume !(main_~length1~0 < 1); 24#L529-2true assume !(main_~length2~0 < 1); 14#L532-1true call main_#t~malloc13.base, main_#t~malloc13.offset := #Ultimate.allocOnStack(main_~length1~0);main_~nondetString1~0.base, main_~nondetString1~0.offset := main_#t~malloc13.base, main_#t~malloc13.offset;call main_#t~malloc14.base, main_#t~malloc14.offset := #Ultimate.allocOnStack(main_~length2~0);main_~nondetString2~0.base, main_~nondetString2~0.offset := main_#t~malloc14.base, main_#t~malloc14.offset;main_~i~0 := 0; 7#L538-3true [2020-10-19 20:26:09,384 INFO L796 eck$LassoCheckResult]: Loop: 7#L538-3true assume !!(main_~i~0 < main_~length1~0 - 1);call write~int(main_#t~nondet16, main_~nondetString1~0.base, main_~nondetString1~0.offset + main_~i~0, 1);havoc main_#t~nondet16; 5#L538-2true main_#t~post15 := main_~i~0;main_~i~0 := 1 + main_#t~post15;havoc main_#t~post15; 7#L538-3true [2020-10-19 20:26:09,389 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:09,389 INFO L82 PathProgramCache]: Analyzing trace with hash 28695878, now seen corresponding path program 1 times [2020-10-19 20:26:09,398 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:09,398 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [468350248] [2020-10-19 20:26:09,399 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:09,509 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:09,510 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:09,524 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:09,525 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:09,548 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:09,550 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:09,550 INFO L82 PathProgramCache]: Analyzing trace with hash 1699, now seen corresponding path program 1 times [2020-10-19 20:26:09,550 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:09,551 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [170255468] [2020-10-19 20:26:09,551 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:09,561 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:09,562 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:09,574 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:09,576 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:09,580 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:09,584 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:09,584 INFO L82 PathProgramCache]: Analyzing trace with hash 1806935720, now seen corresponding path program 1 times [2020-10-19 20:26:09,585 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:09,585 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [410457971] [2020-10-19 20:26:09,586 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:09,630 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:09,630 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:09,647 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:09,648 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:09,653 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:09,884 WARN L193 SmtUtils]: Spent 161.00 ms on a formula simplification. DAG size of input: 58 DAG size of output: 54 [2020-10-19 20:26:09,987 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:26:09,988 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:26:09,989 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:26:09,989 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:26:09,989 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 20:26:09,990 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:09,990 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:26:09,990 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:26:09,990 INFO L133 ssoRankerPreferences]: Filename of dumped script: openbsd_cstrncmp-alloca-2.i_Iteration1_Lasso [2020-10-19 20:26:09,991 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:26:09,991 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:26:10,019 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,030 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,034 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,038 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,042 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,046 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,196 WARN L193 SmtUtils]: Spent 101.00 ms on a formula simplification. DAG size of input: 39 DAG size of output: 37 [2020-10-19 20:26:10,225 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,229 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,234 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,240 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,244 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,247 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,252 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,255 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,259 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:10,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-10-19 20:26:10,615 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:26:10,621 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:10,627 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:10,631 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:10,631 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:10,632 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:10,632 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:10,632 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:10,635 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:10,636 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:10,640 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:10,672 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:10,674 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:10,675 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:10,675 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:10,675 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:10,675 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:10,677 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:10,677 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:10,691 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:10,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-10-19 20:26:10,735 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:10,735 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:10,736 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:10,736 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:10,736 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:10,737 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:10,738 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-10-19 20:26:10,740 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:10,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-10-19 20:26:10,779 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:10,779 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:10,780 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:10,780 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:10,780 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:10,781 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:10,781 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:10,783 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:10,819 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:10,821 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:10,821 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:10,821 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:10,821 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:10,821 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:10,822 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:10,823 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:10,824 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:10,881 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false Waiting until toolchain timeout for monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:10,883 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:10,884 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:10,884 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:10,884 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:10,888 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:10,889 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:10,894 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:10,931 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:10,933 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:10,934 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:10,934 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:10,934 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:10,940 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:10,940 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:10,948 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:10,985 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:10,987 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:10,988 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:10,988 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:10,988 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:10,994 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:10,994 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 9 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:11,008 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 10 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:11,046 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:11,048 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:11,048 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:11,048 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:11,049 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:11,049 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:11,050 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:11,050 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-10-19 20:26:11,053 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:11,096 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:11,098 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:11,098 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:11,098 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:11,098 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. Waiting until toolchain timeout for monitored process 11 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:11,102 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:11,102 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:11,108 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 12 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 12 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:11,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-10-19 20:26:11,143 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:11,143 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:11,143 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:11,143 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:11,148 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:11,148 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:11,155 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 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-10-19 20:26:11,191 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:11,193 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:11,193 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:11,193 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:11,193 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:11,193 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:11,194 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:11,194 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:11,199 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 14 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 14 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:11,236 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:11,238 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:11,238 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:11,239 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:11,239 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:11,247 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:11,247 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:11,261 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 20:26:11,286 INFO L443 ModelExtractionUtils]: Simplification made 5 calls to the SMT solver. [2020-10-19 20:26:11,286 INFO L444 ModelExtractionUtils]: 6 out of 22 variables were initially zero. Simplification set additionally 13 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:11,296 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... Waiting until toolchain timeout for monitored process 15 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:11,299 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2020-10-19 20:26:11,299 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 20:26:11,300 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~length1~0, ULTIMATE.start_main_~i~0) = 1*ULTIMATE.start_main_~length1~0 - 1*ULTIMATE.start_main_~i~0 Supporting invariants [] [2020-10-19 20:26:11,357 INFO L297 tatePredicateManager]: 6 out of 6 supporting invariants were superfluous and have been removed [2020-10-19 20:26:11,387 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:11,404 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:26:11,407 INFO L263 TraceCheckSpWp]: Trace formula consists of 38 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-19 20:26:11,409 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:26:11,424 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:26:11,425 INFO L263 TraceCheckSpWp]: Trace formula consists of 10 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-19 20:26:11,426 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:26:11,443 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:26:11,464 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-10-19 20:26:11,466 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 22 states. Second operand 3 states. [2020-10-19 20:26:11,531 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 22 states.. Second operand 3 states. Result 54 states and 79 transitions. Complement of second has 7 states. [2020-10-19 20:26:11,532 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2020-10-19 20:26:11,534 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-19 20:26:11,536 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 53 transitions. [2020-10-19 20:26:11,538 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 53 transitions. Stem has 5 letters. Loop has 2 letters. [2020-10-19 20:26:11,540 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:26:11,540 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 53 transitions. Stem has 7 letters. Loop has 2 letters. [2020-10-19 20:26:11,540 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:26:11,541 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 53 transitions. Stem has 5 letters. Loop has 4 letters. [2020-10-19 20:26:11,541 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:26:11,542 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 54 states and 79 transitions. [2020-10-19 20:26:11,547 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 7 [2020-10-19 20:26:11,553 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 54 states to 18 states and 23 transitions. [2020-10-19 20:26:11,554 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 15 [2020-10-19 20:26:11,555 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 16 [2020-10-19 20:26:11,556 INFO L73 IsDeterministic]: Start isDeterministic. Operand 18 states and 23 transitions. [2020-10-19 20:26:11,557 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:26:11,557 INFO L691 BuchiCegarLoop]: Abstraction has 18 states and 23 transitions. [2020-10-19 20:26:11,576 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 18 states and 23 transitions. [2020-10-19 20:26:11,590 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 18 to 18. [2020-10-19 20:26:11,591 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 18 states. [2020-10-19 20:26:11,592 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 18 states and 23 transitions. [2020-10-19 20:26:11,593 INFO L714 BuchiCegarLoop]: Abstraction has 18 states and 23 transitions. [2020-10-19 20:26:11,593 INFO L594 BuchiCegarLoop]: Abstraction has 18 states and 23 transitions. [2020-10-19 20:26:11,594 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-19 20:26:11,594 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 18 states and 23 transitions. [2020-10-19 20:26:11,595 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 7 [2020-10-19 20:26:11,595 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:26:11,595 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:26:11,596 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:26:11,596 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2020-10-19 20:26:11,596 INFO L794 eck$LassoCheckResult]: Stem: 161#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 157#L-1 havoc main_#res;havoc main_#t~nondet11, main_#t~nondet12, main_#t~malloc13.base, main_#t~malloc13.offset, main_#t~malloc14.base, main_#t~malloc14.offset, main_#t~nondet16, main_#t~post15, main_~i~0, main_#t~nondet18, main_#t~post17, main_~i~1, main_#t~nondet19, main_#t~ret20, main_~length1~0, main_~length2~0, main_~nondetString1~0.base, main_~nondetString1~0.offset, main_~nondetString2~0.base, main_~nondetString2~0.offset;main_~length1~0 := main_#t~nondet11;havoc main_#t~nondet11;main_~length2~0 := main_#t~nondet12;havoc main_#t~nondet12; 158#L529 assume !(main_~length1~0 < 1); 165#L529-2 assume !(main_~length2~0 < 1); 162#L532-1 call main_#t~malloc13.base, main_#t~malloc13.offset := #Ultimate.allocOnStack(main_~length1~0);main_~nondetString1~0.base, main_~nondetString1~0.offset := main_#t~malloc13.base, main_#t~malloc13.offset;call main_#t~malloc14.base, main_#t~malloc14.offset := #Ultimate.allocOnStack(main_~length2~0);main_~nondetString2~0.base, main_~nondetString2~0.offset := main_#t~malloc14.base, main_#t~malloc14.offset;main_~i~0 := 0; 154#L538-3 assume !(main_~i~0 < main_~length1~0 - 1); 155#L538-4 main_~i~1 := 0; 156#L543-3 [2020-10-19 20:26:11,596 INFO L796 eck$LassoCheckResult]: Loop: 156#L543-3 assume !!(main_~i~1 < main_~length2~0 - 1);call write~int(main_#t~nondet18, main_~nondetString2~0.base, main_~nondetString2~0.offset + main_~i~1, 1);havoc main_#t~nondet18; 163#L543-2 main_#t~post17 := main_~i~1;main_~i~1 := 1 + main_#t~post17;havoc main_#t~post17; 156#L543-3 [2020-10-19 20:26:11,597 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:11,597 INFO L82 PathProgramCache]: Analyzing trace with hash 1806935662, now seen corresponding path program 1 times [2020-10-19 20:26:11,597 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:11,598 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [883019591] [2020-10-19 20:26:11,598 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:11,610 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:11,610 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:11,620 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:11,620 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:11,625 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:11,625 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:11,626 INFO L82 PathProgramCache]: Analyzing trace with hash 2147, now seen corresponding path program 1 times [2020-10-19 20:26:11,626 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:11,626 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1485548656] [2020-10-19 20:26:11,627 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:11,633 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:11,633 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:11,638 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:11,638 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:11,641 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:11,641 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:11,642 INFO L82 PathProgramCache]: Analyzing trace with hash 1298384784, now seen corresponding path program 1 times [2020-10-19 20:26:11,642 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:11,642 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [765617842] [2020-10-19 20:26:11,643 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:11,660 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:11,660 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:11,674 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:11,674 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:11,680 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:11,917 WARN L193 SmtUtils]: Spent 193.00 ms on a formula simplification. DAG size of input: 63 DAG size of output: 59 [2020-10-19 20:26:12,055 WARN L193 SmtUtils]: Spent 130.00 ms on a formula simplification that was a NOOP. DAG size: 53 [2020-10-19 20:26:12,057 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:26:12,057 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:26:12,058 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:26:12,058 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:26:12,058 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 20:26:12,058 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:12,058 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:26:12,058 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:26:12,058 INFO L133 ssoRankerPreferences]: Filename of dumped script: openbsd_cstrncmp-alloca-2.i_Iteration2_Lasso [2020-10-19 20:26:12,058 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:26:12,059 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:26:12,063 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,066 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,069 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,075 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,078 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,080 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,084 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,086 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,089 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,092 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,230 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,233 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,236 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,240 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,244 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:12,509 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:26:12,510 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:12,515 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,517 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,517 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:12,517 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,518 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,518 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,519 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:12,519 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 16 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:12,522 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 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-10-19 20:26:12,556 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,557 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,558 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:12,558 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,558 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,558 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,558 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:12,558 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:12,560 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 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-10-19 20:26:12,584 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,586 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,586 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,586 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,586 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,590 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:12,591 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:12,596 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 19 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 19 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:12,634 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,635 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,635 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:12,635 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,635 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,636 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,636 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:12,636 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:12,638 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 20 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:12,664 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,665 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,665 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:12,665 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,665 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,666 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,666 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:12,666 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:12,668 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 21 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:12,699 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,701 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,701 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,701 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,701 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,703 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:12,703 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:12,707 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 22 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:12,737 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,738 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,738 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:12,738 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,738 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,739 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,739 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:12,739 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:12,741 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:12,779 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,782 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,782 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:12,782 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,782 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,782 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,783 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:12,783 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 23 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:12,792 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 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-10-19 20:26:12,819 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,820 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,820 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,820 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,821 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,822 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:12,822 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:12,835 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:12,876 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,877 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,878 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,878 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,878 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,880 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:12,880 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:12,884 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. Waiting until toolchain timeout for monitored process 25 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 26 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:12,921 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,922 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,923 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,923 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,923 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,926 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:12,926 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 26 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:12,934 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:12,969 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:12,970 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:12,971 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:12,971 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:12,971 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:12,974 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:12,974 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 27 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:12,980 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 28 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:13,013 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:13,014 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:13,014 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:13,014 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:13,014 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:13,015 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:13,015 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:13,015 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:13,017 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 29 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:13,039 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:13,041 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:13,042 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:13,042 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:13,042 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:13,044 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:13,045 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:13,048 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 30 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:13,073 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:13,074 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:13,075 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:13,075 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:13,075 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:13,075 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:13,075 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:13,075 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:13,084 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 31 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:13,111 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:13,112 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:13,113 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:13,113 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:13,113 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:13,118 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:13,118 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:13,133 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 20:26:13,169 INFO L443 ModelExtractionUtils]: Simplification made 16 calls to the SMT solver. [2020-10-19 20:26:13,169 INFO L444 ModelExtractionUtils]: 6 out of 22 variables were initially zero. Simplification set additionally 13 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:13,178 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... Waiting until toolchain timeout for monitored process 32 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:13,183 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2020-10-19 20:26:13,184 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 20:26:13,184 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~i~1, ULTIMATE.start_main_~length2~0) = -1*ULTIMATE.start_main_~i~1 + 1*ULTIMATE.start_main_~length2~0 Supporting invariants [] [2020-10-19 20:26:13,231 INFO L297 tatePredicateManager]: 6 out of 6 supporting invariants were superfluous and have been removed [2020-10-19 20:26:13,246 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:13,261 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:26:13,263 INFO L263 TraceCheckSpWp]: Trace formula consists of 41 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-19 20:26:13,263 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:26:13,274 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:26:13,275 INFO L263 TraceCheckSpWp]: Trace formula consists of 10 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-19 20:26:13,276 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:26:13,286 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:26:13,287 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 2 loop predicates [2020-10-19 20:26:13,287 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 18 states and 23 transitions. cyclomatic complexity: 8 Second operand 3 states. [2020-10-19 20:26:13,315 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 18 states and 23 transitions. cyclomatic complexity: 8. Second operand 3 states. Result 27 states and 36 transitions. Complement of second has 6 states. [2020-10-19 20:26:13,317 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2020-10-19 20:26:13,318 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-19 20:26:13,318 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 21 transitions. [2020-10-19 20:26:13,319 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 21 transitions. Stem has 7 letters. Loop has 2 letters. [2020-10-19 20:26:13,319 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:26:13,319 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 21 transitions. Stem has 9 letters. Loop has 2 letters. [2020-10-19 20:26:13,319 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:26:13,319 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 21 transitions. Stem has 7 letters. Loop has 4 letters. [2020-10-19 20:26:13,320 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:26:13,320 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 27 states and 36 transitions. [2020-10-19 20:26:13,324 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 5 [2020-10-19 20:26:13,327 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 27 states to 19 states and 25 transitions. [2020-10-19 20:26:13,329 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 14 [2020-10-19 20:26:13,329 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 15 [2020-10-19 20:26:13,331 INFO L73 IsDeterministic]: Start isDeterministic. Operand 19 states and 25 transitions. [2020-10-19 20:26:13,331 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:26:13,331 INFO L691 BuchiCegarLoop]: Abstraction has 19 states and 25 transitions. [2020-10-19 20:26:13,331 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 19 states and 25 transitions. [2020-10-19 20:26:13,333 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 19 to 19. [2020-10-19 20:26:13,334 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 19 states. [2020-10-19 20:26:13,335 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 25 transitions. [2020-10-19 20:26:13,336 INFO L714 BuchiCegarLoop]: Abstraction has 19 states and 25 transitions. [2020-10-19 20:26:13,336 INFO L594 BuchiCegarLoop]: Abstraction has 19 states and 25 transitions. [2020-10-19 20:26:13,336 INFO L427 BuchiCegarLoop]: ======== Iteration 3============ [2020-10-19 20:26:13,337 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 19 states and 25 transitions. [2020-10-19 20:26:13,338 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 5 [2020-10-19 20:26:13,339 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:26:13,339 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:26:13,340 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:26:13,340 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1] [2020-10-19 20:26:13,341 INFO L794 eck$LassoCheckResult]: Stem: 280#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 276#L-1 havoc main_#res;havoc main_#t~nondet11, main_#t~nondet12, main_#t~malloc13.base, main_#t~malloc13.offset, main_#t~malloc14.base, main_#t~malloc14.offset, main_#t~nondet16, main_#t~post15, main_~i~0, main_#t~nondet18, main_#t~post17, main_~i~1, main_#t~nondet19, main_#t~ret20, main_~length1~0, main_~length2~0, main_~nondetString1~0.base, main_~nondetString1~0.offset, main_~nondetString2~0.base, main_~nondetString2~0.offset;main_~length1~0 := main_#t~nondet11;havoc main_#t~nondet11;main_~length2~0 := main_#t~nondet12;havoc main_#t~nondet12; 277#L529 assume !(main_~length1~0 < 1); 285#L529-2 assume !(main_~length2~0 < 1); 281#L532-1 call main_#t~malloc13.base, main_#t~malloc13.offset := #Ultimate.allocOnStack(main_~length1~0);main_~nondetString1~0.base, main_~nondetString1~0.offset := main_#t~malloc13.base, main_#t~malloc13.offset;call main_#t~malloc14.base, main_#t~malloc14.offset := #Ultimate.allocOnStack(main_~length2~0);main_~nondetString2~0.base, main_~nondetString2~0.offset := main_#t~malloc14.base, main_#t~malloc14.offset;main_~i~0 := 0; 273#L538-3 assume !(main_~i~0 < main_~length1~0 - 1); 274#L538-4 main_~i~1 := 0; 275#L543-3 assume !(main_~i~1 < main_~length2~0 - 1); 284#L543-4 call write~int(0, main_~nondetString1~0.base, main_~nondetString1~0.offset + (main_~length1~0 - 1), 1);call write~int(0, main_~nondetString2~0.base, main_~nondetString2~0.offset + (main_~length2~0 - 1), 1);cstrncmp_#in~s1.base, cstrncmp_#in~s1.offset, cstrncmp_#in~s2.base, cstrncmp_#in~s2.offset, cstrncmp_#in~n := main_~nondetString1~0.base, main_~nondetString1~0.offset, main_~nondetString2~0.base, main_~nondetString2~0.offset, main_#t~nondet19;havoc cstrncmp_#res;havoc cstrncmp_#t~mem4, cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset, cstrncmp_#t~mem5, cstrncmp_#t~mem7, cstrncmp_#t~pre6.base, cstrncmp_#t~pre6.offset, cstrncmp_#t~mem8, cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset, cstrncmp_#t~mem10, cstrncmp_#t~pre2, cstrncmp_~s1.base, cstrncmp_~s1.offset, cstrncmp_~s2.base, cstrncmp_~s2.offset, cstrncmp_~n;cstrncmp_~s1.base, cstrncmp_~s1.offset := cstrncmp_#in~s1.base, cstrncmp_#in~s1.offset;cstrncmp_~s2.base, cstrncmp_~s2.offset := cstrncmp_#in~s2.base, cstrncmp_#in~s2.offset;cstrncmp_~n := cstrncmp_#in~n; 269#L516 assume !(0 == cstrncmp_~n % 4294967296); 268#L518-4 [2020-10-19 20:26:13,341 INFO L796 eck$LassoCheckResult]: Loop: 268#L518-4 call cstrncmp_#t~mem4 := read~int(cstrncmp_~s1.base, cstrncmp_~s1.offset, 1);cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset := cstrncmp_~s2.base, cstrncmp_~s2.offset;cstrncmp_~s2.base, cstrncmp_~s2.offset := cstrncmp_#t~post3.base, 1 + cstrncmp_#t~post3.offset;call cstrncmp_#t~mem5 := read~int(cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset, 1); 272#L519 assume !(cstrncmp_#t~mem4 != cstrncmp_#t~mem5);havoc cstrncmp_#t~mem4;havoc cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset;havoc cstrncmp_#t~mem5;cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset := cstrncmp_~s1.base, cstrncmp_~s1.offset;cstrncmp_~s1.base, cstrncmp_~s1.offset := cstrncmp_#t~post9.base, 1 + cstrncmp_#t~post9.offset;call cstrncmp_#t~mem10 := read~int(cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset, 1); 278#L521 assume !(0 == cstrncmp_#t~mem10);havoc cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset;havoc cstrncmp_#t~mem10; 279#L518-1 cstrncmp_#t~pre2 := cstrncmp_~n - 1;cstrncmp_~n := cstrncmp_~n - 1; 267#L518-2 assume !!(0 != cstrncmp_#t~pre2 % 4294967296);havoc cstrncmp_#t~pre2; 268#L518-4 [2020-10-19 20:26:13,342 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:13,342 INFO L82 PathProgramCache]: Analyzing trace with hash 1595220890, now seen corresponding path program 1 times [2020-10-19 20:26:13,342 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:13,345 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [85363762] [2020-10-19 20:26:13,346 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:13,393 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:13,395 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:13,429 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:13,430 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:13,437 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:13,437 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:13,438 INFO L82 PathProgramCache]: Analyzing trace with hash 78411965, now seen corresponding path program 1 times [2020-10-19 20:26:13,438 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:13,438 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1211745576] [2020-10-19 20:26:13,439 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:13,455 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:13,456 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:13,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:13,467 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:13,471 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:13,471 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:13,472 INFO L82 PathProgramCache]: Analyzing trace with hash -1989497660, now seen corresponding path program 1 times [2020-10-19 20:26:13,472 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:13,472 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1102077972] [2020-10-19 20:26:13,472 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:13,505 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:26:13,702 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:26:13,702 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1102077972] [2020-10-19 20:26:13,703 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:26:13,704 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-10-19 20:26:13,704 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2106024762] [2020-10-19 20:26:13,856 WARN L193 SmtUtils]: Spent 146.00 ms on a formula simplification. DAG size of input: 70 DAG size of output: 65 [2020-10-19 20:26:13,904 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:26:13,906 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-10-19 20:26:13,907 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=28, Unknown=0, NotChecked=0, Total=42 [2020-10-19 20:26:13,909 INFO L87 Difference]: Start difference. First operand 19 states and 25 transitions. cyclomatic complexity: 9 Second operand 7 states. [2020-10-19 20:26:14,001 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:26:14,001 INFO L93 Difference]: Finished difference Result 29 states and 36 transitions. [2020-10-19 20:26:14,001 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2020-10-19 20:26:14,002 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 29 states and 36 transitions. [2020-10-19 20:26:14,003 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 5 [2020-10-19 20:26:14,004 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 29 states to 20 states and 25 transitions. [2020-10-19 20:26:14,004 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 15 [2020-10-19 20:26:14,004 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 15 [2020-10-19 20:26:14,004 INFO L73 IsDeterministic]: Start isDeterministic. Operand 20 states and 25 transitions. [2020-10-19 20:26:14,005 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:26:14,005 INFO L691 BuchiCegarLoop]: Abstraction has 20 states and 25 transitions. [2020-10-19 20:26:14,005 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 20 states and 25 transitions. [2020-10-19 20:26:14,007 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 20 to 19. [2020-10-19 20:26:14,007 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 19 states. [2020-10-19 20:26:14,008 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 24 transitions. [2020-10-19 20:26:14,008 INFO L714 BuchiCegarLoop]: Abstraction has 19 states and 24 transitions. [2020-10-19 20:26:14,008 INFO L594 BuchiCegarLoop]: Abstraction has 19 states and 24 transitions. [2020-10-19 20:26:14,008 INFO L427 BuchiCegarLoop]: ======== Iteration 4============ [2020-10-19 20:26:14,008 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 19 states and 24 transitions. [2020-10-19 20:26:14,009 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 5 [2020-10-19 20:26:14,009 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:26:14,010 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:26:14,010 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:26:14,010 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1] [2020-10-19 20:26:14,011 INFO L794 eck$LassoCheckResult]: Stem: 344#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 340#L-1 havoc main_#res;havoc main_#t~nondet11, main_#t~nondet12, main_#t~malloc13.base, main_#t~malloc13.offset, main_#t~malloc14.base, main_#t~malloc14.offset, main_#t~nondet16, main_#t~post15, main_~i~0, main_#t~nondet18, main_#t~post17, main_~i~1, main_#t~nondet19, main_#t~ret20, main_~length1~0, main_~length2~0, main_~nondetString1~0.base, main_~nondetString1~0.offset, main_~nondetString2~0.base, main_~nondetString2~0.offset;main_~length1~0 := main_#t~nondet11;havoc main_#t~nondet11;main_~length2~0 := main_#t~nondet12;havoc main_#t~nondet12; 341#L529 assume !(main_~length1~0 < 1); 349#L529-2 assume !(main_~length2~0 < 1); 345#L532-1 call main_#t~malloc13.base, main_#t~malloc13.offset := #Ultimate.allocOnStack(main_~length1~0);main_~nondetString1~0.base, main_~nondetString1~0.offset := main_#t~malloc13.base, main_#t~malloc13.offset;call main_#t~malloc14.base, main_#t~malloc14.offset := #Ultimate.allocOnStack(main_~length2~0);main_~nondetString2~0.base, main_~nondetString2~0.offset := main_#t~malloc14.base, main_#t~malloc14.offset;main_~i~0 := 0; 337#L538-3 assume !!(main_~i~0 < main_~length1~0 - 1);call write~int(main_#t~nondet16, main_~nondetString1~0.base, main_~nondetString1~0.offset + main_~i~0, 1);havoc main_#t~nondet16; 334#L538-2 main_#t~post15 := main_~i~0;main_~i~0 := 1 + main_#t~post15;havoc main_#t~post15; 335#L538-3 assume !(main_~i~0 < main_~length1~0 - 1); 338#L538-4 main_~i~1 := 0; 339#L543-3 assume !(main_~i~1 < main_~length2~0 - 1); 348#L543-4 call write~int(0, main_~nondetString1~0.base, main_~nondetString1~0.offset + (main_~length1~0 - 1), 1);call write~int(0, main_~nondetString2~0.base, main_~nondetString2~0.offset + (main_~length2~0 - 1), 1);cstrncmp_#in~s1.base, cstrncmp_#in~s1.offset, cstrncmp_#in~s2.base, cstrncmp_#in~s2.offset, cstrncmp_#in~n := main_~nondetString1~0.base, main_~nondetString1~0.offset, main_~nondetString2~0.base, main_~nondetString2~0.offset, main_#t~nondet19;havoc cstrncmp_#res;havoc cstrncmp_#t~mem4, cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset, cstrncmp_#t~mem5, cstrncmp_#t~mem7, cstrncmp_#t~pre6.base, cstrncmp_#t~pre6.offset, cstrncmp_#t~mem8, cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset, cstrncmp_#t~mem10, cstrncmp_#t~pre2, cstrncmp_~s1.base, cstrncmp_~s1.offset, cstrncmp_~s2.base, cstrncmp_~s2.offset, cstrncmp_~n;cstrncmp_~s1.base, cstrncmp_~s1.offset := cstrncmp_#in~s1.base, cstrncmp_#in~s1.offset;cstrncmp_~s2.base, cstrncmp_~s2.offset := cstrncmp_#in~s2.base, cstrncmp_#in~s2.offset;cstrncmp_~n := cstrncmp_#in~n; 331#L516 assume !(0 == cstrncmp_~n % 4294967296); 332#L518-4 [2020-10-19 20:26:14,011 INFO L796 eck$LassoCheckResult]: Loop: 332#L518-4 call cstrncmp_#t~mem4 := read~int(cstrncmp_~s1.base, cstrncmp_~s1.offset, 1);cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset := cstrncmp_~s2.base, cstrncmp_~s2.offset;cstrncmp_~s2.base, cstrncmp_~s2.offset := cstrncmp_#t~post3.base, 1 + cstrncmp_#t~post3.offset;call cstrncmp_#t~mem5 := read~int(cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset, 1); 336#L519 assume !(cstrncmp_#t~mem4 != cstrncmp_#t~mem5);havoc cstrncmp_#t~mem4;havoc cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset;havoc cstrncmp_#t~mem5;cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset := cstrncmp_~s1.base, cstrncmp_~s1.offset;cstrncmp_~s1.base, cstrncmp_~s1.offset := cstrncmp_#t~post9.base, 1 + cstrncmp_#t~post9.offset;call cstrncmp_#t~mem10 := read~int(cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset, 1); 342#L521 assume !(0 == cstrncmp_#t~mem10);havoc cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset;havoc cstrncmp_#t~mem10; 343#L518-1 cstrncmp_#t~pre2 := cstrncmp_~n - 1;cstrncmp_~n := cstrncmp_~n - 1; 333#L518-2 assume !!(0 != cstrncmp_#t~pre2 % 4294967296);havoc cstrncmp_#t~pre2; 332#L518-4 [2020-10-19 20:26:14,011 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:14,011 INFO L82 PathProgramCache]: Analyzing trace with hash 1351083896, now seen corresponding path program 1 times [2020-10-19 20:26:14,012 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:14,012 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [22884053] [2020-10-19 20:26:14,012 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:14,026 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:14,027 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:14,039 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:14,040 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:14,045 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:14,046 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:14,046 INFO L82 PathProgramCache]: Analyzing trace with hash 78411965, now seen corresponding path program 2 times [2020-10-19 20:26:14,047 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:14,047 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1611372944] [2020-10-19 20:26:14,047 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:14,055 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:14,056 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:14,064 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:14,064 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:14,067 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:14,067 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:14,068 INFO L82 PathProgramCache]: Analyzing trace with hash -351427674, now seen corresponding path program 1 times [2020-10-19 20:26:14,068 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:14,068 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [515241297] [2020-10-19 20:26:14,068 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:14,117 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:26:14,329 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-10-19 20:26:14,330 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [515241297] [2020-10-19 20:26:14,330 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 20:26:14,330 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [9] imperfect sequences [] total 9 [2020-10-19 20:26:14,330 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [777360613] [2020-10-19 20:26:14,447 WARN L193 SmtUtils]: Spent 115.00 ms on a formula simplification. DAG size of input: 70 DAG size of output: 65 [2020-10-19 20:26:14,495 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 20:26:14,495 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2020-10-19 20:26:14,495 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=21, Invalid=51, Unknown=0, NotChecked=0, Total=72 [2020-10-19 20:26:14,496 INFO L87 Difference]: Start difference. First operand 19 states and 24 transitions. cyclomatic complexity: 8 Second operand 9 states. [2020-10-19 20:26:14,631 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 20:26:14,631 INFO L93 Difference]: Finished difference Result 25 states and 29 transitions. [2020-10-19 20:26:14,632 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2020-10-19 20:26:14,632 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 25 states and 29 transitions. [2020-10-19 20:26:14,633 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 5 [2020-10-19 20:26:14,634 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 25 states to 20 states and 24 transitions. [2020-10-19 20:26:14,635 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 15 [2020-10-19 20:26:14,635 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 15 [2020-10-19 20:26:14,635 INFO L73 IsDeterministic]: Start isDeterministic. Operand 20 states and 24 transitions. [2020-10-19 20:26:14,636 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:26:14,636 INFO L691 BuchiCegarLoop]: Abstraction has 20 states and 24 transitions. [2020-10-19 20:26:14,636 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 20 states and 24 transitions. [2020-10-19 20:26:14,639 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 20 to 19. [2020-10-19 20:26:14,640 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 19 states. [2020-10-19 20:26:14,640 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 23 transitions. [2020-10-19 20:26:14,640 INFO L714 BuchiCegarLoop]: Abstraction has 19 states and 23 transitions. [2020-10-19 20:26:14,641 INFO L594 BuchiCegarLoop]: Abstraction has 19 states and 23 transitions. [2020-10-19 20:26:14,641 INFO L427 BuchiCegarLoop]: ======== Iteration 5============ [2020-10-19 20:26:14,641 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 19 states and 23 transitions. [2020-10-19 20:26:14,642 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 5 [2020-10-19 20:26:14,643 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 20:26:14,643 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 20:26:14,644 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 20:26:14,645 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1] [2020-10-19 20:26:14,645 INFO L794 eck$LassoCheckResult]: Stem: 408#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 404#L-1 havoc main_#res;havoc main_#t~nondet11, main_#t~nondet12, main_#t~malloc13.base, main_#t~malloc13.offset, main_#t~malloc14.base, main_#t~malloc14.offset, main_#t~nondet16, main_#t~post15, main_~i~0, main_#t~nondet18, main_#t~post17, main_~i~1, main_#t~nondet19, main_#t~ret20, main_~length1~0, main_~length2~0, main_~nondetString1~0.base, main_~nondetString1~0.offset, main_~nondetString2~0.base, main_~nondetString2~0.offset;main_~length1~0 := main_#t~nondet11;havoc main_#t~nondet11;main_~length2~0 := main_#t~nondet12;havoc main_#t~nondet12; 405#L529 assume !(main_~length1~0 < 1); 413#L529-2 assume !(main_~length2~0 < 1); 409#L532-1 call main_#t~malloc13.base, main_#t~malloc13.offset := #Ultimate.allocOnStack(main_~length1~0);main_~nondetString1~0.base, main_~nondetString1~0.offset := main_#t~malloc13.base, main_#t~malloc13.offset;call main_#t~malloc14.base, main_#t~malloc14.offset := #Ultimate.allocOnStack(main_~length2~0);main_~nondetString2~0.base, main_~nondetString2~0.offset := main_#t~malloc14.base, main_#t~malloc14.offset;main_~i~0 := 0; 401#L538-3 assume !!(main_~i~0 < main_~length1~0 - 1);call write~int(main_#t~nondet16, main_~nondetString1~0.base, main_~nondetString1~0.offset + main_~i~0, 1);havoc main_#t~nondet16; 398#L538-2 main_#t~post15 := main_~i~0;main_~i~0 := 1 + main_#t~post15;havoc main_#t~post15; 399#L538-3 assume !(main_~i~0 < main_~length1~0 - 1); 402#L538-4 main_~i~1 := 0; 403#L543-3 assume !!(main_~i~1 < main_~length2~0 - 1);call write~int(main_#t~nondet18, main_~nondetString2~0.base, main_~nondetString2~0.offset + main_~i~1, 1);havoc main_#t~nondet18; 410#L543-2 main_#t~post17 := main_~i~1;main_~i~1 := 1 + main_#t~post17;havoc main_#t~post17; 411#L543-3 assume !(main_~i~1 < main_~length2~0 - 1); 412#L543-4 call write~int(0, main_~nondetString1~0.base, main_~nondetString1~0.offset + (main_~length1~0 - 1), 1);call write~int(0, main_~nondetString2~0.base, main_~nondetString2~0.offset + (main_~length2~0 - 1), 1);cstrncmp_#in~s1.base, cstrncmp_#in~s1.offset, cstrncmp_#in~s2.base, cstrncmp_#in~s2.offset, cstrncmp_#in~n := main_~nondetString1~0.base, main_~nondetString1~0.offset, main_~nondetString2~0.base, main_~nondetString2~0.offset, main_#t~nondet19;havoc cstrncmp_#res;havoc cstrncmp_#t~mem4, cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset, cstrncmp_#t~mem5, cstrncmp_#t~mem7, cstrncmp_#t~pre6.base, cstrncmp_#t~pre6.offset, cstrncmp_#t~mem8, cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset, cstrncmp_#t~mem10, cstrncmp_#t~pre2, cstrncmp_~s1.base, cstrncmp_~s1.offset, cstrncmp_~s2.base, cstrncmp_~s2.offset, cstrncmp_~n;cstrncmp_~s1.base, cstrncmp_~s1.offset := cstrncmp_#in~s1.base, cstrncmp_#in~s1.offset;cstrncmp_~s2.base, cstrncmp_~s2.offset := cstrncmp_#in~s2.base, cstrncmp_#in~s2.offset;cstrncmp_~n := cstrncmp_#in~n; 395#L516 assume !(0 == cstrncmp_~n % 4294967296); 396#L518-4 [2020-10-19 20:26:14,645 INFO L796 eck$LassoCheckResult]: Loop: 396#L518-4 call cstrncmp_#t~mem4 := read~int(cstrncmp_~s1.base, cstrncmp_~s1.offset, 1);cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset := cstrncmp_~s2.base, cstrncmp_~s2.offset;cstrncmp_~s2.base, cstrncmp_~s2.offset := cstrncmp_#t~post3.base, 1 + cstrncmp_#t~post3.offset;call cstrncmp_#t~mem5 := read~int(cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset, 1); 400#L519 assume !(cstrncmp_#t~mem4 != cstrncmp_#t~mem5);havoc cstrncmp_#t~mem4;havoc cstrncmp_#t~post3.base, cstrncmp_#t~post3.offset;havoc cstrncmp_#t~mem5;cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset := cstrncmp_~s1.base, cstrncmp_~s1.offset;cstrncmp_~s1.base, cstrncmp_~s1.offset := cstrncmp_#t~post9.base, 1 + cstrncmp_#t~post9.offset;call cstrncmp_#t~mem10 := read~int(cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset, 1); 406#L521 assume !(0 == cstrncmp_#t~mem10);havoc cstrncmp_#t~post9.base, cstrncmp_#t~post9.offset;havoc cstrncmp_#t~mem10; 407#L518-1 cstrncmp_#t~pre2 := cstrncmp_~n - 1;cstrncmp_~n := cstrncmp_~n - 1; 397#L518-2 assume !!(0 != cstrncmp_#t~pre2 % 4294967296);havoc cstrncmp_#t~pre2; 396#L518-4 [2020-10-19 20:26:14,645 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:14,646 INFO L82 PathProgramCache]: Analyzing trace with hash 1313217430, now seen corresponding path program 1 times [2020-10-19 20:26:14,646 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:14,646 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [25808239] [2020-10-19 20:26:14,647 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:14,679 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:14,682 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:14,709 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:14,710 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:14,720 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:14,721 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:14,722 INFO L82 PathProgramCache]: Analyzing trace with hash 78411965, now seen corresponding path program 3 times [2020-10-19 20:26:14,722 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:14,723 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [788945982] [2020-10-19 20:26:14,723 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:14,737 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:14,740 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:14,750 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:14,750 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:14,755 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:14,756 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:14,756 INFO L82 PathProgramCache]: Analyzing trace with hash -1019129272, now seen corresponding path program 1 times [2020-10-19 20:26:14,757 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 20:26:14,757 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1395731268] [2020-10-19 20:26:14,757 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 20:26:14,802 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:14,802 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:14,823 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 20:26:14,823 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 20:26:14,830 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 20:26:14,958 WARN L193 SmtUtils]: Spent 126.00 ms on a formula simplification. DAG size of input: 70 DAG size of output: 65 [2020-10-19 20:26:15,772 WARN L193 SmtUtils]: Spent 772.00 ms on a formula simplification. DAG size of input: 143 DAG size of output: 120 [2020-10-19 20:26:16,022 WARN L193 SmtUtils]: Spent 225.00 ms on a formula simplification that was a NOOP. DAG size: 105 [2020-10-19 20:26:16,026 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 20:26:16,026 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 20:26:16,026 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 20:26:16,026 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 20:26:16,026 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 20:26:16,026 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:16,026 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 20:26:16,027 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 20:26:16,027 INFO L133 ssoRankerPreferences]: Filename of dumped script: openbsd_cstrncmp-alloca-2.i_Iteration5_Lasso [2020-10-19 20:26:16,027 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 20:26:16,027 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 20:26:16,032 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,042 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,568 WARN L193 SmtUtils]: Spent 274.00 ms on a formula simplification. DAG size of input: 108 DAG size of output: 88 [2020-10-19 20:26:16,757 WARN L193 SmtUtils]: Spent 160.00 ms on a formula simplification. DAG size of input: 76 DAG size of output: 69 [2020-10-19 20:26:16,758 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,761 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,762 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,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-10-19 20:26:16,779 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,781 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,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-10-19 20:26:16,788 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,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-10-19 20:26:16,792 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,795 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,797 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,798 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,802 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,804 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,806 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,809 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,811 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,826 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,829 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,831 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,833 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,836 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,838 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,846 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:16,849 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 20:26:17,174 WARN L193 SmtUtils]: Spent 208.00 ms on a formula simplification. DAG size of input: 58 DAG size of output: 55 [2020-10-19 20:26:17,793 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 20:26:17,794 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 33 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:17,799 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:17,800 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:17,800 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 20:26:17,800 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:17,800 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:17,801 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:17,801 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 20:26:17,801 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 20:26:17,802 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 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-10-19 20:26:17,828 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:17,830 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:17,830 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:17,831 INFO L204 nArgumentSynthesizer]: 2 loop disjuncts [2020-10-19 20:26:17,831 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:17,841 INFO L401 nArgumentSynthesizer]: We have 16 Motzkin's Theorem applications. [2020-10-19 20:26:17,841 INFO L402 nArgumentSynthesizer]: A total of 4 supporting invariants were added. [2020-10-19 20:26:17,858 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 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-10-19 20:26:17,878 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:17,880 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:17,880 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:17,880 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:17,880 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:17,883 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:17,883 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:17,890 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 36 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 36 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:17,925 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:17,929 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:17,929 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:17,929 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:17,929 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:17,937 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:17,937 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:17,949 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 37 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 37 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:17,972 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:17,973 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:17,973 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:17,974 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:17,974 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:17,977 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:17,977 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 20:26:17,985 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 38 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 20:26:18,019 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 20:26:18,021 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 20:26:18,021 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 20:26:18,022 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 20:26:18,022 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 20:26:18,036 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 20:26:18,036 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 38 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:18,063 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 20:26:18,162 INFO L443 ModelExtractionUtils]: Simplification made 30 calls to the SMT solver. [2020-10-19 20:26:18,163 INFO L444 ModelExtractionUtils]: 16 out of 55 variables were initially zero. Simplification set additionally 36 variables to zero. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 39 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 39 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 20:26:18,165 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2020-10-19 20:26:18,167 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2020-10-19 20:26:18,168 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 20:26:18,168 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(v_rep(select #length ULTIMATE.start_main_#t~malloc14.base)_3, ULTIMATE.start_cstrncmp_~s2.offset) = 1*v_rep(select #length ULTIMATE.start_main_#t~malloc14.base)_3 - 1*ULTIMATE.start_cstrncmp_~s2.offset Supporting invariants [] [2020-10-19 20:26:18,303 INFO L297 tatePredicateManager]: 23 out of 24 supporting invariants were superfluous and have been removed [2020-10-19 20:26:18,307 WARN L1295 BoogieBacktranslator]: unknown boogie variable #length [2020-10-19 20:26:18,340 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 20:26:18,363 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:26:18,364 INFO L263 TraceCheckSpWp]: Trace formula consists of 88 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-19 20:26:18,365 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:26:18,399 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 20:26:18,400 INFO L263 TraceCheckSpWp]: Trace formula consists of 46 conjuncts, 11 conjunts are in the unsatisfiable core [2020-10-19 20:26:18,400 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 20:26:18,437 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 20:26:18,438 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.3 stem predicates 2 loop predicates [2020-10-19 20:26:18,438 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 19 states and 23 transitions. cyclomatic complexity: 7 Second operand 5 states. [2020-10-19 20:26:18,506 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 19 states and 23 transitions. cyclomatic complexity: 7. Second operand 5 states. Result 24 states and 28 transitions. Complement of second has 6 states. [2020-10-19 20:26:18,508 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 3 stem states 1 non-accepting loop states 1 accepting loop states [2020-10-19 20:26:18,508 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-10-19 20:26:18,509 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 22 transitions. [2020-10-19 20:26:18,509 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 22 transitions. Stem has 14 letters. Loop has 5 letters. [2020-10-19 20:26:18,509 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:26:18,510 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 22 transitions. Stem has 19 letters. Loop has 5 letters. [2020-10-19 20:26:18,510 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:26:18,510 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 22 transitions. Stem has 14 letters. Loop has 10 letters. [2020-10-19 20:26:18,511 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 20:26:18,511 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 24 states and 28 transitions. [2020-10-19 20:26:18,512 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2020-10-19 20:26:18,512 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 24 states to 0 states and 0 transitions. [2020-10-19 20:26:18,513 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2020-10-19 20:26:18,513 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2020-10-19 20:26:18,513 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2020-10-19 20:26:18,513 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 20:26:18,513 INFO L691 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-10-19 20:26:18,514 INFO L714 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-10-19 20:26:18,514 INFO L594 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-10-19 20:26:18,514 INFO L427 BuchiCegarLoop]: ======== Iteration 6============ [2020-10-19 20:26:18,514 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2020-10-19 20:26:18,514 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2020-10-19 20:26:18,515 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2020-10-19 20:26:18,520 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 19.10 08:26:18 BoogieIcfgContainer [2020-10-19 20:26:18,521 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-19 20:26:18,521 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-19 20:26:18,521 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-19 20:26:18,521 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-19 20:26:18,522 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 08:26:09" (3/4) ... [2020-10-19 20:26:18,525 INFO L140 WitnessPrinter]: No result that supports witness generation found [2020-10-19 20:26:18,525 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-19 20:26:18,527 INFO L168 Benchmark]: Toolchain (without parser) took 10508.64 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 314.6 MB). Free memory was 950.6 MB in the beginning and 825.9 MB in the end (delta: 124.6 MB). Peak memory consumption was 439.2 MB. Max. memory is 11.5 GB. [2020-10-19 20:26:18,527 INFO L168 Benchmark]: CDTParser took 0.35 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:26:18,528 INFO L168 Benchmark]: CACSL2BoogieTranslator took 699.11 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 126.9 MB). Free memory was 945.2 MB in the beginning and 1.1 GB in the end (delta: -161.8 MB). Peak memory consumption was 20.9 MB. Max. memory is 11.5 GB. [2020-10-19 20:26:18,529 INFO L168 Benchmark]: Boogie Procedure Inliner took 52.29 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. [2020-10-19 20:26:18,529 INFO L168 Benchmark]: Boogie Preprocessor took 30.63 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:26:18,530 INFO L168 Benchmark]: RCFGBuilder took 425.61 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 24.9 MB). Peak memory consumption was 24.9 MB. Max. memory is 11.5 GB. [2020-10-19 20:26:18,531 INFO L168 Benchmark]: BuchiAutomizer took 9285.46 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 187.7 MB). Free memory was 1.1 GB in the beginning and 825.9 MB in the end (delta: 249.4 MB). Peak memory consumption was 437.0 MB. Max. memory is 11.5 GB. [2020-10-19 20:26:18,531 INFO L168 Benchmark]: Witness Printer took 4.27 ms. Allocated memory is still 1.3 GB. Free memory is still 825.9 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 20:26:18,535 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.35 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 699.11 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 126.9 MB). Free memory was 945.2 MB in the beginning and 1.1 GB in the end (delta: -161.8 MB). Peak memory consumption was 20.9 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 52.29 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 30.63 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 425.61 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 24.9 MB). Peak memory consumption was 24.9 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 9285.46 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 187.7 MB). Free memory was 1.1 GB in the beginning and 825.9 MB in the end (delta: 249.4 MB). Peak memory consumption was 437.0 MB. Max. memory is 11.5 GB. * Witness Printer took 4.27 ms. Allocated memory is still 1.3 GB. Free memory is still 825.9 MB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation unknown boogie variable #length * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 5 terminating modules (2 trivial, 3 deterministic, 0 nondeterministic). One deterministic module has affine ranking function length1 + -1 * i and consists of 5 locations. One deterministic module has affine ranking function -1 * i + length2 and consists of 4 locations. One deterministic module has affine ranking function unknown-#length-unknown[__builtin_alloca (length2 * sizeof(char))] + -1 * s2 and consists of 5 locations. 2 modules have a trivial ranking function, the largest among these consists of 9 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 9.2s and 6 iterations. TraceHistogramMax:1. Analysis of lassos took 8.3s. Construction of modules took 0.1s. Büchi inclusion checks took 0.5s. Highest rank in rank-based complementation 3. Minimization of det autom 5. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 4 MinimizatonAttempts, 2 StatesRemovedByMinimization, 2 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 19 states and ocurred in iteration 2. Nontrivial modules had stage [3, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 85 SDtfs, 143 SDslu, 154 SDs, 0 SdLazy, 105 SolverSat, 24 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time LassoAnalysisResults: nont0 unkn0 SFLI0 SFLT0 conc2 concLT0 SILN0 SILU0 SILI0 SILT0 lasso3 LassoPreprocessingBenchmarks: Lassos: inital214 mio100 ax110 hnf98 lsp82 ukn73 mio100 lsp51 div100 bol100 ite100 ukn100 eq176 hnf89 smp98 dnf100 smp100 tf100 neg100 sie102 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 34ms VariablesStem: 6 VariablesLoop: 2 DisjunctsStem: 1 DisjunctsLoop: 2 SupportingInvariants: 4 MotzkinApplications: 16 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Termination proven Buchi Automizer proved that your program is terminating RESULT: Ultimate proved your program to be correct! Received shutdown request...