./Ultimate.py --spec /storage/repos/svcomp/c/properties/valid-memsafety.prp --file /storage/repos/svcomp/c/array-memsafety/cstrchr_unsafe_false-valid-deref.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/cstrchr_unsafe_false-valid-deref.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 b1c981e5c0ba7a15ac143c5240d22ecf11476d0a .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-deref) --- Real Ultimate output --- This is Ultimate 0.1.24-91b1670 [2018-11-28 22:43:08,068 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-28 22:43:08,070 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-28 22:43:08,086 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-28 22:43:08,087 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-28 22:43:08,089 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-28 22:43:08,093 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-28 22:43:08,096 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-28 22:43:08,099 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-28 22:43:08,101 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-28 22:43:08,104 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-28 22:43:08,105 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-28 22:43:08,106 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-28 22:43:08,110 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-28 22:43:08,120 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-28 22:43:08,121 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-28 22:43:08,123 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-28 22:43:08,126 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-28 22:43:08,130 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-28 22:43:08,134 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-28 22:43:08,135 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-28 22:43:08,138 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-28 22:43:08,143 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-28 22:43:08,144 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-28 22:43:08,144 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-28 22:43:08,145 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-28 22:43:08,146 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-28 22:43:08,147 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-28 22:43:08,148 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-28 22:43:08,149 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-28 22:43:08,149 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-28 22:43:08,150 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-28 22:43:08,150 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-28 22:43:08,150 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-28 22:43:08,151 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-28 22:43:08,153 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-28 22:43:08,153 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:08,168 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-28 22:43:08,168 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-28 22:43:08,169 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-28 22:43:08,169 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-28 22:43:08,170 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-28 22:43:08,171 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-28 22:43:08,171 INFO L133 SettingsManager]: * Use SBE=true [2018-11-28 22:43:08,171 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-28 22:43:08,171 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-28 22:43:08,171 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-11-28 22:43:08,172 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-28 22:43:08,172 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-28 22:43:08,173 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-28 22:43:08,173 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-11-28 22:43:08,173 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-11-28 22:43:08,173 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-11-28 22:43:08,173 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-28 22:43:08,173 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-28 22:43:08,174 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-28 22:43:08,174 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-28 22:43:08,174 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-28 22:43:08,174 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-28 22:43:08,174 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-28 22:43:08,174 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-28 22:43:08,176 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-28 22:43:08,176 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-28 22:43:08,176 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-28 22:43:08,177 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-28 22:43:08,177 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 -> b1c981e5c0ba7a15ac143c5240d22ecf11476d0a [2018-11-28 22:43:08,214 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-28 22:43:08,227 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-28 22:43:08,233 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-28 22:43:08,235 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-28 22:43:08,235 INFO L276 PluginConnector]: CDTParser initialized [2018-11-28 22:43:08,236 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/svcomp/c/array-memsafety/cstrchr_unsafe_false-valid-deref.i [2018-11-28 22:43:08,300 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/43e7b7f20/5105dc2672d54e0d9eb6981dd27a519b/FLAGa1bc7683e [2018-11-28 22:43:08,862 INFO L307 CDTParser]: Found 1 translation units. [2018-11-28 22:43:08,863 INFO L161 CDTParser]: Scanning /storage/repos/svcomp/c/array-memsafety/cstrchr_unsafe_false-valid-deref.i [2018-11-28 22:43:08,874 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/43e7b7f20/5105dc2672d54e0d9eb6981dd27a519b/FLAGa1bc7683e [2018-11-28 22:43:09,157 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/43e7b7f20/5105dc2672d54e0d9eb6981dd27a519b [2018-11-28 22:43:09,161 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-28 22:43:09,162 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2018-11-28 22:43:09,163 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-28 22:43:09,164 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-28 22:43:09,168 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-28 22:43:09,169 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 10:43:09" (1/1) ... [2018-11-28 22:43:09,174 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5ea9ca5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:09, skipping insertion in model container [2018-11-28 22:43:09,174 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 10:43:09" (1/1) ... [2018-11-28 22:43:09,183 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-28 22:43:09,233 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-28 22:43:09,655 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-11-28 22:43:09,674 INFO L191 MainTranslator]: Completed pre-run [2018-11-28 22:43:09,715 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-11-28 22:43:09,884 INFO L195 MainTranslator]: Completed translation [2018-11-28 22:43:09,884 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:09 WrapperNode [2018-11-28 22:43:09,884 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-28 22:43:09,885 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-28 22:43:09,885 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-28 22:43:09,885 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-28 22:43:09,901 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:09" (1/1) ... [2018-11-28 22:43:09,902 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:09" (1/1) ... [2018-11-28 22:43:09,923 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:09" (1/1) ... [2018-11-28 22:43:09,925 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:09" (1/1) ... [2018-11-28 22:43:09,953 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:09" (1/1) ... [2018-11-28 22:43:09,960 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:09" (1/1) ... [2018-11-28 22:43:09,963 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:09" (1/1) ... [2018-11-28 22:43:09,969 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-28 22:43:09,970 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-28 22:43:09,970 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-28 22:43:09,970 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-28 22:43:09,971 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:09" (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:10,043 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-28 22:43:10,043 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-28 22:43:10,043 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_32 [2018-11-28 22:43:10,044 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_64 [2018-11-28 22:43:10,044 INFO L138 BoogieDeclarations]: Found implementation of procedure build_nondet_String [2018-11-28 22:43:10,044 INFO L138 BoogieDeclarations]: Found implementation of procedure cstrchr [2018-11-28 22:43:10,044 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-28 22:43:10,045 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_32 [2018-11-28 22:43:10,045 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_64 [2018-11-28 22:43:10,045 INFO L130 BoogieDeclarations]: Found specification of procedure __ctype_get_mb_cur_max [2018-11-28 22:43:10,045 INFO L130 BoogieDeclarations]: Found specification of procedure atof [2018-11-28 22:43:10,045 INFO L130 BoogieDeclarations]: Found specification of procedure atoi [2018-11-28 22:43:10,046 INFO L130 BoogieDeclarations]: Found specification of procedure atol [2018-11-28 22:43:10,046 INFO L130 BoogieDeclarations]: Found specification of procedure atoll [2018-11-28 22:43:10,046 INFO L130 BoogieDeclarations]: Found specification of procedure strtod [2018-11-28 22:43:10,046 INFO L130 BoogieDeclarations]: Found specification of procedure strtof [2018-11-28 22:43:10,046 INFO L130 BoogieDeclarations]: Found specification of procedure strtold [2018-11-28 22:43:10,047 INFO L130 BoogieDeclarations]: Found specification of procedure strtol [2018-11-28 22:43:10,047 INFO L130 BoogieDeclarations]: Found specification of procedure strtoul [2018-11-28 22:43:10,047 INFO L130 BoogieDeclarations]: Found specification of procedure strtoq [2018-11-28 22:43:10,048 INFO L130 BoogieDeclarations]: Found specification of procedure strtouq [2018-11-28 22:43:10,048 INFO L130 BoogieDeclarations]: Found specification of procedure strtoll [2018-11-28 22:43:10,048 INFO L130 BoogieDeclarations]: Found specification of procedure strtoull [2018-11-28 22:43:10,048 INFO L130 BoogieDeclarations]: Found specification of procedure l64a [2018-11-28 22:43:10,048 INFO L130 BoogieDeclarations]: Found specification of procedure a64l [2018-11-28 22:43:10,049 INFO L130 BoogieDeclarations]: Found specification of procedure select [2018-11-28 22:43:10,049 INFO L130 BoogieDeclarations]: Found specification of procedure pselect [2018-11-28 22:43:10,049 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_major [2018-11-28 22:43:10,049 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_minor [2018-11-28 22:43:10,049 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_makedev [2018-11-28 22:43:10,050 INFO L130 BoogieDeclarations]: Found specification of procedure random [2018-11-28 22:43:10,050 INFO L130 BoogieDeclarations]: Found specification of procedure srandom [2018-11-28 22:43:10,050 INFO L130 BoogieDeclarations]: Found specification of procedure initstate [2018-11-28 22:43:10,050 INFO L130 BoogieDeclarations]: Found specification of procedure setstate [2018-11-28 22:43:10,050 INFO L130 BoogieDeclarations]: Found specification of procedure random_r [2018-11-28 22:43:10,050 INFO L130 BoogieDeclarations]: Found specification of procedure srandom_r [2018-11-28 22:43:10,051 INFO L130 BoogieDeclarations]: Found specification of procedure initstate_r [2018-11-28 22:43:10,051 INFO L130 BoogieDeclarations]: Found specification of procedure setstate_r [2018-11-28 22:43:10,051 INFO L130 BoogieDeclarations]: Found specification of procedure rand [2018-11-28 22:43:10,051 INFO L130 BoogieDeclarations]: Found specification of procedure srand [2018-11-28 22:43:10,052 INFO L130 BoogieDeclarations]: Found specification of procedure rand_r [2018-11-28 22:43:10,053 INFO L130 BoogieDeclarations]: Found specification of procedure drand48 [2018-11-28 22:43:10,053 INFO L130 BoogieDeclarations]: Found specification of procedure erand48 [2018-11-28 22:43:10,053 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48 [2018-11-28 22:43:10,053 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48 [2018-11-28 22:43:10,053 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48 [2018-11-28 22:43:10,053 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48 [2018-11-28 22:43:10,053 INFO L130 BoogieDeclarations]: Found specification of procedure srand48 [2018-11-28 22:43:10,053 INFO L130 BoogieDeclarations]: Found specification of procedure seed48 [2018-11-28 22:43:10,054 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48 [2018-11-28 22:43:10,054 INFO L130 BoogieDeclarations]: Found specification of procedure drand48_r [2018-11-28 22:43:10,054 INFO L130 BoogieDeclarations]: Found specification of procedure erand48_r [2018-11-28 22:43:10,054 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48_r [2018-11-28 22:43:10,054 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48_r [2018-11-28 22:43:10,054 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48_r [2018-11-28 22:43:10,054 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48_r [2018-11-28 22:43:10,055 INFO L130 BoogieDeclarations]: Found specification of procedure srand48_r [2018-11-28 22:43:10,056 INFO L130 BoogieDeclarations]: Found specification of procedure seed48_r [2018-11-28 22:43:10,057 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48_r [2018-11-28 22:43:10,057 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2018-11-28 22:43:10,057 INFO L130 BoogieDeclarations]: Found specification of procedure calloc [2018-11-28 22:43:10,057 INFO L130 BoogieDeclarations]: Found specification of procedure realloc [2018-11-28 22:43:10,057 INFO L130 BoogieDeclarations]: Found specification of procedure free [2018-11-28 22:43:10,057 INFO L130 BoogieDeclarations]: Found specification of procedure cfree [2018-11-28 22:43:10,058 INFO L130 BoogieDeclarations]: Found specification of procedure alloca [2018-11-28 22:43:10,059 INFO L130 BoogieDeclarations]: Found specification of procedure valloc [2018-11-28 22:43:10,059 INFO L130 BoogieDeclarations]: Found specification of procedure posix_memalign [2018-11-28 22:43:10,059 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2018-11-28 22:43:10,059 INFO L130 BoogieDeclarations]: Found specification of procedure atexit [2018-11-28 22:43:10,059 INFO L130 BoogieDeclarations]: Found specification of procedure on_exit [2018-11-28 22:43:10,059 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2018-11-28 22:43:10,059 INFO L130 BoogieDeclarations]: Found specification of procedure _Exit [2018-11-28 22:43:10,059 INFO L130 BoogieDeclarations]: Found specification of procedure getenv [2018-11-28 22:43:10,060 INFO L130 BoogieDeclarations]: Found specification of procedure putenv [2018-11-28 22:43:10,060 INFO L130 BoogieDeclarations]: Found specification of procedure setenv [2018-11-28 22:43:10,060 INFO L130 BoogieDeclarations]: Found specification of procedure unsetenv [2018-11-28 22:43:10,060 INFO L130 BoogieDeclarations]: Found specification of procedure clearenv [2018-11-28 22:43:10,060 INFO L130 BoogieDeclarations]: Found specification of procedure mktemp [2018-11-28 22:43:10,060 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemp [2018-11-28 22:43:10,060 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemps [2018-11-28 22:43:10,062 INFO L130 BoogieDeclarations]: Found specification of procedure mkdtemp [2018-11-28 22:43:10,062 INFO L130 BoogieDeclarations]: Found specification of procedure system [2018-11-28 22:43:10,062 INFO L130 BoogieDeclarations]: Found specification of procedure realpath [2018-11-28 22:43:10,063 INFO L130 BoogieDeclarations]: Found specification of procedure bsearch [2018-11-28 22:43:10,063 INFO L130 BoogieDeclarations]: Found specification of procedure qsort [2018-11-28 22:43:10,063 INFO L130 BoogieDeclarations]: Found specification of procedure abs [2018-11-28 22:43:10,063 INFO L130 BoogieDeclarations]: Found specification of procedure labs [2018-11-28 22:43:10,063 INFO L130 BoogieDeclarations]: Found specification of procedure llabs [2018-11-28 22:43:10,064 INFO L130 BoogieDeclarations]: Found specification of procedure div [2018-11-28 22:43:10,064 INFO L130 BoogieDeclarations]: Found specification of procedure ldiv [2018-11-28 22:43:10,064 INFO L130 BoogieDeclarations]: Found specification of procedure lldiv [2018-11-28 22:43:10,064 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt [2018-11-28 22:43:10,064 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt [2018-11-28 22:43:10,064 INFO L130 BoogieDeclarations]: Found specification of procedure gcvt [2018-11-28 22:43:10,064 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt [2018-11-28 22:43:10,064 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt [2018-11-28 22:43:10,065 INFO L130 BoogieDeclarations]: Found specification of procedure qgcvt [2018-11-28 22:43:10,065 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt_r [2018-11-28 22:43:10,065 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt_r [2018-11-28 22:43:10,065 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt_r [2018-11-28 22:43:10,065 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt_r [2018-11-28 22:43:10,065 INFO L130 BoogieDeclarations]: Found specification of procedure mblen [2018-11-28 22:43:10,065 INFO L130 BoogieDeclarations]: Found specification of procedure mbtowc [2018-11-28 22:43:10,065 INFO L130 BoogieDeclarations]: Found specification of procedure wctomb [2018-11-28 22:43:10,066 INFO L130 BoogieDeclarations]: Found specification of procedure mbstowcs [2018-11-28 22:43:10,068 INFO L130 BoogieDeclarations]: Found specification of procedure wcstombs [2018-11-28 22:43:10,068 INFO L130 BoogieDeclarations]: Found specification of procedure rpmatch [2018-11-28 22:43:10,068 INFO L130 BoogieDeclarations]: Found specification of procedure getsubopt [2018-11-28 22:43:10,068 INFO L130 BoogieDeclarations]: Found specification of procedure getloadavg [2018-11-28 22:43:10,068 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-11-28 22:43:10,069 INFO L130 BoogieDeclarations]: Found specification of procedure build_nondet_String [2018-11-28 22:43:10,069 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-28 22:43:10,069 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-28 22:43:10,069 INFO L130 BoogieDeclarations]: Found specification of procedure cstrchr [2018-11-28 22:43:10,069 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-28 22:43:10,069 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-28 22:43:10,069 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-28 22:43:10,069 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-28 22:43:10,070 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-28 22:43:10,809 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-28 22:43:10,809 INFO L280 CfgBuilder]: Removed 1 assue(true) statements. [2018-11-28 22:43:10,810 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 10:43:10 BoogieIcfgContainer [2018-11-28 22:43:10,810 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-28 22:43:10,811 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-28 22:43:10,812 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-28 22:43:10,815 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-28 22:43:10,816 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 28.11 10:43:09" (1/3) ... [2018-11-28 22:43:10,816 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6356fcc9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 10:43:10, skipping insertion in model container [2018-11-28 22:43:10,816 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 10:43:09" (2/3) ... [2018-11-28 22:43:10,817 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6356fcc9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 10:43:10, skipping insertion in model container [2018-11-28 22:43:10,817 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 10:43:10" (3/3) ... [2018-11-28 22:43:10,820 INFO L112 eAbstractionObserver]: Analyzing ICFG cstrchr_unsafe_false-valid-deref.i [2018-11-28 22:43:10,831 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-28 22:43:10,841 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 13 error locations. [2018-11-28 22:43:10,860 INFO L257 AbstractCegarLoop]: Starting to check reachability of 13 error locations. [2018-11-28 22:43:10,889 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-28 22:43:10,890 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-28 22:43:10,890 INFO L383 AbstractCegarLoop]: Hoare is false [2018-11-28 22:43:10,890 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-28 22:43:10,890 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-28 22:43:10,891 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-28 22:43:10,891 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-28 22:43:10,891 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-28 22:43:10,892 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-28 22:43:10,910 INFO L276 IsEmpty]: Start isEmpty. Operand 48 states. [2018-11-28 22:43:10,921 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2018-11-28 22:43:10,921 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:10,922 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:10,925 INFO L423 AbstractCegarLoop]: === Iteration 1 === [build_nondet_StringErr0REQUIRES_VIOLATION, build_nondet_StringErr1REQUIRES_VIOLATION, cstrchrErr1REQUIRES_VIOLATION, cstrchrErr3REQUIRES_VIOLATION, cstrchrErr2REQUIRES_VIOLATION, cstrchrErr4REQUIRES_VIOLATION, cstrchrErr0REQUIRES_VIOLATION, cstrchrErr5REQUIRES_VIOLATION, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-28 22:43:10,931 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:10,932 INFO L82 PathProgramCache]: Analyzing trace with hash 1404214304, now seen corresponding path program 1 times [2018-11-28 22:43:10,933 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:10,934 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:10,987 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:10,987 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:10,987 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:11,044 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:11,129 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:11,131 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:11,132 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-28 22:43:11,135 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-28 22:43:11,148 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-28 22:43:11,149 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-28 22:43:11,152 INFO L87 Difference]: Start difference. First operand 48 states. Second operand 3 states. [2018-11-28 22:43:11,309 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:11,309 INFO L93 Difference]: Finished difference Result 47 states and 50 transitions. [2018-11-28 22:43:11,310 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-28 22:43:11,312 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 10 [2018-11-28 22:43:11,312 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:11,323 INFO L225 Difference]: With dead ends: 47 [2018-11-28 22:43:11,323 INFO L226 Difference]: Without dead ends: 44 [2018-11-28 22:43:11,326 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:11,344 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 44 states. [2018-11-28 22:43:11,364 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 44 to 44. [2018-11-28 22:43:11,366 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2018-11-28 22:43:11,368 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 47 transitions. [2018-11-28 22:43:11,370 INFO L78 Accepts]: Start accepts. Automaton has 44 states and 47 transitions. Word has length 10 [2018-11-28 22:43:11,372 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:11,372 INFO L480 AbstractCegarLoop]: Abstraction has 44 states and 47 transitions. [2018-11-28 22:43:11,372 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-28 22:43:11,372 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 47 transitions. [2018-11-28 22:43:11,373 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2018-11-28 22:43:11,374 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:11,374 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:11,375 INFO L423 AbstractCegarLoop]: === Iteration 2 === [build_nondet_StringErr0REQUIRES_VIOLATION, build_nondet_StringErr1REQUIRES_VIOLATION, cstrchrErr1REQUIRES_VIOLATION, cstrchrErr3REQUIRES_VIOLATION, cstrchrErr2REQUIRES_VIOLATION, cstrchrErr4REQUIRES_VIOLATION, cstrchrErr0REQUIRES_VIOLATION, cstrchrErr5REQUIRES_VIOLATION, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-28 22:43:11,375 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:11,375 INFO L82 PathProgramCache]: Analyzing trace with hash 1404214305, now seen corresponding path program 1 times [2018-11-28 22:43:11,375 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:11,376 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:11,378 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:11,378 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:11,379 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:11,395 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:11,467 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:11,467 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:11,467 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-28 22:43:11,469 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-11-28 22:43:11,470 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-11-28 22:43:11,470 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-11-28 22:43:11,470 INFO L87 Difference]: Start difference. First operand 44 states and 47 transitions. Second operand 4 states. [2018-11-28 22:43:11,512 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:11,512 INFO L93 Difference]: Finished difference Result 43 states and 46 transitions. [2018-11-28 22:43:11,514 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-28 22:43:11,514 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 10 [2018-11-28 22:43:11,514 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:11,517 INFO L225 Difference]: With dead ends: 43 [2018-11-28 22:43:11,518 INFO L226 Difference]: Without dead ends: 43 [2018-11-28 22:43:11,519 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-11-28 22:43:11,521 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 43 states. [2018-11-28 22:43:11,528 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 43 to 43. [2018-11-28 22:43:11,529 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 43 states. [2018-11-28 22:43:11,531 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 43 states and 46 transitions. [2018-11-28 22:43:11,532 INFO L78 Accepts]: Start accepts. Automaton has 43 states and 46 transitions. Word has length 10 [2018-11-28 22:43:11,532 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:11,533 INFO L480 AbstractCegarLoop]: Abstraction has 43 states and 46 transitions. [2018-11-28 22:43:11,533 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-11-28 22:43:11,533 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 46 transitions. [2018-11-28 22:43:11,534 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-11-28 22:43:11,535 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:11,535 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:11,536 INFO L423 AbstractCegarLoop]: === Iteration 3 === [build_nondet_StringErr0REQUIRES_VIOLATION, build_nondet_StringErr1REQUIRES_VIOLATION, cstrchrErr1REQUIRES_VIOLATION, cstrchrErr3REQUIRES_VIOLATION, cstrchrErr2REQUIRES_VIOLATION, cstrchrErr4REQUIRES_VIOLATION, cstrchrErr0REQUIRES_VIOLATION, cstrchrErr5REQUIRES_VIOLATION, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-28 22:43:11,536 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:11,536 INFO L82 PathProgramCache]: Analyzing trace with hash 846297827, now seen corresponding path program 1 times [2018-11-28 22:43:11,536 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:11,536 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:11,537 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:11,541 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:11,541 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:11,563 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:11,991 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:11,991 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:11,991 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2018-11-28 22:43:11,992 INFO L459 AbstractCegarLoop]: Interpolant automaton has 8 states [2018-11-28 22:43:11,992 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-11-28 22:43:11,992 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2018-11-28 22:43:11,994 INFO L87 Difference]: Start difference. First operand 43 states and 46 transitions. Second operand 8 states. [2018-11-28 22:43:12,480 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:12,481 INFO L93 Difference]: Finished difference Result 39 states and 42 transitions. [2018-11-28 22:43:12,482 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2018-11-28 22:43:12,482 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 17 [2018-11-28 22:43:12,483 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:12,484 INFO L225 Difference]: With dead ends: 39 [2018-11-28 22:43:12,484 INFO L226 Difference]: Without dead ends: 39 [2018-11-28 22:43:12,485 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 9 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.4s TimeCoverageRelationStatistics Valid=21, Invalid=69, Unknown=0, NotChecked=0, Total=90 [2018-11-28 22:43:12,485 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 39 states. [2018-11-28 22:43:12,489 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 39 to 39. [2018-11-28 22:43:12,489 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 39 states. [2018-11-28 22:43:12,490 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 42 transitions. [2018-11-28 22:43:12,490 INFO L78 Accepts]: Start accepts. Automaton has 39 states and 42 transitions. Word has length 17 [2018-11-28 22:43:12,491 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:12,491 INFO L480 AbstractCegarLoop]: Abstraction has 39 states and 42 transitions. [2018-11-28 22:43:12,491 INFO L481 AbstractCegarLoop]: Interpolant automaton has 8 states. [2018-11-28 22:43:12,491 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 42 transitions. [2018-11-28 22:43:12,492 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-11-28 22:43:12,492 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:12,492 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:12,492 INFO L423 AbstractCegarLoop]: === Iteration 4 === [build_nondet_StringErr0REQUIRES_VIOLATION, build_nondet_StringErr1REQUIRES_VIOLATION, cstrchrErr1REQUIRES_VIOLATION, cstrchrErr3REQUIRES_VIOLATION, cstrchrErr2REQUIRES_VIOLATION, cstrchrErr4REQUIRES_VIOLATION, cstrchrErr0REQUIRES_VIOLATION, cstrchrErr5REQUIRES_VIOLATION, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-28 22:43:12,493 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:12,493 INFO L82 PathProgramCache]: Analyzing trace with hash 846297828, now seen corresponding path program 1 times [2018-11-28 22:43:12,493 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:12,493 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:12,495 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:12,496 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:12,496 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:12,527 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:12,869 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:12,870 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:12,870 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [9] imperfect sequences [] total 9 [2018-11-28 22:43:12,871 INFO L459 AbstractCegarLoop]: Interpolant automaton has 10 states [2018-11-28 22:43:12,871 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2018-11-28 22:43:12,871 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=19, Invalid=71, Unknown=0, NotChecked=0, Total=90 [2018-11-28 22:43:12,872 INFO L87 Difference]: Start difference. First operand 39 states and 42 transitions. Second operand 10 states. [2018-11-28 22:43:13,244 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:13,245 INFO L93 Difference]: Finished difference Result 49 states and 55 transitions. [2018-11-28 22:43:13,245 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2018-11-28 22:43:13,246 INFO L78 Accepts]: Start accepts. Automaton has 10 states. Word has length 17 [2018-11-28 22:43:13,246 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:13,250 INFO L225 Difference]: With dead ends: 49 [2018-11-28 22:43:13,251 INFO L226 Difference]: Without dead ends: 49 [2018-11-28 22:43:13,251 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 0.3s TimeCoverageRelationStatistics Valid=29, Invalid=103, Unknown=0, NotChecked=0, Total=132 [2018-11-28 22:43:13,252 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 49 states. [2018-11-28 22:43:13,258 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 49 to 45. [2018-11-28 22:43:13,258 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 45 states. [2018-11-28 22:43:13,260 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 45 states and 50 transitions. [2018-11-28 22:43:13,261 INFO L78 Accepts]: Start accepts. Automaton has 45 states and 50 transitions. Word has length 17 [2018-11-28 22:43:13,261 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:13,261 INFO L480 AbstractCegarLoop]: Abstraction has 45 states and 50 transitions. [2018-11-28 22:43:13,261 INFO L481 AbstractCegarLoop]: Interpolant automaton has 10 states. [2018-11-28 22:43:13,261 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 50 transitions. [2018-11-28 22:43:13,263 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2018-11-28 22:43:13,263 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:13,263 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:13,263 INFO L423 AbstractCegarLoop]: === Iteration 5 === [build_nondet_StringErr0REQUIRES_VIOLATION, build_nondet_StringErr1REQUIRES_VIOLATION, cstrchrErr1REQUIRES_VIOLATION, cstrchrErr3REQUIRES_VIOLATION, cstrchrErr2REQUIRES_VIOLATION, cstrchrErr4REQUIRES_VIOLATION, cstrchrErr0REQUIRES_VIOLATION, cstrchrErr5REQUIRES_VIOLATION, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-28 22:43:13,264 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:13,264 INFO L82 PathProgramCache]: Analyzing trace with hash 1436098427, now seen corresponding path program 1 times [2018-11-28 22:43:13,264 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:13,264 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:13,267 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:13,267 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:13,267 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:13,283 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:13,335 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:13,336 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:13,336 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-28 22:43:13,336 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-28 22:43:13,336 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-28 22:43:13,336 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-28 22:43:13,337 INFO L87 Difference]: Start difference. First operand 45 states and 50 transitions. Second operand 3 states. [2018-11-28 22:43:13,348 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:13,348 INFO L93 Difference]: Finished difference Result 47 states and 52 transitions. [2018-11-28 22:43:13,351 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-28 22:43:13,352 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 21 [2018-11-28 22:43:13,352 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:13,353 INFO L225 Difference]: With dead ends: 47 [2018-11-28 22:43:13,353 INFO L226 Difference]: Without dead ends: 47 [2018-11-28 22:43:13,353 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 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:13,354 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 47 states. [2018-11-28 22:43:13,357 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 47 to 47. [2018-11-28 22:43:13,358 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 47 states. [2018-11-28 22:43:13,359 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 47 states and 52 transitions. [2018-11-28 22:43:13,359 INFO L78 Accepts]: Start accepts. Automaton has 47 states and 52 transitions. Word has length 21 [2018-11-28 22:43:13,359 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:13,359 INFO L480 AbstractCegarLoop]: Abstraction has 47 states and 52 transitions. [2018-11-28 22:43:13,360 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-28 22:43:13,360 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 52 transitions. [2018-11-28 22:43:13,360 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2018-11-28 22:43:13,361 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:13,361 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:13,361 INFO L423 AbstractCegarLoop]: === Iteration 6 === [build_nondet_StringErr0REQUIRES_VIOLATION, build_nondet_StringErr1REQUIRES_VIOLATION, cstrchrErr1REQUIRES_VIOLATION, cstrchrErr3REQUIRES_VIOLATION, cstrchrErr2REQUIRES_VIOLATION, cstrchrErr4REQUIRES_VIOLATION, cstrchrErr0REQUIRES_VIOLATION, cstrchrErr5REQUIRES_VIOLATION, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-28 22:43:13,361 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:13,362 INFO L82 PathProgramCache]: Analyzing trace with hash 1400225912, now seen corresponding path program 1 times [2018-11-28 22:43:13,362 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:13,362 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:13,363 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:13,363 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:13,363 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:13,387 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:13,687 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:13,687 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:13,688 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [12] imperfect sequences [] total 12 [2018-11-28 22:43:13,688 INFO L459 AbstractCegarLoop]: Interpolant automaton has 12 states [2018-11-28 22:43:13,688 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 12 interpolants. [2018-11-28 22:43:13,689 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=22, Invalid=110, Unknown=0, NotChecked=0, Total=132 [2018-11-28 22:43:13,689 INFO L87 Difference]: Start difference. First operand 47 states and 52 transitions. Second operand 12 states. [2018-11-28 22:43:14,031 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:14,031 INFO L93 Difference]: Finished difference Result 72 states and 77 transitions. [2018-11-28 22:43:14,033 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 13 states. [2018-11-28 22:43:14,033 INFO L78 Accepts]: Start accepts. Automaton has 12 states. Word has length 23 [2018-11-28 22:43:14,034 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:14,035 INFO L225 Difference]: With dead ends: 72 [2018-11-28 22:43:14,035 INFO L226 Difference]: Without dead ends: 72 [2018-11-28 22:43:14,035 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 18 GetRequests, 2 SyntacticMatches, 1 SemanticMatches, 15 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 17 ImplicationChecksByTransitivity, 0.3s TimeCoverageRelationStatistics Valid=52, Invalid=220, Unknown=0, NotChecked=0, Total=272 [2018-11-28 22:43:14,036 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 72 states. [2018-11-28 22:43:14,042 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 72 to 64. [2018-11-28 22:43:14,042 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 64 states. [2018-11-28 22:43:14,043 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 64 states to 64 states and 70 transitions. [2018-11-28 22:43:14,043 INFO L78 Accepts]: Start accepts. Automaton has 64 states and 70 transitions. Word has length 23 [2018-11-28 22:43:14,044 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:14,044 INFO L480 AbstractCegarLoop]: Abstraction has 64 states and 70 transitions. [2018-11-28 22:43:14,044 INFO L481 AbstractCegarLoop]: Interpolant automaton has 12 states. [2018-11-28 22:43:14,044 INFO L276 IsEmpty]: Start isEmpty. Operand 64 states and 70 transitions. [2018-11-28 22:43:14,045 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2018-11-28 22:43:14,045 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:14,045 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:14,046 INFO L423 AbstractCegarLoop]: === Iteration 7 === [build_nondet_StringErr0REQUIRES_VIOLATION, build_nondet_StringErr1REQUIRES_VIOLATION, cstrchrErr1REQUIRES_VIOLATION, cstrchrErr3REQUIRES_VIOLATION, cstrchrErr2REQUIRES_VIOLATION, cstrchrErr4REQUIRES_VIOLATION, cstrchrErr0REQUIRES_VIOLATION, cstrchrErr5REQUIRES_VIOLATION, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-28 22:43:14,046 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:14,046 INFO L82 PathProgramCache]: Analyzing trace with hash 379157558, now seen corresponding path program 1 times [2018-11-28 22:43:14,046 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:14,046 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:14,047 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:14,047 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:14,047 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:14,065 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:14,436 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:14,437 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-28 22:43:14,437 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:14,461 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:14,522 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:14,532 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-28 22:43:14,598 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:14,601 INFO L267 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2018-11-28 22:43:14,680 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-28 22:43:14,680 INFO L202 ElimStorePlain]: Needed 2 recursive calls to eliminate 1 variables, input treesize:10, output treesize:9 [2018-11-28 22:43:14,927 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 15 treesize of output 12 [2018-11-28 22:43:14,930 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 12 treesize of output 11 [2018-11-28 22:43:14,931 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-28 22:43:14,935 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-28 22:43:14,938 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-28 22:43:14,939 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 1 variables, input treesize:15, output treesize:11 [2018-11-28 22:43:15,421 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 19 treesize of output 15 [2018-11-28 22:43:15,458 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 15 treesize of output 12 [2018-11-28 22:43:15,459 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 2 xjuncts. [2018-11-28 22:43:15,463 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 2 xjuncts. [2018-11-28 22:43:15,475 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-2 vars, End of recursive call: and 2 xjuncts. [2018-11-28 22:43:15,475 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 1 variables, input treesize:29, output treesize:34 [2018-11-28 22:43:15,687 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:15,709 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-28 22:43:15,709 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [13, 12] total 23 [2018-11-28 22:43:15,709 INFO L459 AbstractCegarLoop]: Interpolant automaton has 24 states [2018-11-28 22:43:15,710 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 24 interpolants. [2018-11-28 22:43:15,710 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=54, Invalid=498, Unknown=0, NotChecked=0, Total=552 [2018-11-28 22:43:15,710 INFO L87 Difference]: Start difference. First operand 64 states and 70 transitions. Second operand 24 states. [2018-11-28 22:43:16,406 WARN L180 SmtUtils]: Spent 147.00 ms on a formula simplification. DAG size of input: 35 DAG size of output: 30 [2018-11-28 22:43:16,905 WARN L180 SmtUtils]: Spent 137.00 ms on a formula simplification. DAG size of input: 42 DAG size of output: 36 [2018-11-28 22:43:18,060 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:18,060 INFO L93 Difference]: Finished difference Result 75 states and 84 transitions. [2018-11-28 22:43:18,062 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 17 states. [2018-11-28 22:43:18,063 INFO L78 Accepts]: Start accepts. Automaton has 24 states. Word has length 23 [2018-11-28 22:43:18,063 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:18,064 INFO L225 Difference]: With dead ends: 75 [2018-11-28 22:43:18,064 INFO L226 Difference]: Without dead ends: 75 [2018-11-28 22:43:18,065 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 50 GetRequests, 13 SyntacticMatches, 1 SemanticMatches, 36 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 137 ImplicationChecksByTransitivity, 2.4s TimeCoverageRelationStatistics Valid=176, Invalid=1230, Unknown=0, NotChecked=0, Total=1406 [2018-11-28 22:43:18,065 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 75 states. [2018-11-28 22:43:18,070 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 75 to 53. [2018-11-28 22:43:18,070 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 53 states. [2018-11-28 22:43:18,071 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 53 states and 57 transitions. [2018-11-28 22:43:18,072 INFO L78 Accepts]: Start accepts. Automaton has 53 states and 57 transitions. Word has length 23 [2018-11-28 22:43:18,072 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:18,072 INFO L480 AbstractCegarLoop]: Abstraction has 53 states and 57 transitions. [2018-11-28 22:43:18,072 INFO L481 AbstractCegarLoop]: Interpolant automaton has 24 states. [2018-11-28 22:43:18,072 INFO L276 IsEmpty]: Start isEmpty. Operand 53 states and 57 transitions. [2018-11-28 22:43:18,073 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2018-11-28 22:43:18,073 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:18,073 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:18,074 INFO L423 AbstractCegarLoop]: === Iteration 8 === [build_nondet_StringErr0REQUIRES_VIOLATION, build_nondet_StringErr1REQUIRES_VIOLATION, cstrchrErr1REQUIRES_VIOLATION, cstrchrErr3REQUIRES_VIOLATION, cstrchrErr2REQUIRES_VIOLATION, cstrchrErr4REQUIRES_VIOLATION, cstrchrErr0REQUIRES_VIOLATION, cstrchrErr5REQUIRES_VIOLATION, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-28 22:43:18,074 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:18,074 INFO L82 PathProgramCache]: Analyzing trace with hash -1269912289, now seen corresponding path program 1 times [2018-11-28 22:43:18,074 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:18,074 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:18,075 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:18,075 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:18,075 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:18,086 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:18,232 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:18,233 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:18,233 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [9] imperfect sequences [] total 9 [2018-11-28 22:43:18,233 INFO L459 AbstractCegarLoop]: Interpolant automaton has 10 states [2018-11-28 22:43:18,233 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2018-11-28 22:43:18,234 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=17, Invalid=73, Unknown=0, NotChecked=0, Total=90 [2018-11-28 22:43:18,234 INFO L87 Difference]: Start difference. First operand 53 states and 57 transitions. Second operand 10 states. [2018-11-28 22:43:18,414 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:18,414 INFO L93 Difference]: Finished difference Result 61 states and 65 transitions. [2018-11-28 22:43:18,415 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2018-11-28 22:43:18,415 INFO L78 Accepts]: Start accepts. Automaton has 10 states. Word has length 26 [2018-11-28 22:43:18,416 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:18,417 INFO L225 Difference]: With dead ends: 61 [2018-11-28 22:43:18,417 INFO L226 Difference]: Without dead ends: 61 [2018-11-28 22:43:18,419 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 13 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 12 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 6 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=33, Invalid=149, Unknown=0, NotChecked=0, Total=182 [2018-11-28 22:43:18,419 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 61 states. [2018-11-28 22:43:18,424 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 61 to 60. [2018-11-28 22:43:18,424 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 60 states. [2018-11-28 22:43:18,425 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 60 states to 60 states and 65 transitions. [2018-11-28 22:43:18,425 INFO L78 Accepts]: Start accepts. Automaton has 60 states and 65 transitions. Word has length 26 [2018-11-28 22:43:18,426 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:18,426 INFO L480 AbstractCegarLoop]: Abstraction has 60 states and 65 transitions. [2018-11-28 22:43:18,426 INFO L481 AbstractCegarLoop]: Interpolant automaton has 10 states. [2018-11-28 22:43:18,426 INFO L276 IsEmpty]: Start isEmpty. Operand 60 states and 65 transitions. [2018-11-28 22:43:18,428 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2018-11-28 22:43:18,429 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:18,429 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:18,429 INFO L423 AbstractCegarLoop]: === Iteration 9 === [build_nondet_StringErr0REQUIRES_VIOLATION, build_nondet_StringErr1REQUIRES_VIOLATION, cstrchrErr1REQUIRES_VIOLATION, cstrchrErr3REQUIRES_VIOLATION, cstrchrErr2REQUIRES_VIOLATION, cstrchrErr4REQUIRES_VIOLATION, cstrchrErr0REQUIRES_VIOLATION, cstrchrErr5REQUIRES_VIOLATION, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-28 22:43:18,429 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:18,429 INFO L82 PathProgramCache]: Analyzing trace with hash -1269912288, now seen corresponding path program 1 times [2018-11-28 22:43:18,431 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:18,431 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:18,432 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:18,433 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:18,433 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:18,444 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-28 22:43:18,601 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:18,601 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-28 22:43:18,601 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [10] imperfect sequences [] total 10 [2018-11-28 22:43:18,602 INFO L459 AbstractCegarLoop]: Interpolant automaton has 11 states [2018-11-28 22:43:18,602 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 11 interpolants. [2018-11-28 22:43:18,602 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=90, Unknown=0, NotChecked=0, Total=110 [2018-11-28 22:43:18,603 INFO L87 Difference]: Start difference. First operand 60 states and 65 transitions. Second operand 11 states. [2018-11-28 22:43:18,820 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-28 22:43:18,820 INFO L93 Difference]: Finished difference Result 77 states and 85 transitions. [2018-11-28 22:43:18,821 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 11 states. [2018-11-28 22:43:18,821 INFO L78 Accepts]: Start accepts. Automaton has 11 states. Word has length 26 [2018-11-28 22:43:18,821 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-28 22:43:18,823 INFO L225 Difference]: With dead ends: 77 [2018-11-28 22:43:18,823 INFO L226 Difference]: Without dead ends: 77 [2018-11-28 22:43:18,824 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 14 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 13 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 11 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=38, Invalid=172, Unknown=0, NotChecked=0, Total=210 [2018-11-28 22:43:18,824 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 77 states. [2018-11-28 22:43:18,830 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 77 to 73. [2018-11-28 22:43:18,830 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 73 states. [2018-11-28 22:43:18,831 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 73 states to 73 states and 81 transitions. [2018-11-28 22:43:18,831 INFO L78 Accepts]: Start accepts. Automaton has 73 states and 81 transitions. Word has length 26 [2018-11-28 22:43:18,832 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-28 22:43:18,832 INFO L480 AbstractCegarLoop]: Abstraction has 73 states and 81 transitions. [2018-11-28 22:43:18,832 INFO L481 AbstractCegarLoop]: Interpolant automaton has 11 states. [2018-11-28 22:43:18,832 INFO L276 IsEmpty]: Start isEmpty. Operand 73 states and 81 transitions. [2018-11-28 22:43:18,833 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2018-11-28 22:43:18,833 INFO L394 BasicCegarLoop]: Found error trace [2018-11-28 22:43:18,833 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-28 22:43:18,833 INFO L423 AbstractCegarLoop]: === Iteration 10 === [build_nondet_StringErr0REQUIRES_VIOLATION, build_nondet_StringErr1REQUIRES_VIOLATION, cstrchrErr1REQUIRES_VIOLATION, cstrchrErr3REQUIRES_VIOLATION, cstrchrErr2REQUIRES_VIOLATION, cstrchrErr4REQUIRES_VIOLATION, cstrchrErr0REQUIRES_VIOLATION, cstrchrErr5REQUIRES_VIOLATION, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-28 22:43:18,834 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-28 22:43:18,834 INFO L82 PathProgramCache]: Analyzing trace with hash -1268065247, now seen corresponding path program 1 times [2018-11-28 22:43:18,834 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-28 22:43:18,834 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-28 22:43:18,835 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:18,835 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-28 22:43:18,835 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-28 22:43:18,849 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 22:43:18,861 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-28 22:43:18,882 INFO L469 BasicCegarLoop]: Counterexample might be feasible [2018-11-28 22:43:18,909 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 28.11 10:43:18 BoogieIcfgContainer [2018-11-28 22:43:18,910 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-28 22:43:18,910 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-28 22:43:18,910 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-28 22:43:18,910 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-28 22:43:18,911 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:10" (3/4) ... [2018-11-28 22:43:18,913 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample [2018-11-28 22:43:18,969 INFO L145 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2018-11-28 22:43:18,969 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-28 22:43:18,970 INFO L168 Benchmark]: Toolchain (without parser) took 9808.50 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 217.1 MB). Free memory was 952.7 MB in the beginning and 964.0 MB in the end (delta: -11.3 MB). Peak memory consumption was 205.7 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:18,971 INFO L168 Benchmark]: CDTParser took 0.17 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:18,971 INFO L168 Benchmark]: CACSL2BoogieTranslator took 721.42 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 150.5 MB). Free memory was 952.7 MB in the beginning and 1.1 GB in the end (delta: -191.8 MB). Peak memory consumption was 37.0 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:18,972 INFO L168 Benchmark]: Boogie Preprocessor took 84.14 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: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:18,973 INFO L168 Benchmark]: RCFGBuilder took 840.44 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: 46.1 MB). Peak memory consumption was 46.1 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:18,973 INFO L168 Benchmark]: TraceAbstraction took 8098.12 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 66.6 MB). Free memory was 1.1 GB in the beginning and 971.8 MB in the end (delta: 119.9 MB). Peak memory consumption was 186.4 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:18,974 INFO L168 Benchmark]: Witness Printer took 58.98 ms. Allocated memory is still 1.2 GB. Free memory was 971.8 MB in the beginning and 964.0 MB in the end (delta: 7.8 MB). Peak memory consumption was 7.8 MB. Max. memory is 11.5 GB. [2018-11-28 22:43:18,978 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.17 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 721.42 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 150.5 MB). Free memory was 952.7 MB in the beginning and 1.1 GB in the end (delta: -191.8 MB). Peak memory consumption was 37.0 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 84.14 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: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. * RCFGBuilder took 840.44 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: 46.1 MB). Peak memory consumption was 46.1 MB. Max. memory is 11.5 GB. * TraceAbstraction took 8098.12 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 66.6 MB). Free memory was 1.1 GB in the beginning and 971.8 MB in the end (delta: 119.9 MB). Peak memory consumption was 186.4 MB. Max. memory is 11.5 GB. * Witness Printer took 58.98 ms. Allocated memory is still 1.2 GB. Free memory was 971.8 MB in the beginning and 964.0 MB in the end (delta: 7.8 MB). Peak memory consumption was 7.8 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 557]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L556] CALL, EXPR build_nondet_String() [L541] int length = __VERIFIER_nondet_int(); [L542] COND TRUE length < 1 [L543] length = 1 VAL [length=1] [L545] char* nondetString = (char*) malloc(length * sizeof(char)); VAL [length=1, malloc(length * sizeof(char))={4:0}, nondetString={4:0}] [L546] nondetString[length-1] = '\0' VAL [length=1, malloc(length * sizeof(char))={4:0}, nondetString={4:0}] [L547] return nondetString; VAL [\result={4:0}, length=1, malloc(length * sizeof(char))={4:0}, nondetString={4:0}] [L556] RET, EXPR build_nondet_String() VAL [build_nondet_String()={4:0}] [L556] char* s = build_nondet_String(); [L557] CALL cstrchr(s,__VERIFIER_nondet_int()) VAL [\old(c)=1, s={4:0}] [L551] EXPR \read(*s) VAL [\old(c)=1, \read(*s)=0, c=1, s={4:0}, s={4:0}] [L551] *s != '\0' && *s != (char)c VAL [*s != '\0' && *s != (char)c=0, \old(c)=1, \read(*s)=0, c=1, s={4:0}, s={4:0}] [L551] COND FALSE !(*s != '\0' && *s != (char)c) [L553] EXPR \read(*s) VAL [\old(c)=1, \read(*s)=0, c=1, s={4:0}, s={4:0}] [L553] EXPR (*s == c) ? (char *) s : 0 VAL [(*s == c) ? (char *) s : 0={0:0}, \old(c)=1, \read(*s)=0, c=1, s={4:0}, s={4:0}] [L553] return ( (*s == c) ? (char *) s : 0 ); [L557] RET cstrchr(s,__VERIFIER_nondet_int()) VAL [__VERIFIER_nondet_int()=1, cstrchr(s,__VERIFIER_nondet_int())={0:0}, s={4:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 7 procedures, 54 locations, 13 error locations. UNSAFE Result, 8.0s OverallTime, 10 OverallIterations, 1 TraceHistogramMax, 4.2s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 287 SDtfs, 368 SDslu, 1353 SDs, 0 SdLazy, 1310 SolverSat, 43 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 2.2s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 123 GetRequests, 23 SyntacticMatches, 2 SemanticMatches, 98 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 185 ImplicationChecksByTransitivity, 3.9s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=73occurred in iteration=9, 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, 9 MinimizatonAttempts, 39 StatesRemovedByMinimization, 5 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 3.0s InterpolantComputationTime, 222 NumberOfCodeBlocks, 222 NumberOfCodeBlocksAsserted, 11 NumberOfCheckSat, 186 ConstructedInterpolants, 0 QuantifiedInterpolants, 19785 SizeOfPredicates, 9 NumberOfNonLiveVariables, 105 ConjunctsInSsa, 29 ConjunctsInUnsatCore, 10 InterpolantComputations, 8 PerfectInterpolantSequences, 2/4 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...