./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/array-memsafety/mult_array_unsafe.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 906a4fb5 Calling Ultimate with: /usr/bin/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 ../sv-benchmarks/c/array-memsafety/mult_array_unsafe.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 4ceec10d001c6e3ab8acae30cb42f114023e2890 ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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.25-906a4fb [2020-10-19 17:57:12,140 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-10-19 17:57:12,142 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-10-19 17:57:12,167 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-10-19 17:57:12,168 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-10-19 17:57:12,169 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-10-19 17:57:12,170 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-10-19 17:57:12,172 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-10-19 17:57:12,174 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-10-19 17:57:12,175 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-10-19 17:57:12,176 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-10-19 17:57:12,178 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-10-19 17:57:12,178 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-10-19 17:57:12,179 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-10-19 17:57:12,180 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-10-19 17:57:12,182 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-10-19 17:57:12,182 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-10-19 17:57:12,184 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-10-19 17:57:12,186 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-10-19 17:57:12,188 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-10-19 17:57:12,189 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-10-19 17:57:12,190 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-10-19 17:57:12,192 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-10-19 17:57:12,193 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-10-19 17:57:12,195 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-10-19 17:57:12,196 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-10-19 17:57:12,196 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-10-19 17:57:12,197 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-10-19 17:57:12,198 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-10-19 17:57:12,199 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-10-19 17:57:12,199 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-10-19 17:57:12,200 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-10-19 17:57:12,201 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-10-19 17:57:12,201 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-10-19 17:57:12,203 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-10-19 17:57:12,203 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-10-19 17:57:12,204 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-10-19 17:57:12,204 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-10-19 17:57:12,204 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-10-19 17:57:12,205 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-10-19 17:57:12,206 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-10-19 17:57:12,207 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2020-10-19 17:57:12,230 INFO L113 SettingsManager]: Loading preferences was successful [2020-10-19 17:57:12,230 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-10-19 17:57:12,232 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-10-19 17:57:12,232 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-10-19 17:57:12,232 INFO L138 SettingsManager]: * Use SBE=true [2020-10-19 17:57:12,233 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-10-19 17:57:12,233 INFO L138 SettingsManager]: * sizeof long=4 [2020-10-19 17:57:12,233 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-10-19 17:57:12,234 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-10-19 17:57:12,234 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-10-19 17:57:12,234 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-10-19 17:57:12,235 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2020-10-19 17:57:12,235 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2020-10-19 17:57:12,235 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2020-10-19 17:57:12,235 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-10-19 17:57:12,236 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2020-10-19 17:57:12,236 INFO L138 SettingsManager]: * sizeof long double=12 [2020-10-19 17:57:12,236 INFO L138 SettingsManager]: * Use constant arrays=true [2020-10-19 17:57:12,236 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-10-19 17:57:12,237 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-10-19 17:57:12,237 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-10-19 17:57:12,237 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-10-19 17:57:12,238 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-10-19 17:57:12,238 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-10-19 17:57:12,238 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-10-19 17:57:12,239 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-10-19 17:57:12,239 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-10-19 17:57:12,239 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-10-19 17:57:12,239 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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 -> 4ceec10d001c6e3ab8acae30cb42f114023e2890 [2020-10-19 17:57:12,607 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-10-19 17:57:12,619 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-10-19 17:57:12,625 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-10-19 17:57:12,628 INFO L271 PluginConnector]: Initializing CDTParser... [2020-10-19 17:57:12,629 INFO L275 PluginConnector]: CDTParser initialized [2020-10-19 17:57:12,631 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/array-memsafety/mult_array_unsafe.i [2020-10-19 17:57:12,710 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9b6afb331/003678d3a6bf4dada7cb518ea42dac26/FLAGa7207a039 [2020-10-19 17:57:13,210 INFO L306 CDTParser]: Found 1 translation units. [2020-10-19 17:57:13,211 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety/mult_array_unsafe.i [2020-10-19 17:57:13,224 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9b6afb331/003678d3a6bf4dada7cb518ea42dac26/FLAGa7207a039 [2020-10-19 17:57:13,517 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9b6afb331/003678d3a6bf4dada7cb518ea42dac26 [2020-10-19 17:57:13,521 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-10-19 17:57:13,529 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2020-10-19 17:57:13,533 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-10-19 17:57:13,533 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-10-19 17:57:13,537 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-10-19 17:57:13,538 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 05:57:13" (1/1) ... [2020-10-19 17:57:13,542 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3e3ce63d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:13, skipping insertion in model container [2020-10-19 17:57:13,542 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 19.10 05:57:13" (1/1) ... [2020-10-19 17:57:13,552 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-10-19 17:57:13,606 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-10-19 17:57:13,895 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 17:57:13,967 INFO L203 MainTranslator]: Completed pre-run [2020-10-19 17:57:14,012 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-10-19 17:57:14,080 INFO L208 MainTranslator]: Completed translation [2020-10-19 17:57:14,080 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:14 WrapperNode [2020-10-19 17:57:14,081 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-10-19 17:57:14,082 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-10-19 17:57:14,082 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-10-19 17:57:14,082 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-10-19 17:57:14,096 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:14" (1/1) ... [2020-10-19 17:57:14,096 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:14" (1/1) ... [2020-10-19 17:57:14,116 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:14" (1/1) ... [2020-10-19 17:57:14,117 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:14" (1/1) ... [2020-10-19 17:57:14,132 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:14" (1/1) ... [2020-10-19 17:57:14,137 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:14" (1/1) ... [2020-10-19 17:57:14,140 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:14" (1/1) ... [2020-10-19 17:57:14,146 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-10-19 17:57:14,147 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-10-19 17:57:14,147 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-10-19 17:57:14,148 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-10-19 17:57:14,148 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:14" (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 [2020-10-19 17:57:14,217 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2020-10-19 17:57:14,218 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-10-19 17:57:14,218 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_32 [2020-10-19 17:57:14,218 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_64 [2020-10-19 17:57:14,219 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint16_identity [2020-10-19 17:57:14,219 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint32_identity [2020-10-19 17:57:14,219 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint64_identity [2020-10-19 17:57:14,219 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2020-10-19 17:57:14,220 INFO L130 BoogieDeclarations]: Found specification of procedure __ctype_get_mb_cur_max [2020-10-19 17:57:14,220 INFO L130 BoogieDeclarations]: Found specification of procedure atof [2020-10-19 17:57:14,220 INFO L130 BoogieDeclarations]: Found specification of procedure atoi [2020-10-19 17:57:14,221 INFO L130 BoogieDeclarations]: Found specification of procedure atol [2020-10-19 17:57:14,221 INFO L130 BoogieDeclarations]: Found specification of procedure atoll [2020-10-19 17:57:14,221 INFO L130 BoogieDeclarations]: Found specification of procedure strtod [2020-10-19 17:57:14,221 INFO L130 BoogieDeclarations]: Found specification of procedure strtof [2020-10-19 17:57:14,222 INFO L130 BoogieDeclarations]: Found specification of procedure strtold [2020-10-19 17:57:14,222 INFO L130 BoogieDeclarations]: Found specification of procedure strtol [2020-10-19 17:57:14,222 INFO L130 BoogieDeclarations]: Found specification of procedure strtoul [2020-10-19 17:57:14,222 INFO L130 BoogieDeclarations]: Found specification of procedure strtoq [2020-10-19 17:57:14,223 INFO L130 BoogieDeclarations]: Found specification of procedure strtouq [2020-10-19 17:57:14,223 INFO L130 BoogieDeclarations]: Found specification of procedure strtoll [2020-10-19 17:57:14,223 INFO L130 BoogieDeclarations]: Found specification of procedure strtoull [2020-10-19 17:57:14,223 INFO L130 BoogieDeclarations]: Found specification of procedure l64a [2020-10-19 17:57:14,224 INFO L130 BoogieDeclarations]: Found specification of procedure a64l [2020-10-19 17:57:14,224 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_32 [2020-10-19 17:57:14,224 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_64 [2020-10-19 17:57:14,224 INFO L130 BoogieDeclarations]: Found specification of procedure __uint16_identity [2020-10-19 17:57:14,225 INFO L130 BoogieDeclarations]: Found specification of procedure __uint32_identity [2020-10-19 17:57:14,225 INFO L130 BoogieDeclarations]: Found specification of procedure __uint64_identity [2020-10-19 17:57:14,225 INFO L130 BoogieDeclarations]: Found specification of procedure select [2020-10-19 17:57:14,225 INFO L130 BoogieDeclarations]: Found specification of procedure pselect [2020-10-19 17:57:14,226 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_major [2020-10-19 17:57:14,226 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_minor [2020-10-19 17:57:14,226 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_makedev [2020-10-19 17:57:14,226 INFO L130 BoogieDeclarations]: Found specification of procedure random [2020-10-19 17:57:14,227 INFO L130 BoogieDeclarations]: Found specification of procedure srandom [2020-10-19 17:57:14,227 INFO L130 BoogieDeclarations]: Found specification of procedure initstate [2020-10-19 17:57:14,227 INFO L130 BoogieDeclarations]: Found specification of procedure setstate [2020-10-19 17:57:14,227 INFO L130 BoogieDeclarations]: Found specification of procedure random_r [2020-10-19 17:57:14,228 INFO L130 BoogieDeclarations]: Found specification of procedure srandom_r [2020-10-19 17:57:14,228 INFO L130 BoogieDeclarations]: Found specification of procedure initstate_r [2020-10-19 17:57:14,228 INFO L130 BoogieDeclarations]: Found specification of procedure setstate_r [2020-10-19 17:57:14,228 INFO L130 BoogieDeclarations]: Found specification of procedure rand [2020-10-19 17:57:14,229 INFO L130 BoogieDeclarations]: Found specification of procedure srand [2020-10-19 17:57:14,229 INFO L130 BoogieDeclarations]: Found specification of procedure rand_r [2020-10-19 17:57:14,229 INFO L130 BoogieDeclarations]: Found specification of procedure drand48 [2020-10-19 17:57:14,229 INFO L130 BoogieDeclarations]: Found specification of procedure erand48 [2020-10-19 17:57:14,230 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48 [2020-10-19 17:57:14,230 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48 [2020-10-19 17:57:14,230 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48 [2020-10-19 17:57:14,230 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48 [2020-10-19 17:57:14,230 INFO L130 BoogieDeclarations]: Found specification of procedure srand48 [2020-10-19 17:57:14,231 INFO L130 BoogieDeclarations]: Found specification of procedure seed48 [2020-10-19 17:57:14,231 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48 [2020-10-19 17:57:14,231 INFO L130 BoogieDeclarations]: Found specification of procedure drand48_r [2020-10-19 17:57:14,231 INFO L130 BoogieDeclarations]: Found specification of procedure erand48_r [2020-10-19 17:57:14,232 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48_r [2020-10-19 17:57:14,232 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48_r [2020-10-19 17:57:14,232 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48_r [2020-10-19 17:57:14,232 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48_r [2020-10-19 17:57:14,233 INFO L130 BoogieDeclarations]: Found specification of procedure srand48_r [2020-10-19 17:57:14,233 INFO L130 BoogieDeclarations]: Found specification of procedure seed48_r [2020-10-19 17:57:14,233 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48_r [2020-10-19 17:57:14,233 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2020-10-19 17:57:14,233 INFO L130 BoogieDeclarations]: Found specification of procedure calloc [2020-10-19 17:57:14,234 INFO L130 BoogieDeclarations]: Found specification of procedure realloc [2020-10-19 17:57:14,234 INFO L130 BoogieDeclarations]: Found specification of procedure free [2020-10-19 17:57:14,234 INFO L130 BoogieDeclarations]: Found specification of procedure alloca [2020-10-19 17:57:14,234 INFO L130 BoogieDeclarations]: Found specification of procedure valloc [2020-10-19 17:57:14,235 INFO L130 BoogieDeclarations]: Found specification of procedure posix_memalign [2020-10-19 17:57:14,235 INFO L130 BoogieDeclarations]: Found specification of procedure aligned_alloc [2020-10-19 17:57:14,235 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2020-10-19 17:57:14,235 INFO L130 BoogieDeclarations]: Found specification of procedure atexit [2020-10-19 17:57:14,235 INFO L130 BoogieDeclarations]: Found specification of procedure at_quick_exit [2020-10-19 17:57:14,236 INFO L130 BoogieDeclarations]: Found specification of procedure on_exit [2020-10-19 17:57:14,236 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2020-10-19 17:57:14,236 INFO L130 BoogieDeclarations]: Found specification of procedure quick_exit [2020-10-19 17:57:14,236 INFO L130 BoogieDeclarations]: Found specification of procedure _Exit [2020-10-19 17:57:14,237 INFO L130 BoogieDeclarations]: Found specification of procedure getenv [2020-10-19 17:57:14,237 INFO L130 BoogieDeclarations]: Found specification of procedure putenv [2020-10-19 17:57:14,237 INFO L130 BoogieDeclarations]: Found specification of procedure setenv [2020-10-19 17:57:14,237 INFO L130 BoogieDeclarations]: Found specification of procedure unsetenv [2020-10-19 17:57:14,238 INFO L130 BoogieDeclarations]: Found specification of procedure clearenv [2020-10-19 17:57:14,238 INFO L130 BoogieDeclarations]: Found specification of procedure mktemp [2020-10-19 17:57:14,238 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemp [2020-10-19 17:57:14,238 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemps [2020-10-19 17:57:14,238 INFO L130 BoogieDeclarations]: Found specification of procedure mkdtemp [2020-10-19 17:57:14,239 INFO L130 BoogieDeclarations]: Found specification of procedure system [2020-10-19 17:57:14,239 INFO L130 BoogieDeclarations]: Found specification of procedure realpath [2020-10-19 17:57:14,239 INFO L130 BoogieDeclarations]: Found specification of procedure bsearch [2020-10-19 17:57:14,239 INFO L130 BoogieDeclarations]: Found specification of procedure qsort [2020-10-19 17:57:14,239 INFO L130 BoogieDeclarations]: Found specification of procedure abs [2020-10-19 17:57:14,240 INFO L130 BoogieDeclarations]: Found specification of procedure labs [2020-10-19 17:57:14,240 INFO L130 BoogieDeclarations]: Found specification of procedure llabs [2020-10-19 17:57:14,240 INFO L130 BoogieDeclarations]: Found specification of procedure div [2020-10-19 17:57:14,240 INFO L130 BoogieDeclarations]: Found specification of procedure ldiv [2020-10-19 17:57:14,240 INFO L130 BoogieDeclarations]: Found specification of procedure lldiv [2020-10-19 17:57:14,241 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt [2020-10-19 17:57:14,241 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt [2020-10-19 17:57:14,241 INFO L130 BoogieDeclarations]: Found specification of procedure gcvt [2020-10-19 17:57:14,241 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt [2020-10-19 17:57:14,242 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt [2020-10-19 17:57:14,242 INFO L130 BoogieDeclarations]: Found specification of procedure qgcvt [2020-10-19 17:57:14,242 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt_r [2020-10-19 17:57:14,242 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt_r [2020-10-19 17:57:14,242 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt_r [2020-10-19 17:57:14,243 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt_r [2020-10-19 17:57:14,243 INFO L130 BoogieDeclarations]: Found specification of procedure mblen [2020-10-19 17:57:14,243 INFO L130 BoogieDeclarations]: Found specification of procedure mbtowc [2020-10-19 17:57:14,243 INFO L130 BoogieDeclarations]: Found specification of procedure wctomb [2020-10-19 17:57:14,243 INFO L130 BoogieDeclarations]: Found specification of procedure mbstowcs [2020-10-19 17:57:14,244 INFO L130 BoogieDeclarations]: Found specification of procedure wcstombs [2020-10-19 17:57:14,244 INFO L130 BoogieDeclarations]: Found specification of procedure rpmatch [2020-10-19 17:57:14,244 INFO L130 BoogieDeclarations]: Found specification of procedure getsubopt [2020-10-19 17:57:14,244 INFO L130 BoogieDeclarations]: Found specification of procedure getloadavg [2020-10-19 17:57:14,244 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2020-10-19 17:57:14,245 INFO L130 BoogieDeclarations]: Found specification of procedure main [2020-10-19 17:57:14,245 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-10-19 17:57:14,245 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-10-19 17:57:14,245 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2020-10-19 17:57:14,245 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2020-10-19 17:57:14,246 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2020-10-19 17:57:14,246 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-10-19 17:57:14,735 INFO L293 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-10-19 17:57:14,736 INFO L298 CfgBuilder]: Removed 2 assume(true) statements. [2020-10-19 17:57:14,738 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 05:57:14 BoogieIcfgContainer [2020-10-19 17:57:14,738 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-10-19 17:57:14,740 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-10-19 17:57:14,740 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-10-19 17:57:14,744 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-10-19 17:57:14,744 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 19.10 05:57:13" (1/3) ... [2020-10-19 17:57:14,745 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3c415762 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 19.10 05:57:14, skipping insertion in model container [2020-10-19 17:57:14,745 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 19.10 05:57:14" (2/3) ... [2020-10-19 17:57:14,746 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3c415762 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 19.10 05:57:14, skipping insertion in model container [2020-10-19 17:57:14,746 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 05:57:14" (3/3) ... [2020-10-19 17:57:14,748 INFO L111 eAbstractionObserver]: Analyzing ICFG mult_array_unsafe.i [2020-10-19 17:57:14,759 INFO L164 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2020-10-19 17:57:14,767 INFO L176 ceAbstractionStarter]: Appying trace abstraction to program that has 7 error locations. [2020-10-19 17:57:14,781 INFO L253 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2020-10-19 17:57:14,798 INFO L377 AbstractCegarLoop]: Interprodecural is true [2020-10-19 17:57:14,799 INFO L378 AbstractCegarLoop]: Hoare is false [2020-10-19 17:57:14,799 INFO L379 AbstractCegarLoop]: Compute interpolants for FPandBP [2020-10-19 17:57:14,799 INFO L380 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-10-19 17:57:14,799 INFO L381 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-10-19 17:57:14,800 INFO L382 AbstractCegarLoop]: Difference is false [2020-10-19 17:57:14,800 INFO L383 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-10-19 17:57:14,800 INFO L387 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-10-19 17:57:14,814 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states. [2020-10-19 17:57:14,824 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2020-10-19 17:57:14,824 INFO L414 BasicCegarLoop]: Found error trace [2020-10-19 17:57:14,825 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 17:57:14,825 INFO L429 AbstractCegarLoop]: === Iteration 1 === [mainErr2REQUIRES_VIOLATION, mainErr3REQUIRES_VIOLATION, mainErr4REQUIRES_VIOLATION, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr1REQUIRES_VIOLATION]=== [2020-10-19 17:57:14,831 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 17:57:14,832 INFO L82 PathProgramCache]: Analyzing trace with hash 1489715982, now seen corresponding path program 1 times [2020-10-19 17:57:14,843 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 17:57:14,843 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1530779128] [2020-10-19 17:57:14,844 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 17:57:14,955 ERROR L270 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2020-10-19 17:57:14,956 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [591138014] [2020-10-19 17:57:14,956 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-10-19 17:57:15,094 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 17:57:15,098 INFO L263 TraceCheckSpWp]: Trace formula consists of 69 conjuncts, 6 conjunts are in the unsatisfiable core [2020-10-19 17:57:15,105 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 17:57:15,205 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 17:57:15,206 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1530779128] [2020-10-19 17:57:15,206 WARN L332 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: Unknown [2020-10-19 17:57:15,207 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [591138014] [2020-10-19 17:57:15,208 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 17:57:15,208 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2020-10-19 17:57:15,209 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1937205878] [2020-10-19 17:57:15,215 INFO L461 AbstractCegarLoop]: Interpolant automaton has 4 states [2020-10-19 17:57:15,215 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 17:57:15,231 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-10-19 17:57:15,232 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-10-19 17:57:15,235 INFO L87 Difference]: Start difference. First operand 33 states. Second operand 4 states. [2020-10-19 17:57:15,322 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 17:57:15,322 INFO L93 Difference]: Finished difference Result 33 states and 36 transitions. [2020-10-19 17:57:15,323 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2020-10-19 17:57:15,325 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 12 [2020-10-19 17:57:15,325 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-10-19 17:57:15,336 INFO L225 Difference]: With dead ends: 33 [2020-10-19 17:57:15,336 INFO L226 Difference]: Without dead ends: 30 [2020-10-19 17:57:15,338 INFO L677 BasicCegarLoop]: 0 DeclaredPredicates, 12 GetRequests, 9 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2020-10-19 17:57:15,358 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states. [2020-10-19 17:57:15,375 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 30. [2020-10-19 17:57:15,377 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 30 states. [2020-10-19 17:57:15,379 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 30 states and 33 transitions. [2020-10-19 17:57:15,380 INFO L78 Accepts]: Start accepts. Automaton has 30 states and 33 transitions. Word has length 12 [2020-10-19 17:57:15,381 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-10-19 17:57:15,381 INFO L481 AbstractCegarLoop]: Abstraction has 30 states and 33 transitions. [2020-10-19 17:57:15,381 INFO L482 AbstractCegarLoop]: Interpolant automaton has 4 states. [2020-10-19 17:57:15,381 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 33 transitions. [2020-10-19 17:57:15,382 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2020-10-19 17:57:15,382 INFO L414 BasicCegarLoop]: Found error trace [2020-10-19 17:57:15,383 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 17:57:15,598 WARN L518 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable0 [2020-10-19 17:57:15,599 INFO L429 AbstractCegarLoop]: === Iteration 2 === [mainErr2REQUIRES_VIOLATION, mainErr3REQUIRES_VIOLATION, mainErr4REQUIRES_VIOLATION, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr1REQUIRES_VIOLATION]=== [2020-10-19 17:57:15,600 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 17:57:15,600 INFO L82 PathProgramCache]: Analyzing trace with hash -1063444840, now seen corresponding path program 1 times [2020-10-19 17:57:15,601 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 17:57:15,602 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2126920327] [2020-10-19 17:57:15,602 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 17:57:15,617 ERROR L270 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2020-10-19 17:57:15,617 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [388423183] [2020-10-19 17:57:15,618 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-10-19 17:57:15,732 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-10-19 17:57:15,734 INFO L263 TraceCheckSpWp]: Trace formula consists of 72 conjuncts, 4 conjunts are in the unsatisfiable core [2020-10-19 17:57:15,737 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-10-19 17:57:15,804 INFO L350 Elim1Store]: treesize reduction 15, result has 25.0 percent of original size [2020-10-19 17:57:15,805 INFO L384 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 1 case distinctions, treesize of input 9 treesize of output 11 [2020-10-19 17:57:15,806 INFO L545 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2020-10-19 17:57:15,816 INFO L625 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2020-10-19 17:57:15,819 INFO L545 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-1 vars, End of recursive call: 1 dim-0 vars, and 1 xjuncts. [2020-10-19 17:57:15,821 INFO L244 ElimStorePlain]: Needed 2 recursive calls to eliminate 2 variables, input treesize:9, output treesize:11 [2020-10-19 17:57:15,838 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-10-19 17:57:15,839 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2126920327] [2020-10-19 17:57:15,839 WARN L332 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: Unknown [2020-10-19 17:57:15,839 INFO L353 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [388423183] [2020-10-19 17:57:15,839 INFO L219 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-10-19 17:57:15,840 INFO L232 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2020-10-19 17:57:15,841 INFO L155 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [189208651] [2020-10-19 17:57:15,843 INFO L461 AbstractCegarLoop]: Interpolant automaton has 3 states [2020-10-19 17:57:15,843 INFO L142 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-10-19 17:57:15,844 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2020-10-19 17:57:15,844 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 17:57:15,844 INFO L87 Difference]: Start difference. First operand 30 states and 33 transitions. Second operand 3 states. [2020-10-19 17:57:15,896 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-10-19 17:57:15,896 INFO L93 Difference]: Finished difference Result 28 states and 31 transitions. [2020-10-19 17:57:15,897 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2020-10-19 17:57:15,897 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 13 [2020-10-19 17:57:15,898 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-10-19 17:57:15,899 INFO L225 Difference]: With dead ends: 28 [2020-10-19 17:57:15,899 INFO L226 Difference]: Without dead ends: 28 [2020-10-19 17:57:15,900 INFO L677 BasicCegarLoop]: 0 DeclaredPredicates, 12 GetRequests, 11 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2020-10-19 17:57:15,901 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 28 states. [2020-10-19 17:57:15,905 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 28 to 28. [2020-10-19 17:57:15,905 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 28 states. [2020-10-19 17:57:15,907 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 28 states and 31 transitions. [2020-10-19 17:57:15,908 INFO L78 Accepts]: Start accepts. Automaton has 28 states and 31 transitions. Word has length 13 [2020-10-19 17:57:15,908 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-10-19 17:57:15,908 INFO L481 AbstractCegarLoop]: Abstraction has 28 states and 31 transitions. [2020-10-19 17:57:15,909 INFO L482 AbstractCegarLoop]: Interpolant automaton has 3 states. [2020-10-19 17:57:15,909 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 31 transitions. [2020-10-19 17:57:15,910 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2020-10-19 17:57:15,911 INFO L414 BasicCegarLoop]: Found error trace [2020-10-19 17:57:15,911 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-10-19 17:57:16,124 WARN L518 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1,3 z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-10-19 17:57:16,125 INFO L429 AbstractCegarLoop]: === Iteration 3 === [mainErr2REQUIRES_VIOLATION, mainErr3REQUIRES_VIOLATION, mainErr4REQUIRES_VIOLATION, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr1REQUIRES_VIOLATION]=== [2020-10-19 17:57:16,125 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-10-19 17:57:16,125 INFO L82 PathProgramCache]: Analyzing trace with hash -1063444839, now seen corresponding path program 1 times [2020-10-19 17:57:16,125 INFO L162 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-10-19 17:57:16,126 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [168384751] [2020-10-19 17:57:16,126 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-10-19 17:57:16,139 ERROR L270 FreeRefinementEngine]: Caught known exception: Unsupported non-linear arithmetic [2020-10-19 17:57:16,140 INFO L353 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [809880078] [2020-10-19 17:57:16,140 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-10-19 17:57:16,231 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 17:57:16,232 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 17:57:16,244 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-10-19 17:57:16,244 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-10-19 17:57:16,270 INFO L173 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-10-19 17:57:16,274 INFO L523 BasicCegarLoop]: Counterexample might be feasible [2020-10-19 17:57:16,488 WARN L518 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,4 z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-10-19 17:57:16,514 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 19.10 05:57:16 BoogieIcfgContainer [2020-10-19 17:57:16,515 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-10-19 17:57:16,515 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-10-19 17:57:16,516 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-10-19 17:57:16,516 INFO L275 PluginConnector]: Witness Printer initialized [2020-10-19 17:57:16,517 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 19.10 05:57:14" (3/4) ... [2020-10-19 17:57:16,519 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2020-10-19 17:57:16,590 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-10-19 17:57:16,591 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-10-19 17:57:16,601 INFO L168 Benchmark]: Toolchain (without parser) took 3077.91 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 127.9 MB). Free memory was 958.6 MB in the beginning and 920.6 MB in the end (delta: 38.0 MB). Peak memory consumption was 166.0 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:16,601 INFO L168 Benchmark]: CDTParser took 0.58 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-10-19 17:57:16,602 INFO L168 Benchmark]: CACSL2BoogieTranslator took 548.70 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 127.9 MB). Free memory was 953.3 MB in the beginning and 1.1 GB in the end (delta: -156.9 MB). Peak memory consumption was 21.0 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:16,603 INFO L168 Benchmark]: Boogie Preprocessor took 65.08 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.7 MB). Peak memory consumption was 6.7 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:16,604 INFO L168 Benchmark]: RCFGBuilder took 591.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: 52.0 MB). Peak memory consumption was 52.0 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:16,606 INFO L168 Benchmark]: TraceAbstraction took 1775.48 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 927.3 MB in the end (delta: 124.2 MB). Peak memory consumption was 124.2 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:16,606 INFO L168 Benchmark]: Witness Printer took 83.44 ms. Allocated memory is still 1.2 GB. Free memory was 927.3 MB in the beginning and 920.6 MB in the end (delta: 6.7 MB). Peak memory consumption was 6.7 MB. Max. memory is 11.5 GB. [2020-10-19 17:57:16,613 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.58 ms. Allocated memory is still 1.0 GB. Free memory is still 985.5 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 548.70 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 127.9 MB). Free memory was 953.3 MB in the beginning and 1.1 GB in the end (delta: -156.9 MB). Peak memory consumption was 21.0 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 65.08 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.7 MB). Peak memory consumption was 6.7 MB. Max. memory is 11.5 GB. * RCFGBuilder took 591.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: 52.0 MB). Peak memory consumption was 52.0 MB. Max. memory is 11.5 GB. * TraceAbstraction took 1775.48 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 927.3 MB in the end (delta: 124.2 MB). Peak memory consumption was 124.2 MB. Max. memory is 11.5 GB. * Witness Printer took 83.44 ms. Allocated memory is still 1.2 GB. Free memory was 927.3 MB in the beginning and 920.6 MB in the end (delta: 6.7 MB). Peak memory consumption was 6.7 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 522]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L513] int i, j; [L514] int length = __VERIFIER_nondet_int(); [L515] COND TRUE length < 1 || length >= 2147483647 / sizeof(int) [L515] length = 1 VAL [length=1] [L516] int fac = __VERIFIER_nondet_int(); [L517] COND TRUE fac < 1 || fac >= 2147483647 / (sizeof(int) * length) [L517] fac = 1 VAL [fac=1, length=1] [L518] int *arr = __builtin_alloca (length); [L519] int *arr2 = __builtin_alloca (fac*length); VAL [__builtin_alloca (fac*length)={3:0}, __builtin_alloca (length)={2:0}, arr={2:0}, arr2={3:0}, fac=1, length=1] [L520] COND FALSE !(!arr || !arr2) [L521] i=0 VAL [__builtin_alloca (fac*length)={3:0}, __builtin_alloca (length)={2:0}, arr={2:0}, arr2={3:0}, fac=1, i=0, length=1] [L521] COND TRUE i