./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/termination-15/cstrchr_malloc.i --full-output --architecture 64bit -------------------------------------------------------------------------------- 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/termination-15/cstrchr_malloc.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 52f90dd69b1856f1819dcbf79b462fc94a85a38d .................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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 18:49:51,971 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-19 18:49:51,975 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-19 18:49:52,017 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-19 18:49:52,017 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-19 18:49:52,027 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-19 18:49:52,029 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-19 18:49:52,033 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-19 18:49:52,036 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-19 18:49:52,039 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-19 18:49:52,041 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-19 18:49:52,042 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-19 18:49:52,042 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-19 18:49:52,047 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-19 18:49:52,049 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-19 18:49:52,051 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-19 18:49:52,053 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-19 18:49:52,054 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-19 18:49:52,057 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-19 18:49:52,066 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-19 18:49:52,068 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-19 18:49:52,069 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-19 18:49:52,072 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-19 18:49:52,073 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-19 18:49:52,085 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-19 18:49:52,085 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-19 18:49:52,085 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-19 18:49:52,091 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-19 18:49:52,091 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-19 18:49:52,092 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-19 18:49:52,093 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-19 18:49:52,097 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-19 18:49:52,097 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-19 18:49:52,101 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-19 18:49:52,102 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-19 18:49:52,102 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-19 18:49:52,103 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-19 18:49:52,105 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-19 18:49:52,105 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-19 18:49:52,106 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-19 18:49:52,107 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-19 18:49:52,109 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2020-10-19 18:49:52,153 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-19 18:49:52,153 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-19 18:49:52,156 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-19 18:49:52,156 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-19 18:49:52,156 INFO L138 SettingsManager]: * Use SBE=true [2020-10-19 18:49:52,157 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-19 18:49:52,157 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-19 18:49:52,157 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-19 18:49:52,157 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-19 18:49:52,158 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-19 18:49:52,159 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-19 18:49:52,159 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-19 18:49:52,160 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-19 18:49:52,160 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-19 18:49:52,161 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-19 18:49:52,161 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-19 18:49:52,161 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-19 18:49:52,162 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-19 18:49:52,162 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-19 18:49:52,163 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-19 18:49:52,163 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-19 18:49:52,163 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-19 18:49:52,164 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-19 18:49:52,164 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-19 18:49:52,164 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-19 18:49:52,164 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-19 18:49:52,165 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-19 18:49:52,165 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-19 18:49:52,165 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-19 18:49:52,167 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-19 18:49:52,167 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 -> 52f90dd69b1856f1819dcbf79b462fc94a85a38d [2020-10-19 18:49:52,497 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-19 18:49:52,510 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-19 18:49:52,514 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-19 18:49:52,516 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-19 18:49:52,517 INFO L275 PluginConnector]: CDTParser initialized [2020-10-19 18:49:52,518 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-15/cstrchr_malloc.i [2020-10-19 18:49:52,595 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/71f6a17f9/9b656ce39d9a49d89f17482fbb12c652/FLAG8fb1985a0 [2020-10-19 18:49:53,159 INFO L306 CDTParser]: Found 1 translation units. [2020-10-19 18:49:53,160 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-15/cstrchr_malloc.i [2020-10-19 18:49:53,171 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/71f6a17f9/9b656ce39d9a49d89f17482fbb12c652/FLAG8fb1985a0 [2020-10-19 18:49:53,431 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/71f6a17f9/9b656ce39d9a49d89f17482fbb12c652 [2020-10-19 18:49:53,435 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-19 18:49:53,443 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-19 18:49:53,444 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-19 18:49:53,444 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-19 18:49:53,448 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-19 18:49:53,449 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 06:49:53" (1/1) ... [2020-10-19 18:49:53,452 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7e69367 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:53, skipping insertion in model container [2020-10-19 18:49:53,453 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 06:49:53" (1/1) ... [2020-10-19 18:49:53,461 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-19 18:49:53,495 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 18:49:53,820 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 18:49:53,833 INFO L203 MainTranslator]: Completed pre-run [2020-10-19 18:49:54,007 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 18:49:54,101 INFO L208 MainTranslator]: Completed translation [2020-10-19 18:49:54,103 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54 WrapperNode [2020-10-19 18:49:54,103 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-19 18:49:54,105 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-19 18:49:54,105 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-19 18:49:54,105 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-19 18:49:54,116 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (1/1) ... [2020-10-19 18:49:54,149 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (1/1) ... [2020-10-19 18:49:54,176 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-19 18:49:54,177 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-19 18:49:54,177 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-19 18:49:54,177 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-19 18:49:54,184 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (1/1) ... [2020-10-19 18:49:54,185 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (1/1) ... [2020-10-19 18:49:54,186 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (1/1) ... [2020-10-19 18:49:54,186 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (1/1) ... [2020-10-19 18:49:54,192 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (1/1) ... [2020-10-19 18:49:54,197 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (1/1) ... [2020-10-19 18:49:54,198 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (1/1) ... [2020-10-19 18:49:54,201 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-19 18:49:54,201 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-19 18:49:54,202 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-19 18:49:54,202 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-19 18:49:54,203 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (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 18:49:54,273 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2020-10-19 18:49:54,274 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2020-10-19 18:49:54,275 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2020-10-19 18:49:54,275 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-10-19 18:49:54,275 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-19 18:49:54,275 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-19 18:49:54,518 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-19 18:49:54,518 INFO L298 CfgBuilder]: Removed 7 assume(true) statements. [2020-10-19 18:49:54,521 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 06:49:54 BoogieIcfgContainer [2020-10-19 18:49:54,523 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-19 18:49:54,524 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-19 18:49:54,525 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-19 18:49:54,530 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-19 18:49:54,532 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 18:49:54,532 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 19.10 06:49:53" (1/3) ... [2020-10-19 18:49:54,535 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@58c5af89 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 06:49:54, skipping insertion in model container [2020-10-19 18:49:54,546 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 18:49:54,547 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:49:54" (2/3) ... [2020-10-19 18:49:54,547 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@58c5af89 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 06:49:54, skipping insertion in model container [2020-10-19 18:49:54,551 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 18:49:54,551 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 06:49:54" (3/3) ... [2020-10-19 18:49:54,554 INFO L373 chiAutomizerObserver]: Analyzing ICFG cstrchr_malloc.i [2020-10-19 18:49:54,630 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-19 18:49:54,630 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-19 18:49:54,630 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-19 18:49:54,631 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-19 18:49:54,631 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-19 18:49:54,631 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-19 18:49:54,631 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-19 18:49:54,632 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-19 18:49:54,646 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states. [2020-10-19 18:49:54,665 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2020-10-19 18:49:54,666 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:49:54,666 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:49:54,672 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-19 18:49:54,672 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-19 18:49:54,672 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-19 18:49:54,672 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states. [2020-10-19 18:49:54,674 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 3 [2020-10-19 18:49:54,674 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:49:54,674 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:49:54,674 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1] [2020-10-19 18:49:54,674 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2020-10-19 18:49:54,681 INFO L794 eck$LassoCheckResult]: Stem: 10#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; 7#L-1true havoc main_#res;havoc main_#t~nondet211, main_#t~malloc212.base, main_#t~malloc212.offset, main_#t~nondet213, main_#t~ret214.base, main_#t~ret214.offset, main_~length~0, main_~nondetString~0.base, main_~nondetString~0.offset;main_~length~0 := main_#t~nondet211;havoc main_#t~nondet211; 8#L372true assume !(main_~length~0 < 1); 12#L372-2true call main_#t~malloc212.base, main_#t~malloc212.offset := #Ultimate.allocOnHeap(main_~length~0);main_~nondetString~0.base, main_~nondetString~0.offset := main_#t~malloc212.base, main_#t~malloc212.offset;call write~int(0, main_~nondetString~0.base, main_~nondetString~0.offset + (main_~length~0 - 1), 1);cstrchr_#in~s.base, cstrchr_#in~s.offset, cstrchr_#in~c := main_~nondetString~0.base, main_~nondetString~0.offset, main_#t~nondet213;havoc cstrchr_#res.base, cstrchr_#res.offset;havoc cstrchr_#t~post208.base, cstrchr_#t~post208.offset, cstrchr_#t~mem205, cstrchr_#t~mem206, cstrchr_#t~short207, cstrchr_#t~mem209, cstrchr_#t~ite210.base, cstrchr_#t~ite210.offset, cstrchr_~s.base, cstrchr_~s.offset, cstrchr_~c;cstrchr_~s.base, cstrchr_~s.offset := cstrchr_#in~s.base, cstrchr_#in~s.offset;cstrchr_~c := cstrchr_#in~c; 9#L366-5true [2020-10-19 18:49:54,681 INFO L796 eck$LassoCheckResult]: Loop: 9#L366-5true call cstrchr_#t~mem205 := read~int(cstrchr_~s.base, cstrchr_~s.offset, 1);cstrchr_#t~short207 := 0 != cstrchr_#t~mem205; 4#L366-1true assume cstrchr_#t~short207;call cstrchr_#t~mem206 := read~int(cstrchr_~s.base, cstrchr_~s.offset, 1);cstrchr_#t~short207 := cstrchr_#t~mem206 != (if cstrchr_~c % 256 <= 127 then cstrchr_~c % 256 else cstrchr_~c % 256 - 256); 6#L366-3true assume !!cstrchr_#t~short207;havoc cstrchr_#t~short207;havoc cstrchr_#t~mem206;havoc cstrchr_#t~mem205;cstrchr_#t~post208.base, cstrchr_#t~post208.offset := cstrchr_~s.base, cstrchr_~s.offset;cstrchr_~s.base, cstrchr_~s.offset := cstrchr_#t~post208.base, 1 + cstrchr_#t~post208.offset;havoc cstrchr_#t~post208.base, cstrchr_#t~post208.offset; 9#L366-5true [2020-10-19 18:49:54,688 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:49:54,689 INFO L82 PathProgramCache]: Analyzing trace with hash 925669, now seen corresponding path program 1 times [2020-10-19 18:49:54,697 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:49:54,698 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [277850001] [2020-10-19 18:49:54,698 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:49:54,817 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:49:54,818 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:49:54,834 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:49:54,835 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:49:54,859 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:49:54,860 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:49:54,861 INFO L82 PathProgramCache]: Analyzing trace with hash 43797, now seen corresponding path program 1 times [2020-10-19 18:49:54,861 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:49:54,861 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [484835748] [2020-10-19 18:49:54,861 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:49:54,901 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:49:54,902 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:49:54,923 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:49:54,924 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:49:54,929 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:49:54,931 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:49:54,932 INFO L82 PathProgramCache]: Analyzing trace with hash 1806815409, now seen corresponding path program 1 times [2020-10-19 18:49:54,932 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:49:54,933 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [346577470] [2020-10-19 18:49:54,933 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:49:54,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:49:54,983 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:49:55,003 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:49:55,004 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:49:55,010 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:49:55,129 WARN L193 SmtUtils]: Spent 113.00 ms on a formula simplification. DAG size of input: 46 DAG size of output: 38 [2020-10-19 18:49:55,357 WARN L193 SmtUtils]: Spent 155.00 ms on a formula simplification. DAG size of input: 64 DAG size of output: 58 [2020-10-19 18:49:55,437 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:49:55,438 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:49:55,438 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:49:55,438 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:49:55,439 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 18:49:55,439 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:49:55,439 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:49:55,439 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:49:55,440 INFO L133 ssoRankerPreferences]: Filename of dumped script: cstrchr_malloc.i_Iteration1_Lasso [2020-10-19 18:49:55,440 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:49:55,440 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:49:55,470 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 18:49:55,481 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 18:49:55,484 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 18:49:55,654 WARN L193 SmtUtils]: Spent 124.00 ms on a formula simplification. DAG size of input: 47 DAG size of output: 43 [2020-10-19 18:49:55,769 WARN L193 SmtUtils]: Spent 106.00 ms on a formula simplification. DAG size of input: 45 DAG size of output: 43 [2020-10-19 18:49:55,771 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 18:49:55,775 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 18:49:55,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 18:49:55,782 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 18:49:55,785 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 18:49:55,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 18:49:55,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 18:49:55,796 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 18:49:55,799 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 18:49:55,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 18:49:55,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 18:49:55,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 18:49:55,812 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 18:49:55,815 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 18:49:56,430 WARN L193 SmtUtils]: Spent 214.00 ms on a formula simplification. DAG size of input: 48 DAG size of output: 36 [2020-10-19 18:49:56,528 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:49:56,534 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 [2020-10-19 18:49:56,544 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 18:49:56,547 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:49:56,547 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 18:49:56,548 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:49:56,549 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:49:56,549 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:49:56,551 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 18:49:56,552 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 18:49:56,555 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) [2020-10-19 18:49:56,624 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 18:49:56,626 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:49:56,626 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 18:49:56,626 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:49:56,627 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:49:56,627 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:49:56,629 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 18:49:56,630 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:49:56,636 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 18:49:56,686 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 18:49:56,688 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:49:56,688 INFO L203 nArgumentSynthesizer]: 2 stem disjuncts [2020-10-19 18:49:56,689 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:49:56,689 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:49:56,714 INFO L401 nArgumentSynthesizer]: We have 8 Motzkin's Theorem applications. [2020-10-19 18:49:56,715 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 18:49:56,734 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) [2020-10-19 18:49:56,781 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 18:49:56,783 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:49:56,784 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:49:56,784 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:49:56,784 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:49:56,796 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:49:56,796 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:49:56,809 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 18:49:56,858 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 18:49:56,859 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:49:56,860 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:49:56,860 INFO L204 nArgumentSynthesizer]: 6 loop disjuncts [2020-10-19 18:49:56,860 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:49:56,946 INFO L401 nArgumentSynthesizer]: We have 96 Motzkin's Theorem applications. [2020-10-19 18:49:56,947 INFO L402 nArgumentSynthesizer]: A total of 12 supporting invariants were added. [2020-10-19 18:49:57,093 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 18:49:57,146 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 18:49:57,149 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:49:57,149 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:49:57,149 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:49:57,150 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:49:57,157 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:49:57,157 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:49:57,172 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 18:49:57,209 INFO L443 ModelExtractionUtils]: Simplification made 12 calls to the SMT solver. [2020-10-19 18:49:57,210 INFO L444 ModelExtractionUtils]: 14 out of 25 variables were initially zero. Simplification set additionally 8 variables to zero. 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 18:49:57,264 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... Waiting until toolchain timeout for monitored process 8 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:49:57,269 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2020-10-19 18:49:57,269 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 18:49:57,270 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_cstrchr_~s.offset, v_rep(select #length ULTIMATE.start_main_#t~malloc212.base)_1) = -1*ULTIMATE.start_cstrchr_~s.offset + 1*v_rep(select #length ULTIMATE.start_main_#t~malloc212.base)_1 Supporting invariants [] [2020-10-19 18:49:57,322 INFO L297 tatePredicateManager]: 3 out of 4 supporting invariants were superfluous and have been removed [2020-10-19 18:49:57,338 WARN L1295 BoogieBacktranslator]: unknown boogie variable #length [2020-10-19 18:49:57,374 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:49:57,393 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:49:57,395 INFO L263 TraceCheckSpWp]: Trace formula consists of 40 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-19 18:49:57,397 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:49:57,415 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:49:57,416 INFO L263 TraceCheckSpWp]: Trace formula consists of 24 conjuncts, 8 conjunts are in the unsatisfiable core [2020-10-19 18:49:57,417 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:49:57,439 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 18:49:57,459 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 18:49:57,460 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 14 states. Second operand 3 states. [2020-10-19 18:49:57,538 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 14 states.. Second operand 3 states. Result 31 states and 39 transitions. Complement of second has 5 states. [2020-10-19 18:49:57,539 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 4 states 1 stem states 1 non-accepting loop states 1 accepting loop states [2020-10-19 18:49:57,541 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-19 18:49:57,542 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 25 transitions. [2020-10-19 18:49:57,544 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 25 transitions. Stem has 4 letters. Loop has 3 letters. [2020-10-19 18:49:57,545 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:49:57,546 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 25 transitions. Stem has 7 letters. Loop has 3 letters. [2020-10-19 18:49:57,546 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:49:57,546 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 25 transitions. Stem has 4 letters. Loop has 6 letters. [2020-10-19 18:49:57,546 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:49:57,547 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 31 states and 39 transitions. [2020-10-19 18:49:57,550 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2020-10-19 18:49:57,553 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 31 states to 0 states and 0 transitions. [2020-10-19 18:49:57,555 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2020-10-19 18:49:57,555 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2020-10-19 18:49:57,556 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2020-10-19 18:49:57,556 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 18:49:57,556 INFO L691 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-10-19 18:49:57,556 INFO L714 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-10-19 18:49:57,556 INFO L594 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-10-19 18:49:57,556 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-19 18:49:57,557 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2020-10-19 18:49:57,557 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2020-10-19 18:49:57,557 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2020-10-19 18:49:57,565 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 19.10 06:49:57 BoogieIcfgContainer [2020-10-19 18:49:57,565 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-19 18:49:57,565 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-19 18:49:57,566 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-19 18:49:57,566 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-19 18:49:57,566 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 06:49:54" (3/4) ... [2020-10-19 18:49:57,571 INFO L140 WitnessPrinter]: No result that supports witness generation found [2020-10-19 18:49:57,571 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-19 18:49:57,573 INFO L168 Benchmark]: Toolchain (without parser) took 4136.10 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 216.0 MB). Free memory was 960.0 MB in the beginning and 1.2 GB in the end (delta: -208.3 MB). Peak memory consumption was 7.7 MB. Max. memory is 11.5 GB. [2020-10-19 18:49:57,573 INFO L168 Benchmark]: CDTParser took 0.31 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 18:49:57,574 INFO L168 Benchmark]: CACSL2BoogieTranslator took 659.65 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 129.5 MB). Free memory was 954.6 MB in the beginning and 1.1 GB in the end (delta: -147.0 MB). Peak memory consumption was 21.2 MB. Max. memory is 11.5 GB. [2020-10-19 18:49:57,575 INFO L168 Benchmark]: Boogie Procedure Inliner took 71.91 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 18:49:57,575 INFO L168 Benchmark]: Boogie Preprocessor took 24.30 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 18:49:57,576 INFO L168 Benchmark]: RCFGBuilder took 322.02 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.6 MB). Peak memory consumption was 18.6 MB. Max. memory is 11.5 GB. [2020-10-19 18:49:57,577 INFO L168 Benchmark]: BuchiAutomizer took 3040.75 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 86.5 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -85.2 MB). Peak memory consumption was 1.3 MB. Max. memory is 11.5 GB. [2020-10-19 18:49:57,578 INFO L168 Benchmark]: Witness Printer took 5.39 ms. Allocated memory is still 1.2 GB. Free memory is still 1.2 GB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 18:49:57,581 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.31 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 659.65 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 129.5 MB). Free memory was 954.6 MB in the beginning and 1.1 GB in the end (delta: -147.0 MB). Peak memory consumption was 21.2 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 71.91 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 24.30 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 322.02 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.6 MB). Peak memory consumption was 18.6 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 3040.75 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 86.5 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -85.2 MB). Peak memory consumption was 1.3 MB. Max. memory is 11.5 GB. * Witness Printer took 5.39 ms. Allocated memory is still 1.2 GB. Free memory is still 1.2 GB. 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 * s + unknown-#length-unknown[malloc(length * sizeof(char))] and consists of 4 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 2.9s and 2 iterations. TraceHistogramMax:1. Analysis of lassos took 2.6s. Construction of modules took 0.0s. Büchi inclusion checks took 0.1s. 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: 12 SDtfs, 25 SDslu, 7 SDs, 0 SdLazy, 9 SolverSat, 4 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time LassoAnalysisResults: nont0 unkn0 SFLI0 SFLT0 conc0 concLT0 SILN0 SILU0 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital153 mio100 ax100 hnf99 lsp96 ukn88 mio100 lsp34 div156 bol100 ite100 ukn100 eq155 hnf68 smp100 dnf849 smp27 tf100 neg95 sie111 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 237ms VariablesStem: 3 VariablesLoop: 4 DisjunctsStem: 1 DisjunctsLoop: 6 SupportingInvariants: 12 MotzkinApplications: 96 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...