./Ultimate.py --spec ../../sv-benchmarks/c/Termination.prp --file ../../sv-benchmarks/c/array-memsafety/strreplace-alloca_true-valid-memsafety_true-termination.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version 1dbac8bc Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/array-memsafety/strreplace-alloca_true-valid-memsafety_true-termination.i -s /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer --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 04214bcb8e1f50bae63b15c1fa309fb3edc667ba .............................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.1.23-1dbac8b [2018-11-10 11:08:24,226 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-10 11:08:24,227 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-10 11:08:24,233 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-10 11:08:24,233 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-10 11:08:24,234 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-10 11:08:24,234 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-10 11:08:24,235 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-10 11:08:24,237 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-10 11:08:24,237 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-10 11:08:24,238 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-10 11:08:24,238 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-10 11:08:24,238 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-10 11:08:24,239 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-10 11:08:24,240 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-10 11:08:24,240 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-10 11:08:24,241 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-10 11:08:24,242 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-10 11:08:24,243 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-10 11:08:24,244 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-10 11:08:24,245 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-10 11:08:24,246 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-10 11:08:24,247 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-10 11:08:24,247 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-10 11:08:24,248 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-10 11:08:24,248 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-10 11:08:24,249 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-10 11:08:24,249 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-10 11:08:24,250 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-10 11:08:24,251 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-10 11:08:24,251 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-10 11:08:24,251 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-10 11:08:24,252 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-10 11:08:24,252 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-10 11:08:24,252 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-10 11:08:24,253 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-10 11:08:24,253 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/config/svcomp-Termination-32bit-Automizer_Default.epf [2018-11-10 11:08:24,261 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-10 11:08:24,261 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-10 11:08:24,262 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-10 11:08:24,262 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-10 11:08:24,262 INFO L133 SettingsManager]: * Use SBE=true [2018-11-10 11:08:24,262 INFO L131 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2018-11-10 11:08:24,262 INFO L133 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2018-11-10 11:08:24,263 INFO L133 SettingsManager]: * Use old map elimination=false [2018-11-10 11:08:24,263 INFO L133 SettingsManager]: * Use external solver (rank synthesis)=false [2018-11-10 11:08:24,263 INFO L133 SettingsManager]: * Use only trivial implications for array writes=true [2018-11-10 11:08:24,263 INFO L133 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2018-11-10 11:08:24,263 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-10 11:08:24,263 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-10 11:08:24,263 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-11-10 11:08:24,264 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-10 11:08:24,264 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-10 11:08:24,264 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-10 11:08:24,264 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2018-11-10 11:08:24,264 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2018-11-10 11:08:24,264 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2018-11-10 11:08:24,265 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-10 11:08:24,265 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-10 11:08:24,265 INFO L133 SettingsManager]: * Assume nondeterminstic values are in range=false [2018-11-10 11:08:24,265 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2018-11-10 11:08:24,265 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-10 11:08:24,265 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-10 11:08:24,265 INFO L133 SettingsManager]: * To the following directory=/home/matthias/ultimate/dump [2018-11-10 11:08:24,266 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-10 11:08:24,266 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-10 11:08:24,266 INFO L133 SettingsManager]: * Dump automata to the following directory=/home/matthias/ultimate/dump/auto [2018-11-10 11:08:24,267 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-11-10 11:08:24,267 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 -> /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer 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 -> 04214bcb8e1f50bae63b15c1fa309fb3edc667ba [2018-11-10 11:08:24,291 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-10 11:08:24,298 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-10 11:08:24,299 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-10 11:08:24,300 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-10 11:08:24,300 INFO L276 PluginConnector]: CDTParser initialized [2018-11-10 11:08:24,301 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/../../sv-benchmarks/c/array-memsafety/strreplace-alloca_true-valid-memsafety_true-termination.i [2018-11-10 11:08:24,338 INFO L218 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/data/4501ae457/addb4d028866440da19ab7a80d789b28/FLAGfc3108e4a [2018-11-10 11:08:24,739 INFO L298 CDTParser]: Found 1 translation units. [2018-11-10 11:08:24,739 INFO L158 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/sv-benchmarks/c/array-memsafety/strreplace-alloca_true-valid-memsafety_true-termination.i [2018-11-10 11:08:24,746 INFO L346 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/data/4501ae457/addb4d028866440da19ab7a80d789b28/FLAGfc3108e4a [2018-11-10 11:08:24,757 INFO L354 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/data/4501ae457/addb4d028866440da19ab7a80d789b28 [2018-11-10 11:08:24,759 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-10 11:08:24,759 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-10 11:08:24,760 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-10 11:08:24,760 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-10 11:08:24,762 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-10 11:08:24,762 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 11:08:24" (1/1) ... [2018-11-10 11:08:24,765 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@61dab7c1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:24, skipping insertion in model container [2018-11-10 11:08:24,765 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 11:08:24" (1/1) ... [2018-11-10 11:08:24,770 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-10 11:08:24,795 INFO L174 MainTranslator]: Built tables and reachable declarations [2018-11-10 11:08:24,974 INFO L202 PostProcessor]: Analyzing one entry point: main [2018-11-10 11:08:24,980 INFO L189 MainTranslator]: Completed pre-run [2018-11-10 11:08:25,001 INFO L202 PostProcessor]: Analyzing one entry point: main [2018-11-10 11:08:25,032 INFO L193 MainTranslator]: Completed translation [2018-11-10 11:08:25,032 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25 WrapperNode [2018-11-10 11:08:25,032 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-10 11:08:25,033 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-10 11:08:25,033 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-10 11:08:25,033 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-10 11:08:25,077 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (1/1) ... [2018-11-10 11:08:25,087 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (1/1) ... [2018-11-10 11:08:25,101 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-10 11:08:25,101 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-10 11:08:25,101 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-10 11:08:25,101 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-10 11:08:25,106 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (1/1) ... [2018-11-10 11:08:25,106 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (1/1) ... [2018-11-10 11:08:25,108 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (1/1) ... [2018-11-10 11:08:25,108 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (1/1) ... [2018-11-10 11:08:25,110 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (1/1) ... [2018-11-10 11:08:25,114 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (1/1) ... [2018-11-10 11:08:25,115 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (1/1) ... [2018-11-10 11:08:25,116 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-10 11:08:25,116 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-10 11:08:25,116 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-10 11:08:25,116 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-10 11:08:25,116 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_c559b76c-3ce6-4735-b2d2-868c5d30d107/bin-2019/uautomizer/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 [2018-11-10 11:08:25,159 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-10 11:08:25,159 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-10 11:08:25,159 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-10 11:08:25,160 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-10 11:08:25,317 INFO L341 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-10 11:08:25,317 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 10.11 11:08:25 BoogieIcfgContainer [2018-11-10 11:08:25,318 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-10 11:08:25,318 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2018-11-10 11:08:25,318 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2018-11-10 11:08:25,321 INFO L276 PluginConnector]: BuchiAutomizer initialized [2018-11-10 11:08:25,321 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-10 11:08:25,321 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 10.11 11:08:24" (1/3) ... [2018-11-10 11:08:25,322 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@192df498 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 10.11 11:08:25, skipping insertion in model container [2018-11-10 11:08:25,322 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-10 11:08:25,322 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 11:08:25" (2/3) ... [2018-11-10 11:08:25,323 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@192df498 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 10.11 11:08:25, skipping insertion in model container [2018-11-10 11:08:25,323 INFO L102 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2018-11-10 11:08:25,323 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 10.11 11:08:25" (3/3) ... [2018-11-10 11:08:25,324 INFO L375 chiAutomizerObserver]: Analyzing ICFG strreplace-alloca_true-valid-memsafety_true-termination.i [2018-11-10 11:08:25,364 INFO L135 ementStrategyFactory]: Using default assertion order modulation [2018-11-10 11:08:25,364 INFO L374 BuchiCegarLoop]: Interprodecural is true [2018-11-10 11:08:25,364 INFO L375 BuchiCegarLoop]: Hoare is false [2018-11-10 11:08:25,365 INFO L376 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2018-11-10 11:08:25,365 INFO L377 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-10 11:08:25,365 INFO L378 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-10 11:08:25,365 INFO L379 BuchiCegarLoop]: Difference is false [2018-11-10 11:08:25,365 INFO L380 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-10 11:08:25,365 INFO L383 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2018-11-10 11:08:25,377 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 19 states. [2018-11-10 11:08:25,397 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 8 [2018-11-10 11:08:25,397 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-10 11:08:25,397 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-10 11:08:25,403 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1] [2018-11-10 11:08:25,403 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2018-11-10 11:08:25,403 INFO L442 BuchiCegarLoop]: ======== Iteration 1============ [2018-11-10 11:08:25,404 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 19 states. [2018-11-10 11:08:25,405 INFO L131 ngComponentsAnalysis]: Automaton has 1 accepting balls. 8 [2018-11-10 11:08:25,405 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2018-11-10 11:08:25,405 INFO L119 BuchiIsEmpty]: Starting construction of run [2018-11-10 11:08:25,405 INFO L866 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1] [2018-11-10 11:08:25,406 INFO L867 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1, 1, 1, 1] [2018-11-10 11:08:25,413 INFO L793 eck$LassoCheckResult]: Stem: 14#ULTIMATE.startENTRYtrue assume { :begin_inline_ULTIMATE.init } true;#NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; 10#L-1true assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res;havoc main_#t~nondet6, main_#t~malloc7.base, main_#t~malloc7.offset, main_#t~nondet8, main_#t~nondet9, main_#t~ret10, main_~length1~0, main_~nondetString1~0.base, main_~nondetString1~0.offset;main_~length1~0 := main_#t~nondet6;havoc main_#t~nondet6; 7#L555true assume !(main_~length1~0 < 1); 11#L555-2true #Ultimate.alloc_old_#length, #Ultimate.alloc_old_#valid := #length, #valid;assume { :begin_inline_#Ultimate.alloc } true;#Ultimate.alloc_~size := main_~length1~0 * 1;havoc #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset;havoc #valid, #length;assume #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base] == 0;assume #valid == #Ultimate.alloc_old_#valid[#Ultimate.alloc_#res.base := 1];assume #Ultimate.alloc_#res.offset == 0;assume #Ultimate.alloc_#res.base != 0;assume #length == #Ultimate.alloc_old_#length[#Ultimate.alloc_#res.base := #Ultimate.alloc_~size];main_#t~malloc7.base, main_#t~malloc7.offset := #Ultimate.alloc_#res.base, #Ultimate.alloc_#res.offset;assume { :end_inline_#Ultimate.alloc } true;main_~nondetString1~0.base, main_~nondetString1~0.offset := main_#t~malloc7.base, main_#t~malloc7.offset; 21#L559true SUMMARY for call write~int(0, main_~nondetString1~0.base, main_~nondetString1~0.offset + (main_~length1~0 - 1) * 1, 1); srcloc: L559 3#L559-1true assume { :begin_inline_cstrreplace } true;cstrreplace_#in~s.base, cstrreplace_#in~s.offset, cstrreplace_#in~old, cstrreplace_#in~new := main_~nondetString1~0.base, main_~nondetString1~0.offset, (if main_#t~nondet8 % 256 <= 127 then main_#t~nondet8 % 256 else main_#t~nondet8 % 256 - 256), (if main_#t~nondet9 % 256 <= 127 then main_#t~nondet9 % 256 else main_#t~nondet9 % 256 - 256);havoc cstrreplace_#res;havoc cstrreplace_#t~mem3, cstrreplace_#t~post4, cstrreplace_#t~post5.base, cstrreplace_#t~post5.offset, cstrreplace_#t~mem2, cstrreplace_~s.base, cstrreplace_~s.offset, cstrreplace_~old, cstrreplace_~new, cstrreplace_~p~0.base, cstrreplace_~p~0.offset, cstrreplace_~numReplaced~0;cstrreplace_~s.base, cstrreplace_~s.offset := cstrreplace_#in~s.base, cstrreplace_#in~s.offset;cstrreplace_~old := cstrreplace_#in~old;cstrreplace_~new := cstrreplace_#in~new;cstrreplace_~p~0.base, cstrreplace_~p~0.offset := cstrreplace_~s.base, cstrreplace_~s.offset;cstrreplace_~numReplaced~0 := 0; 16#L544-4true [2018-11-10 11:08:25,413 INFO L795 eck$LassoCheckResult]: Loop: 16#L544-4true assume true; 9#L544-1true SUMMARY for call cstrreplace_#t~mem2 := read~int(cstrreplace_~p~0.base, cstrreplace_~p~0.offset, 1); srcloc: L544-1 12#L544-2true assume !!(cstrreplace_#t~mem2 != 0);havoc cstrreplace_#t~mem2; 5#L545true SUMMARY for call cstrreplace_#t~mem3 := read~int(cstrreplace_~p~0.base, cstrreplace_~p~0.offset, 1); srcloc: L545 8#L545-1true assume !(cstrreplace_#t~mem3 == cstrreplace_~old);havoc cstrreplace_#t~mem3; 13#L545-3true cstrreplace_#t~post5.base, cstrreplace_#t~post5.offset := cstrreplace_~p~0.base, cstrreplace_~p~0.offset;cstrreplace_~p~0.base, cstrreplace_~p~0.offset := cstrreplace_#t~post5.base, cstrreplace_#t~post5.offset + 1;havoc cstrreplace_#t~post5.base, cstrreplace_#t~post5.offset; 16#L544-4true [2018-11-10 11:08:25,418 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 11:08:25,418 INFO L82 PathProgramCache]: Analyzing trace with hash 889568230, now seen corresponding path program 1 times [2018-11-10 11:08:25,420 INFO L225 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-10 11:08:25,420 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-10 11:08:25,460 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 11:08:25,460 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-10 11:08:25,460 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 11:08:25,493 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 11:08:25,506 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 11:08:25,519 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 11:08:25,519 INFO L82 PathProgramCache]: Analyzing trace with hash 1333319270, now seen corresponding path program 1 times [2018-11-10 11:08:25,519 INFO L225 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-10 11:08:25,519 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-10 11:08:25,520 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 11:08:25,520 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-10 11:08:25,520 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 11:08:25,523 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 11:08:25,526 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 11:08:25,528 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 11:08:25,528 INFO L82 PathProgramCache]: Analyzing trace with hash 1811501707, now seen corresponding path program 1 times [2018-11-10 11:08:25,528 INFO L225 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-10 11:08:25,528 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-10 11:08:25,529 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 11:08:25,529 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-10 11:08:25,529 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-10 11:08:25,544 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 11:08:25,559 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-10 11:08:25,782 WARN L179 SmtUtils]: Spent 145.00 ms on a formula simplification. DAG size of input: 91 DAG size of output: 85 [2018-11-10 11:08:26,068 WARN L179 SmtUtils]: Spent 283.00 ms on a formula simplification that was a NOOP. DAG size: 89 [2018-11-10 11:08:26,077 INFO L214 LassoAnalysis]: Preferences: [2018-11-10 11:08:26,078 INFO L124 ssoRankerPreferences]: Compute integeral hull: false [2018-11-10 11:08:26,078 INFO L125 ssoRankerPreferences]: Enable LassoPartitioneer: true [2018-11-10 11:08:26,078 INFO L126 ssoRankerPreferences]: Term annotations enabled: false [2018-11-10 11:08:26,078 INFO L127 ssoRankerPreferences]: Use exernal solver: false [2018-11-10 11:08:26,078 INFO L128 ssoRankerPreferences]: SMT solver command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2018-11-10 11:08:26,079 INFO L129 ssoRankerPreferences]: Dump SMT script to file: false [2018-11-10 11:08:26,079 INFO L130 ssoRankerPreferences]: Path of dumped script: [2018-11-10 11:08:26,079 INFO L131 ssoRankerPreferences]: Filename of dumped script: strreplace-alloca_true-valid-memsafety_true-termination.i_Iteration1_Lasso [2018-11-10 11:08:26,079 INFO L132 ssoRankerPreferences]: MapElimAlgo: Frank [2018-11-10 11:08:26,079 INFO L280 LassoAnalysis]: Starting lasso preprocessing... [2018-11-10 11:08:26,107 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,110 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,112 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,124 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,128 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,129 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,132 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,421 WARN L179 SmtUtils]: Spent 256.00 ms on a formula simplification. DAG size of input: 71 DAG size of output: 67 [2018-11-10 11:08:26,461 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,463 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,464 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,480 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,482 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,483 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,484 INFO L141 MapEliminator]: Using MapEliminator with SimplificationTechnique=SIMPLIFY_DDA XnfConversionTechnique=BOTTOM_UP_WITH_LOCAL_SIMPLIFICATION AddInequalities=false OnlyTrivialImplicationsArrayWrite=true OnlyTrivialImplicationsForModifiedArguments=true OnlyArgumentsInFormula=true [2018-11-10 11:08:26,927 INFO L298 LassoAnalysis]: Preprocessing complete. [2018-11-10 11:08:26,929 INFO L496 LassoAnalysis]: Using template 'affine'. [2018-11-10 11:08:26,931 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 [2018-11-10 11:08:26,932 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-10 11:08:26,932 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-10 11:08:26,932 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-10 11:08:26,932 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-10 11:08:26,932 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-10 11:08:26,933 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-10 11:08:26,934 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-10 11:08:26,935 INFO L529 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-10 11:08:26,936 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 [2018-11-10 11:08:26,936 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-10 11:08:26,936 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-10 11:08:26,936 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-10 11:08:26,937 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-10 11:08:26,937 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-10 11:08:26,937 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-10 11:08:26,937 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-10 11:08:26,938 INFO L529 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-10 11:08:26,943 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 [2018-11-10 11:08:26,943 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-10 11:08:26,944 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-10 11:08:26,944 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-10 11:08:26,944 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-10 11:08:26,944 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-10 11:08:26,945 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-10 11:08:26,945 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-10 11:08:26,945 INFO L529 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-10 11:08:26,946 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 [2018-11-10 11:08:26,946 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-10 11:08:26,946 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-10 11:08:26,946 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-10 11:08:26,947 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-10 11:08:26,947 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-10 11:08:26,947 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-10 11:08:26,947 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-10 11:08:26,948 INFO L529 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-10 11:08:26,948 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 [2018-11-10 11:08:26,949 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-10 11:08:26,952 INFO L352 nArgumentSynthesizer]: There is no stem transition; disabling supporting invariant generation. [2018-11-10 11:08:26,952 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-10 11:08:26,952 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-10 11:08:26,952 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-10 11:08:26,953 INFO L402 nArgumentSynthesizer]: We have 2 Motzkin's Theorem applications. [2018-11-10 11:08:26,953 INFO L403 nArgumentSynthesizer]: A total of 0 supporting invariants were added. [2018-11-10 11:08:26,954 INFO L529 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-10 11:08:26,954 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 [2018-11-10 11:08:26,955 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-10 11:08:26,955 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-10 11:08:26,955 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-10 11:08:26,955 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-10 11:08:26,957 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-10 11:08:26,957 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-10 11:08:26,960 INFO L529 LassoAnalysis]: Proving termination failed for this template and these settings. [2018-11-10 11:08:26,960 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 [2018-11-10 11:08:26,961 INFO L339 nArgumentSynthesizer]: Template has degree 0. [2018-11-10 11:08:26,961 INFO L205 nArgumentSynthesizer]: 1 stem disjuncts [2018-11-10 11:08:26,961 INFO L206 nArgumentSynthesizer]: 1 loop disjuncts [2018-11-10 11:08:26,961 INFO L207 nArgumentSynthesizer]: 2 template conjuncts. [2018-11-10 11:08:26,965 INFO L402 nArgumentSynthesizer]: We have 6 Motzkin's Theorem applications. [2018-11-10 11:08:26,966 INFO L403 nArgumentSynthesizer]: A total of 2 supporting invariants were added. [2018-11-10 11:08:27,006 INFO L421 nArgumentSynthesizer]: Found a termination argument, trying to simplify. [2018-11-10 11:08:27,034 INFO L443 ModelExtractionUtils]: Simplification made 6 calls to the SMT solver. [2018-11-10 11:08:27,034 INFO L444 ModelExtractionUtils]: 27 out of 34 variables were initially zero. Simplification set additionally 4 variables to zero. [2018-11-10 11:08:27,036 INFO L437 nArgumentSynthesizer]: Simplifying supporting invariants... [2018-11-10 11:08:27,037 INFO L440 nArgumentSynthesizer]: Removed 2 redundant supporting invariants from a total of 2. [2018-11-10 11:08:27,038 INFO L517 LassoAnalysis]: Proved termination. [2018-11-10 11:08:27,038 INFO L519 LassoAnalysis]: Termination argument consisting of: Ranking function f(v_rep(select #length ULTIMATE.start_cstrreplace_~p~0.base)_1, ULTIMATE.start_cstrreplace_~p~0.offset) = 1*v_rep(select #length ULTIMATE.start_cstrreplace_~p~0.base)_1 - 1*ULTIMATE.start_cstrreplace_~p~0.offset Supporting invariants [] [2018-11-10 11:08:27,050 INFO L297 tatePredicateManager]: 4 out of 4 supporting invariants were superfluous and have been removed [2018-11-10 11:08:27,056 WARN L1239 BoogieBacktranslator]: unknown boogie variable #length [2018-11-10 11:08:27,070 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-10 11:08:27,085 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-10 11:08:27,088 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-10 11:08:27,102 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-10 11:08:27,103 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-10 11:08:27,109 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-10 11:08:27,118 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 [2018-11-10 11:08:27,119 INFO L72 iDifferenceNCSBLazy3]: Start buchiDifferenceNCSBLazy3. First operand 19 states. Second operand 4 states. [2018-11-10 11:08:27,147 INFO L76 iDifferenceNCSBLazy3]: Finished buchiDifferenceNCSBLazy3. First operand 19 states.. Second operand 4 states. Result 37 states and 42 transitions. Complement of second has 7 states. [2018-11-10 11:08:27,147 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 [2018-11-10 11:08:27,148 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2018-11-10 11:08:27,149 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 26 transitions. [2018-11-10 11:08:27,149 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 26 transitions. Stem has 6 letters. Loop has 6 letters. [2018-11-10 11:08:27,150 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-10 11:08:27,150 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 26 transitions. Stem has 12 letters. Loop has 6 letters. [2018-11-10 11:08:27,151 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-10 11:08:27,151 INFO L84 BuchiAccepts]: Start buchiAccepts Operand 5 states and 26 transitions. Stem has 6 letters. Loop has 12 letters. [2018-11-10 11:08:27,151 INFO L116 BuchiAccepts]: Finished buchiAccepts. [2018-11-10 11:08:27,151 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 37 states and 42 transitions. [2018-11-10 11:08:27,152 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2018-11-10 11:08:27,154 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 37 states to 0 states and 0 transitions. [2018-11-10 11:08:27,155 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2018-11-10 11:08:27,155 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2018-11-10 11:08:27,155 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2018-11-10 11:08:27,155 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2018-11-10 11:08:27,155 INFO L705 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-10 11:08:27,155 INFO L728 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-10 11:08:27,155 INFO L608 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-10 11:08:27,156 INFO L442 BuchiCegarLoop]: ======== Iteration 2============ [2018-11-10 11:08:27,156 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2018-11-10 11:08:27,156 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2018-11-10 11:08:27,156 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2018-11-10 11:08:27,159 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 10.11 11:08:27 BoogieIcfgContainer [2018-11-10 11:08:27,159 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2018-11-10 11:08:27,160 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-10 11:08:27,160 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-10 11:08:27,160 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-10 11:08:27,160 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 10.11 11:08:25" (3/4) ... [2018-11-10 11:08:27,162 INFO L147 WitnessPrinter]: No result that supports witness generation found [2018-11-10 11:08:27,162 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-10 11:08:27,163 INFO L168 Benchmark]: Toolchain (without parser) took 2403.84 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 220.7 MB). Free memory was 957.5 MB in the beginning and 1.1 GB in the end (delta: -164.6 MB). Peak memory consumption was 56.1 MB. Max. memory is 11.5 GB. [2018-11-10 11:08:27,163 INFO L168 Benchmark]: CDTParser took 0.10 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-10 11:08:27,164 INFO L168 Benchmark]: CACSL2BoogieTranslator took 272.77 ms. Allocated memory is still 1.0 GB. Free memory was 957.5 MB in the beginning and 929.6 MB in the end (delta: 27.9 MB). Peak memory consumption was 27.9 MB. Max. memory is 11.5 GB. [2018-11-10 11:08:27,164 INFO L168 Benchmark]: Boogie Procedure Inliner took 68.10 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 148.9 MB). Free memory was 929.6 MB in the beginning and 1.1 GB in the end (delta: -213.1 MB). Peak memory consumption was 15.6 MB. Max. memory is 11.5 GB. [2018-11-10 11:08:27,164 INFO L168 Benchmark]: Boogie Preprocessor took 14.46 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. [2018-11-10 11:08:27,165 INFO L168 Benchmark]: RCFGBuilder took 201.78 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 19.8 MB). Peak memory consumption was 19.8 MB. Max. memory is 11.5 GB. [2018-11-10 11:08:27,165 INFO L168 Benchmark]: BuchiAutomizer took 1841.58 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 71.8 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 795.4 kB). Peak memory consumption was 72.6 MB. Max. memory is 11.5 GB. [2018-11-10 11:08:27,165 INFO L168 Benchmark]: Witness Printer took 2.59 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. [2018-11-10 11:08:27,168 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.10 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 272.77 ms. Allocated memory is still 1.0 GB. Free memory was 957.5 MB in the beginning and 929.6 MB in the end (delta: 27.9 MB). Peak memory consumption was 27.9 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 68.10 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 148.9 MB). Free memory was 929.6 MB in the beginning and 1.1 GB in the end (delta: -213.1 MB). Peak memory consumption was 15.6 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 14.46 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 201.78 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 19.8 MB). Peak memory consumption was 19.8 MB. Max. memory is 11.5 GB. * BuchiAutomizer took 1841.58 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 71.8 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 795.4 kB). Peak memory consumption was 72.6 MB. Max. memory is 11.5 GB. * Witness Printer took 2.59 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. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation unknown boogie variable #length * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 1 terminating modules (0 trivial, 1 deterministic, 0 nondeterministic). One deterministic module has affine ranking function unknown-#length-unknown[p] + -1 * p and consists of 5 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 1.8s and 2 iterations. TraceHistogramMax:1. Analysis of lassos took 1.6s. Construction of modules took 0.0s. Büchi inclusion checks took 0.0s. Highest rank in rank-based complementation 3. Minimization of det autom 1. Minimization of nondet autom 0. Automata minimization No data available. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 0 states and ocurred in iteration 1. Nontrivial modules had stage [1, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 17 SDtfs, 30 SDslu, 11 SDs, 0 SdLazy, 7 SolverSat, 2 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time LassoAnalysisResults: nont0 unkn0 SFLI0 SFLT0 conc0 concLT0 SILN0 SILU0 SILI0 SILT0 lasso1 LassoPreprocessingBenchmarks: Lassos: inital533 mio100 ax100 hnf98 lsp33 ukn134 mio100 lsp25 div140 bol100 ite100 ukn100 eq155 hnf71 smp92 dnf213 smp56 tf100 neg92 sie117 LassoTerminationAnalysisBenchmarks: ConstraintsSatisfiability: unsat Degree: 0 Time: 5ms VariablesStem: 1 VariablesLoop: 0 DisjunctsStem: 1 DisjunctsLoop: 1 SupportingInvariants: 2 MotzkinApplications: 6 LassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Termination proven Buchi Automizer proved that your program is terminating RESULT: Ultimate proved your program to be correct! Received shutdown request...