./Ultimate.py --spec /storage/repos/svcomp/c/properties/termination.prp --file /storage/repos/svcomp/c/array-memsafety/openbsd_cstrnlen-alloca_true-valid-memsafety_true-termination.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 2e94e6aa Calling Ultimate with: java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerTermination.xml -i /storage/repos/svcomp/c/array-memsafety/openbsd_cstrnlen-alloca_true-valid-memsafety_true-termination.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 12318f34040209c37cd54fcab38029595d0807d6 ............................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.1.24-2e94e6a [2019-01-02 00:20:39,271 INFO L170 SettingsManager]: Resetting all preferences to default values... [2019-01-02 00:20:39,273 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2019-01-02 00:20:39,290 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-01-02 00:20:39,290 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-01-02 00:20:39,292 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-01-02 00:20:39,294 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-01-02 00:20:39,297 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2019-01-02 00:20:39,298 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-01-02 00:20:39,309 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-01-02 00:20:39,310 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-01-02 00:20:39,310 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-01-02 00:20:39,311 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-01-02 00:20:39,312 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-01-02 00:20:39,313 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-01-02 00:20:39,314 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-01-02 00:20:39,314 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-01-02 00:20:39,317 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-01-02 00:20:39,321 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2019-01-02 00:20:39,324 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-01-02 00:20:39,329 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-01-02 00:20:39,331 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-01-02 00:20:39,333 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-01-02 00:20:39,334 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-01-02 00:20:39,335 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-01-02 00:20:39,338 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-01-02 00:20:39,339 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-01-02 00:20:39,340 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-01-02 00:20:39,341 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2019-01-02 00:20:39,342 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-01-02 00:20:39,342 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2019-01-02 00:20:39,343 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-01-02 00:20:39,343 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-01-02 00:20:39,345 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2019-01-02 00:20:39,346 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2019-01-02 00:20:39,347 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2019-01-02 00:20:39,347 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Termination-32bit-Automizer_Default.epf [2019-01-02 00:20:39,367 INFO L110 SettingsManager]: Loading preferences was successful [2019-01-02 00:20:39,370 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2019-01-02 00:20:39,371 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-01-02 00:20:39,371 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2019-01-02 00:20:39,371 INFO L133 SettingsManager]: * Use SBE=true [2019-01-02 00:20:39,372 INFO L131 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2019-01-02 00:20:39,372 INFO L133 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2019-01-02 00:20:39,372 INFO L133 SettingsManager]: * Use old map elimination=false [2019-01-02 00:20:39,372 INFO L133 SettingsManager]: * Use external solver (rank synthesis)=false [2019-01-02 00:20:39,372 INFO L133 SettingsManager]: * Use only trivial implications for array writes=true [2019-01-02 00:20:39,374 INFO L133 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2019-01-02 00:20:39,374 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-01-02 00:20:39,374 INFO L133 SettingsManager]: * sizeof long=4 [2019-01-02 00:20:39,375 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2019-01-02 00:20:39,375 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2019-01-02 00:20:39,375 INFO L133 SettingsManager]: * sizeof POINTER=4 [2019-01-02 00:20:39,375 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2019-01-02 00:20:39,375 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2019-01-02 00:20:39,375 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2019-01-02 00:20:39,376 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2019-01-02 00:20:39,376 INFO L133 SettingsManager]: * sizeof long double=12 [2019-01-02 00:20:39,376 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2019-01-02 00:20:39,376 INFO L133 SettingsManager]: * Assume nondeterminstic values are in range=false [2019-01-02 00:20:39,376 INFO L133 SettingsManager]: * Use constant arrays=true [2019-01-02 00:20:39,376 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2019-01-02 00:20:39,377 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-01-02 00:20:39,377 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-01-02 00:20:39,377 INFO L133 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2019-01-02 00:20:39,377 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-01-02 00:20:39,378 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2019-01-02 00:20:39,379 INFO L133 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2019-01-02 00:20:39,380 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2019-01-02 00:20:39,381 INFO L133 SettingsManager]: * TransformationType=MODULO_NEIGHBOR Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(F end) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 12318f34040209c37cd54fcab38029595d0807d6 [2019-01-02 00:20:39,446 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-01-02 00:20:39,462 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-01-02 00:20:39,469 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-01-02 00:20:39,471 INFO L271 PluginConnector]: Initializing CDTParser... [2019-01-02 00:20:39,471 INFO L276 PluginConnector]: CDTParser initialized [2019-01-02 00:20:39,472 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/svcomp/c/array-memsafety/openbsd_cstrnlen-alloca_true-valid-memsafety_true-termination.i [2019-01-02 00:20:39,533 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d392415e3/33e1b479995a4cc8bca2743005b50c6d/FLAG540ad6840 [2019-01-02 00:20:40,037 INFO L307 CDTParser]: Found 1 translation units. [2019-01-02 00:20:40,038 INFO L161 CDTParser]: Scanning /storage/repos/svcomp/c/array-memsafety/openbsd_cstrnlen-alloca_true-valid-memsafety_true-termination.i [2019-01-02 00:20:40,057 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d392415e3/33e1b479995a4cc8bca2743005b50c6d/FLAG540ad6840 [2019-01-02 00:20:40,289 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d392415e3/33e1b479995a4cc8bca2743005b50c6d [2019-01-02 00:20:40,293 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-01-02 00:20:40,295 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2019-01-02 00:20:40,296 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2019-01-02 00:20:40,296 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2019-01-02 00:20:40,300 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2019-01-02 00:20:40,301 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,305 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@457b6fbd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40, skipping insertion in model container [2019-01-02 00:20:40,305 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,314 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2019-01-02 00:20:40,368 INFO L176 MainTranslator]: Built tables and reachable declarations [2019-01-02 00:20:40,677 INFO L204 PostProcessor]: Analyzing one entry point: main [2019-01-02 00:20:40,695 INFO L191 MainTranslator]: Completed pre-run [2019-01-02 00:20:40,756 INFO L204 PostProcessor]: Analyzing one entry point: main [2019-01-02 00:20:40,815 INFO L195 MainTranslator]: Completed translation [2019-01-02 00:20:40,816 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40 WrapperNode [2019-01-02 00:20:40,816 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2019-01-02 00:20:40,817 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-01-02 00:20:40,817 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-01-02 00:20:40,817 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2019-01-02 00:20:40,906 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,923 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,944 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-01-02 00:20:40,945 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-01-02 00:20:40,945 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-01-02 00:20:40,945 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2019-01-02 00:20:40,955 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,955 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,959 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,959 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,966 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,971 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,972 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (1/1) ... [2019-01-02 00:20:40,975 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-01-02 00:20:40,975 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-01-02 00:20:40,975 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-01-02 00:20:40,975 INFO L276 PluginConnector]: RCFGBuilder initialized [2019-01-02 00:20:40,976 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-01-02 00:20:41,041 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2019-01-02 00:20:41,041 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2019-01-02 00:20:41,041 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2019-01-02 00:20:41,042 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2019-01-02 00:20:41,042 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-01-02 00:20:41,042 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-01-02 00:20:41,432 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-01-02 00:20:41,432 INFO L280 CfgBuilder]: Removed 7 assue(true) statements. [2019-01-02 00:20:41,433 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.01 12:20:41 BoogieIcfgContainer [2019-01-02 00:20:41,433 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-01-02 00:20:41,434 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2019-01-02 00:20:41,434 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2019-01-02 00:20:41,438 INFO L276 PluginConnector]: BuchiAutomizer initialized [2019-01-02 00:20:41,439 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-01-02 00:20:41,439 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 02.01 12:20:40" (1/3) ... [2019-01-02 00:20:41,440 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@53a8d8cd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 02.01 12:20:41, skipping insertion in model container [2019-01-02 00:20:41,441 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-01-02 00:20:41,441 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.01 12:20:40" (2/3) ... [2019-01-02 00:20:41,441 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@53a8d8cd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 02.01 12:20:41, skipping insertion in model container [2019-01-02 00:20:41,441 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2019-01-02 00:20:41,441 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.01 12:20:41" (3/3) ... [2019-01-02 00:20:41,443 INFO L375 chiAutomizerObserver]: Analyzing ICFG openbsd_cstrnlen-alloca_true-valid-memsafety_true-termination.i [2019-01-02 00:20:41,506 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2019-01-02 00:20:41,507 INFO L374 BuchiCegarLoop]: Interprodecural is true [2019-01-02 00:20:41,507 INFO L375 BuchiCegarLoop]: Hoare is false [2019-01-02 00:20:41,507 INFO L376 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2019-01-02 00:20:41,508 INFO L377 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2019-01-02 00:20:41,508 INFO L378 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-01-02 00:20:41,508 INFO L379 BuchiCegarLoop]: Difference is false [2019-01-02 00:20:41,508 INFO L380 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-01-02 00:20:41,508 INFO L383 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2019-01-02 00:20:41,523 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states. [2019-01-02 00:20:41,545 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2019-01-02 00:20:41,545 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-01-02 00:20:41,546 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-01-02 00:20:41,552 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2019-01-02 00:20:41,552 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2019-01-02 00:20:41,553 INFO L442 BuchiCegarLoop]: ======== Iteration 1============ [2019-01-02 00:20:41,553 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 14 states. [2019-01-02 00:20:41,554 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2019-01-02 00:20:41,555 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-01-02 00:20:41,555 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-01-02 00:20:41,555 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1] [2019-01-02 00:20:41,555 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2019-01-02 00:20:41,565 INFO L794 eck$LassoCheckResult]: Stem: 8#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 6#L-1true havoc main_#res;havoc main_#t~nondet6, main_#t~nondet7, main_#t~malloc8.base, main_#t~malloc8.offset, main_#t~ret9, main_~length1~0, main_~n~0, main_~nondetString1~0.base, main_~nondetString1~0.offset;main_~length1~0 := main_#t~nondet6;havoc main_#t~nondet6;main_~n~0 := main_#t~nondet7;havoc main_#t~nondet7; 10#L551true assume !(main_~length1~0 < 1); 14#L551-2true assume !(main_~n~0 < 1); 7#L554-1true call main_#t~malloc8.base, main_#t~malloc8.offset := #Ultimate.allocOnStack(main_~length1~0);main_~nondetString1~0.base, main_~nondetString1~0.offset := main_#t~malloc8.base, main_#t~malloc8.offset;call write~int(0, main_~nondetString1~0.base, main_~nondetString1~0.offset + (main_~length1~0 - 1), 1);cstrnlen_#in~str.base, cstrnlen_#in~str.offset, cstrnlen_#in~maxlen := main_~nondetString1~0.base, main_~nondetString1~0.offset, main_~n~0;havoc cstrnlen_#res;havoc cstrnlen_#t~post2.base, cstrnlen_#t~post2.offset, cstrnlen_#t~post3, cstrnlen_#t~mem4, cstrnlen_#t~short5, cstrnlen_~str.base, cstrnlen_~str.offset, cstrnlen_~maxlen, cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset;cstrnlen_~str.base, cstrnlen_~str.offset := cstrnlen_#in~str.base, cstrnlen_#in~str.offset;cstrnlen_~maxlen := cstrnlen_#in~maxlen;havoc cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset;cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset := cstrnlen_~str.base, cstrnlen_~str.offset; 15#L544-6true [2019-01-02 00:20:41,565 INFO L796 eck$LassoCheckResult]: Loop: 15#L544-6true cstrnlen_#t~short5 := 0 != cstrnlen_~maxlen % 4294967296; 5#L544-1true assume cstrnlen_#t~short5;call cstrnlen_#t~mem4 := read~int(cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset, 1);cstrnlen_#t~short5 := 0 != cstrnlen_#t~mem4; 9#L544-3true assume !!cstrnlen_#t~short5;havoc cstrnlen_#t~mem4;havoc cstrnlen_#t~short5; 12#L544-5true cstrnlen_#t~post2.base, cstrnlen_#t~post2.offset := cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset;cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset := cstrnlen_#t~post2.base, 1 + cstrnlen_#t~post2.offset;havoc cstrnlen_#t~post2.base, cstrnlen_#t~post2.offset;cstrnlen_#t~post3 := cstrnlen_~maxlen;cstrnlen_~maxlen := cstrnlen_#t~post3 - 1;havoc cstrnlen_#t~post3; 15#L544-6true [2019-01-02 00:20:41,573 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-01-02 00:20:41,573 INFO L82 PathProgramCache]: Analyzing trace with hash 28695878, now seen corresponding path program 1 times [2019-01-02 00:20:41,575 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2019-01-02 00:20:41,576 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2019-01-02 00:20:41,638 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-01-02 00:20:41,638 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-01-02 00:20:41,638 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-01-02 00:20:41,695 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-01-02 00:20:41,714 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-01-02 00:20:41,741 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-01-02 00:20:41,741 INFO L82 PathProgramCache]: Analyzing trace with hash 1511654, now seen corresponding path program 1 times [2019-01-02 00:20:41,741 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2019-01-02 00:20:41,741 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2019-01-02 00:20:41,742 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-01-02 00:20:41,743 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-01-02 00:20:41,743 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-01-02 00:20:41,761 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-01-02 00:20:41,775 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-01-02 00:20:41,785 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-01-02 00:20:41,789 INFO L82 PathProgramCache]: Analyzing trace with hash 1298318251, now seen corresponding path program 1 times [2019-01-02 00:20:41,789 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2019-01-02 00:20:41,789 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2019-01-02 00:20:41,790 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-01-02 00:20:41,790 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-01-02 00:20:41,790 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-01-02 00:20:41,832 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-01-02 00:20:41,878 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-01-02 00:20:42,480 WARN L181 SmtUtils]: Spent 588.00 ms on a formula simplification. DAG size of input: 42 DAG size of output: 34 [2019-01-02 00:20:42,979 WARN L181 SmtUtils]: Spent 371.00 ms on a formula simplification. DAG size of input: 71 DAG size of output: 65 [2019-01-02 00:20:43,182 WARN L181 SmtUtils]: Spent 199.00 ms on a formula simplification that was a NOOP. DAG size: 59 [2019-01-02 00:20:43,208 INFO L216 LassoAnalysis]: Preferences: [2019-01-02 00:20:43,210 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2019-01-02 00:20:43,213 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2019-01-02 00:20:43,213 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2019-01-02 00:20:43,213 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2019-01-02 00:20:43,214 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2019-01-02 00:20:43,214 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2019-01-02 00:20:43,214 INFO L130 ssoRankerPreferences]: Path of dumped script: [2019-01-02 00:20:43,214 INFO L131 ssoRankerPreferences]: Filename of dumped script: openbsd_cstrnlen-alloca_true-valid-memsafety_true-termination.i_Iteration1_Lasso [2019-01-02 00:20:43,216 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2019-01-02 00:20:43,216 INFO L282 LassoAnalysis]: Starting lasso preprocessing... [2019-01-02 00:20:43,249 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,282 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,704 WARN L181 SmtUtils]: Spent 218.00 ms on a formula simplification. DAG size of input: 44 DAG size of output: 40 [2019-01-02 00:20:43,789 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,792 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,799 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,804 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,807 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,833 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,839 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,845 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,852 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,876 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,879 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:43,884 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2019-01-02 00:20:44,541 INFO L300 LassoAnalysis]: Preprocessing complete. [2019-01-02 00:20:44,548 INFO L497 LassoAnalysis]: Using template 'affine'. [2019-01-02 00:20:44,550 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-01-02 00:20:44,553 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2019-01-02 00:20:44,554 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2019-01-02 00:20:44,554 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2019-01-02 00:20:44,554 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2019-01-02 00:20:44,555 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2019-01-02 00:20:44,558 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2019-01-02 00:20:44,558 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2019-01-02 00:20:44,561 INFO L530 LassoAnalysis]: Proving termination failed for this template and these settings. [2019-01-02 00:20:44,562 INFO L122 nArgumentSynthesizer]: Termination Analysis Settings: Termination analysis: LINEAR_WITH_GUESSES Number of strict supporting invariants: 0 Number of non-strict supporting invariants: 1 Consider only non-deceasing supporting invariants: true Simplify termination arguments: true Simplify supporting invariants: trueOverapproximate stem: false [2019-01-02 00:20:44,563 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2019-01-02 00:20:44,563 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2019-01-02 00:20:44,563 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2019-01-02 00:20:44,563 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2019-01-02 00:20:44,572 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2019-01-02 00:20:44,573 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2019-01-02 00:20:44,655 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2019-01-02 00:20:44,709 INFO L443 ModelExtractionUtils]: Simplification made 5 calls to the SMT solver. [2019-01-02 00:20:44,712 INFO L444 ModelExtractionUtils]: 23 out of 28 variables were initially zero. Simplification set additionally 2 variables to zero. [2019-01-02 00:20:44,714 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2019-01-02 00:20:44,717 INFO L440 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2019-01-02 00:20:44,722 INFO L518 LassoAnalysis]: Proved termination. [2019-01-02 00:20:44,723 INFO L520 LassoAnalysis]: Termination argument consisting of: Ranking function f(ULTIMATE.start_cstrnlen_~cp~0.offset, v_rep(select #length ULTIMATE.start_main_#t~malloc8.base)_1) = -1*ULTIMATE.start_cstrnlen_~cp~0.offset + 1*v_rep(select #length ULTIMATE.start_main_#t~malloc8.base)_1 Supporting invariants [] [2019-01-02 00:20:44,801 INFO L297 tatePredicateManager]: 3 out of 4 supporting invariants were superfluous and have been removed [2019-01-02 00:20:44,835 WARN L1298 BoogieBacktranslator]: unknown boogie variable #length [2019-01-02 00:20:44,898 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-01-02 00:20:44,933 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-01-02 00:20:44,937 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2019-01-02 00:20:44,956 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-01-02 00:20:44,958 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2019-01-02 00:20:44,995 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-01-02 00:20:45,011 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 [2019-01-02 00:20:45,013 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 14 states. Second operand 4 states. [2019-01-02 00:20:45,120 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 14 states.. Second operand 4 states. Result 36 states and 45 transitions. Complement of second has 8 states. [2019-01-02 00:20:45,121 INFO L142 InterpolantAutomaton]: Switched to read-only mode: Buchi interpolant automaton has 5 states 1 stem states 2 non-accepting loop states 1 accepting loop states [2019-01-02 00:20:45,124 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2019-01-02 00:20:45,124 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 25 transitions. [2019-01-02 00:20:45,127 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 25 transitions. Stem has 5 letters. Loop has 4 letters. [2019-01-02 00:20:45,129 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-01-02 00:20:45,129 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 25 transitions. Stem has 9 letters. Loop has 4 letters. [2019-01-02 00:20:45,129 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-01-02 00:20:45,129 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 25 transitions. Stem has 5 letters. Loop has 8 letters. [2019-01-02 00:20:45,130 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2019-01-02 00:20:45,132 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 36 states and 45 transitions. [2019-01-02 00:20:45,135 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2019-01-02 00:20:45,140 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 36 states to 18 states and 23 transitions. [2019-01-02 00:20:45,142 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 10 [2019-01-02 00:20:45,142 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 11 [2019-01-02 00:20:45,143 INFO L73 IsDeterministic]: Start isDeterministic. Operand 18 states and 23 transitions. [2019-01-02 00:20:45,144 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is not deterministic. [2019-01-02 00:20:45,144 INFO L705 BuchiCegarLoop]: Abstraction has 18 states and 23 transitions. [2019-01-02 00:20:45,164 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 18 states and 23 transitions. [2019-01-02 00:20:45,175 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 18 to 17. [2019-01-02 00:20:45,176 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 17 states. [2019-01-02 00:20:45,177 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 22 transitions. [2019-01-02 00:20:45,179 INFO L728 BuchiCegarLoop]: Abstraction has 17 states and 22 transitions. [2019-01-02 00:20:45,179 INFO L608 BuchiCegarLoop]: Abstraction has 17 states and 22 transitions. [2019-01-02 00:20:45,179 INFO L442 BuchiCegarLoop]: ======== Iteration 2============ [2019-01-02 00:20:45,179 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 17 states and 22 transitions. [2019-01-02 00:20:45,180 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 4 [2019-01-02 00:20:45,180 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2019-01-02 00:20:45,180 INFO L119 BuchiIsEmpty]: Starting construction of run [2019-01-02 00:20:45,181 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1] [2019-01-02 00:20:45,181 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1] [2019-01-02 00:20:45,181 INFO L794 eck$LassoCheckResult]: Stem: 130#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 126#L-1 havoc main_#res;havoc main_#t~nondet6, main_#t~nondet7, main_#t~malloc8.base, main_#t~malloc8.offset, main_#t~ret9, main_~length1~0, main_~n~0, main_~nondetString1~0.base, main_~nondetString1~0.offset;main_~length1~0 := main_#t~nondet6;havoc main_#t~nondet6;main_~n~0 := main_#t~nondet7;havoc main_#t~nondet7; 127#L551 assume !(main_~length1~0 < 1); 135#L551-2 assume !(main_~n~0 < 1); 128#L554-1 call main_#t~malloc8.base, main_#t~malloc8.offset := #Ultimate.allocOnStack(main_~length1~0);main_~nondetString1~0.base, main_~nondetString1~0.offset := main_#t~malloc8.base, main_#t~malloc8.offset;call write~int(0, main_~nondetString1~0.base, main_~nondetString1~0.offset + (main_~length1~0 - 1), 1);cstrnlen_#in~str.base, cstrnlen_#in~str.offset, cstrnlen_#in~maxlen := main_~nondetString1~0.base, main_~nondetString1~0.offset, main_~n~0;havoc cstrnlen_#res;havoc cstrnlen_#t~post2.base, cstrnlen_#t~post2.offset, cstrnlen_#t~post3, cstrnlen_#t~mem4, cstrnlen_#t~short5, cstrnlen_~str.base, cstrnlen_~str.offset, cstrnlen_~maxlen, cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset;cstrnlen_~str.base, cstrnlen_~str.offset := cstrnlen_#in~str.base, cstrnlen_#in~str.offset;cstrnlen_~maxlen := cstrnlen_#in~maxlen;havoc cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset;cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset := cstrnlen_~str.base, cstrnlen_~str.offset; 129#L544-6 cstrnlen_#t~short5 := 0 != cstrnlen_~maxlen % 4294967296; 138#L544-1 [2019-01-02 00:20:45,181 INFO L796 eck$LassoCheckResult]: Loop: 138#L544-1 assume !cstrnlen_#t~short5; 131#L544-3 assume !!cstrnlen_#t~short5;havoc cstrnlen_#t~mem4;havoc cstrnlen_#t~short5; 132#L544-5 cstrnlen_#t~post2.base, cstrnlen_#t~post2.offset := cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset;cstrnlen_~cp~0.base, cstrnlen_~cp~0.offset := cstrnlen_#t~post2.base, 1 + cstrnlen_#t~post2.offset;havoc cstrnlen_#t~post2.base, cstrnlen_#t~post2.offset;cstrnlen_#t~post3 := cstrnlen_~maxlen;cstrnlen_~maxlen := cstrnlen_#t~post3 - 1;havoc cstrnlen_#t~post3; 136#L544-6 cstrnlen_#t~short5 := 0 != cstrnlen_~maxlen % 4294967296; 138#L544-1 [2019-01-02 00:20:45,184 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-01-02 00:20:45,185 INFO L82 PathProgramCache]: Analyzing trace with hash 889572237, now seen corresponding path program 1 times [2019-01-02 00:20:45,185 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2019-01-02 00:20:45,185 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2019-01-02 00:20:45,186 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-01-02 00:20:45,186 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-01-02 00:20:45,186 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-01-02 00:20:45,213 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-01-02 00:20:45,235 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-01-02 00:20:45,245 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-01-02 00:20:45,246 INFO L82 PathProgramCache]: Analyzing trace with hash 1668346, now seen corresponding path program 1 times [2019-01-02 00:20:45,246 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2019-01-02 00:20:45,246 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2019-01-02 00:20:45,247 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-01-02 00:20:45,248 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-01-02 00:20:45,248 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-01-02 00:20:45,251 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-01-02 00:20:45,285 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-01-02 00:20:45,287 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-01-02 00:20:45,287 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2019-01-02 00:20:45,290 INFO L811 eck$LassoCheckResult]: loop already infeasible [2019-01-02 00:20:45,292 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-01-02 00:20:45,293 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-01-02 00:20:45,294 INFO L87 Difference]: Start difference. First operand 17 states and 22 transitions. cyclomatic complexity: 7 Second operand 3 states. [2019-01-02 00:20:45,308 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-01-02 00:20:45,309 INFO L93 Difference]: Finished difference Result 13 states and 16 transitions. [2019-01-02 00:20:45,309 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-01-02 00:20:45,310 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 13 states and 16 transitions. [2019-01-02 00:20:45,311 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2019-01-02 00:20:45,311 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 13 states to 0 states and 0 transitions. [2019-01-02 00:20:45,311 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2019-01-02 00:20:45,311 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2019-01-02 00:20:45,312 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2019-01-02 00:20:45,312 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2019-01-02 00:20:45,312 INFO L705 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2019-01-02 00:20:45,312 INFO L728 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2019-01-02 00:20:45,312 INFO L608 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2019-01-02 00:20:45,312 INFO L442 BuchiCegarLoop]: ======== Iteration 3============ [2019-01-02 00:20:45,312 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2019-01-02 00:20:45,312 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2019-01-02 00:20:45,313 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2019-01-02 00:20:45,320 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 02.01 12:20:45 BoogieIcfgContainer [2019-01-02 00:20:45,320 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2019-01-02 00:20:45,321 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2019-01-02 00:20:45,321 INFO L271 PluginConnector]: Initializing Witness Printer... [2019-01-02 00:20:45,321 INFO L276 PluginConnector]: Witness Printer initialized [2019-01-02 00:20:45,321 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.01 12:20:41" (3/4) ... [2019-01-02 00:20:45,324 INFO L147 WitnessPrinter]: No result that supports witness generation found [2019-01-02 00:20:45,325 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2019-01-02 00:20:45,325 INFO L168 Benchmark]: Toolchain (without parser) took 5032.04 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 143.1 MB). Free memory was 947.3 MB in the beginning and 907.6 MB in the end (delta: 39.7 MB). Peak memory consumption was 182.9 MB. Max. memory is 11.5 GB. [2019-01-02 00:20:45,326 INFO L168 Benchmark]: CDTParser took 0.16 ms. Allocated memory is still 1.0 GB. Free memory is still 972.8 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-01-02 00:20:45,327 INFO L168 Benchmark]: CACSL2BoogieTranslator took 520.74 ms. Allocated memory is still 1.0 GB. Free memory was 942.0 MB in the beginning and 920.5 MB in the end (delta: 21.5 MB). Peak memory consumption was 21.5 MB. Max. memory is 11.5 GB. [2019-01-02 00:20:45,328 INFO L168 Benchmark]: Boogie Procedure Inliner took 127.51 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 143.1 MB). Free memory was 920.5 MB in the beginning and 1.1 GB in the end (delta: -209.1 MB). Peak memory consumption was 14.1 MB. Max. memory is 11.5 GB. [2019-01-02 00:20:45,329 INFO L168 Benchmark]: Boogie Preprocessor took 30.17 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2019-01-02 00:20:45,330 INFO L168 Benchmark]: RCFGBuilder took 458.13 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 18.8 MB). Peak memory consumption was 18.8 MB. Max. memory is 11.5 GB. [2019-01-02 00:20:45,331 INFO L168 Benchmark]: BuchiAutomizer took 3886.48 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 907.6 MB in the end (delta: 203.1 MB). Peak memory consumption was 203.1 MB. Max. memory is 11.5 GB. [2019-01-02 00:20:45,332 INFO L168 Benchmark]: Witness Printer took 3.91 ms. Allocated memory is still 1.2 GB. Free memory is still 907.6 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-01-02 00:20:45,338 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.16 ms. Allocated memory is still 1.0 GB. Free memory is still 972.8 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 520.74 ms. Allocated memory is still 1.0 GB. Free memory was 942.0 MB in the beginning and 920.5 MB in the end (delta: 21.5 MB). Peak memory consumption was 21.5 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 127.51 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 143.1 MB). Free memory was 920.5 MB in the beginning and 1.1 GB in the end (delta: -209.1 MB). Peak memory consumption was 14.1 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 30.17 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 458.13 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 18.8 MB). Peak memory consumption was 18.8 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 3886.48 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 907.6 MB in the end (delta: 203.1 MB). Peak memory consumption was 203.1 MB. Max. memory is 11.5 GB. * Witness Printer took 3.91 ms. Allocated memory is still 1.2 GB. Free memory is still 907.6 MB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation unknown boogie variable #length * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 2 terminating modules (1 trivial, 1 deterministic, 0 nondeterministic). One deterministic module has affine ranking function -1 * cp + unknown-#length-unknown[__builtin_alloca (length1 * sizeof(char))] and consists of 5 locations. 1 modules have a trivial ranking function, the largest among these consists of 3 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 3.8s and 3 iterations. TraceHistogramMax:1. Analysis of lassos took 3.3s. Construction of modules took 0.0s. Büchi inclusion checks took 0.2s. Highest rank in rank-based complementation 3. Minimization of det autom 1. Minimization of nondet autom 1. Automata minimization 0.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 1 StatesRemovedByMinimization, 1 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 17 states and ocurred in iteration 1. Nontrivial modules had stage [1, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 23 SDtfs, 18 SDslu, 15 SDs, 0 SdLazy, 15 SolverSat, 5 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time LassoAnalysisResults: nont0 unkn0 SFLI1 SFLT0 conc0 concLT0 SILN0 SILU0 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital135 mio100 ax100 hnf98 lsp80 ukn91 mio100 lsp45 div135 bol100 ite100 ukn100 eq155 hnf81 smp100 dnf109 smp100 tf100 neg97 sie109 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: sat Degree: 0 Time: 155ms VariablesStem: 8 VariablesLoop: 5 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 2 MotzkinApplications: 6 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Termination proven Buchi Automizer proved that your program is terminating RESULT: Ultimate proved your program to be correct! Received shutdown request...