./Ultimate.py --spec /storage/repos/svcomp/c/properties/valid-memsafety.prp --file /storage/repos/svcomp/c/array-memsafety/cstrlen-alloca_true-valid-memsafety_true-termination.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 91b1670e Calling Ultimate with: java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i /storage/repos/svcomp/c/array-memsafety/cstrlen-alloca_true-valid-memsafety_true-termination.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(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 46ac9a098c7c17e5f63698307929b277c408d664 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.1.24-91b1670 [2018-11-28 22:43:19,893 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-28 22:43:19,895 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-28 22:43:19,908 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-28 22:43:19,909 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-28 22:43:19,910 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-28 22:43:19,912 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-28 22:43:19,914 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-28 22:43:19,916 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-28 22:43:19,917 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-28 22:43:19,918 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-28 22:43:19,919 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-28 22:43:19,920 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-28 22:43:19,921 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-28 22:43:19,923 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-28 22:43:19,924 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-28 22:43:19,925 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-28 22:43:19,933 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-28 22:43:19,935 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-28 22:43:19,937 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-28 22:43:19,938 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-28 22:43:19,939 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-28 22:43:19,942 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-28 22:43:19,943 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-28 22:43:19,943 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-28 22:43:19,944 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-28 22:43:19,946 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-28 22:43:19,947 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-28 22:43:19,947 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-28 22:43:19,949 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-28 22:43:19,949 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-28 22:43:19,950 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-28 22:43:19,950 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-28 22:43:19,951 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-28 22:43:19,952 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-28 22:43:19,953 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-28 22:43:19,954 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2018-11-28 22:43:19,970 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-28 22:43:19,970 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-28 22:43:19,971 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-28 22:43:19,972 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-28 22:43:19,973 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-28 22:43:19,973 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-28 22:43:19,973 INFO L133 SettingsManager]: * Use SBE=true [2018-11-28 22:43:19,973 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-28 22:43:19,974 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-28 22:43:19,974 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-11-28 22:43:19,975 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-28 22:43:19,975 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-28 22:43:19,975 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-28 22:43:19,975 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-11-28 22:43:19,975 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-11-28 22:43:19,976 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-11-28 22:43:19,977 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-28 22:43:19,977 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-28 22:43:19,977 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-28 22:43:19,977 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-28 22:43:19,977 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-28 22:43:19,978 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-28 22:43:19,978 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-28 22:43:19,979 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-28 22:43:19,979 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-28 22:43:19,979 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-28 22:43:19,979 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-28 22:43:19,979 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-28 22:43:19,980 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 -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(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 -> 46ac9a098c7c17e5f63698307929b277c408d664 [2018-11-28 22:43:20,019 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-28 22:43:20,033 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-28 22:43:20,036 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-28 22:43:20,038 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-28 22:43:20,038 INFO L276 PluginConnector]: CDTParser initialized [2018-11-28 22:43:20,040 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/svcomp/c/array-memsafety/cstrlen-alloca_true-valid-memsafety_true-termination.i [2018-11-28 22:43:20,102 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4a743405e/c50bc4f58e704597914f3432faa130d5/FLAGd3b492f75 [2018-11-28 22:43:20,631 INFO L307 CDTParser]: Found 1 translation units. [2018-11-28 22:43:20,632 INFO L161 CDTParser]: Scanning /storage/repos/svcomp/c/array-memsafety/cstrlen-alloca_true-valid-memsafety_true-termination.i [2018-11-28 22:43:20,645 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4a743405e/c50bc4f58e704597914f3432faa130d5/FLAGd3b492f75 [2018-11-28 22:43:20,886 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4a743405e/c50bc4f58e704597914f3432faa130d5 [2018-11-28 22:43:20,891 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-28 22:43:20,892 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2018-11-28 22:43:20,893 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-28 22:43:20,894 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-28 22:43:20,898 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-28 22:43:20,899 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 10:43:20" (1/1) ... [2018-11-28 22:43:20,902 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4417f256 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:20, skipping insertion in model container [2018-11-28 22:43:20,902 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 10:43:20" (1/1) ... [2018-11-28 22:43:20,911 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-28 22:43:20,960 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-28 22:43:21,346 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-11-28 22:43:21,358 INFO L191 MainTranslator]: Completed pre-run [2018-11-28 22:43:21,405 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-11-28 22:43:21,461 INFO L195 MainTranslator]: Completed translation [2018-11-28 22:43:21,461 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:21 WrapperNode [2018-11-28 22:43:21,461 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-28 22:43:21,462 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-28 22:43:21,463 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-28 22:43:21,463 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-28 22:43:21,479 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:21" (1/1) ... [2018-11-28 22:43:21,479 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:21" (1/1) ... [2018-11-28 22:43:21,567 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:21" (1/1) ... [2018-11-28 22:43:21,569 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:21" (1/1) ... [2018-11-28 22:43:21,584 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:21" (1/1) ... [2018-11-28 22:43:21,590 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:21" (1/1) ... [2018-11-28 22:43:21,593 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:21" (1/1) ... [2018-11-28 22:43:21,598 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-28 22:43:21,598 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-28 22:43:21,599 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-28 22:43:21,599 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-28 22:43:21,600 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:21" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory: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-11-28 22:43:21,673 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-28 22:43:21,674 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-28 22:43:21,674 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_32 [2018-11-28 22:43:21,674 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_64 [2018-11-28 22:43:21,674 INFO L138 BoogieDeclarations]: Found implementation of procedure cstrlen [2018-11-28 22:43:21,675 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-28 22:43:21,675 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_32 [2018-11-28 22:43:21,675 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_64 [2018-11-28 22:43:21,675 INFO L130 BoogieDeclarations]: Found specification of procedure __ctype_get_mb_cur_max [2018-11-28 22:43:21,675 INFO L130 BoogieDeclarations]: Found specification of procedure atof [2018-11-28 22:43:21,675 INFO L130 BoogieDeclarations]: Found specification of procedure atoi [2018-11-28 22:43:21,677 INFO L130 BoogieDeclarations]: Found specification of procedure atol [2018-11-28 22:43:21,677 INFO L130 BoogieDeclarations]: Found specification of procedure atoll [2018-11-28 22:43:21,677 INFO L130 BoogieDeclarations]: Found specification of procedure strtod [2018-11-28 22:43:21,677 INFO L130 BoogieDeclarations]: Found specification of procedure strtof [2018-11-28 22:43:21,677 INFO L130 BoogieDeclarations]: Found specification of procedure strtold [2018-11-28 22:43:21,677 INFO L130 BoogieDeclarations]: Found specification of procedure strtol [2018-11-28 22:43:21,678 INFO L130 BoogieDeclarations]: Found specification of procedure strtoul [2018-11-28 22:43:21,678 INFO L130 BoogieDeclarations]: Found specification of procedure strtoq [2018-11-28 22:43:21,678 INFO L130 BoogieDeclarations]: Found specification of procedure strtouq [2018-11-28 22:43:21,679 INFO L130 BoogieDeclarations]: Found specification of procedure strtoll [2018-11-28 22:43:21,679 INFO L130 BoogieDeclarations]: Found specification of procedure strtoull [2018-11-28 22:43:21,679 INFO L130 BoogieDeclarations]: Found specification of procedure l64a [2018-11-28 22:43:21,679 INFO L130 BoogieDeclarations]: Found specification of procedure a64l [2018-11-28 22:43:21,679 INFO L130 BoogieDeclarations]: Found specification of procedure select [2018-11-28 22:43:21,679 INFO L130 BoogieDeclarations]: Found specification of procedure pselect [2018-11-28 22:43:21,680 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_major [2018-11-28 22:43:21,680 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_minor [2018-11-28 22:43:21,680 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_makedev [2018-11-28 22:43:21,680 INFO L130 BoogieDeclarations]: Found specification of procedure random [2018-11-28 22:43:21,680 INFO L130 BoogieDeclarations]: Found specification of procedure srandom [2018-11-28 22:43:21,680 INFO L130 BoogieDeclarations]: Found specification of procedure initstate [2018-11-28 22:43:21,681 INFO L130 BoogieDeclarations]: Found specification of procedure setstate [2018-11-28 22:43:21,682 INFO L130 BoogieDeclarations]: Found specification of procedure random_r [2018-11-28 22:43:21,682 INFO L130 BoogieDeclarations]: Found specification of procedure srandom_r [2018-11-28 22:43:21,683 INFO L130 BoogieDeclarations]: Found specification of procedure initstate_r [2018-11-28 22:43:21,683 INFO L130 BoogieDeclarations]: Found specification of procedure setstate_r [2018-11-28 22:43:21,683 INFO L130 BoogieDeclarations]: Found specification of procedure rand [2018-11-28 22:43:21,683 INFO L130 BoogieDeclarations]: Found specification of procedure srand [2018-11-28 22:43:21,683 INFO L130 BoogieDeclarations]: Found specification of procedure rand_r [2018-11-28 22:43:21,683 INFO L130 BoogieDeclarations]: Found specification of procedure drand48 [2018-11-28 22:43:21,684 INFO L130 BoogieDeclarations]: Found specification of procedure erand48 [2018-11-28 22:43:21,685 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48 [2018-11-28 22:43:21,685 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48 [2018-11-28 22:43:21,685 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48 [2018-11-28 22:43:21,685 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48 [2018-11-28 22:43:21,685 INFO L130 BoogieDeclarations]: Found specification of procedure srand48 [2018-11-28 22:43:21,685 INFO L130 BoogieDeclarations]: Found specification of procedure seed48 [2018-11-28 22:43:21,686 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48 [2018-11-28 22:43:21,686 INFO L130 BoogieDeclarations]: Found specification of procedure drand48_r [2018-11-28 22:43:21,687 INFO L130 BoogieDeclarations]: Found specification of procedure erand48_r [2018-11-28 22:43:21,687 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48_r [2018-11-28 22:43:21,687 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48_r [2018-11-28 22:43:21,687 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48_r [2018-11-28 22:43:21,687 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48_r [2018-11-28 22:43:21,687 INFO L130 BoogieDeclarations]: Found specification of procedure srand48_r [2018-11-28 22:43:21,687 INFO L130 BoogieDeclarations]: Found specification of procedure seed48_r [2018-11-28 22:43:21,688 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48_r [2018-11-28 22:43:21,689 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2018-11-28 22:43:21,689 INFO L130 BoogieDeclarations]: Found specification of procedure calloc [2018-11-28 22:43:21,689 INFO L130 BoogieDeclarations]: Found specification of procedure realloc [2018-11-28 22:43:21,689 INFO L130 BoogieDeclarations]: Found specification of procedure free [2018-11-28 22:43:21,689 INFO L130 BoogieDeclarations]: Found specification of procedure cfree [2018-11-28 22:43:21,689 INFO L130 BoogieDeclarations]: Found specification of procedure alloca [2018-11-28 22:43:21,690 INFO L130 BoogieDeclarations]: Found specification of procedure valloc [2018-11-28 22:43:21,690 INFO L130 BoogieDeclarations]: Found specification of procedure posix_memalign [2018-11-28 22:43:21,690 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2018-11-28 22:43:21,690 INFO L130 BoogieDeclarations]: Found specification of procedure atexit [2018-11-28 22:43:21,690 INFO L130 BoogieDeclarations]: Found specification of procedure on_exit [2018-11-28 22:43:21,690 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2018-11-28 22:43:21,690 INFO L130 BoogieDeclarations]: Found specification of procedure _Exit [2018-11-28 22:43:21,690 INFO L130 BoogieDeclarations]: Found specification of procedure getenv [2018-11-28 22:43:21,692 INFO L130 BoogieDeclarations]: Found specification of procedure putenv [2018-11-28 22:43:21,692 INFO L130 BoogieDeclarations]: Found specification of procedure setenv [2018-11-28 22:43:21,692 INFO L130 BoogieDeclarations]: Found specification of procedure unsetenv [2018-11-28 22:43:21,692 INFO L130 BoogieDeclarations]: Found specification of procedure clearenv [2018-11-28 22:43:21,693 INFO L130 BoogieDeclarations]: Found specification of procedure mktemp [2018-11-28 22:43:21,693 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemp [2018-11-28 22:43:21,693 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemps [2018-11-28 22:43:21,693 INFO L130 BoogieDeclarations]: Found specification of procedure mkdtemp [2018-11-28 22:43:21,693 INFO L130 BoogieDeclarations]: Found specification of procedure system [2018-11-28 22:43:21,693 INFO L130 BoogieDeclarations]: Found specification of procedure realpath [2018-11-28 22:43:21,693 INFO L130 BoogieDeclarations]: Found specification of procedure bsearch [2018-11-28 22:43:21,693 INFO L130 BoogieDeclarations]: Found specification of procedure qsort [2018-11-28 22:43:21,695 INFO L130 BoogieDeclarations]: Found specification of procedure abs [2018-11-28 22:43:21,695 INFO L130 BoogieDeclarations]: Found specification of procedure labs [2018-11-28 22:43:21,695 INFO L130 BoogieDeclarations]: Found specification of procedure llabs [2018-11-28 22:43:21,695 INFO L130 BoogieDeclarations]: Found specification of procedure div [2018-11-28 22:43:21,695 INFO L130 BoogieDeclarations]: Found specification of procedure ldiv [2018-11-28 22:43:21,696 INFO L130 BoogieDeclarations]: Found specification of procedure lldiv [2018-11-28 22:43:21,696 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt [2018-11-28 22:43:21,697 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt [2018-11-28 22:43:21,697 INFO L130 BoogieDeclarations]: Found specification of procedure gcvt [2018-11-28 22:43:21,697 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt [2018-11-28 22:43:21,697 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt [2018-11-28 22:43:21,698 INFO L130 BoogieDeclarations]: Found specification of procedure qgcvt [2018-11-28 22:43:21,698 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt_r [2018-11-28 22:43:21,698 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt_r [2018-11-28 22:43:21,698 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt_r [2018-11-28 22:43:21,698 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt_r [2018-11-28 22:43:21,698 INFO L130 BoogieDeclarations]: Found specification of procedure mblen [2018-11-28 22:43:21,698 INFO L130 BoogieDeclarations]: Found specification of procedure mbtowc [2018-11-28 22:43:21,699 INFO L130 BoogieDeclarations]: Found specification of procedure wctomb [2018-11-28 22:43:21,700 INFO L130 BoogieDeclarations]: Found specification of procedure mbstowcs [2018-11-28 22:43:21,700 INFO L130 BoogieDeclarations]: Found specification of procedure wcstombs [2018-11-28 22:43:21,700 INFO L130 BoogieDeclarations]: Found specification of procedure rpmatch [2018-11-28 22:43:21,700 INFO L130 BoogieDeclarations]: Found specification of procedure getsubopt [2018-11-28 22:43:21,700 INFO L130 BoogieDeclarations]: Found specification of procedure getloadavg [2018-11-28 22:43:21,700 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-11-28 22:43:21,700 INFO L130 BoogieDeclarations]: Found specification of procedure cstrlen [2018-11-28 22:43:21,700 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-28 22:43:21,701 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-28 22:43:21,702 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-28 22:43:21,702 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-28 22:43:21,702 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-28 22:43:21,702 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-28 22:43:21,702 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-28 22:43:22,313 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-28 22:43:22,313 INFO L280 CfgBuilder]: Removed 1 assue(true) statements. [2018-11-28 22:43:22,313 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 10:43:22 BoogieIcfgContainer [2018-11-28 22:43:22,314 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-28 22:43:22,315 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-28 22:43:22,315 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-28 22:43:22,319 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-28 22:43:22,320 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 28.11 10:43:20" (1/3) ... [2018-11-28 22:43:22,321 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2ab84499 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 10:43:22, skipping insertion in model container [2018-11-28 22:43:22,321 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:21" (2/3) ... [2018-11-28 22:43:22,321 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2ab84499 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 10:43:22, skipping insertion in model container [2018-11-28 22:43:22,321 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 10:43:22" (3/3) ... [2018-11-28 22:43:22,325 INFO L112 eAbstractionObserver]: Analyzing ICFG cstrlen-alloca_true-valid-memsafety_true-termination.i [2018-11-28 22:43:22,337 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-28 22:43:22,347 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 5 error locations. [2018-11-28 22:43:22,366 INFO L257 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2018-11-28 22:43:22,396 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-28 22:43:22,397 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-28 22:43:22,397 INFO L383 AbstractCegarLoop]: Hoare is false [2018-11-28 22:43:22,397 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-28 22:43:22,398 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-28 22:43:22,398 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-28 22:43:22,398 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-28 22:43:22,398 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-28 22:43:22,398 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-28 22:43:22,417 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states. [2018-11-28 22:43:22,427 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2018-11-28 22:43:22,428 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:22,429 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:22,432 INFO L423 AbstractCegarLoop]: === Iteration 1 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-11-28 22:43:22,439 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:22,439 INFO L82 PathProgramCache]: Analyzing trace with hash 768985874, now seen corresponding path program 1 times [2018-11-28 22:43:22,442 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:22,443 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:22,503 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:22,504 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:22,504 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:22,560 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:22,639 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-28 22:43:22,642 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:22,642 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-28 22:43:22,646 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-28 22:43:22,659 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-28 22:43:22,659 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-28 22:43:22,661 INFO L87 Difference]: Start difference. First operand 26 states. Second operand 3 states. [2018-11-28 22:43:22,756 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:22,756 INFO L93 Difference]: Finished difference Result 25 states and 26 transitions. [2018-11-28 22:43:22,757 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-28 22:43:22,758 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 9 [2018-11-28 22:43:22,759 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:22,768 INFO L225 Difference]: With dead ends: 25 [2018-11-28 22:43:22,768 INFO L226 Difference]: Without dead ends: 22 [2018-11-28 22:43:22,770 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-11-28 22:43:22,789 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 22 states. [2018-11-28 22:43:22,806 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 22 to 22. [2018-11-28 22:43:22,807 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 22 states. [2018-11-28 22:43:22,808 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 22 states and 23 transitions. [2018-11-28 22:43:22,810 INFO L78 Accepts]: Start accepts. Automaton has 22 states and 23 transitions. Word has length 9 [2018-11-28 22:43:22,810 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:22,810 INFO L480 AbstractCegarLoop]: Abstraction has 22 states and 23 transitions. [2018-11-28 22:43:22,811 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-28 22:43:22,811 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 23 transitions. [2018-11-28 22:43:22,811 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2018-11-28 22:43:22,811 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:22,811 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:22,813 INFO L423 AbstractCegarLoop]: === Iteration 2 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-11-28 22:43:22,813 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:22,813 INFO L82 PathProgramCache]: Analyzing trace with hash 768985875, now seen corresponding path program 1 times [2018-11-28 22:43:22,813 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:22,813 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:22,814 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:22,814 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:22,815 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:22,830 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:22,965 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-28 22:43:22,965 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:22,965 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-28 22:43:22,968 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-11-28 22:43:22,968 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-11-28 22:43:22,968 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-11-28 22:43:22,968 INFO L87 Difference]: Start difference. First operand 22 states and 23 transitions. Second operand 4 states. [2018-11-28 22:43:22,990 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:22,990 INFO L93 Difference]: Finished difference Result 21 states and 22 transitions. [2018-11-28 22:43:22,991 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-28 22:43:22,991 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 9 [2018-11-28 22:43:22,991 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:22,992 INFO L225 Difference]: With dead ends: 21 [2018-11-28 22:43:22,992 INFO L226 Difference]: Without dead ends: 21 [2018-11-28 22:43:22,993 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-11-28 22:43:22,993 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 21 states. [2018-11-28 22:43:22,996 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 21 to 21. [2018-11-28 22:43:22,996 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 21 states. [2018-11-28 22:43:22,997 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 22 transitions. [2018-11-28 22:43:22,997 INFO L78 Accepts]: Start accepts. Automaton has 21 states and 22 transitions. Word has length 9 [2018-11-28 22:43:22,997 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:22,997 INFO L480 AbstractCegarLoop]: Abstraction has 21 states and 22 transitions. [2018-11-28 22:43:22,997 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-11-28 22:43:22,997 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 22 transitions. [2018-11-28 22:43:22,998 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-11-28 22:43:22,998 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:22,998 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:22,998 INFO L423 AbstractCegarLoop]: === Iteration 3 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-11-28 22:43:22,999 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:22,999 INFO L82 PathProgramCache]: Analyzing trace with hash -497373345, now seen corresponding path program 1 times [2018-11-28 22:43:22,999 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:22,999 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:23,000 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:23,000 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:23,000 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:23,014 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:23,203 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-28 22:43:23,203 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:23,203 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-11-28 22:43:23,204 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-11-28 22:43:23,204 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-28 22:43:23,204 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-11-28 22:43:23,205 INFO L87 Difference]: Start difference. First operand 21 states and 22 transitions. Second operand 5 states. [2018-11-28 22:43:23,341 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:23,341 INFO L93 Difference]: Finished difference Result 20 states and 21 transitions. [2018-11-28 22:43:23,342 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-28 22:43:23,342 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 12 [2018-11-28 22:43:23,344 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:23,344 INFO L225 Difference]: With dead ends: 20 [2018-11-28 22:43:23,344 INFO L226 Difference]: Without dead ends: 20 [2018-11-28 22:43:23,345 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2018-11-28 22:43:23,345 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 20 states. [2018-11-28 22:43:23,348 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 20 to 20. [2018-11-28 22:43:23,348 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 20 states. [2018-11-28 22:43:23,349 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 21 transitions. [2018-11-28 22:43:23,349 INFO L78 Accepts]: Start accepts. Automaton has 20 states and 21 transitions. Word has length 12 [2018-11-28 22:43:23,349 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:23,350 INFO L480 AbstractCegarLoop]: Abstraction has 20 states and 21 transitions. [2018-11-28 22:43:23,350 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-11-28 22:43:23,350 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 21 transitions. [2018-11-28 22:43:23,350 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-11-28 22:43:23,350 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:23,351 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:23,352 INFO L423 AbstractCegarLoop]: === Iteration 4 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-11-28 22:43:23,352 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:23,352 INFO L82 PathProgramCache]: Analyzing trace with hash -497373344, now seen corresponding path program 1 times [2018-11-28 22:43:23,352 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:23,353 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:23,354 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:23,354 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:23,354 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:23,367 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:23,507 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-28 22:43:23,507 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:23,507 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2018-11-28 22:43:23,508 INFO L459 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-11-28 22:43:23,508 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-11-28 22:43:23,508 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2018-11-28 22:43:23,509 INFO L87 Difference]: Start difference. First operand 20 states and 21 transitions. Second operand 7 states. [2018-11-28 22:43:23,606 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:23,606 INFO L93 Difference]: Finished difference Result 25 states and 27 transitions. [2018-11-28 22:43:23,607 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-11-28 22:43:23,607 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 12 [2018-11-28 22:43:23,607 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:23,610 INFO L225 Difference]: With dead ends: 25 [2018-11-28 22:43:23,610 INFO L226 Difference]: Without dead ends: 25 [2018-11-28 22:43:23,611 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 7 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 6 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=17, Invalid=39, Unknown=0, NotChecked=0, Total=56 [2018-11-28 22:43:23,611 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 25 states. [2018-11-28 22:43:23,615 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 25 to 21. [2018-11-28 22:43:23,615 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 21 states. [2018-11-28 22:43:23,616 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 22 transitions. [2018-11-28 22:43:23,616 INFO L78 Accepts]: Start accepts. Automaton has 21 states and 22 transitions. Word has length 12 [2018-11-28 22:43:23,616 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:23,616 INFO L480 AbstractCegarLoop]: Abstraction has 21 states and 22 transitions. [2018-11-28 22:43:23,616 INFO L481 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-11-28 22:43:23,617 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 22 transitions. [2018-11-28 22:43:23,617 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2018-11-28 22:43:23,617 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:23,617 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:23,618 INFO L423 AbstractCegarLoop]: === Iteration 5 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-11-28 22:43:23,618 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:23,618 INFO L82 PathProgramCache]: Analyzing trace with hash -1234414663, now seen corresponding path program 1 times [2018-11-28 22:43:23,618 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:23,618 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:23,619 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:23,620 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:23,620 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:23,635 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:24,014 WARN L180 SmtUtils]: Spent 287.00 ms on a formula simplification. DAG size of input: 19 DAG size of output: 9 [2018-11-28 22:43:24,173 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 22:43:24,174 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:24,174 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [8] imperfect sequences [] total 8 [2018-11-28 22:43:24,174 INFO L459 AbstractCegarLoop]: Interpolant automaton has 8 states [2018-11-28 22:43:24,175 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-11-28 22:43:24,175 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=42, Unknown=0, NotChecked=0, Total=56 [2018-11-28 22:43:24,175 INFO L87 Difference]: Start difference. First operand 21 states and 22 transitions. Second operand 8 states. [2018-11-28 22:43:24,343 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:24,343 INFO L93 Difference]: Finished difference Result 33 states and 33 transitions. [2018-11-28 22:43:24,344 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2018-11-28 22:43:24,344 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 14 [2018-11-28 22:43:24,344 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:24,345 INFO L225 Difference]: With dead ends: 33 [2018-11-28 22:43:24,345 INFO L226 Difference]: Without dead ends: 33 [2018-11-28 22:43:24,346 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 9 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 8 ImplicationChecksByTransitivity, 0.5s TimeCoverageRelationStatistics Valid=29, Invalid=81, Unknown=0, NotChecked=0, Total=110 [2018-11-28 22:43:24,346 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 33 states. [2018-11-28 22:43:24,350 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 33 to 30. [2018-11-28 22:43:24,350 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 30 states. [2018-11-28 22:43:24,351 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 30 states and 31 transitions. [2018-11-28 22:43:24,351 INFO L78 Accepts]: Start accepts. Automaton has 30 states and 31 transitions. Word has length 14 [2018-11-28 22:43:24,351 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:24,351 INFO L480 AbstractCegarLoop]: Abstraction has 30 states and 31 transitions. [2018-11-28 22:43:24,351 INFO L481 AbstractCegarLoop]: Interpolant automaton has 8 states. [2018-11-28 22:43:24,352 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 31 transitions. [2018-11-28 22:43:24,352 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2018-11-28 22:43:24,352 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:24,352 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:24,353 INFO L423 AbstractCegarLoop]: === Iteration 6 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-11-28 22:43:24,353 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:24,353 INFO L82 PathProgramCache]: Analyzing trace with hash -2043761289, now seen corresponding path program 1 times [2018-11-28 22:43:24,353 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:24,353 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:24,354 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:24,354 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:24,355 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:24,368 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:24,635 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 22:43:24,636 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-28 22:43:24,636 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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-11-28 22:43:24,647 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:24,680 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:24,688 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 22:43:24,740 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-11-28 22:43:24,746 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-11-28 22:43:24,747 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-28 22:43:24,755 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-28 22:43:24,774 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-11-28 22:43:24,775 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 2 variables, input treesize:25, output treesize:21 [2018-11-28 22:43:24,964 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-11-28 22:43:24,985 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-11-28 22:43:24,986 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 2 xjuncts. [2018-11-28 22:43:24,999 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 2 xjuncts. [2018-11-28 22:43:25,091 INFO L267 ElimStorePlain]: Start of recursive call 1: 2 dim-0 vars, 1 dim-2 vars, End of recursive call: and 2 xjuncts. [2018-11-28 22:43:25,091 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 3 variables, input treesize:34, output treesize:33 [2018-11-28 22:43:25,449 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 22:43:25,475 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-28 22:43:25,475 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 7] total 12 [2018-11-28 22:43:25,475 INFO L459 AbstractCegarLoop]: Interpolant automaton has 13 states [2018-11-28 22:43:25,476 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 13 interpolants. [2018-11-28 22:43:25,478 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=132, Unknown=0, NotChecked=0, Total=156 [2018-11-28 22:43:25,478 INFO L87 Difference]: Start difference. First operand 30 states and 31 transitions. Second operand 13 states. [2018-11-28 22:43:26,116 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:26,116 INFO L93 Difference]: Finished difference Result 39 states and 42 transitions. [2018-11-28 22:43:26,117 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2018-11-28 22:43:26,117 INFO L78 Accepts]: Start accepts. Automaton has 13 states. Word has length 14 [2018-11-28 22:43:26,118 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:26,119 INFO L225 Difference]: With dead ends: 39 [2018-11-28 22:43:26,119 INFO L226 Difference]: Without dead ends: 39 [2018-11-28 22:43:26,120 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 26 GetRequests, 10 SyntacticMatches, 0 SemanticMatches, 16 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 19 ImplicationChecksByTransitivity, 1.0s TimeCoverageRelationStatistics Valid=57, Invalid=249, Unknown=0, NotChecked=0, Total=306 [2018-11-28 22:43:26,120 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 39 states. [2018-11-28 22:43:26,126 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 39 to 32. [2018-11-28 22:43:26,126 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 32 states. [2018-11-28 22:43:26,127 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 32 states and 34 transitions. [2018-11-28 22:43:26,128 INFO L78 Accepts]: Start accepts. Automaton has 32 states and 34 transitions. Word has length 14 [2018-11-28 22:43:26,128 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:26,128 INFO L480 AbstractCegarLoop]: Abstraction has 32 states and 34 transitions. [2018-11-28 22:43:26,128 INFO L481 AbstractCegarLoop]: Interpolant automaton has 13 states. [2018-11-28 22:43:26,128 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 34 transitions. [2018-11-28 22:43:26,129 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2018-11-28 22:43:26,129 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:26,129 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:26,130 INFO L423 AbstractCegarLoop]: === Iteration 7 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-11-28 22:43:26,131 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:26,131 INFO L82 PathProgramCache]: Analyzing trace with hash -1254545392, now seen corresponding path program 2 times [2018-11-28 22:43:26,131 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:26,131 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:26,132 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:26,132 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:26,132 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:26,152 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:26,475 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 22:43:26,475 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-28 22:43:26,475 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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-11-28 22:43:26,497 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST1 [2018-11-28 22:43:26,523 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2018-11-28 22:43:26,523 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-28 22:43:26,527 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 22:43:26,534 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-11-28 22:43:26,535 INFO L267 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2018-11-28 22:43:26,547 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-28 22:43:26,548 INFO L202 ElimStorePlain]: Needed 2 recursive calls to eliminate 1 variables, input treesize:10, output treesize:9 [2018-11-28 22:43:26,586 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-11-28 22:43:26,589 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-11-28 22:43:26,589 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-28 22:43:26,591 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-28 22:43:26,604 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-28 22:43:26,604 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 1 variables, input treesize:23, output treesize:19 [2018-11-28 22:43:26,991 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-11-28 22:43:27,004 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-11-28 22:43:27,005 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 2 xjuncts. [2018-11-28 22:43:27,020 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 2 xjuncts. [2018-11-28 22:43:27,038 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-2 vars, End of recursive call: and 2 xjuncts. [2018-11-28 22:43:27,038 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 2 variables, input treesize:38, output treesize:49 [2018-11-28 22:43:27,107 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 1 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-28 22:43:27,128 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-28 22:43:27,128 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 14 [2018-11-28 22:43:27,129 INFO L459 AbstractCegarLoop]: Interpolant automaton has 15 states [2018-11-28 22:43:27,129 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 15 interpolants. [2018-11-28 22:43:27,129 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=30, Invalid=180, Unknown=0, NotChecked=0, Total=210 [2018-11-28 22:43:27,130 INFO L87 Difference]: Start difference. First operand 32 states and 34 transitions. Second operand 15 states. [2018-11-28 22:43:27,610 WARN L180 SmtUtils]: Spent 123.00 ms on a formula simplification. DAG size of input: 57 DAG size of output: 41 [2018-11-28 22:43:27,879 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:27,879 INFO L93 Difference]: Finished difference Result 38 states and 41 transitions. [2018-11-28 22:43:27,879 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2018-11-28 22:43:27,880 INFO L78 Accepts]: Start accepts. Automaton has 15 states. Word has length 16 [2018-11-28 22:43:27,880 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:27,880 INFO L225 Difference]: With dead ends: 38 [2018-11-28 22:43:27,880 INFO L226 Difference]: Without dead ends: 38 [2018-11-28 22:43:27,881 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 30 GetRequests, 10 SyntacticMatches, 0 SemanticMatches, 20 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 32 ImplicationChecksByTransitivity, 1.2s TimeCoverageRelationStatistics Valid=84, Invalid=378, Unknown=0, NotChecked=0, Total=462 [2018-11-28 22:43:27,881 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 38 states. [2018-11-28 22:43:27,885 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 38 to 28. [2018-11-28 22:43:27,885 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 28 states. [2018-11-28 22:43:27,886 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 28 states and 29 transitions. [2018-11-28 22:43:27,886 INFO L78 Accepts]: Start accepts. Automaton has 28 states and 29 transitions. Word has length 16 [2018-11-28 22:43:27,886 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:27,886 INFO L480 AbstractCegarLoop]: Abstraction has 28 states and 29 transitions. [2018-11-28 22:43:27,886 INFO L481 AbstractCegarLoop]: Interpolant automaton has 15 states. [2018-11-28 22:43:27,886 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 29 transitions. [2018-11-28 22:43:27,887 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2018-11-28 22:43:27,887 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:27,887 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:27,887 INFO L423 AbstractCegarLoop]: === Iteration 8 === [cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK]=== [2018-11-28 22:43:27,887 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:27,888 INFO L82 PathProgramCache]: Analyzing trace with hash 962589261, now seen corresponding path program 1 times [2018-11-28 22:43:27,888 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:27,888 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:27,889 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:27,889 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-28 22:43:27,889 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:27,911 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:27,998 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-28 22:43:27,999 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:27,999 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-28 22:43:27,999 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-11-28 22:43:27,999 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-11-28 22:43:27,999 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-11-28 22:43:28,000 INFO L87 Difference]: Start difference. First operand 28 states and 29 transitions. Second operand 4 states. [2018-11-28 22:43:28,052 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:28,053 INFO L93 Difference]: Finished difference Result 27 states and 28 transitions. [2018-11-28 22:43:28,053 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-28 22:43:28,053 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 18 [2018-11-28 22:43:28,054 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:28,054 INFO L225 Difference]: With dead ends: 27 [2018-11-28 22:43:28,054 INFO L226 Difference]: Without dead ends: 0 [2018-11-28 22:43:28,054 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-11-28 22:43:28,054 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 0 states. [2018-11-28 22:43:28,055 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 0 to 0. [2018-11-28 22:43:28,055 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 0 states. [2018-11-28 22:43:28,055 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 0 states to 0 states and 0 transitions. [2018-11-28 22:43:28,055 INFO L78 Accepts]: Start accepts. Automaton has 0 states and 0 transitions. Word has length 18 [2018-11-28 22:43:28,055 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:28,055 INFO L480 AbstractCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-11-28 22:43:28,055 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-11-28 22:43:28,055 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2018-11-28 22:43:28,055 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-28 22:43:28,061 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 28.11 10:43:28 BoogieIcfgContainer [2018-11-28 22:43:28,061 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-28 22:43:28,061 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-28 22:43:28,061 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-28 22:43:28,061 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-28 22:43:28,062 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 10:43:22" (3/4) ... [2018-11-28 22:43:28,066 INFO L144 WitnessPrinter]: Generating witness for correct program [2018-11-28 22:43:28,072 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure ULTIMATE.init [2018-11-28 22:43:28,073 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure __bswap_32 [2018-11-28 22:43:28,073 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure __bswap_64 [2018-11-28 22:43:28,073 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure cstrlen [2018-11-28 22:43:28,073 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure main [2018-11-28 22:43:28,078 INFO L905 BoogieBacktranslator]: Reduced CFG by removing 11 nodes and edges [2018-11-28 22:43:28,078 INFO L905 BoogieBacktranslator]: Reduced CFG by removing 4 nodes and edges [2018-11-28 22:43:28,078 INFO L905 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2018-11-28 22:43:28,128 INFO L145 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2018-11-28 22:43:28,128 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-28 22:43:28,129 INFO L168 Benchmark]: Toolchain (without parser) took 7237.71 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 199.8 MB). Free memory was 951.3 MB in the beginning and 1.1 GB in the end (delta: -187.3 MB). Peak memory consumption was 12.4 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:28,131 INFO L168 Benchmark]: CDTParser took 0.20 ms. Allocated memory is still 1.0 GB. Free memory is still 978.2 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-28 22:43:28,132 INFO L168 Benchmark]: CACSL2BoogieTranslator took 568.49 ms. Allocated memory is still 1.0 GB. Free memory was 951.3 MB in the beginning and 929.9 MB in the end (delta: 21.5 MB). Peak memory consumption was 21.5 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:28,132 INFO L168 Benchmark]: Boogie Preprocessor took 135.73 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 131.6 MB). Free memory was 929.9 MB in the beginning and 1.1 GB in the end (delta: -189.8 MB). Peak memory consumption was 14.3 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:28,134 INFO L168 Benchmark]: RCFGBuilder took 715.29 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: 38.9 MB). Peak memory consumption was 38.9 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:28,135 INFO L168 Benchmark]: TraceAbstraction took 5745.57 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 68.2 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: -65.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:28,136 INFO L168 Benchmark]: Witness Printer took 67.02 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: 7.7 MB). Peak memory consumption was 7.7 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:28,142 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.20 ms. Allocated memory is still 1.0 GB. Free memory is still 978.2 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 568.49 ms. Allocated memory is still 1.0 GB. Free memory was 951.3 MB in the beginning and 929.9 MB in the end (delta: 21.5 MB). Peak memory consumption was 21.5 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 135.73 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 131.6 MB). Free memory was 929.9 MB in the beginning and 1.1 GB in the end (delta: -189.8 MB). Peak memory consumption was 14.3 MB. Max. memory is 11.5 GB. * RCFGBuilder took 715.29 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: 38.9 MB). Peak memory consumption was 38.9 MB. Max. memory is 11.5 GB. * TraceAbstraction took 5745.57 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 68.2 MB). Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: -65.6 MB). Peak memory consumption was 2.6 MB. Max. memory is 11.5 GB. * Witness Printer took 67.02 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: 7.7 MB). Peak memory consumption was 7.7 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - PositiveResult [Line: 543]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 543]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 553]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 553]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 547]: 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, 32 locations, 5 error locations. SAFE Result, 5.6s OverallTime, 8 OverallIterations, 2 TraceHistogramMax, 2.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 128 SDtfs, 169 SDslu, 396 SDs, 0 SdLazy, 397 SolverSat, 71 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.7s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 88 GetRequests, 28 SyntacticMatches, 0 SemanticMatches, 60 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 65 ImplicationChecksByTransitivity, 3.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=32occurred 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, 24 StatesRemovedByMinimization, 4 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 3.0s InterpolantComputationTime, 134 NumberOfCodeBlocks, 134 NumberOfCodeBlocksAsserted, 11 NumberOfCheckSat, 124 ConstructedInterpolants, 7 QuantifiedInterpolants, 10561 SizeOfPredicates, 14 NumberOfNonLiveVariables, 159 ConjunctsInSsa, 49 ConjunctsInUnsatCore, 10 InterpolantComputations, 6 PerfectInterpolantSequences, 2/11 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be correct! Received shutdown request...