./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/termination-libowfat/strchr-1.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version f470102c Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i ../sv-benchmarks/c/termination-libowfat/strchr-1.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 64bit --witnessprinter.graph.data.programhash eae91250bd54f01dff46ae6aab61c3076a74de3d ........................................................................................................................................................................................................................................................................................................................................................................................................................ Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.1.25-f470102 [2019-11-28 20:32:05,513 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-11-28 20:32:05,516 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-11-28 20:32:05,528 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-11-28 20:32:05,529 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-11-28 20:32:05,530 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-11-28 20:32:05,532 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-11-28 20:32:05,534 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-11-28 20:32:05,536 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-11-28 20:32:05,538 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-11-28 20:32:05,539 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2019-11-28 20:32:05,540 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-11-28 20:32:05,541 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-11-28 20:32:05,542 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-11-28 20:32:05,543 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-11-28 20:32:05,545 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-11-28 20:32:05,546 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-11-28 20:32:05,547 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-11-28 20:32:05,549 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-11-28 20:32:05,551 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-11-28 20:32:05,553 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-11-28 20:32:05,554 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-11-28 20:32:05,556 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-11-28 20:32:05,557 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-11-28 20:32:05,559 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-11-28 20:32:05,560 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-11-28 20:32:05,560 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-11-28 20:32:05,561 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-11-28 20:32:05,562 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-11-28 20:32:05,563 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-11-28 20:32:05,563 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-11-28 20:32:05,564 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-11-28 20:32:05,565 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-11-28 20:32:05,566 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-11-28 20:32:05,568 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-11-28 20:32:05,568 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-11-28 20:32:05,569 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-11-28 20:32:05,569 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-11-28 20:32:05,569 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-11-28 20:32:05,571 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-11-28 20:32:05,572 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-11-28 20:32:05,573 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2019-11-28 20:32:05,590 INFO L113 SettingsManager]: Loading preferences was successful [2019-11-28 20:32:05,590 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-11-28 20:32:05,591 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-11-28 20:32:05,592 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-11-28 20:32:05,592 INFO L138 SettingsManager]: * Use SBE=true [2019-11-28 20:32:05,592 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2019-11-28 20:32:05,593 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2019-11-28 20:32:05,593 INFO L138 SettingsManager]: * Use old map elimination=false [2019-11-28 20:32:05,593 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2019-11-28 20:32:05,594 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2019-11-28 20:32:05,594 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2019-11-28 20:32:05,594 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-11-28 20:32:05,594 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2019-11-28 20:32:05,595 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-11-28 20:32:05,595 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-11-28 20:32:05,595 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2019-11-28 20:32:05,595 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2019-11-28 20:32:05,596 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2019-11-28 20:32:05,596 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2019-11-28 20:32:05,596 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2019-11-28 20:32:05,597 INFO L138 SettingsManager]: * Use constant arrays=true [2019-11-28 20:32:05,597 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2019-11-28 20:32:05,597 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-11-28 20:32:05,598 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-11-28 20:32:05,598 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2019-11-28 20:32:05,598 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-11-28 20:32:05,598 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2019-11-28 20:32:05,599 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2019-11-28 20:32:05,599 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2019-11-28 20:32:05,600 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2019-11-28 20:32:05,600 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 64bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> eae91250bd54f01dff46ae6aab61c3076a74de3d [2019-11-28 20:32:05,925 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-11-28 20:32:05,944 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-11-28 20:32:05,948 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-11-28 20:32:05,949 INFO L271 PluginConnector]: Initializing CDTParser... [2019-11-28 20:32:05,951 INFO L275 PluginConnector]: CDTParser initialized [2019-11-28 20:32:05,951 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-libowfat/strchr-1.i [2019-11-28 20:32:06,017 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/573976871/25171d0baa08420f84f257d7ae7303d3/FLAG585150d4d [2019-11-28 20:32:06,603 INFO L306 CDTParser]: Found 1 translation units. [2019-11-28 20:32:06,605 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-libowfat/strchr-1.i [2019-11-28 20:32:06,628 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/573976871/25171d0baa08420f84f257d7ae7303d3/FLAG585150d4d [2019-11-28 20:32:06,836 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/573976871/25171d0baa08420f84f257d7ae7303d3 [2019-11-28 20:32:06,840 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-11-28 20:32:06,842 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2019-11-28 20:32:06,846 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2019-11-28 20:32:06,847 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2019-11-28 20:32:06,850 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2019-11-28 20:32:06,851 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 08:32:06" (1/1) ... [2019-11-28 20:32:06,855 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@24c09576 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:06, skipping insertion in model container [2019-11-28 20:32:06,855 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 08:32:06" (1/1) ... [2019-11-28 20:32:06,863 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2019-11-28 20:32:06,916 INFO L178 MainTranslator]: Built tables and reachable declarations [2019-11-28 20:32:07,315 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 20:32:07,333 INFO L203 MainTranslator]: Completed pre-run [2019-11-28 20:32:07,420 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 20:32:07,478 INFO L208 MainTranslator]: Completed translation [2019-11-28 20:32:07,479 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07 WrapperNode [2019-11-28 20:32:07,480 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2019-11-28 20:32:07,483 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-11-28 20:32:07,485 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-11-28 20:32:07,486 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-11-28 20:32:07,504 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (1/1) ... [2019-11-28 20:32:07,533 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (1/1) ... [2019-11-28 20:32:07,559 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-11-28 20:32:07,560 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-11-28 20:32:07,560 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-11-28 20:32:07,560 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-11-28 20:32:07,569 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (1/1) ... [2019-11-28 20:32:07,570 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (1/1) ... [2019-11-28 20:32:07,574 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (1/1) ... [2019-11-28 20:32:07,574 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (1/1) ... [2019-11-28 20:32:07,582 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (1/1) ... [2019-11-28 20:32:07,587 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (1/1) ... [2019-11-28 20:32:07,589 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (1/1) ... [2019-11-28 20:32:07,592 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-11-28 20:32:07,593 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-11-28 20:32:07,593 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-11-28 20:32:07,593 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-11-28 20:32:07,594 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:32:07,665 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2019-11-28 20:32:07,665 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2019-11-28 20:32:07,665 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2019-11-28 20:32:07,666 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2019-11-28 20:32:07,666 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-11-28 20:32:07,666 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-11-28 20:32:07,990 INFO L282 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-11-28 20:32:07,991 INFO L287 CfgBuilder]: Removed 7 assume(true) statements. [2019-11-28 20:32:07,992 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:32:07 BoogieIcfgContainer [2019-11-28 20:32:07,992 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-11-28 20:32:07,993 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2019-11-28 20:32:07,993 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2019-11-28 20:32:07,997 INFO L275 PluginConnector]: BuchiAutomizer initialized [2019-11-28 20:32:07,998 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 20:32:07,999 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 28.11 08:32:06" (1/3) ... [2019-11-28 20:32:08,000 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2fcdfbd3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 08:32:08, skipping insertion in model container [2019-11-28 20:32:08,000 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 20:32:08,001 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:32:07" (2/3) ... [2019-11-28 20:32:08,001 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@2fcdfbd3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 28.11 08:32:08, skipping insertion in model container [2019-11-28 20:32:08,001 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-11-28 20:32:08,002 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:32:07" (3/3) ... [2019-11-28 20:32:08,003 INFO L371 chiAutomizerObserver]: Analyzing ICFG strchr-1.i [2019-11-28 20:32:08,050 INFO L356 BuchiCegarLoop]: Interprodecural is true [2019-11-28 20:32:08,051 INFO L357 BuchiCegarLoop]: Hoare is false [2019-11-28 20:32:08,051 INFO L358 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2019-11-28 20:32:08,051 INFO L359 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2019-11-28 20:32:08,052 INFO L360 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-11-28 20:32:08,052 INFO L361 BuchiCegarLoop]: Difference is false [2019-11-28 20:32:08,052 INFO L362 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-11-28 20:32:08,052 INFO L365 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2019-11-28 20:32:08,066 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 17 states. [2019-11-28 20:32:08,088 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 9 [2019-11-28 20:32:08,088 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:32:08,088 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:32:08,094 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 20:32:08,094 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 20:32:08,094 INFO L424 BuchiCegarLoop]: ======== Iteration 1============ [2019-11-28 20:32:08,095 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 17 states. [2019-11-28 20:32:08,096 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 9 [2019-11-28 20:32:08,096 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-11-28 20:32:08,096 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-11-28 20:32:08,097 INFO L849 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1] [2019-11-28 20:32:08,097 INFO L850 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 20:32:08,104 INFO L794 eck$LassoCheckResult]: Stem: 12#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 9#L-1true havoc main_#res;havoc main_#t~nondet14, main_#t~malloc15.base, main_#t~malloc15.offset, main_#t~nondet16, main_#t~ret17.base, main_#t~ret17.offset, main_~in_len~0, main_~in~0.base, main_~in~0.offset, main_~the_int~0;main_~in_len~0 := main_#t~nondet14;havoc main_#t~nondet14; 14#L519true assume !(main_~in_len~0 < 1);call main_#t~malloc15.base, main_#t~malloc15.offset := #Ultimate.allocOnStack(main_~in_len~0);main_~in~0.base, main_~in~0.offset := main_#t~malloc15.base, main_#t~malloc15.offset;call write~int(0, main_~in~0.base, main_~in~0.offset + (main_~in_len~0 - 1), 1);main_~the_int~0 := main_#t~nondet16;havoc main_#t~nondet16;strchr_#in~t.base, strchr_#in~t.offset, strchr_#in~c := main_~in~0.base, main_~in~0.offset, main_~the_int~0;havoc strchr_#res.base, strchr_#res.offset;havoc strchr_#t~mem2, strchr_#t~mem3, strchr_#t~pre4.base, strchr_#t~pre4.offset, strchr_#t~mem5, strchr_#t~mem6, strchr_#t~pre7.base, strchr_#t~pre7.offset, strchr_#t~mem8, strchr_#t~mem9, strchr_#t~pre10.base, strchr_#t~pre10.offset, strchr_#t~mem11, strchr_#t~mem12, strchr_#t~pre13.base, strchr_#t~pre13.offset, strchr_~t.base, strchr_~t.offset, strchr_~c, strchr_~ch~0;strchr_~t.base, strchr_~t.offset := strchr_#in~t.base, strchr_#in~t.offset;strchr_~c := strchr_#in~c;havoc strchr_~ch~0;strchr_~ch~0 := (if strchr_~c % 256 <= 127 then strchr_~c % 256 else strchr_~c % 256 - 256); 17#L509-2true [2019-11-28 20:32:08,104 INFO L796 eck$LassoCheckResult]: Loop: 17#L509-2true assume !false;call strchr_#t~mem2 := read~int(strchr_~t.base, strchr_~t.offset, 1); 10#L510true assume !(strchr_#t~mem2 == strchr_~ch~0);havoc strchr_#t~mem2;call strchr_#t~mem3 := read~int(strchr_~t.base, strchr_~t.offset, 1); 16#L510-2true assume !(0 == strchr_#t~mem3);havoc strchr_#t~mem3;strchr_#t~pre4.base, strchr_#t~pre4.offset := strchr_~t.base, 1 + strchr_~t.offset;strchr_~t.base, strchr_~t.offset := strchr_~t.base, 1 + strchr_~t.offset;havoc strchr_#t~pre4.base, strchr_#t~pre4.offset;call strchr_#t~mem5 := read~int(strchr_~t.base, strchr_~t.offset, 1); 7#L511true assume !(strchr_#t~mem5 == strchr_~ch~0);havoc strchr_#t~mem5;call strchr_#t~mem6 := read~int(strchr_~t.base, strchr_~t.offset, 1); 13#L511-2true assume !(0 == strchr_#t~mem6);havoc strchr_#t~mem6;strchr_#t~pre7.base, strchr_#t~pre7.offset := strchr_~t.base, 1 + strchr_~t.offset;strchr_~t.base, strchr_~t.offset := strchr_~t.base, 1 + strchr_~t.offset;havoc strchr_#t~pre7.base, strchr_#t~pre7.offset;call strchr_#t~mem8 := read~int(strchr_~t.base, strchr_~t.offset, 1); 6#L512true assume !(strchr_#t~mem8 == strchr_~ch~0);havoc strchr_#t~mem8;call strchr_#t~mem9 := read~int(strchr_~t.base, strchr_~t.offset, 1); 11#L512-2true assume !(0 == strchr_#t~mem9);havoc strchr_#t~mem9;strchr_#t~pre10.base, strchr_#t~pre10.offset := strchr_~t.base, 1 + strchr_~t.offset;strchr_~t.base, strchr_~t.offset := strchr_~t.base, 1 + strchr_~t.offset;havoc strchr_#t~pre10.base, strchr_#t~pre10.offset;call strchr_#t~mem11 := read~int(strchr_~t.base, strchr_~t.offset, 1); 4#L513true assume !(strchr_#t~mem11 == strchr_~ch~0);havoc strchr_#t~mem11;call strchr_#t~mem12 := read~int(strchr_~t.base, strchr_~t.offset, 1); 8#L513-2true assume !(0 == strchr_#t~mem12);havoc strchr_#t~mem12;strchr_#t~pre13.base, strchr_#t~pre13.offset := strchr_~t.base, 1 + strchr_~t.offset;strchr_~t.base, strchr_~t.offset := strchr_~t.base, 1 + strchr_~t.offset;havoc strchr_#t~pre13.base, strchr_#t~pre13.offset; 17#L509-2true [2019-11-28 20:32:08,109 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:32:08,110 INFO L82 PathProgramCache]: Analyzing trace with hash 29860, now seen corresponding path program 1 times [2019-11-28 20:32:08,118 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:32:08,118 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [855090947] [2019-11-28 20:32:08,118 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:32:08,226 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:32:08,247 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:32:08,271 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:32:08,272 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:32:08,273 INFO L82 PathProgramCache]: Analyzing trace with hash 563131458, now seen corresponding path program 1 times [2019-11-28 20:32:08,273 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:32:08,273 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1800282210] [2019-11-28 20:32:08,273 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:32:08,298 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:32:08,318 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:32:08,324 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:32:08,326 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:32:08,326 INFO L82 PathProgramCache]: Analyzing trace with hash -208288001, now seen corresponding path program 1 times [2019-11-28 20:32:08,327 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 20:32:08,327 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1665396387] [2019-11-28 20:32:08,327 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 20:32:08,362 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:32:08,419 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 20:32:08,438 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 20:32:08,761 WARN L192 SmtUtils]: Spent 315.00 ms on a formula simplification. DAG size of input: 89 DAG size of output: 74 [2019-11-28 20:32:09,044 WARN L192 SmtUtils]: Spent 190.00 ms on a formula simplification. DAG size of input: 75 DAG size of output: 67 [2019-11-28 20:32:09,260 WARN L192 SmtUtils]: Spent 209.00 ms on a formula simplification that was a NOOP. DAG size: 64 [2019-11-28 20:32:09,278 INFO L210 LassoAnalysis]: Preferences: [2019-11-28 20:32:09,279 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2019-11-28 20:32:09,279 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-11-28 20:32:09,279 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2019-11-28 20:32:09,279 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2019-11-28 20:32:09,280 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:32:09,280 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2019-11-28 20:32:09,280 INFO L132 ssoRankerPreferences]: Path of dumped script: [2019-11-28 20:32:09,280 INFO L133 ssoRankerPreferences]: Filename of dumped script: strchr-1.i_Iteration1_Lasso [2019-11-28 20:32:09,280 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2019-11-28 20:32:09,281 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2019-11-28 20:32:09,330 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:09,338 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:09,340 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:09,872 WARN L192 SmtUtils]: Spent 409.00 ms on a formula simplification. DAG size of input: 56 DAG size of output: 52 [2019-11-28 20:32:10,000 WARN L192 SmtUtils]: Spent 108.00 ms on a formula simplification. DAG size of input: 51 DAG size of output: 49 [2019-11-28 20:32:10,002 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,008 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,011 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,015 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32: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 [2019-11-28 20:32:10,022 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,024 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,027 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32: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 [2019-11-28 20:32:10,032 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,035 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32: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 [2019-11-28 20:32:10,040 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,043 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32: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 [2019-11-28 20:32:10,048 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,051 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,053 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,056 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,059 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,061 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,064 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,066 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-11-28 20:32:10,364 WARN L138 XnfTransformerHelper]: expecting exponential blowup for input size 8 [2019-11-28 20:32:10,676 WARN L192 SmtUtils]: Spent 195.00 ms on a formula simplification. DAG size of input: 32 DAG size of output: 30 [2019-11-28 20:32:22,124 WARN L192 SmtUtils]: Spent 11.45 s on a formula simplification. DAG size of input: 295 DAG size of output: 185 [2019-11-28 20:32:22,226 INFO L292 LassoAnalysis]: Preprocessing complete. [2019-11-28 20:32:22,232 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) Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:32:22,245 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 20:32:22,250 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:32:22,250 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:32:22,251 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:32:22,251 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:32:22,251 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:32:22,256 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:32:22,256 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 20:32:22,267 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 [2019-11-28 20:32:22,293 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 20:32:22,295 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:32:22,295 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-11-28 20:32:22,295 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:32:22,295 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:32:22,295 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:32:22,298 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-11-28 20:32:22,298 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-11-28 20:32:22,305 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-11-28 20:32:22,312 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 20:32:22,313 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:32:22,314 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:32:22,314 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:32:22,314 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:32:22,321 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:32:22,322 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2019-11-28 20:32:22,329 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 [2019-11-28 20:32:22,349 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-11-28 20:32:22,352 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2019-11-28 20:32:22,352 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2019-11-28 20:32:22,352 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2019-11-28 20:32:22,352 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2019-11-28 20:32:22,365 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-11-28 20:32:22,365 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2019-11-28 20:32:22,379 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-11-28 20:32:22,483 INFO L443 ModelExtractionUtils]: Simplification made 12 calls to the SMT solver. [2019-11-28 20:32:22,483 INFO L444 ModelExtractionUtils]: 15 out of 25 variables were initially zero. Simplification set additionally 7 variables to zero. 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 [2019-11-28 20:32:22,528 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-11-28 20:32:22,531 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2019-11-28 20:32:22,531 INFO L510 LassoAnalysis]: Proved termination. [2019-11-28 20:32:22,532 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_strchr_~t.offset, v_rep(select #length ULTIMATE.start_main_#t~malloc15.base)_1) = -1*ULTIMATE.start_strchr_~t.offset + 1*v_rep(select #length ULTIMATE.start_main_#t~malloc15.base)_1 Supporting invariants [] [2019-11-28 20:32:22,566 INFO L297 tatePredicateManager]: 9 out of 10 supporting invariants were superfluous and have been removed [2019-11-28 20:32:22,576 WARN L1295 BoogieBacktranslator]: unknown boogie variable #length [2019-11-28 20:32:22,609 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 20:32:22,628 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:32:22,630 INFO L264 TraceCheckSpWp]: Trace formula consists of 44 conjuncts, 8 conjunts are in the unsatisfiable core [2019-11-28 20:32:22,632 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:32:22,660 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 20:32:22,661 INFO L264 TraceCheckSpWp]: Trace formula consists of 76 conjuncts, 17 conjunts are in the unsatisfiable core [2019-11-28 20:32:22,662 INFO L287 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 20:32:22,727 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 20:32:22,746 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.1 stem predicates 4 loop predicates [2019-11-28 20:32:22,748 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 17 states. Second operand 6 states. [2019-11-28 20:32:22,916 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 17 states.. Second operand 6 states. Result 37 states and 57 transitions. Complement of second has 8 states. [2019-11-28 20:32:22,917 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2019-11-28 20:32:22,919 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2019-11-28 20:32:22,920 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 35 transitions. [2019-11-28 20:32:22,922 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 35 transitions. Stem has 3 letters. Loop has 9 letters. [2019-11-28 20:32:22,923 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:32:22,924 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 35 transitions. Stem has 12 letters. Loop has 9 letters. [2019-11-28 20:32:22,924 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:32:22,924 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 35 transitions. Stem has 3 letters. Loop has 18 letters. [2019-11-28 20:32:22,925 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-11-28 20:32:22,926 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 37 states and 57 transitions. [2019-11-28 20:32:22,930 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2019-11-28 20:32:22,934 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 37 states to 0 states and 0 transitions. [2019-11-28 20:32:22,935 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2019-11-28 20:32:22,935 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2019-11-28 20:32:22,936 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2019-11-28 20:32:22,936 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2019-11-28 20:32:22,937 INFO L688 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2019-11-28 20:32:22,937 INFO L711 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2019-11-28 20:32:22,937 INFO L591 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2019-11-28 20:32:22,937 INFO L424 BuchiCegarLoop]: ======== Iteration 2============ [2019-11-28 20:32:22,937 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2019-11-28 20:32:22,937 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2019-11-28 20:32:22,938 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2019-11-28 20:32:22,945 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 28.11 08:32:22 BoogieIcfgContainer [2019-11-28 20:32:22,946 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2019-11-28 20:32:22,946 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2019-11-28 20:32:22,946 INFO L271 PluginConnector]: Initializing Witness Printer... [2019-11-28 20:32:22,946 INFO L275 PluginConnector]: Witness Printer initialized [2019-11-28 20:32:22,947 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:32:07" (3/4) ... [2019-11-28 20:32:22,951 INFO L140 WitnessPrinter]: No result that supports witness generation found [2019-11-28 20:32:22,951 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2019-11-28 20:32:22,953 INFO L168 Benchmark]: Toolchain (without parser) took 16110.74 ms. Allocated memory was 1.0 GB in the beginning and 1.4 GB in the end (delta: 371.2 MB). Free memory was 963.1 MB in the beginning and 841.4 MB in the end (delta: 121.6 MB). Peak memory consumption was 492.8 MB. Max. memory is 11.5 GB. [2019-11-28 20:32:22,953 INFO L168 Benchmark]: CDTParser took 0.20 ms. Allocated memory is still 1.0 GB. Free memory is still 987.2 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 20:32:22,954 INFO L168 Benchmark]: CACSL2BoogieTranslator took 635.84 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 127.4 MB). Free memory was 957.7 MB in the beginning and 1.1 GB in the end (delta: -150.3 MB). Peak memory consumption was 20.9 MB. Max. memory is 11.5 GB. [2019-11-28 20:32:22,955 INFO L168 Benchmark]: Boogie Procedure Inliner took 76.08 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. [2019-11-28 20:32:22,956 INFO L168 Benchmark]: Boogie Preprocessor took 32.69 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. [2019-11-28 20:32:22,956 INFO L168 Benchmark]: RCFGBuilder took 399.69 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 18.9 MB). Peak memory consumption was 18.9 MB. Max. memory is 11.5 GB. [2019-11-28 20:32:22,957 INFO L168 Benchmark]: BuchiAutomizer took 14952.57 ms. Allocated memory was 1.2 GB in the beginning and 1.4 GB in the end (delta: 243.8 MB). Free memory was 1.1 GB in the beginning and 841.4 MB in the end (delta: 240.9 MB). Peak memory consumption was 484.7 MB. Max. memory is 11.5 GB. [2019-11-28 20:32:22,958 INFO L168 Benchmark]: Witness Printer took 4.82 ms. Allocated memory is still 1.4 GB. Free memory is still 841.4 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 20:32:22,962 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.20 ms. Allocated memory is still 1.0 GB. Free memory is still 987.2 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 635.84 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 127.4 MB). Free memory was 957.7 MB in the beginning and 1.1 GB in the end (delta: -150.3 MB). Peak memory consumption was 20.9 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 76.08 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. * Boogie Preprocessor took 32.69 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. * RCFGBuilder took 399.69 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 18.9 MB). Peak memory consumption was 18.9 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 14952.57 ms. Allocated memory was 1.2 GB in the beginning and 1.4 GB in the end (delta: 243.8 MB). Free memory was 1.1 GB in the beginning and 841.4 MB in the end (delta: 240.9 MB). Peak memory consumption was 484.7 MB. Max. memory is 11.5 GB. * Witness Printer took 4.82 ms. Allocated memory is still 1.4 GB. Free memory is still 841.4 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 1 terminating modules (0 trivial, 1 deterministic, 0 nondeterministic). One deterministic module has affine ranking function -1 * t + unknown-#length-unknown[__builtin_alloca (in_len)] and consists of 5 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 14.9s and 2 iterations. TraceHistogramMax:1. Analysis of lassos took 14.4s. Construction of modules took 0.0s. Büchi inclusion checks took 0.2s. Highest rank in rank-based complementation 3. Minimization of det autom 1. Minimization of nondet autom 0. Automata minimization No data available. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 0 states and ocurred in iteration 1. Nontrivial modules had stage [1, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 14 SDtfs, 19 SDslu, 24 SDs, 0 SdLazy, 35 SolverSat, 10 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time LassoAnalysisResults: nont0 unkn0 SFLI0 SFLT0 conc0 concLT0 SILN0 SILU0 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital288 mio100 ax100 hnf99 lsp78 ukn92 mio100 lsp42 div126 bol100 ite100 ukn100 eq168 hnf80 smp82 dnf6956 smp42 tf100 neg76 sie161 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 21ms VariablesStem: 2 VariablesLoop: 3 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 2 MotzkinApplications: 6 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...