./Ultimate.py --spec ../sv-benchmarks/c/properties/termination.prp --file ../sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- 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/array-memsafety/openbsd_cmemchr-alloca-2.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 007fc8a389a67fb47c7d326d3f1d284696dfe5de13661e77d6d1bf7cce285194 --- Real Ultimate output --- This is Ultimate 0.2.2-3a877d227dc491413fd706022d0c47cd97beb353-3a877d2 [2021-12-15 17:25:54,292 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-12-15 17:25:54,293 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-12-15 17:25:54,326 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-12-15 17:25:54,326 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-12-15 17:25:54,327 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-12-15 17:25:54,328 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-12-15 17:25:54,329 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-12-15 17:25:54,330 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-12-15 17:25:54,331 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-12-15 17:25:54,335 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-12-15 17:25:54,336 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-12-15 17:25:54,337 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-12-15 17:25:54,339 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-12-15 17:25:54,341 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-12-15 17:25:54,343 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-12-15 17:25:54,344 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-12-15 17:25:54,347 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-12-15 17:25:54,348 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-12-15 17:25:54,349 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-12-15 17:25:54,350 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-12-15 17:25:54,351 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-12-15 17:25:54,352 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-12-15 17:25:54,352 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-12-15 17:25:54,354 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-12-15 17:25:54,354 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-12-15 17:25:54,355 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-12-15 17:25:54,355 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-12-15 17:25:54,356 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-12-15 17:25:54,356 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-12-15 17:25:54,356 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-12-15 17:25:54,357 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-12-15 17:25:54,358 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-12-15 17:25:54,358 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-12-15 17:25:54,359 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-12-15 17:25:54,359 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-12-15 17:25:54,359 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-12-15 17:25:54,360 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-12-15 17:25:54,360 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-12-15 17:25:54,361 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-12-15 17:25:54,361 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-12-15 17:25:54,362 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-12-15 17:25:54,384 INFO L113 SettingsManager]: Loading preferences was successful [2021-12-15 17:25:54,384 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-12-15 17:25:54,385 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-12-15 17:25:54,385 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-12-15 17:25:54,386 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-12-15 17:25:54,386 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-12-15 17:25:54,386 INFO L138 SettingsManager]: * Use SBE=true [2021-12-15 17:25:54,386 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-12-15 17:25:54,386 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-12-15 17:25:54,386 INFO L138 SettingsManager]: * Use old map elimination=false [2021-12-15 17:25:54,386 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-12-15 17:25:54,386 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-12-15 17:25:54,387 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-12-15 17:25:54,387 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-12-15 17:25:54,387 INFO L138 SettingsManager]: * sizeof long=4 [2021-12-15 17:25:54,387 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-12-15 17:25:54,387 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-12-15 17:25:54,387 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-12-15 17:25:54,387 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-12-15 17:25:54,388 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-12-15 17:25:54,389 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-12-15 17:25:54,390 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-12-15 17:25:54,390 INFO L138 SettingsManager]: * sizeof long double=12 [2021-12-15 17:25:54,390 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-12-15 17:25:54,390 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-12-15 17:25:54,390 INFO L138 SettingsManager]: * Use constant arrays=true [2021-12-15 17:25:54,390 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-12-15 17:25:54,391 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-12-15 17:25:54,391 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-12-15 17:25:54,391 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-12-15 17:25:54,391 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-12-15 17:25:54,391 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-12-15 17:25:54,392 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-12-15 17:25:54,392 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 -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 007fc8a389a67fb47c7d326d3f1d284696dfe5de13661e77d6d1bf7cce285194 [2021-12-15 17:25:54,552 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-12-15 17:25:54,569 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-12-15 17:25:54,572 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-12-15 17:25:54,573 INFO L271 PluginConnector]: Initializing CDTParser... [2021-12-15 17:25:54,574 INFO L275 PluginConnector]: CDTParser initialized [2021-12-15 17:25:54,575 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i [2021-12-15 17:25:54,653 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/598a38f4f/1b57b849614b4fd1959a7b30da7e30f4/FLAG6c9a9cbcf [2021-12-15 17:25:55,068 INFO L306 CDTParser]: Found 1 translation units. [2021-12-15 17:25:55,069 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i [2021-12-15 17:25:55,081 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/598a38f4f/1b57b849614b4fd1959a7b30da7e30f4/FLAG6c9a9cbcf [2021-12-15 17:25:55,091 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/598a38f4f/1b57b849614b4fd1959a7b30da7e30f4 [2021-12-15 17:25:55,093 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-12-15 17:25:55,098 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-12-15 17:25:55,100 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-12-15 17:25:55,100 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-12-15 17:25:55,103 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-12-15 17:25:55,103 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.12 05:25:55" (1/1) ... [2021-12-15 17:25:55,105 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7f899572 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55, skipping insertion in model container [2021-12-15 17:25:55,105 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.12 05:25:55" (1/1) ... [2021-12-15 17:25:55,109 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-12-15 17:25:55,146 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-12-15 17:25:55,359 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-15 17:25:55,364 INFO L203 MainTranslator]: Completed pre-run [2021-12-15 17:25:55,385 INFO L209 PostProcessor]: Analyzing one entry point: main [2021-12-15 17:25:55,404 INFO L208 MainTranslator]: Completed translation [2021-12-15 17:25:55,404 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55 WrapperNode [2021-12-15 17:25:55,404 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-12-15 17:25:55,405 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-12-15 17:25:55,405 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-12-15 17:25:55,405 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-12-15 17:25:55,409 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:25:55" (1/1) ... [2021-12-15 17:25:55,416 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:25:55" (1/1) ... [2021-12-15 17:25:55,429 INFO L137 Inliner]: procedures = 117, calls = 8, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 60 [2021-12-15 17:25:55,429 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-12-15 17:25:55,430 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-12-15 17:25:55,430 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-12-15 17:25:55,430 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-12-15 17:25:55,435 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55" (1/1) ... [2021-12-15 17:25:55,435 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55" (1/1) ... [2021-12-15 17:25:55,437 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55" (1/1) ... [2021-12-15 17:25:55,437 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55" (1/1) ... [2021-12-15 17:25:55,441 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55" (1/1) ... [2021-12-15 17:25:55,443 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55" (1/1) ... [2021-12-15 17:25:55,444 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55" (1/1) ... [2021-12-15 17:25:55,445 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-12-15 17:25:55,446 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-12-15 17:25:55,446 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-12-15 17:25:55,446 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-12-15 17:25:55,453 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55" (1/1) ... [2021-12-15 17:25:55,459 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:55,466 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:55,480 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:25:55,483 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:25:55,502 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-12-15 17:25:55,502 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-12-15 17:25:55,502 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-12-15 17:25:55,502 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-12-15 17:25:55,502 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-12-15 17:25:55,502 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-12-15 17:25:55,568 INFO L236 CfgBuilder]: Building ICFG [2021-12-15 17:25:55,569 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2021-12-15 17:25:55,636 INFO L277 CfgBuilder]: Performing block encoding [2021-12-15 17:25:55,639 INFO L296 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-12-15 17:25:55,640 INFO L301 CfgBuilder]: Removed 2 assume(true) statements. [2021-12-15 17:25:55,641 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 05:25:55 BoogieIcfgContainer [2021-12-15 17:25:55,641 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-12-15 17:25:55,642 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-12-15 17:25:55,642 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-12-15 17:25:55,644 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-12-15 17:25:55,645 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-15 17:25:55,645 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 15.12 05:25:55" (1/3) ... [2021-12-15 17:25:55,645 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@46254ad0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 15.12 05:25:55, skipping insertion in model container [2021-12-15 17:25:55,646 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-15 17:25:55,646 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.12 05:25:55" (2/3) ... [2021-12-15 17:25:55,646 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@46254ad0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 15.12 05:25:55, skipping insertion in model container [2021-12-15 17:25:55,646 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-12-15 17:25:55,646 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 05:25:55" (3/3) ... [2021-12-15 17:25:55,647 INFO L388 chiAutomizerObserver]: Analyzing ICFG openbsd_cmemchr-alloca-2.i [2021-12-15 17:25:55,675 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-12-15 17:25:55,675 INFO L360 BuchiCegarLoop]: Hoare is false [2021-12-15 17:25:55,675 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-12-15 17:25:55,676 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-12-15 17:25:55,676 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-12-15 17:25:55,676 INFO L364 BuchiCegarLoop]: Difference is false [2021-12-15 17:25:55,676 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-12-15 17:25:55,676 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-12-15 17:25:55,684 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 18 states, 17 states have (on average 1.4705882352941178) internal successors, (25), 17 states have internal predecessors, (25), 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:25:55,695 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 6 [2021-12-15 17:25:55,695 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-15 17:25:55,695 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-15 17:25:55,699 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2021-12-15 17:25:55,699 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2021-12-15 17:25:55,699 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-12-15 17:25:55,699 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 18 states, 17 states have (on average 1.4705882352941178) internal successors, (25), 17 states have internal predecessors, (25), 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:25:55,701 INFO L131 ngComponentsAnalysis]: Automaton has 2 accepting balls. 6 [2021-12-15 17:25:55,701 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-15 17:25:55,701 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-15 17:25:55,701 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2021-12-15 17:25:55,701 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1] [2021-12-15 17:25:55,706 INFO L791 eck$LassoCheckResult]: Stem: 5#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 9#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet5#1, main_#t~nondet6#1, main_#t~nondet7#1, main_#t~malloc8#1.base, main_#t~malloc8#1.offset, main_#t~nondet10#1, main_#t~post9#1, main_~i~0#1, main_#t~ret11#1.base, main_#t~ret11#1.offset, main_~length~0#1, main_~n~0#1, main_~c~0#1, main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset;main_~length~0#1 := main_#t~nondet5#1;havoc main_#t~nondet5#1;main_~n~0#1 := main_#t~nondet6#1;havoc main_#t~nondet6#1;main_~c~0#1 := main_#t~nondet7#1;havoc main_#t~nondet7#1; 8#L529true assume !(main_~length~0#1 < 1); 16#L529-2true assume !(main_~n~0#1 < 1); 3#L532-1true call main_#t~malloc8#1.base, main_#t~malloc8#1.offset := #Ultimate.allocOnStack(main_~n~0#1);main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset := main_#t~malloc8#1.base, main_#t~malloc8#1.offset;main_~i~0#1 := 0; 7#L537-3true [2021-12-15 17:25:55,706 INFO L793 eck$LassoCheckResult]: Loop: 7#L537-3true assume !!(main_~i~0#1 < main_~n~0#1);call write~int(main_#t~nondet10#1, main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset + main_~i~0#1, 1);havoc main_#t~nondet10#1; 14#L537-2true main_#t~post9#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post9#1;havoc main_#t~post9#1; 7#L537-3true [2021-12-15 17:25:55,709 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:55,709 INFO L85 PathProgramCache]: Analyzing trace with hash 28695878, now seen corresponding path program 1 times [2021-12-15 17:25:55,714 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:55,715 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1808341190] [2021-12-15 17:25:55,715 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:55,716 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:55,812 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:55,814 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:25:55,820 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:55,850 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:25:55,852 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:55,852 INFO L85 PathProgramCache]: Analyzing trace with hash 1699, now seen corresponding path program 1 times [2021-12-15 17:25:55,853 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:55,853 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1851722005] [2021-12-15 17:25:55,853 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:55,854 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:55,872 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:55,878 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:25:55,882 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:55,889 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:25:55,893 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:55,899 INFO L85 PathProgramCache]: Analyzing trace with hash 1806935720, now seen corresponding path program 1 times [2021-12-15 17:25:55,899 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:55,899 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1024189791] [2021-12-15 17:25:55,899 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:55,900 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:55,918 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:55,922 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:25:55,950 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:55,958 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:25:56,187 INFO L210 LassoAnalysis]: Preferences: [2021-12-15 17:25:56,188 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2021-12-15 17:25:56,188 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2021-12-15 17:25:56,188 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2021-12-15 17:25:56,188 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2021-12-15 17:25:56,189 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:56,189 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2021-12-15 17:25:56,189 INFO L132 ssoRankerPreferences]: Path of dumped script: [2021-12-15 17:25:56,189 INFO L133 ssoRankerPreferences]: Filename of dumped script: openbsd_cmemchr-alloca-2.i_Iteration1_Lasso [2021-12-15 17:25:56,189 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2021-12-15 17:25:56,190 INFO L276 LassoAnalysis]: Starting lasso preprocessing... [2021-12-15 17:25:56,204 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:25:56,278 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:25:56,281 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:25:56,283 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:25:56,285 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:25:56,287 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:25:56,289 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:25:56,292 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:25:56,294 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:25:56,297 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:25:56,299 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:25:56,301 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:25:56,303 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:25:56,305 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:25:56,308 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:25:56,486 INFO L294 LassoAnalysis]: Preprocessing complete. [2021-12-15 17:25:56,489 INFO L490 LassoAnalysis]: Using template 'affine'. [2021-12-15 17:25:56,491 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:56,491 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:56,492 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:25:56,496 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:25:56,503 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:25:56,503 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:25:56,504 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:25:56,504 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:25:56,504 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:25:56,510 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-12-15 17:25:56,511 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-12-15 17:25:56,517 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:25:56,538 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (2)] Ended with exit code 0 [2021-12-15 17:25:56,538 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:56,539 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:56,540 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:25:56,549 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:25:56,550 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:25:56,556 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:25:56,556 INFO L351 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2021-12-15 17:25:56,556 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:25:56,556 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:25:56,556 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:25:56,558 INFO L401 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2021-12-15 17:25:56,558 INFO L402 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2021-12-15 17:25:56,559 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:25:56,574 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:25:56,574 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:56,575 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:56,575 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:25:56,576 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:25:56,577 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:25:56,583 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:25:56,583 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:25:56,583 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:25:56,583 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:25:56,591 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-12-15 17:25:56,591 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-12-15 17:25:56,629 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2021-12-15 17:25:56,672 INFO L443 ModelExtractionUtils]: Simplification made 18 calls to the SMT solver. [2021-12-15 17:25:56,673 INFO L444 ModelExtractionUtils]: 5 out of 22 variables were initially zero. Simplification set additionally 13 variables to zero. [2021-12-15 17:25:56,674 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:56,674 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:56,675 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:25:56,676 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:25:56,677 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2021-12-15 17:25:56,699 INFO L438 nArgumentSynthesizer]: Removed 1 redundant supporting invariants from a total of 2. [2021-12-15 17:25:56,699 INFO L513 LassoAnalysis]: Proved termination. [2021-12-15 17:25:56,699 INFO L515 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_main_~i~0#1, v_rep(select #length ULTIMATE.start_main_~nondetArea~0#1.base)_1) = -1*ULTIMATE.start_main_~i~0#1 + 1*v_rep(select #length ULTIMATE.start_main_~nondetArea~0#1.base)_1 Supporting invariants [1*ULTIMATE.start_main_~nondetArea~0#1.offset >= 0] [2021-12-15 17:25:56,715 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:25:56,722 INFO L297 tatePredicateManager]: 3 out of 4 supporting invariants were superfluous and have been removed [2021-12-15 17:25:56,744 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:56,759 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-15 17:25:56,760 INFO L263 TraceCheckSpWp]: Trace formula consists of 30 conjuncts, 4 conjunts are in the unsatisfiable core [2021-12-15 17:25:56,760 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-15 17:25:56,815 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-15 17:25:56,816 INFO L263 TraceCheckSpWp]: Trace formula consists of 14 conjuncts, 5 conjunts are in the unsatisfiable core [2021-12-15 17:25:56,816 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-15 17:25:56,840 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:25:56,862 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:25:56,863 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand has 18 states, 17 states have (on average 1.4705882352941178) internal successors, (25), 17 states have internal predecessors, (25), 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 3 states, 3 states have (on average 2.3333333333333335) internal successors, (7), 3 states have internal predecessors, (7), 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:25:56,914 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand has 18 states, 17 states have (on average 1.4705882352941178) internal successors, (25), 17 states have internal predecessors, (25), 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 3 states, 3 states have (on average 2.3333333333333335) internal successors, (7), 3 states have internal predecessors, (7), 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 42 states and 59 transitions. Complement of second has 7 states. [2021-12-15 17:25:56,915 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:25:56,920 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 3 states, 3 states have (on average 2.3333333333333335) internal successors, (7), 3 states have internal predecessors, (7), 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:25:56,921 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 39 transitions. [2021-12-15 17:25:56,922 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 39 transitions. Stem has 5 letters. Loop has 2 letters. [2021-12-15 17:25:56,923 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-15 17:25:56,923 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 39 transitions. Stem has 7 letters. Loop has 2 letters. [2021-12-15 17:25:56,923 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-15 17:25:56,923 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 39 transitions. Stem has 5 letters. Loop has 4 letters. [2021-12-15 17:25:56,924 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-15 17:25:56,925 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 42 states and 59 transitions. [2021-12-15 17:25:56,930 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2021-12-15 17:25:56,934 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 42 states to 14 states and 18 transitions. [2021-12-15 17:25:56,935 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 11 [2021-12-15 17:25:56,935 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 12 [2021-12-15 17:25:56,935 INFO L73 IsDeterministic]: Start isDeterministic. Operand 14 states and 18 transitions. [2021-12-15 17:25:56,936 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-15 17:25:56,936 INFO L681 BuchiCegarLoop]: Abstraction has 14 states and 18 transitions. [2021-12-15 17:25:56,946 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 14 states and 18 transitions. [2021-12-15 17:25:56,951 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 14 to 14. [2021-12-15 17:25:56,952 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 14 states, 14 states have (on average 1.2857142857142858) 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:25:56,953 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 18 transitions. [2021-12-15 17:25:56,953 INFO L704 BuchiCegarLoop]: Abstraction has 14 states and 18 transitions. [2021-12-15 17:25:56,954 INFO L587 BuchiCegarLoop]: Abstraction has 14 states and 18 transitions. [2021-12-15 17:25:56,954 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-12-15 17:25:56,954 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states and 18 transitions. [2021-12-15 17:25:56,955 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2021-12-15 17:25:56,955 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-15 17:25:56,955 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-15 17:25:56,956 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-12-15 17:25:56,956 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2021-12-15 17:25:56,956 INFO L791 eck$LassoCheckResult]: Stem: 131#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 132#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet5#1, main_#t~nondet6#1, main_#t~nondet7#1, main_#t~malloc8#1.base, main_#t~malloc8#1.offset, main_#t~nondet10#1, main_#t~post9#1, main_~i~0#1, main_#t~ret11#1.base, main_#t~ret11#1.offset, main_~length~0#1, main_~n~0#1, main_~c~0#1, main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset;main_~length~0#1 := main_#t~nondet5#1;havoc main_#t~nondet5#1;main_~n~0#1 := main_#t~nondet6#1;havoc main_#t~nondet6#1;main_~c~0#1 := main_#t~nondet7#1;havoc main_#t~nondet7#1; 137#L529 assume !(main_~length~0#1 < 1); 138#L529-2 assume !(main_~n~0#1 < 1); 129#L532-1 call main_#t~malloc8#1.base, main_#t~malloc8#1.offset := #Ultimate.allocOnStack(main_~n~0#1);main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset := main_#t~malloc8#1.base, main_#t~malloc8#1.offset;main_~i~0#1 := 0; 130#L537-3 assume !(main_~i~0#1 < main_~n~0#1); 133#L537-4 assume { :begin_inline_cmemchr } true;cmemchr_#in~s#1.base, cmemchr_#in~s#1.offset, cmemchr_#in~c#1, cmemchr_#in~n#1 := main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset, main_~c~0#1, main_~n~0#1;havoc cmemchr_#res#1.base, cmemchr_#res#1.offset;havoc cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset, cmemchr_#t~mem4#1, cmemchr_#t~pre2#1, cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset, cmemchr_~s#1.base, cmemchr_~s#1.offset, cmemchr_~c#1, cmemchr_~n#1;cmemchr_~s#1.base, cmemchr_~s#1.offset := cmemchr_#in~s#1.base, cmemchr_#in~s#1.offset;cmemchr_~c#1 := cmemchr_#in~c#1;cmemchr_~n#1 := cmemchr_#in~n#1; 134#L516 assume 0 != cmemchr_~n#1 % 4294967296;cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset := cmemchr_~s#1.base, cmemchr_~s#1.offset; 139#L518-4 [2021-12-15 17:25:56,957 INFO L793 eck$LassoCheckResult]: Loop: 139#L518-4 cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset := cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset;cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset := cmemchr_#t~post3#1.base, 1 + cmemchr_#t~post3#1.offset;call cmemchr_#t~mem4#1 := read~int(cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset, 1); 140#L519 assume !(cmemchr_#t~mem4#1 % 256 == cmemchr_~c#1 % 256);havoc cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset;havoc cmemchr_#t~mem4#1; 142#L518-1 cmemchr_#t~pre2#1 := cmemchr_~n#1 - 1;cmemchr_~n#1 := cmemchr_~n#1 - 1; 141#L518-2 assume !!(0 != cmemchr_#t~pre2#1 % 4294967296);havoc cmemchr_#t~pre2#1; 139#L518-4 [2021-12-15 17:25:56,960 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:56,961 INFO L85 PathProgramCache]: Analyzing trace with hash 180430706, now seen corresponding path program 1 times [2021-12-15 17:25:56,961 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:56,961 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2029085656] [2021-12-15 17:25:56,961 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:56,961 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:56,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-15 17:25:57,010 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:25:57,011 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-15 17:25:57,011 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2029085656] [2021-12-15 17:25:57,012 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2029085656] provided 1 perfect and 0 imperfect interpolant sequences [2021-12-15 17:25:57,012 INFO L186 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2021-12-15 17:25:57,012 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-12-15 17:25:57,012 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1489629693] [2021-12-15 17:25:57,013 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2021-12-15 17:25:57,014 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-12-15 17:25:57,014 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:57,015 INFO L85 PathProgramCache]: Analyzing trace with hash 2036779, now seen corresponding path program 1 times [2021-12-15 17:25:57,015 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:57,015 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [343583072] [2021-12-15 17:25:57,015 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:57,015 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:57,024 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,024 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:25:57,030 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,032 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:25:57,096 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-15 17:25:57,098 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-12-15 17:25:57,098 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2021-12-15 17:25:57,099 INFO L87 Difference]: Start difference. First operand 14 states and 18 transitions. cyclomatic complexity: 6 Second operand has 4 states, 4 states have (on average 2.0) internal successors, (8), 4 states have internal predecessors, (8), 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:25:57,114 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-15 17:25:57,114 INFO L93 Difference]: Finished difference Result 15 states and 18 transitions. [2021-12-15 17:25:57,114 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-12-15 17:25:57,115 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 15 states and 18 transitions. [2021-12-15 17:25:57,115 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2021-12-15 17:25:57,116 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 15 states to 15 states and 18 transitions. [2021-12-15 17:25:57,116 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 12 [2021-12-15 17:25:57,116 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 12 [2021-12-15 17:25:57,116 INFO L73 IsDeterministic]: Start isDeterministic. Operand 15 states and 18 transitions. [2021-12-15 17:25:57,116 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-15 17:25:57,116 INFO L681 BuchiCegarLoop]: Abstraction has 15 states and 18 transitions. [2021-12-15 17:25:57,116 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 15 states and 18 transitions. [2021-12-15 17:25:57,117 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 15 to 14. [2021-12-15 17:25:57,117 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 14 states, 14 states have (on average 1.2142857142857142) internal successors, (17), 13 states have internal predecessors, (17), 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:25:57,118 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 14 states to 14 states and 17 transitions. [2021-12-15 17:25:57,118 INFO L704 BuchiCegarLoop]: Abstraction has 14 states and 17 transitions. [2021-12-15 17:25:57,118 INFO L587 BuchiCegarLoop]: Abstraction has 14 states and 17 transitions. [2021-12-15 17:25:57,118 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-12-15 17:25:57,118 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states and 17 transitions. [2021-12-15 17:25:57,118 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2021-12-15 17:25:57,118 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-15 17:25:57,119 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-15 17:25:57,119 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-15 17:25:57,119 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2021-12-15 17:25:57,119 INFO L791 eck$LassoCheckResult]: Stem: 167#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 168#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet5#1, main_#t~nondet6#1, main_#t~nondet7#1, main_#t~malloc8#1.base, main_#t~malloc8#1.offset, main_#t~nondet10#1, main_#t~post9#1, main_~i~0#1, main_#t~ret11#1.base, main_#t~ret11#1.offset, main_~length~0#1, main_~n~0#1, main_~c~0#1, main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset;main_~length~0#1 := main_#t~nondet5#1;havoc main_#t~nondet5#1;main_~n~0#1 := main_#t~nondet6#1;havoc main_#t~nondet6#1;main_~c~0#1 := main_#t~nondet7#1;havoc main_#t~nondet7#1; 173#L529 assume !(main_~length~0#1 < 1); 174#L529-2 assume !(main_~n~0#1 < 1); 165#L532-1 call main_#t~malloc8#1.base, main_#t~malloc8#1.offset := #Ultimate.allocOnStack(main_~n~0#1);main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset := main_#t~malloc8#1.base, main_#t~malloc8#1.offset;main_~i~0#1 := 0; 166#L537-3 assume !!(main_~i~0#1 < main_~n~0#1);call write~int(main_#t~nondet10#1, main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset + main_~i~0#1, 1);havoc main_#t~nondet10#1; 171#L537-2 main_#t~post9#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post9#1;havoc main_#t~post9#1; 172#L537-3 assume !(main_~i~0#1 < main_~n~0#1); 169#L537-4 assume { :begin_inline_cmemchr } true;cmemchr_#in~s#1.base, cmemchr_#in~s#1.offset, cmemchr_#in~c#1, cmemchr_#in~n#1 := main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset, main_~c~0#1, main_~n~0#1;havoc cmemchr_#res#1.base, cmemchr_#res#1.offset;havoc cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset, cmemchr_#t~mem4#1, cmemchr_#t~pre2#1, cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset, cmemchr_~s#1.base, cmemchr_~s#1.offset, cmemchr_~c#1, cmemchr_~n#1;cmemchr_~s#1.base, cmemchr_~s#1.offset := cmemchr_#in~s#1.base, cmemchr_#in~s#1.offset;cmemchr_~c#1 := cmemchr_#in~c#1;cmemchr_~n#1 := cmemchr_#in~n#1; 170#L516 assume 0 != cmemchr_~n#1 % 4294967296;cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset := cmemchr_~s#1.base, cmemchr_~s#1.offset; 175#L518-4 [2021-12-15 17:25:57,119 INFO L793 eck$LassoCheckResult]: Loop: 175#L518-4 cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset := cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset;cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset := cmemchr_#t~post3#1.base, 1 + cmemchr_#t~post3#1.offset;call cmemchr_#t~mem4#1 := read~int(cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset, 1); 176#L519 assume !(cmemchr_#t~mem4#1 % 256 == cmemchr_~c#1 % 256);havoc cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset;havoc cmemchr_#t~mem4#1; 178#L518-1 cmemchr_#t~pre2#1 := cmemchr_~n#1 - 1;cmemchr_~n#1 := cmemchr_~n#1 - 1; 177#L518-2 assume !!(0 != cmemchr_#t~pre2#1 % 4294967296);havoc cmemchr_#t~pre2#1; 175#L518-4 [2021-12-15 17:25:57,120 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:57,120 INFO L85 PathProgramCache]: Analyzing trace with hash 1596934864, now seen corresponding path program 1 times [2021-12-15 17:25:57,120 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:57,120 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [465053383] [2021-12-15 17:25:57,120 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:57,120 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:57,130 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,131 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:25:57,139 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,142 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:25:57,142 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:57,142 INFO L85 PathProgramCache]: Analyzing trace with hash 2036779, now seen corresponding path program 2 times [2021-12-15 17:25:57,143 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:57,143 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1647756181] [2021-12-15 17:25:57,143 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:57,143 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:57,149 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,149 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:25:57,154 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,156 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:25:57,156 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:57,156 INFO L85 PathProgramCache]: Analyzing trace with hash 1308516218, now seen corresponding path program 1 times [2021-12-15 17:25:57,157 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:57,157 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [510970713] [2021-12-15 17:25:57,157 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:57,157 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:57,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-15 17:25:57,259 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-15 17:25:57,260 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-12-15 17:25:57,260 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [510970713] [2021-12-15 17:25:57,260 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [510970713] provided 0 perfect and 1 imperfect interpolant sequences [2021-12-15 17:25:57,260 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1137217698] [2021-12-15 17:25:57,260 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:57,261 INFO L168 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-12-15 17:25:57,261 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:57,262 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-12-15 17:25:57,263 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Waiting until timeout for monitored process [2021-12-15 17:25:57,334 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-15 17:25:57,335 INFO L263 TraceCheckSpWp]: Trace formula consists of 83 conjuncts, 13 conjunts are in the unsatisfiable core [2021-12-15 17:25:57,335 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-15 17:25:57,402 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-15 17:25:57,402 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2021-12-15 17:25:57,531 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:25:57,583 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-12-15 17:25:57,583 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1137217698] provided 0 perfect and 2 imperfect interpolant sequences [2021-12-15 17:25:57,583 INFO L186 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2021-12-15 17:25:57,584 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 7, 7] total 15 [2021-12-15 17:25:57,584 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [673995916] [2021-12-15 17:25:57,584 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2021-12-15 17:25:57,640 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-12-15 17:25:57,641 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 16 interpolants. [2021-12-15 17:25:57,642 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=55, Invalid=185, Unknown=0, NotChecked=0, Total=240 [2021-12-15 17:25:57,642 INFO L87 Difference]: Start difference. First operand 14 states and 17 transitions. cyclomatic complexity: 5 Second operand has 16 states, 15 states have (on average 1.9333333333333333) internal successors, (29), 16 states have internal predecessors, (29), 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:25:57,763 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-12-15 17:25:57,763 INFO L93 Difference]: Finished difference Result 27 states and 30 transitions. [2021-12-15 17:25:57,763 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 11 states. [2021-12-15 17:25:57,764 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 27 states and 30 transitions. [2021-12-15 17:25:57,765 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2021-12-15 17:25:57,765 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 27 states to 17 states and 19 transitions. [2021-12-15 17:25:57,765 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 12 [2021-12-15 17:25:57,765 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 12 [2021-12-15 17:25:57,765 INFO L73 IsDeterministic]: Start isDeterministic. Operand 17 states and 19 transitions. [2021-12-15 17:25:57,765 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-15 17:25:57,765 INFO L681 BuchiCegarLoop]: Abstraction has 17 states and 19 transitions. [2021-12-15 17:25:57,766 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 17 states and 19 transitions. [2021-12-15 17:25:57,766 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 17 to 16. [2021-12-15 17:25:57,767 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 16 states, 16 states have (on average 1.125) internal successors, (18), 15 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:25:57,767 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 18 transitions. [2021-12-15 17:25:57,767 INFO L704 BuchiCegarLoop]: Abstraction has 16 states and 18 transitions. [2021-12-15 17:25:57,767 INFO L587 BuchiCegarLoop]: Abstraction has 16 states and 18 transitions. [2021-12-15 17:25:57,767 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-12-15 17:25:57,767 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 16 states and 18 transitions. [2021-12-15 17:25:57,768 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2021-12-15 17:25:57,768 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-12-15 17:25:57,768 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-12-15 17:25:57,768 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1] [2021-12-15 17:25:57,768 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2021-12-15 17:25:57,768 INFO L791 eck$LassoCheckResult]: Stem: 317#ULTIMATE.startENTRY assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;assume 0 == #valid[0];assume 0 < #StackHeapBarrier; 318#L-1 assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet5#1, main_#t~nondet6#1, main_#t~nondet7#1, main_#t~malloc8#1.base, main_#t~malloc8#1.offset, main_#t~nondet10#1, main_#t~post9#1, main_~i~0#1, main_#t~ret11#1.base, main_#t~ret11#1.offset, main_~length~0#1, main_~n~0#1, main_~c~0#1, main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset;main_~length~0#1 := main_#t~nondet5#1;havoc main_#t~nondet5#1;main_~n~0#1 := main_#t~nondet6#1;havoc main_#t~nondet6#1;main_~c~0#1 := main_#t~nondet7#1;havoc main_#t~nondet7#1; 324#L529 assume !(main_~length~0#1 < 1); 325#L529-2 assume !(main_~n~0#1 < 1); 315#L532-1 call main_#t~malloc8#1.base, main_#t~malloc8#1.offset := #Ultimate.allocOnStack(main_~n~0#1);main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset := main_#t~malloc8#1.base, main_#t~malloc8#1.offset;main_~i~0#1 := 0; 316#L537-3 assume !!(main_~i~0#1 < main_~n~0#1);call write~int(main_#t~nondet10#1, main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset + main_~i~0#1, 1);havoc main_#t~nondet10#1; 321#L537-2 main_#t~post9#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post9#1;havoc main_#t~post9#1; 322#L537-3 assume !!(main_~i~0#1 < main_~n~0#1);call write~int(main_#t~nondet10#1, main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset + main_~i~0#1, 1);havoc main_#t~nondet10#1; 323#L537-2 main_#t~post9#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post9#1;havoc main_#t~post9#1; 329#L537-3 assume !(main_~i~0#1 < main_~n~0#1); 319#L537-4 assume { :begin_inline_cmemchr } true;cmemchr_#in~s#1.base, cmemchr_#in~s#1.offset, cmemchr_#in~c#1, cmemchr_#in~n#1 := main_~nondetArea~0#1.base, main_~nondetArea~0#1.offset, main_~c~0#1, main_~n~0#1;havoc cmemchr_#res#1.base, cmemchr_#res#1.offset;havoc cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset, cmemchr_#t~mem4#1, cmemchr_#t~pre2#1, cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset, cmemchr_~s#1.base, cmemchr_~s#1.offset, cmemchr_~c#1, cmemchr_~n#1;cmemchr_~s#1.base, cmemchr_~s#1.offset := cmemchr_#in~s#1.base, cmemchr_#in~s#1.offset;cmemchr_~c#1 := cmemchr_#in~c#1;cmemchr_~n#1 := cmemchr_#in~n#1; 320#L516 assume 0 != cmemchr_~n#1 % 4294967296;cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset := cmemchr_~s#1.base, cmemchr_~s#1.offset; 326#L518-4 [2021-12-15 17:25:57,768 INFO L793 eck$LassoCheckResult]: Loop: 326#L518-4 cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset := cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset;cmemchr_~p~0#1.base, cmemchr_~p~0#1.offset := cmemchr_#t~post3#1.base, 1 + cmemchr_#t~post3#1.offset;call cmemchr_#t~mem4#1 := read~int(cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset, 1); 327#L519 assume !(cmemchr_#t~mem4#1 % 256 == cmemchr_~c#1 % 256);havoc cmemchr_#t~post3#1.base, cmemchr_#t~post3#1.offset;havoc cmemchr_#t~mem4#1; 330#L518-1 cmemchr_#t~pre2#1 := cmemchr_~n#1 - 1;cmemchr_~n#1 := cmemchr_~n#1 - 1; 328#L518-2 assume !!(0 != cmemchr_#t~pre2#1 % 4294967296);havoc cmemchr_#t~pre2#1; 326#L518-4 [2021-12-15 17:25:57,769 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:57,769 INFO L85 PathProgramCache]: Analyzing trace with hash 1352797870, now seen corresponding path program 2 times [2021-12-15 17:25:57,769 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:57,769 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2140347378] [2021-12-15 17:25:57,769 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:57,769 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:57,783 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,784 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:25:57,791 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,794 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:25:57,795 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:57,795 INFO L85 PathProgramCache]: Analyzing trace with hash 2036779, now seen corresponding path program 3 times [2021-12-15 17:25:57,795 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:57,795 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [666771772] [2021-12-15 17:25:57,795 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:57,795 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:57,800 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,800 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:25:57,803 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,804 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:25:57,805 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:57,805 INFO L85 PathProgramCache]: Analyzing trace with hash -24116136, now seen corresponding path program 2 times [2021-12-15 17:25:57,805 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-12-15 17:25:57,805 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1302813033] [2021-12-15 17:25:57,805 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-12-15 17:25:57,805 INFO L126 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-12-15 17:25:57,819 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,820 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-12-15 17:25:57,830 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-12-15 17:25:57,838 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-12-15 17:25:58,170 INFO L210 LassoAnalysis]: Preferences: [2021-12-15 17:25:58,171 INFO L126 ssoRankerPreferences]: Compute integeral hull: false [2021-12-15 17:25:58,171 INFO L127 ssoRankerPreferences]: Enable LassoPartitioneer: true [2021-12-15 17:25:58,171 INFO L128 ssoRankerPreferences]: Term annotations enabled: false [2021-12-15 17:25:58,171 INFO L129 ssoRankerPreferences]: Use exernal solver: false [2021-12-15 17:25:58,171 INFO L130 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:58,171 INFO L131 ssoRankerPreferences]: Dump SMT script to file: false [2021-12-15 17:25:58,171 INFO L132 ssoRankerPreferences]: Path of dumped script: [2021-12-15 17:25:58,171 INFO L133 ssoRankerPreferences]: Filename of dumped script: openbsd_cmemchr-alloca-2.i_Iteration4_Lasso [2021-12-15 17:25:58,171 INFO L134 ssoRankerPreferences]: MapElimAlgo: Frank [2021-12-15 17:25:58,171 INFO L276 LassoAnalysis]: Starting lasso preprocessing... [2021-12-15 17:25:58,173 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:25:58,370 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:25:58,373 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:25:58,374 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:25:58,375 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:25:58,377 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:25:58,379 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:25:58,380 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:25:58,385 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:25:58,386 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:25:58,388 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:25:58,390 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:25:58,391 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:25:58,393 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:25:58,394 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:25:58,396 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:25:58,397 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:25:58,399 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:25:58,401 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:25:58,403 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:25:58,404 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:25:58,776 INFO L294 LassoAnalysis]: Preprocessing complete. [2021-12-15 17:25:58,776 INFO L490 LassoAnalysis]: Using template 'affine'. [2021-12-15 17:25:58,777 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:58,777 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:58,778 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:25:58,779 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:25:58,781 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:25:58,787 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:25:58,787 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:25:58,787 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:25:58,787 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:25:58,789 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-12-15 17:25:58,789 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-12-15 17:25:58,792 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:25:58,810 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:25:58,810 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:58,810 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:58,811 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:25:58,812 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:25:58,813 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:25:58,820 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:25:58,820 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:25:58,820 INFO L204 nArgumentSynthesizer]: 2 loop disjuncts [2021-12-15 17:25:58,820 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:25:58,830 INFO L401 nArgumentSynthesizer]: We have 16 Motzkin's Theorem applications. [2021-12-15 17:25:58,831 INFO L402 nArgumentSynthesizer]: A total of 4 supporting invariants were added. [2021-12-15 17:25:58,856 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:25:58,875 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (8)] Forceful destruction successful, exit code 0 [2021-12-15 17:25:58,875 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:58,875 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:58,876 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:25:58,877 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:25:58,917 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:25:58,923 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:25:58,923 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:25:58,923 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:25:58,923 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:25:58,926 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-12-15 17:25:58,926 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-12-15 17:25:58,937 INFO L527 LassoAnalysis]: Proving termination failed for this template and these settings. [2021-12-15 17:25:58,955 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:25:58,956 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:58,956 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:58,957 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:25:58,961 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:25:58,961 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:25:58,970 INFO L338 nArgumentSynthesizer]: Template has degree 0. [2021-12-15 17:25:58,970 INFO L203 nArgumentSynthesizer]: 1 stem disjuncts [2021-12-15 17:25:58,970 INFO L204 nArgumentSynthesizer]: 1 loop disjuncts [2021-12-15 17:25:58,970 INFO L205 nArgumentSynthesizer]: 2 template conjuncts. [2021-12-15 17:25:58,982 INFO L401 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2021-12-15 17:25:58,982 INFO L402 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2021-12-15 17:25:59,003 INFO L420 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2021-12-15 17:25:59,032 INFO L443 ModelExtractionUtils]: Simplification made 16 calls to the SMT solver. [2021-12-15 17:25:59,032 INFO L444 ModelExtractionUtils]: 26 out of 40 variables were initially zero. Simplification set additionally 11 variables to zero. [2021-12-15 17:25:59,032 INFO L168 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-12-15 17:25:59,032 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-12-15 17:25:59,034 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:25:59,035 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:25:59,035 INFO L435 nArgumentSynthesizer]: Simplifying supporting invariants... [2021-12-15 17:25:59,056 INFO L438 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2021-12-15 17:25:59,056 INFO L513 LassoAnalysis]: Proved termination. [2021-12-15 17:25:59,056 INFO L515 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_cmemchr_~p~0#1.offset, v_rep(select #length ULTIMATE.start_main_#t~malloc8#1.base)_2) = -1*ULTIMATE.start_cmemchr_~p~0#1.offset + 1*v_rep(select #length ULTIMATE.start_main_#t~malloc8#1.base)_2 Supporting invariants [] [2021-12-15 17:25:59,085 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:25:59,095 INFO L297 tatePredicateManager]: 4 out of 6 supporting invariants were superfluous and have been removed [2021-12-15 17:25:59,113 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-12-15 17:25:59,126 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-15 17:25:59,127 INFO L263 TraceCheckSpWp]: Trace formula consists of 74 conjuncts, 10 conjunts are in the unsatisfiable core [2021-12-15 17:25:59,128 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-15 17:25:59,179 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-12-15 17:25:59,180 WARN L261 TraceCheckSpWp]: Trace formula consists of 26 conjuncts, 13 conjunts are in the unsatisfiable core [2021-12-15 17:25:59,180 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-12-15 17:25:59,226 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:25:59,227 INFO L152 lantAutomatonBouncer]: Defining deterministic Buchi interpolant automaton with honda bouncer for stem and without honda bouncer for loop.3 stem predicates 2 loop predicates [2021-12-15 17:25:59,227 INFO L71 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 16 states and 18 transitions. cyclomatic complexity: 4 Second operand has 5 states, 5 states have (on average 2.8) internal successors, (14), 5 states have internal predecessors, (14), 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:25:59,248 INFO L75 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 16 states and 18 transitions. cyclomatic complexity: 4. Second operand has 5 states, 5 states have (on average 2.8) internal successors, (14), 5 states have internal predecessors, (14), 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 20 states and 22 transitions. Complement of second has 6 states. [2021-12-15 17:25:59,249 INFO L141 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 3 stem states 1 non-accepting loop states 1 accepting loop states [2021-12-15 17:25:59,250 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 5 states, 5 states have (on average 2.8) internal successors, (14), 5 states have internal predecessors, (14), 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:25:59,250 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 16 transitions. [2021-12-15 17:25:59,250 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 12 letters. Loop has 4 letters. [2021-12-15 17:25:59,250 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-15 17:25:59,250 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 16 letters. Loop has 4 letters. [2021-12-15 17:25:59,251 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-15 17:25:59,251 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 16 transitions. Stem has 12 letters. Loop has 8 letters. [2021-12-15 17:25:59,251 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2021-12-15 17:25:59,251 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 20 states and 22 transitions. [2021-12-15 17:25:59,252 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2021-12-15 17:25:59,252 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 20 states to 0 states and 0 transitions. [2021-12-15 17:25:59,252 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2021-12-15 17:25:59,252 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2021-12-15 17:25:59,252 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2021-12-15 17:25:59,252 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-12-15 17:25:59,252 INFO L681 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-12-15 17:25:59,252 INFO L704 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-12-15 17:25:59,252 INFO L587 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-12-15 17:25:59,253 INFO L425 BuchiCegarLoop]: ======== Iteration 5============ [2021-12-15 17:25:59,253 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2021-12-15 17:25:59,253 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2021-12-15 17:25:59,253 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2021-12-15 17:25:59,257 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 15.12 05:25:59 BoogieIcfgContainer [2021-12-15 17:25:59,258 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-12-15 17:25:59,258 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-12-15 17:25:59,258 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-12-15 17:25:59,258 INFO L275 PluginConnector]: Witness Printer initialized [2021-12-15 17:25:59,259 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 15.12 05:25:55" (3/4) ... [2021-12-15 17:25:59,261 INFO L140 WitnessPrinter]: No result that supports witness generation found [2021-12-15 17:25:59,261 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-12-15 17:25:59,261 INFO L158 Benchmark]: Toolchain (without parser) took 4163.59ms. Allocated memory was 90.2MB in the beginning and 155.2MB in the end (delta: 65.0MB). Free memory was 57.4MB in the beginning and 100.4MB in the end (delta: -43.1MB). Peak memory consumption was 20.0MB. Max. memory is 16.1GB. [2021-12-15 17:25:59,262 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 90.2MB. Free memory is still 48.1MB. There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 17:25:59,262 INFO L158 Benchmark]: CACSL2BoogieTranslator took 304.13ms. Allocated memory is still 90.2MB. Free memory was 57.2MB in the beginning and 61.4MB in the end (delta: -4.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2021-12-15 17:25:59,262 INFO L158 Benchmark]: Boogie Procedure Inliner took 24.79ms. Allocated memory is still 90.2MB. Free memory was 61.4MB in the beginning and 59.7MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-12-15 17:25:59,263 INFO L158 Benchmark]: Boogie Preprocessor took 15.55ms. Allocated memory is still 90.2MB. Free memory was 59.7MB in the beginning and 58.3MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 17:25:59,263 INFO L158 Benchmark]: RCFGBuilder took 195.03ms. Allocated memory is still 90.2MB. Free memory was 58.3MB in the beginning and 48.4MB in the end (delta: 9.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2021-12-15 17:25:59,263 INFO L158 Benchmark]: BuchiAutomizer took 3616.23ms. Allocated memory was 90.2MB in the beginning and 155.2MB in the end (delta: 65.0MB). Free memory was 48.0MB in the beginning and 101.5MB in the end (delta: -53.4MB). Peak memory consumption was 14.1MB. Max. memory is 16.1GB. [2021-12-15 17:25:59,264 INFO L158 Benchmark]: Witness Printer took 2.73ms. Allocated memory is still 155.2MB. Free memory is still 100.4MB. There was no memory consumed. Max. memory is 16.1GB. [2021-12-15 17:25:59,265 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.15ms. Allocated memory is still 90.2MB. Free memory is still 48.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 304.13ms. Allocated memory is still 90.2MB. Free memory was 57.2MB in the beginning and 61.4MB in the end (delta: -4.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 24.79ms. Allocated memory is still 90.2MB. Free memory was 61.4MB in the beginning and 59.7MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 15.55ms. Allocated memory is still 90.2MB. Free memory was 59.7MB in the beginning and 58.3MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 195.03ms. Allocated memory is still 90.2MB. Free memory was 58.3MB in the beginning and 48.4MB in the end (delta: 9.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * BuchiAutomizer took 3616.23ms. Allocated memory was 90.2MB in the beginning and 155.2MB in the end (delta: 65.0MB). Free memory was 48.0MB in the beginning and 101.5MB in the end (delta: -53.4MB). Peak memory consumption was 14.1MB. Max. memory is 16.1GB. * Witness Printer took 2.73ms. Allocated memory is still 155.2MB. Free memory is still 100.4MB. 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 4 terminating modules (2 trivial, 2 deterministic, 0 nondeterministic). One deterministic module has affine ranking function -1 * i + unknown-#length-unknown[nondetArea] and consists of 5 locations. One deterministic module has affine ranking function -1 * p + unknown-#length-unknown[__builtin_alloca (n * sizeof(char))] and consists of 5 locations. 2 modules have a trivial ranking function, the largest among these consists of 16 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.5s and 5 iterations. TraceHistogramMax:2. Analysis of lassos took 3.0s. Construction of modules took 0.0s. Büchi inclusion checks took 0.4s. Highest rank in rank-based complementation 3. Minimization of det autom 4. Minimization of nondet autom 0. Automata minimization 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 2 StatesRemovedByMinimization, 2 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 16 states and ocurred in iteration 3. Nontrivial modules had stage [2, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 76 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 76 mSDsluCounter, 154 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 105 mSDsCounter, 24 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 115 IncrementalHoareTripleChecker+Invalid, 139 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 24 mSolverCounterUnsat, 49 mSDtfsCounter, 115 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown LassoAnalysisResults: nont0 unkn0 SFLI0 SFLT0 conc1 concLT0 SILN0 SILU1 SILI0 SILT0 lasso2 LassoPreprocessingBenchmarks: Lassos: inital125 mio100 ax115 hnf99 lsp80 ukn93 mio100 lsp55 div125 bol100 ite100 ukn100 eq173 hnf81 smp96 dnf100 smp100 tf100 neg99 sie102 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 46ms VariablesStem: 6 VariablesLoop: 6 DisjunctsStem: 1 DisjunctsLoop: 2 SupportingInvariants: 4 MotzkinApplications: 16 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Termination proven Buchi Automizer proved that your program is terminating RESULT: Ultimate proved your program to be correct! [2021-12-15 17:25:59,287 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:25:59,502 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Forceful destruction successful, exit code 0 [2021-12-15 17:25:59,702 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE