./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/termination-memory-alloca/openbsd_cstrnlen-alloca-2.i --full-output --architecture 64bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 3a877d22 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.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_cstrnlen-alloca-2.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 a39001d729fceb66f0e568e2a46f4a77a12199478b1f9dfc07eb9a8b83cb9478 --- Real Ultimate output --- This is Ultimate 0.2.2-3a877d227dc491413fd706022d0c47cd97beb353-3a877d2 [2021-12-15 17:03:50,361 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-15 17:03:50,363 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-15 17:03:50,413 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-15 17:03:50,414 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-15 17:03:50,417 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-15 17:03:50,419 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-15 17:03:50,422 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-15 17:03:50,423 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-15 17:03:50,429 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-15 17:03:50,429 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-15 17:03:50,431 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-15 17:03:50,431 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-15 17:03:50,433 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-15 17:03:50,435 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-15 17:03:50,438 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-15 17:03:50,441 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-15 17:03:50,442 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-15 17:03:50,443 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-15 17:03:50,446 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-15 17:03:50,450 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-15 17:03:50,451 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-15 17:03:50,452 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-15 17:03:50,453 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-15 17:03:50,455 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-15 17:03:50,456 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-15 17:03:50,456 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-15 17:03:50,458 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-15 17:03:50,458 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-15 17:03:50,459 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-15 17:03:50,459 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-15 17:03:50,460 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-15 17:03:50,462 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-15 17:03:50,463 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-15 17:03:50,464 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-15 17:03:50,464 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-15 17:03:50,464 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-15 17:03:50,465 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-15 17:03:50,465 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-15 17:03:50,466 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-15 17:03:50,466 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-15 17:03:50,467 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-64bit-Automizer_Default.epf [2021-12-15 17:03:50,506 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-15 17:03:50,506 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-15 17:03:50,507 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-15 17:03:50,507 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-15 17:03:50,508 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-15 17:03:50,508 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-15 17:03:50,508 INFO L138 SettingsManager]: * Use SBE=true [2021-12-15 17:03:50,509 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-12-15 17:03:50,509 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-12-15 17:03:50,509 INFO L138 SettingsManager]: * Use old map elimination=false [2021-12-15 17:03:50,510 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-12-15 17:03:50,510 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-12-15 17:03:50,510 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-12-15 17:03:50,510 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-15 17:03:50,511 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-12-15 17:03:50,511 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-12-15 17:03:50,511 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-15 17:03:50,511 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-12-15 17:03:50,511 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-12-15 17:03:50,512 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-12-15 17:03:50,512 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-12-15 17:03:50,512 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-12-15 17:03:50,512 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-15 17:03:50,512 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-12-15 17:03:50,513 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-15 17:03:50,513 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-15 17:03:50,513 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-15 17:03:50,513 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-12-15 17:03:50,514 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-15 17:03:50,514 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-12-15 17:03:50,514 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /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 -> a39001d729fceb66f0e568e2a46f4a77a12199478b1f9dfc07eb9a8b83cb9478 [2021-12-15 17:03:50,716 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-15 17:03:50,740 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-15 17:03:50,742 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-15 17:03:50,743 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-15 17:03:50,744 INFO L275 PluginConnector]: CDTParser initialized [2021-12-15 17:03:50,745 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/termination-memory-alloca/openbsd_cstrnlen-alloca-2.i [2021-12-15 17:03:50,802 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9be656137/4d8de244361c401d94ac29c01d7f2e1c/FLAG441d37dcf [2021-12-15 17:03:51,213 INFO L306 CDTParser]: Found 1 translation units. [2021-12-15 17:03:51,214 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/termination-memory-alloca/openbsd_cstrnlen-alloca-2.i [2021-12-15 17:03:51,222 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9be656137/4d8de244361c401d94ac29c01d7f2e1c/FLAG441d37dcf [2021-12-15 17:03:51,235 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9be656137/4d8de244361c401d94ac29c01d7f2e1c [2021-12-15 17:03:51,238 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-15 17:03:51,239 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-15 17:03:51,240 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-15 17:03:51,241 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-15 17:03:51,244 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-15 17:03:51,244 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,245 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2770d1dc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51, skipping insertion in model container [2021-12-15 17:03:51,245 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,250 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-15 17:03:51,292 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-15 17:03:51,506 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-15 17:03:51,513 INFO L203 MainTranslator]: Completed pre-run [2021-12-15 17:03:51,563 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-15 17:03:51,588 INFO L208 MainTranslator]: Completed translation [2021-12-15 17:03:51,589 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51 WrapperNode [2021-12-15 17:03:51,589 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-12-15 17:03:51,590 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-12-15 17:03:51,590 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-12-15 17:03:51,590 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-12-15 17:03:51,597 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,614 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,634 INFO L137 Inliner]: procedures = 111, calls = 8, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 49 [2021-12-15 17:03:51,635 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-12-15 17:03:51,639 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-12-15 17:03:51,640 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-12-15 17:03:51,640 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-12-15 17:03:51,646 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,646 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,650 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,650 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,654 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,660 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,661 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,662 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-12-15 17:03:51,663 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-12-15 17:03:51,663 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-12-15 17:03:51,663 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-12-15 17:03:51,664 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (1/1) ... [2021-12-15 17:03:51,674 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:51,683 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:51,696 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:51,709 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-12-15 17:03:51,729 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-12-15 17:03:51,729 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-12-15 17:03:51,729 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-12-15 17:03:51,730 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-12-15 17:03:51,730 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-12-15 17:03:51,730 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-12-15 17:03:51,810 INFO L236 CfgBuilder]: Building ICFG [2021-12-15 17:03:51,811 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2021-12-15 17:03:51,940 INFO L277 CfgBuilder]: Performing block encoding [2021-12-15 17:03:51,944 INFO L296 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-12-15 17:03:51,944 INFO L301 CfgBuilder]: Removed 1 assume(true) statements. [2021-12-15 17:03:51,945 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 05:03:51 BoogieIcfgContainer [2021-12-15 17:03:51,946 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-12-15 17:03:51,946 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-12-15 17:03:51,946 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-12-15 17:03:51,949 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-12-15 17:03:51,950 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-15 17:03:51,950 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 15.12 05:03:51" (1/3) ... [2021-12-15 17:03:51,951 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@1f627154 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 15.12 05:03:51, skipping insertion in model container [2021-12-15 17:03:51,951 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-15 17:03:51,951 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:03:51" (2/3) ... [2021-12-15 17:03:51,951 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@1f627154 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 15.12 05:03:51, skipping insertion in model container [2021-12-15 17:03:51,952 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-15 17:03:51,952 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 05:03:51" (3/3) ... [2021-12-15 17:03:51,953 INFO L388 chiAutomizerObserver]: Analyzing ICFG openbsd_cstrnlen-alloca-2.i [2021-12-15 17:03:51,988 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-12-15 17:03:51,988 INFO L360 BuchiCegarLoop]: Hoare is false [2021-12-15 17:03:51,989 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-12-15 17:03:51,989 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-12-15 17:03:51,989 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-12-15 17:03:51,989 INFO L364 BuchiCegarLoop]: Difference is false [2021-12-15 17:03:51,989 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-12-15 17:03:51,989 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-12-15 17:03:52,007 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 14 states, 13 states have (on average 1.3846153846153846) internal successors, (18), 13 states have internal predecessors, (18), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-15 17:03:52,023 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2021-12-15 17:03:52,023 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-15 17:03:52,024 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-15 17:03:52,029 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2021-12-15 17:03:52,030 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2021-12-15 17:03:52,030 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-12-15 17:03:52,030 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 14 states, 13 states have (on average 1.3846153846153846) internal successors, (18), 13 states have internal predecessors, (18), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-15 17:03:52,033 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2021-12-15 17:03:52,034 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-15 17:03:52,034 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-15 17:03:52,034 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2021-12-15 17:03:52,034 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2021-12-15 17:03:52,040 INFO L791 eck$LassoCheckResult]: Stem: 6#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 10#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet6#1, main_#t~nondet7#1, main_#t~malloc8#1.base, main_#t~malloc8#1.offset, main_#t~ret9#1, main_~length1~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset;main_~length1~0#1 := main_#t~nondet6#1;havoc main_#t~nondet6#1;main_~n~0#1 := main_#t~nondet7#1;havoc main_#t~nondet7#1; 15#L558true assume !(main_~length1~0#1 < 1); 9#L558-2true assume !(main_~n~0#1 < 1); 11#L561-1true call main_#t~malloc8#1.base, main_#t~malloc8#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc8#1.base, main_#t~malloc8#1.offset;call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - 1), 1);assume { :begin_inline_cstrnlen } true;cstrnlen_#in~str#1.base, cstrnlen_#in~str#1.offset, cstrnlen_#in~maxlen#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~n~0#1;havoc cstrnlen_#res#1;havoc cstrnlen_#t~post2#1.base, cstrnlen_#t~post2#1.offset, cstrnlen_#t~post3#1, cstrnlen_#t~mem4#1, cstrnlen_#t~short5#1, cstrnlen_~str#1.base, cstrnlen_~str#1.offset, cstrnlen_~maxlen#1, cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset;cstrnlen_~str#1.base, cstrnlen_~str#1.offset := cstrnlen_#in~str#1.base, cstrnlen_#in~str#1.offset;cstrnlen_~maxlen#1 := cstrnlen_#in~maxlen#1;havoc cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset;cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset := cstrnlen_~str#1.base, cstrnlen_~str#1.offset; 14#L551-6true [2021-12-15 17:03:52,041 INFO L793 eck$LassoCheckResult]: Loop: 14#L551-6true cstrnlen_#t~short5#1 := 0 != cstrnlen_~maxlen#1 % 18446744073709551616; 7#L551-1true assume cstrnlen_#t~short5#1;call cstrnlen_#t~mem4#1 := read~int(cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset, 1);cstrnlen_#t~short5#1 := 0 != cstrnlen_#t~mem4#1; 8#L551-3true assume !!cstrnlen_#t~short5#1;havoc cstrnlen_#t~mem4#1;havoc cstrnlen_#t~short5#1; 3#L551-5true cstrnlen_#t~post2#1.base, cstrnlen_#t~post2#1.offset := cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset;cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset := cstrnlen_#t~post2#1.base, 1 + cstrnlen_#t~post2#1.offset;havoc cstrnlen_#t~post2#1.base, cstrnlen_#t~post2#1.offset;cstrnlen_#t~post3#1 := cstrnlen_~maxlen#1;cstrnlen_~maxlen#1 := cstrnlen_#t~post3#1 - 1;havoc cstrnlen_#t~post3#1; 14#L551-6true [2021-12-15 17:03:52,055 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:03:52,056 INFO L85 PathProgramCache]: Analyzing trace with hash 28695878, now seen corresponding path program 1 times [2021-12-15 17:03:52,064 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:03:52,064 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1027687246] [2021-12-15 17:03:52,064 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:03:52,065 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:03:52,168 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:03:52,168 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:03:52,186 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:03:52,209 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:03:52,211 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:03:52,212 INFO L85 PathProgramCache]: Analyzing trace with hash 1511654, now seen corresponding path program 1 times [2021-12-15 17:03:52,212 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:03:52,213 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [718685368] [2021-12-15 17:03:52,213 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:03:52,214 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:03:52,239 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:03:52,242 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:03:52,251 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:03:52,256 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:03:52,258 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:03:52,258 INFO L85 PathProgramCache]: Analyzing trace with hash 1298318251, now seen corresponding path program 1 times [2021-12-15 17:03:52,258 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:03:52,258 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [482001344] [2021-12-15 17:03:52,258 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:03:52,259 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:03:52,295 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:03:52,295 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:03:52,313 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:03:52,319 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:03:52,768 INFO L210 LassoAnalysis]: Preferences: [2021-12-15 17:03:52,769 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2021-12-15 17:03:52,769 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2021-12-15 17:03:52,769 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2021-12-15 17:03:52,769 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2021-12-15 17:03:52,769 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:52,770 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2021-12-15 17:03:52,770 INFO L132 ssoRankerPreferences]: Path of dumped script: [2021-12-15 17:03:52,771 INFO L133 ssoRankerPreferences]: Filename of dumped script: openbsd_cstrnlen-alloca-2.i_Iteration1_Lasso [2021-12-15 17:03:52,771 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2021-12-15 17:03:52,771 INFO L276 LassoAnalysis]: Starting lasso preprocessing... [2021-12-15 17:03:52,789 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,793 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,795 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,797 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,800 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,802 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,805 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,807 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,976 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,979 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,981 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,983 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,992 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,995 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:52,997 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:53,000 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:53,003 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2021-12-15 17:03:53,319 INFO L294 LassoAnalysis]: Preprocessing complete. [2021-12-15 17:03:53,323 INFO L490 LassoAnalysis]: Using template 'affine'. [2021-12-15 17:03:53,324 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:53,324 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:53,331 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:53,335 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (2)] Waiting until timeout for monitored process [2021-12-15 17:03:53,336 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-12-15 17:03:53,343 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:03:53,343 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-12-15 17:03:53,344 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:03:53,344 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:03:53,344 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:03:53,346 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-12-15 17:03:53,346 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-12-15 17:03:53,356 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:03:53,385 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (2)] Forceful destruction successful, exit code 0 [2021-12-15 17:03:53,387 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:53,387 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:53,388 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:53,398 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-12-15 17:03:53,405 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:03:53,405 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-12-15 17:03:53,406 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:03:53,406 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:03:53,406 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:03:53,406 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-12-15 17:03:53,407 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-12-15 17:03:53,408 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Waiting until timeout for monitored process [2021-12-15 17:03:53,411 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:03:53,427 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (3)] Ended with exit code 0 [2021-12-15 17:03:53,427 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:53,427 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:53,428 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:53,436 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-12-15 17:03:53,444 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:03:53,445 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-12-15 17:03:53,445 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:03:53,445 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:03:53,445 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:03:53,446 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-12-15 17:03:53,446 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-12-15 17:03:53,447 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Waiting until timeout for monitored process [2021-12-15 17:03:53,455 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:03:53,475 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (4)] Forceful destruction successful, exit code 0 [2021-12-15 17:03:53,476 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:53,476 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:53,477 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:53,477 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Waiting until timeout for monitored process [2021-12-15 17:03:53,479 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-12-15 17:03:53,485 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:03:53,485 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:03:53,485 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:03:53,485 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:03:53,488 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-12-15 17:03:53,488 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-12-15 17:03:53,499 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:03:53,527 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (5)] Forceful destruction successful, exit code 0 [2021-12-15 17:03:53,528 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:53,528 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:53,529 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:53,530 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (6)] Waiting until timeout for monitored process [2021-12-15 17:03:53,532 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-12-15 17:03:53,540 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:03:53,540 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-12-15 17:03:53,540 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:03:53,540 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:03:53,540 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:03:53,541 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-12-15 17:03:53,541 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-12-15 17:03:53,555 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:03:53,579 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (6)] Ended with exit code 0 [2021-12-15 17:03:53,579 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:53,580 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:53,580 INFO L229 MonitoredProcess]: Starting monitored process 7 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:53,581 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (7)] Waiting until timeout for monitored process [2021-12-15 17:03:53,583 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-12-15 17:03:53,590 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:03:53,590 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:03:53,590 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:03:53,590 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:03:53,593 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-12-15 17:03:53,593 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-12-15 17:03:53,599 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:03:53,615 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (7)] Forceful destruction successful, exit code 0 [2021-12-15 17:03:53,616 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:53,616 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:53,617 INFO L229 MonitoredProcess]: Starting monitored process 8 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:53,618 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Waiting until timeout for monitored process [2021-12-15 17:03:53,619 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-12-15 17:03:53,625 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:03:53,626 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-12-15 17:03:53,626 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:03:53,626 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:03:53,626 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:03:53,626 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-12-15 17:03:53,626 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-12-15 17:03:53,631 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:03:53,646 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Ended with exit code 0 [2021-12-15 17:03:53,647 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:53,647 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:53,648 INFO L229 MonitoredProcess]: Starting monitored process 9 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:53,649 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (9)] Waiting until timeout for monitored process [2021-12-15 17:03:53,650 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-12-15 17:03:53,657 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:03:53,657 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:03:53,657 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:03:53,657 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:03:53,663 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-12-15 17:03:53,663 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-12-15 17:03:53,668 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:03:53,686 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (9)] Forceful destruction successful, exit code 0 [2021-12-15 17:03:53,686 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:53,686 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:53,687 INFO L229 MonitoredProcess]: Starting monitored process 10 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:53,688 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (10)] Waiting until timeout for monitored process [2021-12-15 17:03:53,689 INFO L120 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSESNumber of strict supporting invariants: 0Number of non-strict supporting invariants: 1Consider only non-deceasing supporting invariants: trueSimplify termination arguments: trueSimplify supporting invariants: trueOverapproximate stem: false [2021-12-15 17:03:53,695 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:03:53,696 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:03:53,696 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:03:53,696 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:03:53,706 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-12-15 17:03:53,706 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-12-15 17:03:53,714 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2021-12-15 17:03:53,750 INFO L443 ModelExtractionUtils]: Simplification made 12 calls to the SMT solver. [2021-12-15 17:03:53,750 INFO L444 ModelExtractionUtils]: 10 out of 28 variables were initially zero. Simplification set additionally 15 variables to zero. [2021-12-15 17:03:53,752 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:03:53,752 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:03:53,767 INFO L229 MonitoredProcess]: Starting monitored process 11 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-12-15 17:03:53,801 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2021-12-15 17:03:53,809 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (11)] Waiting until timeout for monitored process [2021-12-15 17:03:53,838 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2021-12-15 17:03:53,838 INFO L513 LassoAnalysis]: Proved termination. [2021-12-15 17:03:53,838 INFO L515 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_cstrnlen_~cp~0#1.offset, v_rep(select #length ULTIMATE.start_main_#t~malloc8#1.base)_1) = -1*ULTIMATE.start_cstrnlen_~cp~0#1.offset + 1*v_rep(select #length ULTIMATE.start_main_#t~malloc8#1.base)_1 Supporting invariants [] [2021-12-15 17:03:53,891 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (10)] Forceful destruction successful, exit code 0 [2021-12-15 17:03:53,900 INFO L297 tatePredicateManager]: 3 out of 4 supporting invariants were superfluous and have been removed [2021-12-15 17:03:53,926 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:03:53,952 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-15 17:03:53,953 INFO L263 TraceCheckSpWp]: Trace formula consists of 52 conjuncts, 10 conjunts are in the unsatisfiable core [2021-12-15 17:03:53,955 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-15 17:03:53,984 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-15 17:03:53,985 INFO L263 TraceCheckSpWp]: Trace formula consists of 20 conjuncts, 8 conjunts are in the unsatisfiable core [2021-12-15 17:03:53,985 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-15 17:03:54,035 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-15 17:03:54,069 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 [2021-12-15 17:03:54,072 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand has 14 states, 13 states have (on average 1.3846153846153846) internal successors, (18), 13 states have internal predecessors, (18), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 4 states, 4 states have (on average 2.25) internal successors, (9), 4 states have internal predecessors, (9), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-15 17:03:54,147 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand has 14 states, 13 states have (on average 1.3846153846153846) internal successors, (18), 13 states have internal predecessors, (18), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0). Second operand has 4 states, 4 states have (on average 2.25) internal successors, (9), 4 states have internal predecessors, (9), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Result 36 states and 45 transitions. Complement of second has 8 states. [2021-12-15 17:03:54,149 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2021-12-15 17:03:54,153 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 4 states, 4 states have (on average 2.25) internal successors, (9), 4 states have internal predecessors, (9), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-15 17:03:54,153 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 25 transitions. [2021-12-15 17:03:54,155 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 25 transitions. Stem has 5 letters. Loop has 4 letters. [2021-12-15 17:03:54,155 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-15 17:03:54,155 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 25 transitions. Stem has 9 letters. Loop has 4 letters. [2021-12-15 17:03:54,156 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-15 17:03:54,156 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 25 transitions. Stem has 5 letters. Loop has 8 letters. [2021-12-15 17:03:54,156 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-15 17:03:54,157 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 36 states and 45 transitions. [2021-12-15 17:03:54,161 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2021-12-15 17:03:54,165 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 36 states to 18 states and 23 transitions. [2021-12-15 17:03:54,166 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 10 [2021-12-15 17:03:54,166 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 11 [2021-12-15 17:03:54,167 INFO L73 IsDeterministic]: Start isDeterministic. Operand 18 states and 23 transitions. [2021-12-15 17:03:54,167 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2021-12-15 17:03:54,167 INFO L681 BuchiCegarLoop]: Abstraction has 18 states and 23 transitions. [2021-12-15 17:03:54,181 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 18 states and 23 transitions. [2021-12-15 17:03:54,187 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 18 to 17. [2021-12-15 17:03:54,188 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 17 states, 17 states have (on average 1.2941176470588236) internal successors, (22), 16 states have internal predecessors, (22), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-15 17:03:54,189 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 22 transitions. [2021-12-15 17:03:54,190 INFO L704 BuchiCegarLoop]: Abstraction has 17 states and 22 transitions. [2021-12-15 17:03:54,190 INFO L587 BuchiCegarLoop]: Abstraction has 17 states and 22 transitions. [2021-12-15 17:03:54,190 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-12-15 17:03:54,190 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 17 states and 22 transitions. [2021-12-15 17:03:54,193 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2021-12-15 17:03:54,193 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-15 17:03:54,193 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-15 17:03:54,194 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1] [2021-12-15 17:03:54,194 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2021-12-15 17:03:54,194 INFO L791 eck$LassoCheckResult]: Stem: 130#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 131#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet6#1, main_#t~nondet7#1, main_#t~malloc8#1.base, main_#t~malloc8#1.offset, main_#t~ret9#1, main_~length1~0#1, main_~n~0#1, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset;main_~length1~0#1 := main_#t~nondet6#1;havoc main_#t~nondet6#1;main_~n~0#1 := main_#t~nondet7#1;havoc main_#t~nondet7#1; 135#L558 assume !(main_~length1~0#1 < 1); 136#L558-2 assume !(main_~n~0#1 < 1); 140#L561-1 call main_#t~malloc8#1.base, main_#t~malloc8#1.offset := #Ultimate.allocOnStack(main_~length1~0#1);main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset := main_#t~malloc8#1.base, main_#t~malloc8#1.offset;call write~int(0, main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset + (main_~length1~0#1 - 1), 1);assume { :begin_inline_cstrnlen } true;cstrnlen_#in~str#1.base, cstrnlen_#in~str#1.offset, cstrnlen_#in~maxlen#1 := main_~nondetString1~0#1.base, main_~nondetString1~0#1.offset, main_~n~0#1;havoc cstrnlen_#res#1;havoc cstrnlen_#t~post2#1.base, cstrnlen_#t~post2#1.offset, cstrnlen_#t~post3#1, cstrnlen_#t~mem4#1, cstrnlen_#t~short5#1, cstrnlen_~str#1.base, cstrnlen_~str#1.offset, cstrnlen_~maxlen#1, cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset;cstrnlen_~str#1.base, cstrnlen_~str#1.offset := cstrnlen_#in~str#1.base, cstrnlen_#in~str#1.offset;cstrnlen_~maxlen#1 := cstrnlen_#in~maxlen#1;havoc cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset;cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset := cstrnlen_~str#1.base, cstrnlen_~str#1.offset; 141#L551-6 cstrnlen_#t~short5#1 := 0 != cstrnlen_~maxlen#1 % 18446744073709551616; 132#L551-1 [2021-12-15 17:03:54,195 INFO L793 eck$LassoCheckResult]: Loop: 132#L551-1 assume !cstrnlen_#t~short5#1; 137#L551-3 assume !!cstrnlen_#t~short5#1;havoc cstrnlen_#t~mem4#1;havoc cstrnlen_#t~short5#1; 126#L551-5 cstrnlen_#t~post2#1.base, cstrnlen_#t~post2#1.offset := cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset;cstrnlen_~cp~0#1.base, cstrnlen_~cp~0#1.offset := cstrnlen_#t~post2#1.base, 1 + cstrnlen_#t~post2#1.offset;havoc cstrnlen_#t~post2#1.base, cstrnlen_#t~post2#1.offset;cstrnlen_#t~post3#1 := cstrnlen_~maxlen#1;cstrnlen_~maxlen#1 := cstrnlen_#t~post3#1 - 1;havoc cstrnlen_#t~post3#1; 127#L551-6 cstrnlen_#t~short5#1 := 0 != cstrnlen_~maxlen#1 % 18446744073709551616; 132#L551-1 [2021-12-15 17:03:54,196 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:03:54,196 INFO L85 PathProgramCache]: Analyzing trace with hash 889572237, now seen corresponding path program 1 times [2021-12-15 17:03:54,197 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:03:54,197 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1011355235] [2021-12-15 17:03:54,197 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:03:54,197 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:03:54,212 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:03:54,212 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:03:54,224 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:03:54,227 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:03:54,227 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:03:54,228 INFO L85 PathProgramCache]: Analyzing trace with hash 1668346, now seen corresponding path program 1 times [2021-12-15 17:03:54,228 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:03:54,228 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [978986248] [2021-12-15 17:03:54,228 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:03:54,228 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:03:54,231 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-15 17:03:54,249 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-15 17:03:54,250 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-15 17:03:54,250 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [978986248] [2021-12-15 17:03:54,251 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [978986248] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-15 17:03:54,251 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-15 17:03:54,251 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-12-15 17:03:54,251 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [971296778] [2021-12-15 17:03:54,252 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-15 17:03:54,253 INFO L808 eck$LassoCheckResult]: loop already infeasible [2021-12-15 17:03:54,253 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-15 17:03:54,255 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2021-12-15 17:03:54,256 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2021-12-15 17:03:54,257 INFO L87 Difference]: Start difference. First operand 17 states and 22 transitions. cyclomatic complexity: 7 Second operand has 3 states, 3 states have (on average 1.3333333333333333) internal successors, (4), 2 states have internal predecessors, (4), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-12-15 17:03:54,264 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-15 17:03:54,264 INFO L93 Difference]: Finished difference Result 13 states and 16 transitions. [2021-12-15 17:03:54,283 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2021-12-15 17:03:54,284 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 13 states and 16 transitions. [2021-12-15 17:03:54,284 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2021-12-15 17:03:54,285 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 13 states to 0 states and 0 transitions. [2021-12-15 17:03:54,285 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2021-12-15 17:03:54,285 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2021-12-15 17:03:54,286 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2021-12-15 17:03:54,286 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-15 17:03:54,286 INFO L681 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-12-15 17:03:54,286 INFO L704 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-12-15 17:03:54,286 INFO L587 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-12-15 17:03:54,286 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-12-15 17:03:54,286 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2021-12-15 17:03:54,287 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2021-12-15 17:03:54,287 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2021-12-15 17:03:54,295 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (11)] Forceful destruction successful, exit code 0 [2021-12-15 17:03:54,297 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 15.12 05:03:54 BoogieIcfgContainer [2021-12-15 17:03:54,297 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-12-15 17:03:54,298 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-12-15 17:03:54,298 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-12-15 17:03:54,298 INFO L275 PluginConnector]: Witness Printer initialized [2021-12-15 17:03:54,298 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 05:03:51" (3/4) ... [2021-12-15 17:03:54,300 INFO L140 WitnessPrinter]: No result that supports witness generation found [2021-12-15 17:03:54,300 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-12-15 17:03:54,301 INFO L158 Benchmark]: Toolchain (without parser) took 3062.04ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 79.4MB in the beginning and 104.8MB in the end (delta: -25.4MB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 17:03:54,301 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 109.1MB. Free memory is still 66.0MB. There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 17:03:54,302 INFO L158 Benchmark]: CACSL2BoogieTranslator took 349.39ms. Allocated memory is still 109.1MB. Free memory was 79.2MB in the beginning and 79.2MB in the end (delta: 14.5kB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2021-12-15 17:03:54,302 INFO L158 Benchmark]: Boogie Procedure Inliner took 44.74ms. Allocated memory is still 109.1MB. Free memory was 79.2MB in the beginning and 77.2MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-15 17:03:54,303 INFO L158 Benchmark]: Boogie Preprocessor took 22.97ms. Allocated memory is still 109.1MB. Free memory was 77.2MB in the beginning and 76.3MB in the end (delta: 892.9kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-15 17:03:54,303 INFO L158 Benchmark]: RCFGBuilder took 282.74ms. Allocated memory is still 109.1MB. Free memory was 75.9MB in the beginning and 66.3MB in the end (delta: 9.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2021-12-15 17:03:54,304 INFO L158 Benchmark]: BuchiAutomizer took 2351.32ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 66.3MB in the beginning and 105.2MB in the end (delta: -38.9MB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 17:03:54,304 INFO L158 Benchmark]: Witness Printer took 2.57ms. Allocated memory is still 132.1MB. Free memory was 105.2MB in the beginning and 104.8MB in the end (delta: 376.8kB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 17:03:54,306 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.19ms. Allocated memory is still 109.1MB. Free memory is still 66.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 349.39ms. Allocated memory is still 109.1MB. Free memory was 79.2MB in the beginning and 79.2MB in the end (delta: 14.5kB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 44.74ms. Allocated memory is still 109.1MB. Free memory was 79.2MB in the beginning and 77.2MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 22.97ms. Allocated memory is still 109.1MB. Free memory was 77.2MB in the beginning and 76.3MB in the end (delta: 892.9kB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 282.74ms. Allocated memory is still 109.1MB. Free memory was 75.9MB in the beginning and 66.3MB in the end (delta: 9.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * BuchiAutomizer took 2351.32ms. Allocated memory was 109.1MB in the beginning and 132.1MB in the end (delta: 23.1MB). Free memory was 66.3MB in the beginning and 105.2MB in the end (delta: -38.9MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 2.57ms. Allocated memory is still 132.1MB. Free memory was 105.2MB in the beginning and 104.8MB in the end (delta: 376.8kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 2 terminating modules (1 trivial, 1 deterministic, 0 nondeterministic). One deterministic module has affine ranking function -1 * cp + unknown-#length-unknown[__builtin_alloca (length1 * sizeof(char))] and consists of 5 locations. 1 modules have a trivial ranking function, the largest among these consists of 3 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 2.3s and 3 iterations. TraceHistogramMax:1. Analysis of lassos took 1.9s. 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 1. Automata minimization 0.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 1 StatesRemovedByMinimization, 1 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 17 states and ocurred in iteration 1. Nontrivial modules had stage [1, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 18 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 18 mSDsluCounter, 38 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 15 mSDsCounter, 5 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 15 IncrementalHoareTripleChecker+Invalid, 20 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 5 mSolverCounterUnsat, 23 mSDtfsCounter, 15 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont0 unkn0 SFLI1 SFLT0 conc0 concLT0 SILN0 SILU0 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital133 mio100 ax113 hnf100 lsp70 ukn95 mio100 lsp46 div125 bol100 ite100 ukn100 eq157 hnf84 smp100 dnf100 smp100 tf100 neg100 sie100 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 23ms VariablesStem: 1 VariablesLoop: 0 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! [2021-12-15 17:03:54,336 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE