./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/termination-memory-alloca/openbsd_cmemrchr-alloca-1.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-memory-alloca/openbsd_cmemrchr-alloca-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 73af3db471e3034ab4850ccc68dc5792ec5eb945 .............................................................................................................................................................................................................................................................................................................................................................................................................................. 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:47:35,268 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-19 18:47:35,271 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-19 18:47:35,298 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-19 18:47:35,298 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-19 18:47:35,300 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-19 18:47:35,301 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-19 18:47:35,303 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-19 18:47:35,306 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-19 18:47:35,307 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-19 18:47:35,308 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-19 18:47:35,309 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-19 18:47:35,309 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-19 18:47:35,310 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-19 18:47:35,311 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-19 18:47:35,313 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-19 18:47:35,314 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-19 18:47:35,314 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-19 18:47:35,316 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-19 18:47:35,318 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-19 18:47:35,320 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-19 18:47:35,321 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-19 18:47:35,322 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-19 18:47:35,323 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-19 18:47:35,326 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-19 18:47:35,326 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-19 18:47:35,326 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-19 18:47:35,327 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-19 18:47:35,327 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-19 18:47:35,328 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-19 18:47:35,329 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-19 18:47:35,329 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-19 18:47:35,330 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-19 18:47:35,331 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-19 18:47:35,332 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-19 18:47:35,332 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-19 18:47:35,333 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-19 18:47:35,333 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-19 18:47:35,334 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-19 18:47:35,335 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-19 18:47:35,335 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-19 18:47:35,336 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:47:35,368 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-19 18:47:35,368 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-19 18:47:35,370 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-19 18:47:35,373 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-19 18:47:35,373 INFO L138 SettingsManager]: * Use SBE=true [2020-10-19 18:47:35,374 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2020-10-19 18:47:35,374 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2020-10-19 18:47:35,374 INFO L138 SettingsManager]: * Use old map elimination=false [2020-10-19 18:47:35,374 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2020-10-19 18:47:35,374 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2020-10-19 18:47:35,375 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2020-10-19 18:47:35,375 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-19 18:47:35,375 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-19 18:47:35,375 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-19 18:47:35,375 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-19 18:47:35,376 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2020-10-19 18:47:35,376 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2020-10-19 18:47:35,378 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2020-10-19 18:47:35,378 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-10-19 18:47:35,379 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2020-10-19 18:47:35,379 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-19 18:47:35,379 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2020-10-19 18:47:35,379 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-19 18:47:35,379 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-19 18:47:35,380 INFO L138 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2020-10-19 18:47:35,381 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-19 18:47:35,381 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-19 18:47:35,381 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-19 18:47:35,382 INFO L138 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2020-10-19 18:47:35,383 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2020-10-19 18:47:35,383 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 -> 73af3db471e3034ab4850ccc68dc5792ec5eb945 [2020-10-19 18:47:35,722 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-19 18:47:35,738 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-19 18:47:35,743 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-19 18:47:35,746 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-19 18:47:35,748 INFO L275 PluginConnector]: CDTParser initialized [2020-10-19 18:47:35,750 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-memory-alloca/openbsd_cmemrchr-alloca-1.i [2020-10-19 18:47:35,810 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3e72ce967/40276a9120fa43febc54d5713bba2749/FLAG36dfa64f7 [2020-10-19 18:47:36,375 INFO L306 CDTParser]: Found 1 translation units. [2020-10-19 18:47:36,376 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-memory-alloca/openbsd_cmemrchr-alloca-1.i [2020-10-19 18:47:36,390 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3e72ce967/40276a9120fa43febc54d5713bba2749/FLAG36dfa64f7 [2020-10-19 18:47:36,655 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3e72ce967/40276a9120fa43febc54d5713bba2749 [2020-10-19 18:47:36,658 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-19 18:47:36,664 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2020-10-19 18:47:36,666 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-19 18:47:36,666 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-19 18:47:36,670 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-19 18:47:36,671 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 06:47:36" (1/1) ... [2020-10-19 18:47:36,673 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@778cc7e8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:36, skipping insertion in model container [2020-10-19 18:47:36,674 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 06:47:36" (1/1) ... [2020-10-19 18:47:36,682 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-19 18:47:36,721 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 18:47:37,105 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 18:47:37,115 INFO L203 MainTranslator]: Completed pre-run [2020-10-19 18:47:37,154 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 18:47:37,210 INFO L208 MainTranslator]: Completed translation [2020-10-19 18:47:37,211 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:37 WrapperNode [2020-10-19 18:47:37,211 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-19 18:47:37,212 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2020-10-19 18:47:37,212 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2020-10-19 18:47:37,212 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2020-10-19 18:47:37,220 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:47:37" (1/1) ... [2020-10-19 18:47:37,238 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:47:37" (1/1) ... [2020-10-19 18:47:37,258 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2020-10-19 18:47:37,258 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-19 18:47:37,258 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-19 18:47:37,259 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-19 18:47:37,266 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:37" (1/1) ... [2020-10-19 18:47:37,266 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:37" (1/1) ... [2020-10-19 18:47:37,269 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:37" (1/1) ... [2020-10-19 18:47:37,269 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:37" (1/1) ... [2020-10-19 18:47:37,274 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:37" (1/1) ... [2020-10-19 18:47:37,279 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:37" (1/1) ... [2020-10-19 18:47:37,280 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:37" (1/1) ... [2020-10-19 18:47:37,283 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-19 18:47:37,283 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-19 18:47:37,283 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-19 18:47:37,283 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-19 18:47:37,284 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:37" (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:47:37,356 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2020-10-19 18:47:37,356 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-19 18:47:37,357 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-10-19 18:47:37,357 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-19 18:47:37,357 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-19 18:47:37,579 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-19 18:47:37,579 INFO L298 CfgBuilder]: Removed 7 assume(true) statements. [2020-10-19 18:47:37,581 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 06:47:37 BoogieIcfgContainer [2020-10-19 18:47:37,581 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-19 18:47:37,582 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2020-10-19 18:47:37,582 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2020-10-19 18:47:37,585 INFO L275 PluginConnector]: BuchiAutomizer initialized [2020-10-19 18:47:37,586 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 18:47:37,586 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 19.10 06:47:36" (1/3) ... [2020-10-19 18:47:37,587 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6bbba487 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 06:47:37, skipping insertion in model container [2020-10-19 18:47:37,587 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 18:47:37,588 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 06:47:37" (2/3) ... [2020-10-19 18:47:37,591 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@6bbba487 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 19.10 06:47:37, skipping insertion in model container [2020-10-19 18:47:37,591 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2020-10-19 18:47:37,591 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 06:47:37" (3/3) ... [2020-10-19 18:47:37,594 INFO L373 chiAutomizerObserver]: Analyzing ICFG openbsd_cmemrchr-alloca-1.i [2020-10-19 18:47:37,681 INFO L359 BuchiCegarLoop]: Interprodecural is true [2020-10-19 18:47:37,682 INFO L360 BuchiCegarLoop]: Hoare is false [2020-10-19 18:47:37,682 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2020-10-19 18:47:37,682 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-19 18:47:37,682 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-19 18:47:37,682 INFO L364 BuchiCegarLoop]: Difference is false [2020-10-19 18:47:37,682 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-19 18:47:37,683 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2020-10-19 18:47:37,712 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 15 states. [2020-10-19 18:47:37,731 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2020-10-19 18:47:37,732 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:47:37,732 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:47:37,737 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1] [2020-10-19 18:47:37,738 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2020-10-19 18:47:37,738 INFO L427 BuchiCegarLoop]: ======== Iteration 1============ [2020-10-19 18:47:37,738 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 15 states. [2020-10-19 18:47:37,740 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2020-10-19 18:47:37,740 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2020-10-19 18:47:37,740 INFO L119 BuchiIsEmpty]: Starting construction of run [2020-10-19 18:47:37,740 INFO L852 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1] [2020-10-19 18:47:37,741 INFO L853 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2020-10-19 18:47:37,751 INFO L794 eck$LassoCheckResult]: Stem: 8#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;~MAX~0 := 100000; 7#L-1true havoc main_#res;havoc main_#t~nondet5, main_#t~nondet6, main_#t~nondet7, main_#t~malloc8.base, main_#t~malloc8.offset, main_#t~ret9.base, main_#t~ret9.offset, main_~length~0, main_~n~0, main_~c~0, main_~nondetArea~0.base, main_~nondetArea~0.offset;main_~length~0 := main_#t~nondet5;havoc main_#t~nondet5;main_~n~0 := main_#t~nondet6;havoc main_#t~nondet6;main_~c~0 := main_#t~nondet7;havoc main_#t~nondet7; 5#L565true assume !(main_~length~0 < 1); 9#L565-2true assume !(main_~n~0 < 1 || main_~n~0 > ~MAX~0); 4#L568-1true call main_#t~malloc8.base, main_#t~malloc8.offset := #Ultimate.allocOnStack(main_~n~0);main_~nondetArea~0.base, main_~nondetArea~0.offset := main_#t~malloc8.base, main_#t~malloc8.offset;cmemrchr_#in~s.base, cmemrchr_#in~s.offset, cmemrchr_#in~c, cmemrchr_#in~n := main_~nondetArea~0.base, main_~nondetArea~0.offset, main_~c~0, main_~n~0;havoc cmemrchr_#res.base, cmemrchr_#res.offset;havoc cmemrchr_#t~pre3.base, cmemrchr_#t~pre3.offset, cmemrchr_#t~mem4, cmemrchr_#t~pre2, cmemrchr_~s.base, cmemrchr_~s.offset, cmemrchr_~c, cmemrchr_~n, cmemrchr_~cp~0.base, cmemrchr_~cp~0.offset;cmemrchr_~s.base, cmemrchr_~s.offset := cmemrchr_#in~s.base, cmemrchr_#in~s.offset;cmemrchr_~c := cmemrchr_#in~c;cmemrchr_~n := cmemrchr_#in~n;havoc cmemrchr_~cp~0.base, cmemrchr_~cp~0.offset; 12#L551true assume 0 != cmemrchr_~n % 4294967296;cmemrchr_~cp~0.base, cmemrchr_~cp~0.offset := cmemrchr_~s.base, cmemrchr_~s.offset + cmemrchr_~n % 4294967296; 17#L553-4true [2020-10-19 18:47:37,751 INFO L796 eck$LassoCheckResult]: Loop: 17#L553-4true cmemrchr_#t~pre3.base, cmemrchr_#t~pre3.offset := cmemrchr_~cp~0.base, cmemrchr_~cp~0.offset - 1;cmemrchr_~cp~0.base, cmemrchr_~cp~0.offset := cmemrchr_~cp~0.base, cmemrchr_~cp~0.offset - 1;call cmemrchr_#t~mem4 := read~int(cmemrchr_#t~pre3.base, cmemrchr_#t~pre3.offset, 1); 6#L554true assume !(cmemrchr_#t~mem4 % 256 == cmemrchr_~c % 256);havoc cmemrchr_#t~mem4;havoc cmemrchr_#t~pre3.base, cmemrchr_#t~pre3.offset; 10#L553-1true cmemrchr_#t~pre2 := cmemrchr_~n - 1;cmemrchr_~n := cmemrchr_~n - 1; 13#L553-2true assume !!(0 != cmemrchr_#t~pre2 % 4294967296);havoc cmemrchr_#t~pre2; 17#L553-4true [2020-10-19 18:47:37,757 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:47:37,758 INFO L82 PathProgramCache]: Analyzing trace with hash 889572236, now seen corresponding path program 1 times [2020-10-19 18:47:37,768 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:47:37,768 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [161558671] [2020-10-19 18:47:37,769 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:47:37,925 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:47:37,926 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:47:37,972 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:47:37,973 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:47:37,994 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:47:37,995 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:47:37,996 INFO L82 PathProgramCache]: Analyzing trace with hash 1605803, now seen corresponding path program 1 times [2020-10-19 18:47:37,996 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:47:37,996 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1152628738] [2020-10-19 18:47:37,996 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:47:38,015 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:47:38,015 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:47:38,027 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:47:38,028 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:47:38,031 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:47:38,033 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:47:38,033 INFO L82 PathProgramCache]: Analyzing trace with hash 1592233654, now seen corresponding path program 1 times [2020-10-19 18:47:38,034 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 18:47:38,034 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1932318478] [2020-10-19 18:47:38,034 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 18:47:38,067 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:47:38,068 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:47:38,097 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 18:47:38,098 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 18:47:38,106 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 18:47:38,486 WARN L193 SmtUtils]: Spent 243.00 ms on a formula simplification. DAG size of input: 75 DAG size of output: 71 [2020-10-19 18:47:38,596 INFO L210 LassoAnalysis]: Preferences: [2020-10-19 18:47:38,597 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2020-10-19 18:47:38,597 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2020-10-19 18:47:38,597 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2020-10-19 18:47:38,598 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2020-10-19 18:47:38,598 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:47:38,598 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2020-10-19 18:47:38,599 INFO L132 ssoRankerPreferences]: Path of dumped script: [2020-10-19 18:47:38,599 INFO L133 ssoRankerPreferences]: Filename of dumped script: openbsd_cmemrchr-alloca-1.i_Iteration1_Lasso [2020-10-19 18:47:38,599 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2020-10-19 18:47:38,600 INFO L274 LassoAnalysis]: Starting lasso preprocessing... [2020-10-19 18:47:38,626 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:47:38,636 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:47:38,640 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:47:38,833 WARN L193 SmtUtils]: Spent 156.00 ms on a formula simplification. DAG size of input: 56 DAG size of output: 53 [2020-10-19 18:47:38,928 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:47:38,931 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:47:38,934 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:47:38,937 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:47:38,940 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:47:38,944 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:47:38,947 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:47:38,950 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:47:38,954 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2020-10-19 18:47:38,957 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:47:38,961 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:47:38,964 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:47:38,968 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:47:38,971 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:47:38,975 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:47:38,978 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:47:39,255 WARN L193 SmtUtils]: Spent 113.00 ms on a formula simplification. DAG size of input: 36 DAG size of output: 34 [2020-10-19 18:47:39,681 INFO L292 LassoAnalysis]: Preprocessing complete. [2020-10-19 18:47:39,686 INFO L489 LassoAnalysis]: Using template 'affine'. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:47:39,694 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:47:39,697 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:47:39,697 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:47:39,700 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:47:39,700 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:47:39,701 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:47:39,703 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 18:47:39,704 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2020-10-19 18:47:39,707 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2020-10-19 18:47:39,764 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:47:39,766 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:47:39,766 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2020-10-19 18:47:39,767 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:47:39,767 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:47:39,767 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:47:39,768 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2020-10-19 18:47:39,768 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:47:39,769 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:47:39,815 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:47:39,816 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:47:39,817 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:47:39,817 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:47:39,817 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:47:39,824 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:47:39,824 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:47:39,831 INFO L522 LassoAnalysis]: Proving termination failed for this template and these settings. No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:47:39,871 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2020-10-19 18:47:39,873 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:47:39,873 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:47:39,873 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:47:39,874 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:47:39,881 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:47:39,882 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 18:47:39,891 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:47:39,927 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:47:39,930 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2020-10-19 18:47:39,931 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2020-10-19 18:47:39,931 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2020-10-19 18:47:39,931 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2020-10-19 18:47:39,947 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2020-10-19 18:47:39,947 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2020-10-19 18:47:39,971 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2020-10-19 18:47:40,001 INFO L443 ModelExtractionUtils]: Simplification made 5 calls to the SMT solver. [2020-10-19 18:47:40,001 INFO L444 ModelExtractionUtils]: 32 out of 37 variables were initially zero. Simplification set additionally 3 variables to zero. 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:47:40,011 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... Waiting until toolchain timeout for monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2020-10-19 18:47:40,035 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2020-10-19 18:47:40,036 INFO L510 LassoAnalysis]: Proved termination. [2020-10-19 18:47:40,037 INFO L512 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_cmemrchr_~cp~0.offset) = 1*ULTIMATE.start_cmemrchr_~cp~0.offset Supporting invariants [] [2020-10-19 18:47:40,105 INFO L297 tatePredicateManager]: 3 out of 3 supporting invariants were superfluous and have been removed [2020-10-19 18:47:40,132 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 18:47:40,155 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:47:40,158 INFO L263 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 2 conjunts are in the unsatisfiable core [2020-10-19 18:47:40,160 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:47:40,204 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 18:47:40,205 INFO L263 TraceCheckSpWp]: Trace formula consists of 22 conjuncts, 5 conjunts are in the unsatisfiable core [2020-10-19 18:47:40,205 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 18:47:40,294 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:47:40,314 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:47:40,315 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 15 states. Second operand 3 states. [2020-10-19 18:47:40,373 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 15 states.. Second operand 3 states. Result 35 states and 40 transitions. Complement of second has 5 states. [2020-10-19 18:47:40,375 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:47:40,378 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2020-10-19 18:47:40,380 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 30 transitions. [2020-10-19 18:47:40,383 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 30 transitions. Stem has 6 letters. Loop has 4 letters. [2020-10-19 18:47:40,385 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:47:40,386 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 30 transitions. Stem has 10 letters. Loop has 4 letters. [2020-10-19 18:47:40,386 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:47:40,387 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 4 states and 30 transitions. Stem has 6 letters. Loop has 8 letters. [2020-10-19 18:47:40,388 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2020-10-19 18:47:40,389 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 35 states and 40 transitions. [2020-10-19 18:47:40,407 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2020-10-19 18:47:40,411 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 35 states to 0 states and 0 transitions. [2020-10-19 18:47:40,413 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2020-10-19 18:47:40,413 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2020-10-19 18:47:40,414 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2020-10-19 18:47:40,414 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2020-10-19 18:47:40,414 INFO L691 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-10-19 18:47:40,415 INFO L714 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-10-19 18:47:40,415 INFO L594 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-10-19 18:47:40,415 INFO L427 BuchiCegarLoop]: ======== Iteration 2============ [2020-10-19 18:47:40,415 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2020-10-19 18:47:40,415 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2020-10-19 18:47:40,416 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2020-10-19 18:47:40,425 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 19.10 06:47:40 BoogieIcfgContainer [2020-10-19 18:47:40,425 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2020-10-19 18:47:40,428 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-19 18:47:40,428 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-19 18:47:40,429 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-19 18:47:40,430 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 06:47:37" (3/4) ... [2020-10-19 18:47:40,447 INFO L140 WitnessPrinter]: No result that supports witness generation found [2020-10-19 18:47:40,450 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-19 18:47:40,452 INFO L168 Benchmark]: Toolchain (without parser) took 3792.08 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 226.5 MB). Free memory was 960.0 MB in the beginning and 1.2 GB in the end (delta: -235.4 MB). There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 18:47:40,453 INFO L168 Benchmark]: CDTParser took 0.33 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:47:40,455 INFO L168 Benchmark]: CACSL2BoogieTranslator took 545.65 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 142.1 MB). Free memory was 954.6 MB in the beginning and 1.1 GB in the end (delta: -169.5 MB). Peak memory consumption was 20.7 MB. Max. memory is 11.5 GB. [2020-10-19 18:47:40,456 INFO L168 Benchmark]: Boogie Procedure Inliner took 46.32 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: 1.7 MB). Peak memory consumption was 1.7 MB. Max. memory is 11.5 GB. [2020-10-19 18:47:40,458 INFO L168 Benchmark]: Boogie Preprocessor took 24.54 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. [2020-10-19 18:47:40,459 INFO L168 Benchmark]: RCFGBuilder took 297.91 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: 19.0 MB). Peak memory consumption was 19.0 MB. Max. memory is 11.5 GB. [2020-10-19 18:47:40,460 INFO L168 Benchmark]: BuchiAutomizer took 2844.19 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 84.4 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -98.8 MB). There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 18:47:40,461 INFO L168 Benchmark]: Witness Printer took 21.96 ms. Allocated memory is still 1.3 GB. Free memory is still 1.2 GB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 18:47:40,470 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.33 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 545.65 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 142.1 MB). Free memory was 954.6 MB in the beginning and 1.1 GB in the end (delta: -169.5 MB). Peak memory consumption was 20.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 46.32 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: 1.7 MB). Peak memory consumption was 1.7 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 24.54 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 297.91 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: 19.0 MB). Peak memory consumption was 19.0 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 2844.19 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 84.4 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -98.8 MB). There was no memory consumed. Max. memory is 11.5 GB. * Witness Printer took 21.96 ms. Allocated memory is still 1.3 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.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 cp and consists of 4 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 2.7s and 2 iterations. TraceHistogramMax:1. Analysis of lassos took 2.3s. 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: 21 SDtfs, 21 SDslu, 8 SDs, 0 SdLazy, 3 SolverSat, 1 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time LassoAnalysisResults: nont0 unkn0 SFLI0 SFLT0 conc0 concLT0 SILN0 SILU0 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital143 mio100 ax112 hnf98 lsp82 ukn97 mio100 lsp56 div205 bol100 ite100 ukn100 eq168 hnf64 smp95 dnf100 smp100 tf100 neg99 sie101 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 27ms 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...