./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/array-memsafety/openbsd_cstrlen-alloca_true-valid-memsafety_true-termination.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 635dfa2a Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/array-memsafety/openbsd_cstrlen-alloca_true-valid-memsafety_true-termination.i -s /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 693983fd65e20b5d89b8cfa65a19d47075cafd63 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.1.23-635dfa2 [2018-12-08 22:12:58,274 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-12-08 22:12:58,275 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-12-08 22:12:58,281 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-12-08 22:12:58,282 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-12-08 22:12:58,282 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-12-08 22:12:58,283 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-12-08 22:12:58,284 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-12-08 22:12:58,285 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-12-08 22:12:58,285 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-12-08 22:12:58,286 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-12-08 22:12:58,286 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-12-08 22:12:58,286 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-12-08 22:12:58,287 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-12-08 22:12:58,287 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-12-08 22:12:58,288 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-12-08 22:12:58,288 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-12-08 22:12:58,289 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-12-08 22:12:58,290 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-12-08 22:12:58,291 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-12-08 22:12:58,291 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-12-08 22:12:58,292 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-12-08 22:12:58,293 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-12-08 22:12:58,293 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-12-08 22:12:58,294 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-12-08 22:12:58,294 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-12-08 22:12:58,295 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-12-08 22:12:58,295 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-12-08 22:12:58,296 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-12-08 22:12:58,296 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-12-08 22:12:58,296 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-12-08 22:12:58,297 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-12-08 22:12:58,297 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-12-08 22:12:58,297 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-12-08 22:12:58,298 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-12-08 22:12:58,298 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-12-08 22:12:58,298 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2018-12-08 22:12:58,305 INFO L110 SettingsManager]: Loading preferences was successful [2018-12-08 22:12:58,306 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-12-08 22:12:58,306 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-12-08 22:12:58,306 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-12-08 22:12:58,307 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-12-08 22:12:58,307 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-12-08 22:12:58,307 INFO L133 SettingsManager]: * Use SBE=true [2018-12-08 22:12:58,307 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-12-08 22:12:58,307 INFO L133 SettingsManager]: * sizeof long=4 [2018-12-08 22:12:58,307 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-12-08 22:12:58,307 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-12-08 22:12:58,307 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-12-08 22:12:58,308 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-12-08 22:12:58,308 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-12-08 22:12:58,308 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-12-08 22:12:58,308 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-12-08 22:12:58,308 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-12-08 22:12:58,308 INFO L133 SettingsManager]: * sizeof long double=12 [2018-12-08 22:12:58,308 INFO L133 SettingsManager]: * Use constant arrays=true [2018-12-08 22:12:58,308 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-12-08 22:12:58,309 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-12-08 22:12:58,309 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-12-08 22:12:58,309 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-12-08 22:12:58,309 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-12-08 22:12:58,309 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-12-08 22:12:58,309 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-12-08 22:12:58,309 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-12-08 22:12:58,309 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-12-08 22:12:58,310 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in 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_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/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(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 693983fd65e20b5d89b8cfa65a19d47075cafd63 [2018-12-08 22:12:58,327 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-12-08 22:12:58,336 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-12-08 22:12:58,339 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-12-08 22:12:58,340 INFO L271 PluginConnector]: Initializing CDTParser... [2018-12-08 22:12:58,340 INFO L276 PluginConnector]: CDTParser initialized [2018-12-08 22:12:58,341 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/../../sv-benchmarks/c/array-memsafety/openbsd_cstrlen-alloca_true-valid-memsafety_true-termination.i [2018-12-08 22:12:58,381 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/data/122ffe29e/fa887af9eab0433da4ca25d334d50d87/FLAGe4c96d7d3 [2018-12-08 22:12:58,696 INFO L307 CDTParser]: Found 1 translation units. [2018-12-08 22:12:58,697 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/sv-benchmarks/c/array-memsafety/openbsd_cstrlen-alloca_true-valid-memsafety_true-termination.i [2018-12-08 22:12:58,703 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/data/122ffe29e/fa887af9eab0433da4ca25d334d50d87/FLAGe4c96d7d3 [2018-12-08 22:12:58,711 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/data/122ffe29e/fa887af9eab0433da4ca25d334d50d87 [2018-12-08 22:12:58,713 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-12-08 22:12:58,714 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2018-12-08 22:12:58,715 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-12-08 22:12:58,715 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-12-08 22:12:58,717 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-12-08 22:12:58,717 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.12 10:12:58" (1/1) ... [2018-12-08 22:12:58,719 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@89db293 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58, skipping insertion in model container [2018-12-08 22:12:58,719 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.12 10:12:58" (1/1) ... [2018-12-08 22:12:58,723 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-12-08 22:12:58,741 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-12-08 22:12:58,878 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-12-08 22:12:58,884 INFO L191 MainTranslator]: Completed pre-run [2018-12-08 22:12:58,942 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-12-08 22:12:58,970 INFO L195 MainTranslator]: Completed translation [2018-12-08 22:12:58,970 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58 WrapperNode [2018-12-08 22:12:58,970 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-12-08 22:12:58,970 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-12-08 22:12:58,970 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-12-08 22:12:58,971 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-12-08 22:12:58,978 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58" (1/1) ... [2018-12-08 22:12:58,978 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58" (1/1) ... [2018-12-08 22:12:58,986 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58" (1/1) ... [2018-12-08 22:12:58,986 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58" (1/1) ... [2018-12-08 22:12:58,993 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58" (1/1) ... [2018-12-08 22:12:58,995 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58" (1/1) ... [2018-12-08 22:12:58,996 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58" (1/1) ... [2018-12-08 22:12:59,000 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-12-08 22:12:59,000 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-12-08 22:12:59,000 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-12-08 22:12:59,000 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-12-08 22:12:59,001 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-12-08 22:12:59,035 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-12-08 22:12:59,035 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-12-08 22:12:59,035 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_32 [2018-12-08 22:12:59,035 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_64 [2018-12-08 22:12:59,035 INFO L138 BoogieDeclarations]: Found implementation of procedure cstrlen [2018-12-08 22:12:59,036 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-12-08 22:12:59,036 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_32 [2018-12-08 22:12:59,036 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_64 [2018-12-08 22:12:59,036 INFO L130 BoogieDeclarations]: Found specification of procedure __ctype_get_mb_cur_max [2018-12-08 22:12:59,036 INFO L130 BoogieDeclarations]: Found specification of procedure atof [2018-12-08 22:12:59,036 INFO L130 BoogieDeclarations]: Found specification of procedure atoi [2018-12-08 22:12:59,036 INFO L130 BoogieDeclarations]: Found specification of procedure atol [2018-12-08 22:12:59,036 INFO L130 BoogieDeclarations]: Found specification of procedure atoll [2018-12-08 22:12:59,036 INFO L130 BoogieDeclarations]: Found specification of procedure strtod [2018-12-08 22:12:59,037 INFO L130 BoogieDeclarations]: Found specification of procedure strtof [2018-12-08 22:12:59,037 INFO L130 BoogieDeclarations]: Found specification of procedure strtold [2018-12-08 22:12:59,037 INFO L130 BoogieDeclarations]: Found specification of procedure strtol [2018-12-08 22:12:59,037 INFO L130 BoogieDeclarations]: Found specification of procedure strtoul [2018-12-08 22:12:59,037 INFO L130 BoogieDeclarations]: Found specification of procedure strtoq [2018-12-08 22:12:59,037 INFO L130 BoogieDeclarations]: Found specification of procedure strtouq [2018-12-08 22:12:59,037 INFO L130 BoogieDeclarations]: Found specification of procedure strtoll [2018-12-08 22:12:59,037 INFO L130 BoogieDeclarations]: Found specification of procedure strtoull [2018-12-08 22:12:59,037 INFO L130 BoogieDeclarations]: Found specification of procedure l64a [2018-12-08 22:12:59,038 INFO L130 BoogieDeclarations]: Found specification of procedure a64l [2018-12-08 22:12:59,038 INFO L130 BoogieDeclarations]: Found specification of procedure select [2018-12-08 22:12:59,038 INFO L130 BoogieDeclarations]: Found specification of procedure pselect [2018-12-08 22:12:59,038 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_major [2018-12-08 22:12:59,038 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_minor [2018-12-08 22:12:59,038 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_makedev [2018-12-08 22:12:59,038 INFO L130 BoogieDeclarations]: Found specification of procedure random [2018-12-08 22:12:59,038 INFO L130 BoogieDeclarations]: Found specification of procedure srandom [2018-12-08 22:12:59,038 INFO L130 BoogieDeclarations]: Found specification of procedure initstate [2018-12-08 22:12:59,038 INFO L130 BoogieDeclarations]: Found specification of procedure setstate [2018-12-08 22:12:59,039 INFO L130 BoogieDeclarations]: Found specification of procedure random_r [2018-12-08 22:12:59,039 INFO L130 BoogieDeclarations]: Found specification of procedure srandom_r [2018-12-08 22:12:59,039 INFO L130 BoogieDeclarations]: Found specification of procedure initstate_r [2018-12-08 22:12:59,039 INFO L130 BoogieDeclarations]: Found specification of procedure setstate_r [2018-12-08 22:12:59,039 INFO L130 BoogieDeclarations]: Found specification of procedure rand [2018-12-08 22:12:59,039 INFO L130 BoogieDeclarations]: Found specification of procedure srand [2018-12-08 22:12:59,039 INFO L130 BoogieDeclarations]: Found specification of procedure rand_r [2018-12-08 22:12:59,039 INFO L130 BoogieDeclarations]: Found specification of procedure drand48 [2018-12-08 22:12:59,039 INFO L130 BoogieDeclarations]: Found specification of procedure erand48 [2018-12-08 22:12:59,039 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48 [2018-12-08 22:12:59,040 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48 [2018-12-08 22:12:59,040 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48 [2018-12-08 22:12:59,040 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48 [2018-12-08 22:12:59,040 INFO L130 BoogieDeclarations]: Found specification of procedure srand48 [2018-12-08 22:12:59,040 INFO L130 BoogieDeclarations]: Found specification of procedure seed48 [2018-12-08 22:12:59,040 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48 [2018-12-08 22:12:59,040 INFO L130 BoogieDeclarations]: Found specification of procedure drand48_r [2018-12-08 22:12:59,040 INFO L130 BoogieDeclarations]: Found specification of procedure erand48_r [2018-12-08 22:12:59,040 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48_r [2018-12-08 22:12:59,040 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48_r [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48_r [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48_r [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure srand48_r [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure seed48_r [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48_r [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure calloc [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure realloc [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure free [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure cfree [2018-12-08 22:12:59,041 INFO L130 BoogieDeclarations]: Found specification of procedure alloca [2018-12-08 22:12:59,042 INFO L130 BoogieDeclarations]: Found specification of procedure valloc [2018-12-08 22:12:59,042 INFO L130 BoogieDeclarations]: Found specification of procedure posix_memalign [2018-12-08 22:12:59,042 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2018-12-08 22:12:59,042 INFO L130 BoogieDeclarations]: Found specification of procedure atexit [2018-12-08 22:12:59,042 INFO L130 BoogieDeclarations]: Found specification of procedure on_exit [2018-12-08 22:12:59,042 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2018-12-08 22:12:59,042 INFO L130 BoogieDeclarations]: Found specification of procedure _Exit [2018-12-08 22:12:59,042 INFO L130 BoogieDeclarations]: Found specification of procedure getenv [2018-12-08 22:12:59,042 INFO L130 BoogieDeclarations]: Found specification of procedure putenv [2018-12-08 22:12:59,042 INFO L130 BoogieDeclarations]: Found specification of procedure setenv [2018-12-08 22:12:59,043 INFO L130 BoogieDeclarations]: Found specification of procedure unsetenv [2018-12-08 22:12:59,043 INFO L130 BoogieDeclarations]: Found specification of procedure clearenv [2018-12-08 22:12:59,043 INFO L130 BoogieDeclarations]: Found specification of procedure mktemp [2018-12-08 22:12:59,043 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemp [2018-12-08 22:12:59,043 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemps [2018-12-08 22:12:59,043 INFO L130 BoogieDeclarations]: Found specification of procedure mkdtemp [2018-12-08 22:12:59,043 INFO L130 BoogieDeclarations]: Found specification of procedure system [2018-12-08 22:12:59,043 INFO L130 BoogieDeclarations]: Found specification of procedure realpath [2018-12-08 22:12:59,043 INFO L130 BoogieDeclarations]: Found specification of procedure bsearch [2018-12-08 22:12:59,043 INFO L130 BoogieDeclarations]: Found specification of procedure qsort [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure abs [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure labs [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure llabs [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure div [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure ldiv [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure lldiv [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure gcvt [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt [2018-12-08 22:12:59,044 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure qgcvt [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt_r [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt_r [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt_r [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt_r [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure mblen [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure mbtowc [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure wctomb [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure mbstowcs [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure wcstombs [2018-12-08 22:12:59,045 INFO L130 BoogieDeclarations]: Found specification of procedure rpmatch [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure getsubopt [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure getloadavg [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure cstrlen [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-12-08 22:12:59,046 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-12-08 22:12:59,217 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-12-08 22:12:59,217 INFO L280 CfgBuilder]: Removed 1 assue(true) statements. [2018-12-08 22:12:59,217 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.12 10:12:59 BoogieIcfgContainer [2018-12-08 22:12:59,217 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-12-08 22:12:59,218 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-12-08 22:12:59,218 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-12-08 22:12:59,220 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-12-08 22:12:59,220 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.12 10:12:58" (1/3) ... [2018-12-08 22:12:59,220 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@44685a1d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.12 10:12:59, skipping insertion in model container [2018-12-08 22:12:59,220 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.12 10:12:58" (2/3) ... [2018-12-08 22:12:59,221 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@44685a1d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.12 10:12:59, skipping insertion in model container [2018-12-08 22:12:59,221 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.12 10:12:59" (3/3) ... [2018-12-08 22:12:59,222 INFO L112 eAbstractionObserver]: Analyzing ICFG openbsd_cstrlen-alloca_true-valid-memsafety_true-termination.i [2018-12-08 22:12:59,227 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-12-08 22:12:59,232 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 5 error locations. [2018-12-08 22:12:59,241 INFO L257 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2018-12-08 22:12:59,255 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-12-08 22:12:59,255 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-12-08 22:12:59,255 INFO L383 AbstractCegarLoop]: Hoare is false [2018-12-08 22:12:59,256 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-12-08 22:12:59,256 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-12-08 22:12:59,256 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-12-08 22:12:59,256 INFO L387 AbstractCegarLoop]: Difference is false [2018-12-08 22:12:59,256 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-12-08 22:12:59,256 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-12-08 22:12:59,264 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states. [2018-12-08 22:12:59,269 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2018-12-08 22:12:59,269 INFO L394 BasicCegarLoop]: Found error trace [2018-12-08 22:12:59,270 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-08 22:12:59,271 INFO L423 AbstractCegarLoop]: === Iteration 1 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-12-08 22:12:59,274 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-08 22:12:59,275 INFO L82 PathProgramCache]: Analyzing trace with hash -1008915917, now seen corresponding path program 1 times [2018-12-08 22:12:59,276 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-12-08 22:12:59,276 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-12-08 22:12:59,304 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,304 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-08 22:12:59,304 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,330 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-08 22:12:59,362 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-08 22:12:59,363 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-08 22:12:59,364 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-12-08 22:12:59,366 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-12-08 22:12:59,373 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-12-08 22:12:59,374 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-12-08 22:12:59,375 INFO L87 Difference]: Start difference. First operand 27 states. Second operand 3 states. [2018-12-08 22:12:59,397 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-08 22:12:59,397 INFO L93 Difference]: Finished difference Result 26 states and 27 transitions. [2018-12-08 22:12:59,397 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-12-08 22:12:59,398 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 9 [2018-12-08 22:12:59,399 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-08 22:12:59,403 INFO L225 Difference]: With dead ends: 26 [2018-12-08 22:12:59,404 INFO L226 Difference]: Without dead ends: 23 [2018-12-08 22:12:59,404 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-12-08 22:12:59,414 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 23 states. [2018-12-08 22:12:59,422 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 23 to 23. [2018-12-08 22:12:59,423 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 23 states. [2018-12-08 22:12:59,423 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 23 states and 24 transitions. [2018-12-08 22:12:59,424 INFO L78 Accepts]: Start accepts. Automaton has 23 states and 24 transitions. Word has length 9 [2018-12-08 22:12:59,424 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-08 22:12:59,424 INFO L480 AbstractCegarLoop]: Abstraction has 23 states and 24 transitions. [2018-12-08 22:12:59,424 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-12-08 22:12:59,424 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 24 transitions. [2018-12-08 22:12:59,424 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2018-12-08 22:12:59,424 INFO L394 BasicCegarLoop]: Found error trace [2018-12-08 22:12:59,424 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-08 22:12:59,425 INFO L423 AbstractCegarLoop]: === Iteration 2 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-12-08 22:12:59,425 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-08 22:12:59,425 INFO L82 PathProgramCache]: Analyzing trace with hash -1008915916, now seen corresponding path program 1 times [2018-12-08 22:12:59,425 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-12-08 22:12:59,425 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-12-08 22:12:59,425 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,425 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-08 22:12:59,426 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,432 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-08 22:12:59,459 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-08 22:12:59,459 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-08 22:12:59,459 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-12-08 22:12:59,460 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-12-08 22:12:59,460 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-12-08 22:12:59,460 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-12-08 22:12:59,460 INFO L87 Difference]: Start difference. First operand 23 states and 24 transitions. Second operand 4 states. [2018-12-08 22:12:59,469 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-08 22:12:59,469 INFO L93 Difference]: Finished difference Result 22 states and 23 transitions. [2018-12-08 22:12:59,470 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-12-08 22:12:59,470 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 9 [2018-12-08 22:12:59,470 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-08 22:12:59,470 INFO L225 Difference]: With dead ends: 22 [2018-12-08 22:12:59,470 INFO L226 Difference]: Without dead ends: 22 [2018-12-08 22:12:59,471 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-12-08 22:12:59,471 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 22 states. [2018-12-08 22:12:59,472 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 22 to 22. [2018-12-08 22:12:59,472 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 22 states. [2018-12-08 22:12:59,472 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 22 states and 23 transitions. [2018-12-08 22:12:59,472 INFO L78 Accepts]: Start accepts. Automaton has 22 states and 23 transitions. Word has length 9 [2018-12-08 22:12:59,472 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-08 22:12:59,473 INFO L480 AbstractCegarLoop]: Abstraction has 22 states and 23 transitions. [2018-12-08 22:12:59,473 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-12-08 22:12:59,473 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 23 transitions. [2018-12-08 22:12:59,473 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-12-08 22:12:59,473 INFO L394 BasicCegarLoop]: Found error trace [2018-12-08 22:12:59,473 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-08 22:12:59,473 INFO L423 AbstractCegarLoop]: === Iteration 3 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-12-08 22:12:59,473 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-08 22:12:59,473 INFO L82 PathProgramCache]: Analyzing trace with hash -432933794, now seen corresponding path program 1 times [2018-12-08 22:12:59,473 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-12-08 22:12:59,473 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-12-08 22:12:59,474 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,474 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-08 22:12:59,474 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,480 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-08 22:12:59,501 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-08 22:12:59,502 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-08 22:12:59,502 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-12-08 22:12:59,502 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-12-08 22:12:59,502 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-12-08 22:12:59,502 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-12-08 22:12:59,502 INFO L87 Difference]: Start difference. First operand 22 states and 23 transitions. Second operand 5 states. [2018-12-08 22:12:59,534 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-08 22:12:59,534 INFO L93 Difference]: Finished difference Result 21 states and 22 transitions. [2018-12-08 22:12:59,534 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-12-08 22:12:59,534 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 12 [2018-12-08 22:12:59,535 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-08 22:12:59,535 INFO L225 Difference]: With dead ends: 21 [2018-12-08 22:12:59,535 INFO L226 Difference]: Without dead ends: 21 [2018-12-08 22:12:59,535 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2018-12-08 22:12:59,535 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 21 states. [2018-12-08 22:12:59,536 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 21 to 21. [2018-12-08 22:12:59,536 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 21 states. [2018-12-08 22:12:59,537 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 22 transitions. [2018-12-08 22:12:59,537 INFO L78 Accepts]: Start accepts. Automaton has 21 states and 22 transitions. Word has length 12 [2018-12-08 22:12:59,537 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-08 22:12:59,537 INFO L480 AbstractCegarLoop]: Abstraction has 21 states and 22 transitions. [2018-12-08 22:12:59,537 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-12-08 22:12:59,537 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 22 transitions. [2018-12-08 22:12:59,537 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-12-08 22:12:59,538 INFO L394 BasicCegarLoop]: Found error trace [2018-12-08 22:12:59,538 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-08 22:12:59,538 INFO L423 AbstractCegarLoop]: === Iteration 4 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-12-08 22:12:59,538 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-08 22:12:59,538 INFO L82 PathProgramCache]: Analyzing trace with hash -432933793, now seen corresponding path program 1 times [2018-12-08 22:12:59,538 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-12-08 22:12:59,538 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-12-08 22:12:59,539 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,539 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-08 22:12:59,539 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,545 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-08 22:12:59,584 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-08 22:12:59,584 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-08 22:12:59,584 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2018-12-08 22:12:59,584 INFO L459 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-12-08 22:12:59,584 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-12-08 22:12:59,584 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2018-12-08 22:12:59,585 INFO L87 Difference]: Start difference. First operand 21 states and 22 transitions. Second operand 7 states. [2018-12-08 22:12:59,619 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-08 22:12:59,619 INFO L93 Difference]: Finished difference Result 27 states and 29 transitions. [2018-12-08 22:12:59,619 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-12-08 22:12:59,619 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 12 [2018-12-08 22:12:59,619 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-08 22:12:59,621 INFO L225 Difference]: With dead ends: 27 [2018-12-08 22:12:59,621 INFO L226 Difference]: Without dead ends: 27 [2018-12-08 22:12:59,621 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 7 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 6 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=17, Invalid=39, Unknown=0, NotChecked=0, Total=56 [2018-12-08 22:12:59,621 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 27 states. [2018-12-08 22:12:59,623 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 27 to 22. [2018-12-08 22:12:59,623 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 22 states. [2018-12-08 22:12:59,623 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 22 states and 23 transitions. [2018-12-08 22:12:59,623 INFO L78 Accepts]: Start accepts. Automaton has 22 states and 23 transitions. Word has length 12 [2018-12-08 22:12:59,623 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-08 22:12:59,624 INFO L480 AbstractCegarLoop]: Abstraction has 22 states and 23 transitions. [2018-12-08 22:12:59,624 INFO L481 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-12-08 22:12:59,624 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 23 transitions. [2018-12-08 22:12:59,624 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2018-12-08 22:12:59,624 INFO L394 BasicCegarLoop]: Found error trace [2018-12-08 22:12:59,624 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-08 22:12:59,624 INFO L423 AbstractCegarLoop]: === Iteration 5 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-12-08 22:12:59,624 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-08 22:12:59,624 INFO L82 PathProgramCache]: Analyzing trace with hash 256132890, now seen corresponding path program 1 times [2018-12-08 22:12:59,624 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-12-08 22:12:59,624 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-12-08 22:12:59,625 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,625 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-08 22:12:59,625 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,633 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-08 22:12:59,706 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-08 22:12:59,706 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-08 22:12:59,706 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [8] imperfect sequences [] total 8 [2018-12-08 22:12:59,707 INFO L459 AbstractCegarLoop]: Interpolant automaton has 8 states [2018-12-08 22:12:59,707 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-12-08 22:12:59,707 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=42, Unknown=0, NotChecked=0, Total=56 [2018-12-08 22:12:59,707 INFO L87 Difference]: Start difference. First operand 22 states and 23 transitions. Second operand 8 states. [2018-12-08 22:12:59,761 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-08 22:12:59,761 INFO L93 Difference]: Finished difference Result 34 states and 34 transitions. [2018-12-08 22:12:59,762 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2018-12-08 22:12:59,762 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 15 [2018-12-08 22:12:59,762 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-08 22:12:59,762 INFO L225 Difference]: With dead ends: 34 [2018-12-08 22:12:59,762 INFO L226 Difference]: Without dead ends: 34 [2018-12-08 22:12:59,762 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 9 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 8 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=29, Invalid=81, Unknown=0, NotChecked=0, Total=110 [2018-12-08 22:12:59,763 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 34 states. [2018-12-08 22:12:59,764 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 34 to 31. [2018-12-08 22:12:59,764 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 31 states. [2018-12-08 22:12:59,765 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 31 states and 32 transitions. [2018-12-08 22:12:59,765 INFO L78 Accepts]: Start accepts. Automaton has 31 states and 32 transitions. Word has length 15 [2018-12-08 22:12:59,765 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-08 22:12:59,765 INFO L480 AbstractCegarLoop]: Abstraction has 31 states and 32 transitions. [2018-12-08 22:12:59,765 INFO L481 AbstractCegarLoop]: Interpolant automaton has 8 states. [2018-12-08 22:12:59,765 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 32 transitions. [2018-12-08 22:12:59,766 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2018-12-08 22:12:59,766 INFO L394 BasicCegarLoop]: Found error trace [2018-12-08 22:12:59,766 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-08 22:12:59,766 INFO L423 AbstractCegarLoop]: === Iteration 6 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-12-08 22:12:59,766 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-08 22:12:59,766 INFO L82 PathProgramCache]: Analyzing trace with hash 936191260, now seen corresponding path program 1 times [2018-12-08 22:12:59,766 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-12-08 22:12:59,766 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-12-08 22:12:59,767 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,767 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-08 22:12:59,767 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:12:59,773 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-08 22:12:59,868 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-08 22:12:59,868 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-12-08 22:12:59,868 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-12-08 22:12:59,874 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-08 22:12:59,886 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-08 22:12:59,890 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-12-08 22:12:59,920 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 14 treesize of output 11 [2018-12-08 22:12:59,923 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 10 [2018-12-08 22:12:59,923 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-12-08 22:12:59,925 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-12-08 22:12:59,930 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-2 vars, End of recursive call: 1 dim-0 vars, and 1 xjuncts. [2018-12-08 22:12:59,930 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 2 variables, input treesize:25, output treesize:21 [2018-12-08 22:12:59,985 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 18 treesize of output 14 [2018-12-08 22:12:59,992 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 14 treesize of output 11 [2018-12-08 22:12:59,992 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 2 xjuncts. [2018-12-08 22:12:59,996 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 2 xjuncts. [2018-12-08 22:13:00,007 INFO L267 ElimStorePlain]: Start of recursive call 1: 2 dim-0 vars, 1 dim-2 vars, End of recursive call: and 2 xjuncts. [2018-12-08 22:13:00,008 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 3 variables, input treesize:34, output treesize:33 [2018-12-08 22:13:00,055 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-08 22:13:00,069 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-12-08 22:13:00,069 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 8] total 14 [2018-12-08 22:13:00,069 INFO L459 AbstractCegarLoop]: Interpolant automaton has 15 states [2018-12-08 22:13:00,069 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 15 interpolants. [2018-12-08 22:13:00,070 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=33, Invalid=177, Unknown=0, NotChecked=0, Total=210 [2018-12-08 22:13:00,070 INFO L87 Difference]: Start difference. First operand 31 states and 32 transitions. Second operand 15 states. [2018-12-08 22:13:00,559 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-08 22:13:00,559 INFO L93 Difference]: Finished difference Result 42 states and 45 transitions. [2018-12-08 22:13:00,560 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2018-12-08 22:13:00,560 INFO L78 Accepts]: Start accepts. Automaton has 15 states. Word has length 15 [2018-12-08 22:13:00,560 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-08 22:13:00,560 INFO L225 Difference]: With dead ends: 42 [2018-12-08 22:13:00,560 INFO L226 Difference]: Without dead ends: 42 [2018-12-08 22:13:00,561 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 29 GetRequests, 10 SyntacticMatches, 0 SemanticMatches, 19 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 38 ImplicationChecksByTransitivity, 0.5s TimeCoverageRelationStatistics Valid=79, Invalid=341, Unknown=0, NotChecked=0, Total=420 [2018-12-08 22:13:00,561 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 42 states. [2018-12-08 22:13:00,563 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 42 to 34. [2018-12-08 22:13:00,563 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 34 states. [2018-12-08 22:13:00,563 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 34 states and 36 transitions. [2018-12-08 22:13:00,564 INFO L78 Accepts]: Start accepts. Automaton has 34 states and 36 transitions. Word has length 15 [2018-12-08 22:13:00,564 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-08 22:13:00,564 INFO L480 AbstractCegarLoop]: Abstraction has 34 states and 36 transitions. [2018-12-08 22:13:00,564 INFO L481 AbstractCegarLoop]: Interpolant automaton has 15 states. [2018-12-08 22:13:00,564 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 36 transitions. [2018-12-08 22:13:00,564 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2018-12-08 22:13:00,564 INFO L394 BasicCegarLoop]: Found error trace [2018-12-08 22:13:00,564 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-08 22:13:00,565 INFO L423 AbstractCegarLoop]: === Iteration 7 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-12-08 22:13:00,565 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-08 22:13:00,565 INFO L82 PathProgramCache]: Analyzing trace with hash -1755122930, now seen corresponding path program 1 times [2018-12-08 22:13:00,565 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-12-08 22:13:00,565 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-12-08 22:13:00,565 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:13:00,566 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-08 22:13:00,566 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:13:00,577 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-08 22:13:00,604 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-08 22:13:00,604 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-08 22:13:00,604 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-12-08 22:13:00,604 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-12-08 22:13:00,604 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-12-08 22:13:00,605 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-12-08 22:13:00,605 INFO L87 Difference]: Start difference. First operand 34 states and 36 transitions. Second operand 4 states. [2018-12-08 22:13:00,625 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-08 22:13:00,625 INFO L93 Difference]: Finished difference Result 33 states and 35 transitions. [2018-12-08 22:13:00,625 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-12-08 22:13:00,625 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 18 [2018-12-08 22:13:00,625 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-08 22:13:00,626 INFO L225 Difference]: With dead ends: 33 [2018-12-08 22:13:00,626 INFO L226 Difference]: Without dead ends: 19 [2018-12-08 22:13:00,626 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-12-08 22:13:00,626 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 19 states. [2018-12-08 22:13:00,627 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 19 to 19. [2018-12-08 22:13:00,627 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 19 states. [2018-12-08 22:13:00,627 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 19 transitions. [2018-12-08 22:13:00,627 INFO L78 Accepts]: Start accepts. Automaton has 19 states and 19 transitions. Word has length 18 [2018-12-08 22:13:00,627 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-08 22:13:00,627 INFO L480 AbstractCegarLoop]: Abstraction has 19 states and 19 transitions. [2018-12-08 22:13:00,627 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-12-08 22:13:00,628 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 19 transitions. [2018-12-08 22:13:00,628 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2018-12-08 22:13:00,628 INFO L394 BasicCegarLoop]: Found error trace [2018-12-08 22:13:00,628 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-08 22:13:00,628 INFO L423 AbstractCegarLoop]: === Iteration 8 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-12-08 22:13:00,628 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-08 22:13:00,628 INFO L82 PathProgramCache]: Analyzing trace with hash -1443823299, now seen corresponding path program 2 times [2018-12-08 22:13:00,628 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-12-08 22:13:00,628 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-12-08 22:13:00,629 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:13:00,629 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-08 22:13:00,629 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-08 22:13:00,636 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-08 22:13:00,791 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 5 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-08 22:13:00,791 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-12-08 22:13:00,791 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/z3 Starting monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-12-08 22:13:00,800 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST1 [2018-12-08 22:13:00,812 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2018-12-08 22:13:00,812 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-12-08 22:13:00,815 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-12-08 22:13:00,819 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2018-12-08 22:13:00,819 INFO L267 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2018-12-08 22:13:00,822 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-12-08 22:13:00,822 INFO L202 ElimStorePlain]: Needed 2 recursive calls to eliminate 1 variables, input treesize:10, output treesize:9 [2018-12-08 22:13:00,837 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 13 [2018-12-08 22:13:00,838 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 13 treesize of output 12 [2018-12-08 22:13:00,838 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-12-08 22:13:00,840 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-12-08 22:13:00,844 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-12-08 22:13:00,844 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 1 variables, input treesize:23, output treesize:19 [2018-12-08 22:13:00,929 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 20 treesize of output 16 [2018-12-08 22:13:00,935 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 16 treesize of output 13 [2018-12-08 22:13:00,935 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 2 xjuncts. [2018-12-08 22:13:00,938 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 2 xjuncts. [2018-12-08 22:13:00,946 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-2 vars, End of recursive call: and 2 xjuncts. [2018-12-08 22:13:00,946 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 2 variables, input treesize:38, output treesize:49 [2018-12-08 22:13:00,986 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 1 proven. 4 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-08 22:13:01,000 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-12-08 22:13:01,000 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 9] total 15 [2018-12-08 22:13:01,000 INFO L459 AbstractCegarLoop]: Interpolant automaton has 16 states [2018-12-08 22:13:01,000 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 16 interpolants. [2018-12-08 22:13:01,000 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=35, Invalid=205, Unknown=0, NotChecked=0, Total=240 [2018-12-08 22:13:01,000 INFO L87 Difference]: Start difference. First operand 19 states and 19 transitions. Second operand 16 states. [2018-12-08 22:13:01,320 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-08 22:13:01,320 INFO L93 Difference]: Finished difference Result 20 states and 20 transitions. [2018-12-08 22:13:01,321 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 12 states. [2018-12-08 22:13:01,321 INFO L78 Accepts]: Start accepts. Automaton has 16 states. Word has length 18 [2018-12-08 22:13:01,321 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-08 22:13:01,321 INFO L225 Difference]: With dead ends: 20 [2018-12-08 22:13:01,321 INFO L226 Difference]: Without dead ends: 0 [2018-12-08 22:13:01,321 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 35 GetRequests, 12 SyntacticMatches, 0 SemanticMatches, 23 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 53 ImplicationChecksByTransitivity, 0.4s TimeCoverageRelationStatistics Valid=119, Invalid=481, Unknown=0, NotChecked=0, Total=600 [2018-12-08 22:13:01,321 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 0 states. [2018-12-08 22:13:01,322 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 0 to 0. [2018-12-08 22:13:01,322 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 0 states. [2018-12-08 22:13:01,322 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 0 states to 0 states and 0 transitions. [2018-12-08 22:13:01,322 INFO L78 Accepts]: Start accepts. Automaton has 0 states and 0 transitions. Word has length 18 [2018-12-08 22:13:01,322 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-08 22:13:01,322 INFO L480 AbstractCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-12-08 22:13:01,322 INFO L481 AbstractCegarLoop]: Interpolant automaton has 16 states. [2018-12-08 22:13:01,322 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2018-12-08 22:13:01,322 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-12-08 22:13:01,325 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 08.12 10:13:01 BoogieIcfgContainer [2018-12-08 22:13:01,326 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-12-08 22:13:01,326 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-12-08 22:13:01,326 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-12-08 22:13:01,326 INFO L276 PluginConnector]: Witness Printer initialized [2018-12-08 22:13:01,327 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 08.12 10:12:59" (3/4) ... [2018-12-08 22:13:01,329 INFO L144 WitnessPrinter]: Generating witness for correct program [2018-12-08 22:13:01,333 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure ULTIMATE.init [2018-12-08 22:13:01,333 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure __bswap_32 [2018-12-08 22:13:01,333 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure __bswap_64 [2018-12-08 22:13:01,333 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure cstrlen [2018-12-08 22:13:01,334 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure main [2018-12-08 22:13:01,336 INFO L905 BoogieBacktranslator]: Reduced CFG by removing 11 nodes and edges [2018-12-08 22:13:01,336 INFO L905 BoogieBacktranslator]: Reduced CFG by removing 4 nodes and edges [2018-12-08 22:13:01,336 INFO L905 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2018-12-08 22:13:01,359 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_e8f07338-2b4f-43bb-b7bf-eb8fa0bbd0d9/bin-2019/uautomizer/witness.graphml [2018-12-08 22:13:01,359 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-12-08 22:13:01,360 INFO L168 Benchmark]: Toolchain (without parser) took 2646.18 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 218.1 MB). Free memory was 956.0 MB in the beginning and 1.1 GB in the end (delta: -180.5 MB). Peak memory consumption was 37.6 MB. Max. memory is 11.5 GB. [2018-12-08 22:13:01,360 INFO L168 Benchmark]: CDTParser took 0.15 ms. Allocated memory is still 1.0 GB. Free memory is still 982.3 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-12-08 22:13:01,361 INFO L168 Benchmark]: CACSL2BoogieTranslator took 255.69 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 135.3 MB). Free memory was 956.0 MB in the beginning and 1.1 GB in the end (delta: -159.1 MB). Peak memory consumption was 24.8 MB. Max. memory is 11.5 GB. [2018-12-08 22:13:01,361 INFO L168 Benchmark]: Boogie Preprocessor took 29.39 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-12-08 22:13:01,361 INFO L168 Benchmark]: RCFGBuilder took 217.20 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: 40.2 MB). Peak memory consumption was 40.2 MB. Max. memory is 11.5 GB. [2018-12-08 22:13:01,362 INFO L168 Benchmark]: TraceAbstraction took 2108.06 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 82.8 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: -64.4 MB). Peak memory consumption was 18.4 MB. Max. memory is 11.5 GB. [2018-12-08 22:13:01,362 INFO L168 Benchmark]: Witness Printer took 33.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: 2.8 MB). Peak memory consumption was 2.8 MB. Max. memory is 11.5 GB. [2018-12-08 22:13:01,363 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.15 ms. Allocated memory is still 1.0 GB. Free memory is still 982.3 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 255.69 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 135.3 MB). Free memory was 956.0 MB in the beginning and 1.1 GB in the end (delta: -159.1 MB). Peak memory consumption was 24.8 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 29.39 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 217.20 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: 40.2 MB). Peak memory consumption was 40.2 MB. Max. memory is 11.5 GB. * TraceAbstraction took 2108.06 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 82.8 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: -64.4 MB). Peak memory consumption was 18.4 MB. Max. memory is 11.5 GB. * Witness Printer took 33.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: 2.8 MB). Peak memory consumption was 2.8 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - PositiveResult [Line: 544]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 544]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 554]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 554]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 548]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - AllSpecificationsHoldResult: All specifications hold 5 specifications checked. All of them hold - StatisticsResult: Ultimate Automizer benchmark data CFG has 6 procedures, 33 locations, 5 error locations. SAFE Result, 2.0s OverallTime, 8 OverallIterations, 2 TraceHistogramMax, 1.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 130 SDtfs, 137 SDslu, 387 SDs, 0 SdLazy, 376 SolverSat, 62 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.2s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 96 GetRequests, 30 SyntacticMatches, 0 SemanticMatches, 66 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 105 ImplicationChecksByTransitivity, 1.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=34occurred in iteration=6, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 8 MinimizatonAttempts, 16 StatesRemovedByMinimization, 3 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.8s InterpolantComputationTime, 141 NumberOfCodeBlocks, 141 NumberOfCodeBlocksAsserted, 11 NumberOfCheckSat, 131 ConstructedInterpolants, 8 QuantifiedInterpolants, 12935 SizeOfPredicates, 14 NumberOfNonLiveVariables, 159 ConjunctsInSsa, 49 ConjunctsInUnsatCore, 10 InterpolantComputations, 6 PerfectInterpolantSequences, 2/13 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be correct! Received shutdown request...