./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/array-memsafety-realloc/array-realloc-1.i --full-output --cacsl2boogietranslator.adapt.memory.model.on.pointer.casts.if.necessary true --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 264dba86 Using bit-precise analysis Retrying with bit-precise analysis 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-realloc/array-realloc-1.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.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 ef75293aeb91e37969e4557310245e0c38a479cd --cacsl2boogietranslator.adapt.memory.model.on.pointer.casts.if.necessary true ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-free) --- Real Ultimate output --- Skipped default analysis because property is memsafety ### Bit-precise run ### This is Ultimate 0.1.24-264dba8 [2019-11-21 12:39:37,914 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-11-21 12:39:37,916 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-11-21 12:39:37,936 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-11-21 12:39:37,937 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-11-21 12:39:37,939 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-11-21 12:39:37,942 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-11-21 12:39:37,952 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-11-21 12:39:37,957 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-11-21 12:39:37,960 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-11-21 12:39:37,962 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2019-11-21 12:39:37,964 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-11-21 12:39:37,964 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-11-21 12:39:37,968 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-11-21 12:39:37,969 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-11-21 12:39:37,971 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-11-21 12:39:37,973 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-11-21 12:39:37,975 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-11-21 12:39:37,978 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-11-21 12:39:37,981 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-11-21 12:39:37,986 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-11-21 12:39:37,990 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-11-21 12:39:37,992 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-11-21 12:39:37,994 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-11-21 12:39:37,997 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-11-21 12:39:37,997 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-11-21 12:39:37,998 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-11-21 12:39:38,000 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-11-21 12:39:38,000 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-11-21 12:39:38,001 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-11-21 12:39:38,001 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-11-21 12:39:38,002 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-11-21 12:39:38,004 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-11-21 12:39:38,005 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-11-21 12:39:38,006 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-11-21 12:39:38,007 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-11-21 12:39:38,008 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-11-21 12:39:38,008 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-11-21 12:39:38,008 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-11-21 12:39:38,009 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-11-21 12:39:38,011 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-11-21 12:39:38,011 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2019-11-21 12:39:38,050 INFO L113 SettingsManager]: Loading preferences was successful [2019-11-21 12:39:38,051 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-11-21 12:39:38,052 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-11-21 12:39:38,052 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-11-21 12:39:38,052 INFO L138 SettingsManager]: * Use SBE=true [2019-11-21 12:39:38,052 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-11-21 12:39:38,056 INFO L138 SettingsManager]: * sizeof long=4 [2019-11-21 12:39:38,056 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2019-11-21 12:39:38,056 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-11-21 12:39:38,056 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-11-21 12:39:38,057 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-11-21 12:39:38,057 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2019-11-21 12:39:38,057 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2019-11-21 12:39:38,057 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2019-11-21 12:39:38,058 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-11-21 12:39:38,060 INFO L138 SettingsManager]: * Use bitvectors instead of ints=true [2019-11-21 12:39:38,060 INFO L138 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2019-11-21 12:39:38,061 INFO L138 SettingsManager]: * sizeof long double=12 [2019-11-21 12:39:38,061 INFO L138 SettingsManager]: * Use constant arrays=true [2019-11-21 12:39:38,061 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-11-21 12:39:38,061 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-11-21 12:39:38,062 INFO L138 SettingsManager]: * To the following directory=./dump/ [2019-11-21 12:39:38,062 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2019-11-21 12:39:38,062 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-11-21 12:39:38,062 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-11-21 12:39:38,063 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-11-21 12:39:38,063 INFO L138 SettingsManager]: * Trace refinement strategy=WOLF [2019-11-21 12:39:38,063 INFO L138 SettingsManager]: * Command for external solver=cvc4 --incremental --rewrite-divk --print-success --lang smt [2019-11-21 12:39:38,064 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-11-21 12:39:38,064 INFO L138 SettingsManager]: * Logic for external solver=AUFBV 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 -> ef75293aeb91e37969e4557310245e0c38a479cd Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Adapt memory model on pointer casts if necessary -> true [2019-11-21 12:39:38,400 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-11-21 12:39:38,420 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-11-21 12:39:38,424 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-11-21 12:39:38,426 INFO L271 PluginConnector]: Initializing CDTParser... [2019-11-21 12:39:38,428 INFO L275 PluginConnector]: CDTParser initialized [2019-11-21 12:39:38,429 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/array-memsafety-realloc/array-realloc-1.i [2019-11-21 12:39:38,512 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8b4ccd329/a66e02685fe2402dae6f5d955eac81ee/FLAG588671a87 [2019-11-21 12:39:39,024 INFO L306 CDTParser]: Found 1 translation units. [2019-11-21 12:39:39,025 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-memsafety-realloc/array-realloc-1.i [2019-11-21 12:39:39,038 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8b4ccd329/a66e02685fe2402dae6f5d955eac81ee/FLAG588671a87 [2019-11-21 12:39:39,349 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8b4ccd329/a66e02685fe2402dae6f5d955eac81ee [2019-11-21 12:39:39,352 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-11-21 12:39:39,354 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2019-11-21 12:39:39,355 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2019-11-21 12:39:39,355 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2019-11-21 12:39:39,359 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2019-11-21 12:39:39,360 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 12:39:39" (1/1) ... [2019-11-21 12:39:39,363 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@d1b8b7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:39, skipping insertion in model container [2019-11-21 12:39:39,363 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 12:39:39" (1/1) ... [2019-11-21 12:39:39,371 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2019-11-21 12:39:39,426 INFO L179 MainTranslator]: Built tables and reachable declarations [2019-11-21 12:39:39,816 INFO L966 CHandler]: Found a cast between two array/pointer types where the value type is smaller than the cast-to type, and where that value type is smaller than our current memory model resolution [2019-11-21 12:39:39,819 INFO L969 CHandler]: at location: C: (int *)arg [515] [2019-11-21 12:39:39,819 INFO L970 CHandler]: current memory model: HoenickeLindenmann_4ByteResolution [2019-11-21 12:39:39,846 INFO L966 CHandler]: Found a cast between two array/pointer types where the value type is smaller than the cast-to type, and where that value type is smaller than our current memory model resolution [2019-11-21 12:39:39,847 INFO L969 CHandler]: at location: C: (int *)malloc(sizeof(int)) [532] [2019-11-21 12:39:39,847 INFO L970 CHandler]: current memory model: HoenickeLindenmann_4ByteResolution [2019-11-21 12:39:39,850 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-21 12:39:39,869 INFO L198 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2019-11-21 12:39:39,888 INFO L179 MainTranslator]: Built tables and reachable declarations [2019-11-21 12:39:39,944 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-21 12:39:39,951 INFO L201 MainTranslator]: Completed pre-run [2019-11-21 12:39:39,985 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-21 12:39:40,051 INFO L205 MainTranslator]: Completed translation [2019-11-21 12:39:40,052 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:40 WrapperNode [2019-11-21 12:39:40,052 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2019-11-21 12:39:40,053 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-11-21 12:39:40,053 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-11-21 12:39:40,053 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-11-21 12:39:40,066 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:40" (1/1) ... [2019-11-21 12:39:40,066 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:40" (1/1) ... [2019-11-21 12:39:40,085 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:40" (1/1) ... [2019-11-21 12:39:40,086 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:40" (1/1) ... [2019-11-21 12:39:40,106 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:40" (1/1) ... [2019-11-21 12:39:40,111 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:40" (1/1) ... [2019-11-21 12:39:40,115 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:40" (1/1) ... [2019-11-21 12:39:40,122 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-11-21 12:39:40,123 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-11-21 12:39:40,123 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-11-21 12:39:40,123 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-11-21 12:39:40,124 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:40" (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 [2019-11-21 12:39:40,187 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2019-11-21 12:39:40,188 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-11-21 12:39:40,188 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_32 [2019-11-21 12:39:40,188 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_64 [2019-11-21 12:39:40,188 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint16_identity [2019-11-21 12:39:40,188 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint32_identity [2019-11-21 12:39:40,191 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint64_identity [2019-11-21 12:39:40,191 INFO L138 BoogieDeclarations]: Found implementation of procedure expandArray [2019-11-21 12:39:40,191 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2019-11-21 12:39:40,192 INFO L138 BoogieDeclarations]: Found implementation of procedure #Ultimate.C_realloc [2019-11-21 12:39:40,192 INFO L130 BoogieDeclarations]: Found specification of procedure __ctype_get_mb_cur_max [2019-11-21 12:39:40,193 INFO L130 BoogieDeclarations]: Found specification of procedure atof [2019-11-21 12:39:40,193 INFO L130 BoogieDeclarations]: Found specification of procedure atoi [2019-11-21 12:39:40,194 INFO L130 BoogieDeclarations]: Found specification of procedure atol [2019-11-21 12:39:40,195 INFO L130 BoogieDeclarations]: Found specification of procedure atoll [2019-11-21 12:39:40,195 INFO L130 BoogieDeclarations]: Found specification of procedure strtod [2019-11-21 12:39:40,195 INFO L130 BoogieDeclarations]: Found specification of procedure strtof [2019-11-21 12:39:40,195 INFO L130 BoogieDeclarations]: Found specification of procedure strtold [2019-11-21 12:39:40,195 INFO L130 BoogieDeclarations]: Found specification of procedure strtol [2019-11-21 12:39:40,196 INFO L130 BoogieDeclarations]: Found specification of procedure strtoul [2019-11-21 12:39:40,196 INFO L130 BoogieDeclarations]: Found specification of procedure strtoq [2019-11-21 12:39:40,196 INFO L130 BoogieDeclarations]: Found specification of procedure strtouq [2019-11-21 12:39:40,196 INFO L130 BoogieDeclarations]: Found specification of procedure strtoll [2019-11-21 12:39:40,196 INFO L130 BoogieDeclarations]: Found specification of procedure strtoull [2019-11-21 12:39:40,196 INFO L130 BoogieDeclarations]: Found specification of procedure l64a [2019-11-21 12:39:40,196 INFO L130 BoogieDeclarations]: Found specification of procedure a64l [2019-11-21 12:39:40,197 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_32 [2019-11-21 12:39:40,197 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_64 [2019-11-21 12:39:40,197 INFO L130 BoogieDeclarations]: Found specification of procedure __uint16_identity [2019-11-21 12:39:40,197 INFO L130 BoogieDeclarations]: Found specification of procedure __uint32_identity [2019-11-21 12:39:40,197 INFO L130 BoogieDeclarations]: Found specification of procedure __uint64_identity [2019-11-21 12:39:40,197 INFO L130 BoogieDeclarations]: Found specification of procedure select [2019-11-21 12:39:40,197 INFO L130 BoogieDeclarations]: Found specification of procedure pselect [2019-11-21 12:39:40,198 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_major [2019-11-21 12:39:40,198 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_minor [2019-11-21 12:39:40,198 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_makedev [2019-11-21 12:39:40,198 INFO L130 BoogieDeclarations]: Found specification of procedure random [2019-11-21 12:39:40,199 INFO L130 BoogieDeclarations]: Found specification of procedure srandom [2019-11-21 12:39:40,199 INFO L130 BoogieDeclarations]: Found specification of procedure initstate [2019-11-21 12:39:40,199 INFO L130 BoogieDeclarations]: Found specification of procedure setstate [2019-11-21 12:39:40,199 INFO L130 BoogieDeclarations]: Found specification of procedure random_r [2019-11-21 12:39:40,200 INFO L130 BoogieDeclarations]: Found specification of procedure srandom_r [2019-11-21 12:39:40,200 INFO L130 BoogieDeclarations]: Found specification of procedure initstate_r [2019-11-21 12:39:40,200 INFO L130 BoogieDeclarations]: Found specification of procedure setstate_r [2019-11-21 12:39:40,200 INFO L130 BoogieDeclarations]: Found specification of procedure rand [2019-11-21 12:39:40,200 INFO L130 BoogieDeclarations]: Found specification of procedure srand [2019-11-21 12:39:40,201 INFO L130 BoogieDeclarations]: Found specification of procedure rand_r [2019-11-21 12:39:40,201 INFO L130 BoogieDeclarations]: Found specification of procedure drand48 [2019-11-21 12:39:40,201 INFO L130 BoogieDeclarations]: Found specification of procedure erand48 [2019-11-21 12:39:40,201 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48 [2019-11-21 12:39:40,201 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48 [2019-11-21 12:39:40,202 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48 [2019-11-21 12:39:40,202 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48 [2019-11-21 12:39:40,202 INFO L130 BoogieDeclarations]: Found specification of procedure srand48 [2019-11-21 12:39:40,202 INFO L130 BoogieDeclarations]: Found specification of procedure seed48 [2019-11-21 12:39:40,202 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48 [2019-11-21 12:39:40,202 INFO L130 BoogieDeclarations]: Found specification of procedure drand48_r [2019-11-21 12:39:40,203 INFO L130 BoogieDeclarations]: Found specification of procedure erand48_r [2019-11-21 12:39:40,204 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48_r [2019-11-21 12:39:40,204 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48_r [2019-11-21 12:39:40,204 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48_r [2019-11-21 12:39:40,204 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48_r [2019-11-21 12:39:40,205 INFO L130 BoogieDeclarations]: Found specification of procedure srand48_r [2019-11-21 12:39:40,206 INFO L130 BoogieDeclarations]: Found specification of procedure seed48_r [2019-11-21 12:39:40,207 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48_r [2019-11-21 12:39:40,207 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2019-11-21 12:39:40,208 INFO L130 BoogieDeclarations]: Found specification of procedure calloc [2019-11-21 12:39:40,209 INFO L130 BoogieDeclarations]: Found specification of procedure realloc [2019-11-21 12:39:40,209 INFO L130 BoogieDeclarations]: Found specification of procedure free [2019-11-21 12:39:40,209 INFO L130 BoogieDeclarations]: Found specification of procedure alloca [2019-11-21 12:39:40,209 INFO L130 BoogieDeclarations]: Found specification of procedure valloc [2019-11-21 12:39:40,209 INFO L130 BoogieDeclarations]: Found specification of procedure posix_memalign [2019-11-21 12:39:40,209 INFO L130 BoogieDeclarations]: Found specification of procedure aligned_alloc [2019-11-21 12:39:40,210 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2019-11-21 12:39:40,211 INFO L130 BoogieDeclarations]: Found specification of procedure atexit [2019-11-21 12:39:40,211 INFO L130 BoogieDeclarations]: Found specification of procedure at_quick_exit [2019-11-21 12:39:40,211 INFO L130 BoogieDeclarations]: Found specification of procedure on_exit [2019-11-21 12:39:40,211 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2019-11-21 12:39:40,211 INFO L130 BoogieDeclarations]: Found specification of procedure quick_exit [2019-11-21 12:39:40,211 INFO L130 BoogieDeclarations]: Found specification of procedure _Exit [2019-11-21 12:39:40,211 INFO L130 BoogieDeclarations]: Found specification of procedure getenv [2019-11-21 12:39:40,212 INFO L130 BoogieDeclarations]: Found specification of procedure putenv [2019-11-21 12:39:40,212 INFO L130 BoogieDeclarations]: Found specification of procedure setenv [2019-11-21 12:39:40,212 INFO L130 BoogieDeclarations]: Found specification of procedure unsetenv [2019-11-21 12:39:40,212 INFO L130 BoogieDeclarations]: Found specification of procedure clearenv [2019-11-21 12:39:40,212 INFO L130 BoogieDeclarations]: Found specification of procedure mktemp [2019-11-21 12:39:40,212 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemp [2019-11-21 12:39:40,212 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemps [2019-11-21 12:39:40,213 INFO L130 BoogieDeclarations]: Found specification of procedure mkdtemp [2019-11-21 12:39:40,213 INFO L130 BoogieDeclarations]: Found specification of procedure system [2019-11-21 12:39:40,213 INFO L130 BoogieDeclarations]: Found specification of procedure realpath [2019-11-21 12:39:40,213 INFO L130 BoogieDeclarations]: Found specification of procedure bsearch [2019-11-21 12:39:40,213 INFO L130 BoogieDeclarations]: Found specification of procedure qsort [2019-11-21 12:39:40,213 INFO L130 BoogieDeclarations]: Found specification of procedure abs [2019-11-21 12:39:40,213 INFO L130 BoogieDeclarations]: Found specification of procedure labs [2019-11-21 12:39:40,213 INFO L130 BoogieDeclarations]: Found specification of procedure llabs [2019-11-21 12:39:40,214 INFO L130 BoogieDeclarations]: Found specification of procedure div [2019-11-21 12:39:40,214 INFO L130 BoogieDeclarations]: Found specification of procedure ldiv [2019-11-21 12:39:40,214 INFO L130 BoogieDeclarations]: Found specification of procedure lldiv [2019-11-21 12:39:40,214 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt [2019-11-21 12:39:40,214 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt [2019-11-21 12:39:40,214 INFO L130 BoogieDeclarations]: Found specification of procedure gcvt [2019-11-21 12:39:40,214 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt [2019-11-21 12:39:40,214 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt [2019-11-21 12:39:40,215 INFO L130 BoogieDeclarations]: Found specification of procedure qgcvt [2019-11-21 12:39:40,215 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt_r [2019-11-21 12:39:40,215 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt_r [2019-11-21 12:39:40,215 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt_r [2019-11-21 12:39:40,216 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt_r [2019-11-21 12:39:40,216 INFO L130 BoogieDeclarations]: Found specification of procedure mblen [2019-11-21 12:39:40,216 INFO L130 BoogieDeclarations]: Found specification of procedure mbtowc [2019-11-21 12:39:40,216 INFO L130 BoogieDeclarations]: Found specification of procedure wctomb [2019-11-21 12:39:40,217 INFO L130 BoogieDeclarations]: Found specification of procedure mbstowcs [2019-11-21 12:39:40,217 INFO L130 BoogieDeclarations]: Found specification of procedure wcstombs [2019-11-21 12:39:40,217 INFO L130 BoogieDeclarations]: Found specification of procedure rpmatch [2019-11-21 12:39:40,217 INFO L130 BoogieDeclarations]: Found specification of procedure getsubopt [2019-11-21 12:39:40,217 INFO L130 BoogieDeclarations]: Found specification of procedure getloadavg [2019-11-21 12:39:40,217 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2019-11-21 12:39:40,218 INFO L130 BoogieDeclarations]: Found specification of procedure expandArray [2019-11-21 12:39:40,218 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.C_realloc [2019-11-21 12:39:40,219 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2019-11-21 12:39:40,222 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2019-11-21 12:39:40,222 INFO L130 BoogieDeclarations]: Found specification of procedure main [2019-11-21 12:39:40,223 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2019-11-21 12:39:40,223 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2019-11-21 12:39:40,223 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-11-21 12:39:40,223 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2019-11-21 12:39:40,821 INFO L279 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-11-21 12:39:40,821 INFO L284 CfgBuilder]: Removed 1 assume(true) statements. [2019-11-21 12:39:40,823 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 12:39:40 BoogieIcfgContainer [2019-11-21 12:39:40,823 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-11-21 12:39:40,824 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2019-11-21 12:39:40,824 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2019-11-21 12:39:40,830 INFO L275 PluginConnector]: TraceAbstraction initialized [2019-11-21 12:39:40,838 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 21.11 12:39:39" (1/3) ... [2019-11-21 12:39:40,839 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6935747a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.11 12:39:40, skipping insertion in model container [2019-11-21 12:39:40,839 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 12:39:40" (2/3) ... [2019-11-21 12:39:40,839 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6935747a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.11 12:39:40, skipping insertion in model container [2019-11-21 12:39:40,840 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 12:39:40" (3/3) ... [2019-11-21 12:39:40,843 INFO L109 eAbstractionObserver]: Analyzing ICFG array-realloc-1.i [2019-11-21 12:39:40,856 INFO L153 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2019-11-21 12:39:40,866 INFO L165 ceAbstractionStarter]: Appying trace abstraction to program that has 9 error locations. [2019-11-21 12:39:40,879 INFO L249 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2019-11-21 12:39:40,904 INFO L373 AbstractCegarLoop]: Interprodecural is true [2019-11-21 12:39:40,904 INFO L374 AbstractCegarLoop]: Hoare is false [2019-11-21 12:39:40,904 INFO L375 AbstractCegarLoop]: Compute interpolants for FPandBP [2019-11-21 12:39:40,904 INFO L376 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2019-11-21 12:39:40,904 INFO L377 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-11-21 12:39:40,905 INFO L378 AbstractCegarLoop]: Difference is false [2019-11-21 12:39:40,905 INFO L379 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-11-21 12:39:40,905 INFO L383 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2019-11-21 12:39:40,921 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states. [2019-11-21 12:39:40,930 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2019-11-21 12:39:40,930 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:40,931 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2019-11-21 12:39:40,931 INFO L410 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:40,937 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:40,937 INFO L82 PathProgramCache]: Analyzing trace with hash -908251633, now seen corresponding path program 1 times [2019-11-21 12:39:40,949 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:40,949 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [1395402013] [2019-11-21 12:39:40,949 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 2 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:41,165 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:41,169 INFO L255 TraceCheckSpWp]: Trace formula consists of 47 conjuncts, 2 conjunts are in the unsatisfiable core [2019-11-21 12:39:41,175 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:41,199 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:41,199 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:41,220 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:41,223 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [1395402013] [2019-11-21 12:39:41,223 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:41,224 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2, 2] imperfect sequences [] total 2 [2019-11-21 12:39:41,225 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [80648844] [2019-11-21 12:39:41,230 INFO L442 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-11-21 12:39:41,231 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:41,246 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-11-21 12:39:41,247 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-11-21 12:39:41,249 INFO L87 Difference]: Start difference. First operand 42 states. Second operand 3 states. [2019-11-21 12:39:41,359 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:41,359 INFO L93 Difference]: Finished difference Result 55 states and 62 transitions. [2019-11-21 12:39:41,360 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-11-21 12:39:41,362 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 8 [2019-11-21 12:39:41,362 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:41,373 INFO L225 Difference]: With dead ends: 55 [2019-11-21 12:39:41,373 INFO L226 Difference]: Without dead ends: 51 [2019-11-21 12:39:41,375 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 15 GetRequests, 14 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-11-21 12:39:41,395 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 51 states. [2019-11-21 12:39:41,423 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 51 to 39. [2019-11-21 12:39:41,425 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 39 states. [2019-11-21 12:39:41,428 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 42 transitions. [2019-11-21 12:39:41,430 INFO L78 Accepts]: Start accepts. Automaton has 39 states and 42 transitions. Word has length 8 [2019-11-21 12:39:41,431 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:41,431 INFO L462 AbstractCegarLoop]: Abstraction has 39 states and 42 transitions. [2019-11-21 12:39:41,431 INFO L463 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-11-21 12:39:41,431 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 42 transitions. [2019-11-21 12:39:41,432 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2019-11-21 12:39:41,432 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:41,432 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-21 12:39:41,644 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:41,644 INFO L410 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:41,645 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:41,645 INFO L82 PathProgramCache]: Analyzing trace with hash 1908971100, now seen corresponding path program 1 times [2019-11-21 12:39:41,645 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:41,646 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [87402860] [2019-11-21 12:39:41,646 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 3 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:41,826 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:41,828 INFO L255 TraceCheckSpWp]: Trace formula consists of 58 conjuncts, 3 conjunts are in the unsatisfiable core [2019-11-21 12:39:41,829 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:41,845 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:41,845 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:41,851 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:41,852 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [87402860] [2019-11-21 12:39:41,852 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:41,852 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3, 3] imperfect sequences [] total 3 [2019-11-21 12:39:41,852 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1029570188] [2019-11-21 12:39:41,854 INFO L442 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-11-21 12:39:41,854 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:41,855 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-11-21 12:39:41,855 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-11-21 12:39:41,855 INFO L87 Difference]: Start difference. First operand 39 states and 42 transitions. Second operand 3 states. [2019-11-21 12:39:41,872 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:41,872 INFO L93 Difference]: Finished difference Result 39 states and 41 transitions. [2019-11-21 12:39:41,872 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-11-21 12:39:41,873 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 9 [2019-11-21 12:39:41,873 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:41,874 INFO L225 Difference]: With dead ends: 39 [2019-11-21 12:39:41,874 INFO L226 Difference]: Without dead ends: 39 [2019-11-21 12:39:41,875 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 17 GetRequests, 16 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-11-21 12:39:41,876 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 39 states. [2019-11-21 12:39:41,880 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 39 to 39. [2019-11-21 12:39:41,880 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 39 states. [2019-11-21 12:39:41,882 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 41 transitions. [2019-11-21 12:39:41,882 INFO L78 Accepts]: Start accepts. Automaton has 39 states and 41 transitions. Word has length 9 [2019-11-21 12:39:41,882 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:41,882 INFO L462 AbstractCegarLoop]: Abstraction has 39 states and 41 transitions. [2019-11-21 12:39:41,882 INFO L463 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-11-21 12:39:41,883 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 41 transitions. [2019-11-21 12:39:41,883 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2019-11-21 12:39:41,883 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:41,884 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-21 12:39:42,086 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:42,086 INFO L410 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:42,087 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:42,087 INFO L82 PathProgramCache]: Analyzing trace with hash -1734096500, now seen corresponding path program 1 times [2019-11-21 12:39:42,088 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:42,088 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [1769539558] [2019-11-21 12:39:42,088 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 4 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:42,273 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:42,275 INFO L255 TraceCheckSpWp]: Trace formula consists of 75 conjuncts, 3 conjunts are in the unsatisfiable core [2019-11-21 12:39:42,277 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:42,288 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:42,289 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:42,297 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:42,297 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [1769539558] [2019-11-21 12:39:42,298 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:42,298 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3, 3] imperfect sequences [] total 3 [2019-11-21 12:39:42,298 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2011178696] [2019-11-21 12:39:42,299 INFO L442 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-11-21 12:39:42,299 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:42,299 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-11-21 12:39:42,300 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-11-21 12:39:42,300 INFO L87 Difference]: Start difference. First operand 39 states and 41 transitions. Second operand 3 states. [2019-11-21 12:39:42,382 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:42,385 INFO L93 Difference]: Finished difference Result 46 states and 50 transitions. [2019-11-21 12:39:42,386 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-11-21 12:39:42,386 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 13 [2019-11-21 12:39:42,389 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:42,390 INFO L225 Difference]: With dead ends: 46 [2019-11-21 12:39:42,390 INFO L226 Difference]: Without dead ends: 46 [2019-11-21 12:39:42,391 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 25 GetRequests, 24 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-11-21 12:39:42,394 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 46 states. [2019-11-21 12:39:42,403 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 46 to 41. [2019-11-21 12:39:42,405 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2019-11-21 12:39:42,407 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 44 transitions. [2019-11-21 12:39:42,408 INFO L78 Accepts]: Start accepts. Automaton has 41 states and 44 transitions. Word has length 13 [2019-11-21 12:39:42,408 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:42,409 INFO L462 AbstractCegarLoop]: Abstraction has 41 states and 44 transitions. [2019-11-21 12:39:42,409 INFO L463 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-11-21 12:39:42,410 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 44 transitions. [2019-11-21 12:39:42,411 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2019-11-21 12:39:42,412 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:42,413 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-21 12:39:42,615 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:42,616 INFO L410 AbstractCegarLoop]: === Iteration 4 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:42,616 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:42,616 INFO L82 PathProgramCache]: Analyzing trace with hash 845926542, now seen corresponding path program 1 times [2019-11-21 12:39:42,619 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:42,619 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [1745300813] [2019-11-21 12:39:42,619 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 5 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:42,859 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:42,862 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-21 12:39:42,864 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:42,931 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:42,932 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:42,968 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:42,969 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [1745300813] [2019-11-21 12:39:42,969 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:42,969 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6, 6] imperfect sequences [] total 6 [2019-11-21 12:39:42,970 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [819553587] [2019-11-21 12:39:42,970 INFO L442 AbstractCegarLoop]: Interpolant automaton has 6 states [2019-11-21 12:39:42,970 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:42,971 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2019-11-21 12:39:42,971 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2019-11-21 12:39:42,972 INFO L87 Difference]: Start difference. First operand 41 states and 44 transitions. Second operand 6 states. [2019-11-21 12:39:43,073 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:43,073 INFO L93 Difference]: Finished difference Result 52 states and 56 transitions. [2019-11-21 12:39:43,075 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2019-11-21 12:39:43,075 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 17 [2019-11-21 12:39:43,075 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:43,076 INFO L225 Difference]: With dead ends: 52 [2019-11-21 12:39:43,076 INFO L226 Difference]: Without dead ends: 52 [2019-11-21 12:39:43,078 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 34 GetRequests, 29 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2019-11-21 12:39:43,079 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 52 states. [2019-11-21 12:39:43,086 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 52 to 44. [2019-11-21 12:39:43,086 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2019-11-21 12:39:43,090 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 48 transitions. [2019-11-21 12:39:43,090 INFO L78 Accepts]: Start accepts. Automaton has 44 states and 48 transitions. Word has length 17 [2019-11-21 12:39:43,091 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:43,091 INFO L462 AbstractCegarLoop]: Abstraction has 44 states and 48 transitions. [2019-11-21 12:39:43,091 INFO L463 AbstractCegarLoop]: Interpolant automaton has 6 states. [2019-11-21 12:39:43,091 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 48 transitions. [2019-11-21 12:39:43,093 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2019-11-21 12:39:43,093 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:43,094 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-21 12:39:43,296 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:43,297 INFO L410 AbstractCegarLoop]: === Iteration 5 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:43,298 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:43,298 INFO L82 PathProgramCache]: Analyzing trace with hash 846850063, now seen corresponding path program 1 times [2019-11-21 12:39:43,299 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:43,300 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [478360679] [2019-11-21 12:39:43,300 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 6 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 6 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:43,526 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:43,528 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-21 12:39:43,530 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:43,594 INFO L343 Elim1Store]: treesize reduction 0, result has 100.0 percent of original size [2019-11-21 12:39:43,595 INFO L377 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 25 [2019-11-21 12:39:43,596 INFO L496 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2019-11-21 12:39:43,623 INFO L567 ElimStorePlain]: treesize reduction 10, result has 60.0 percent of original size [2019-11-21 12:39:43,624 INFO L496 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2019-11-21 12:39:43,624 INFO L221 ElimStorePlain]: Needed 2 recursive calls to eliminate 2 variables, input treesize:9, output treesize:5 [2019-11-21 12:39:43,651 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:43,652 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:43,685 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:43,686 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [478360679] [2019-11-21 12:39:43,686 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:43,687 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4, 4] imperfect sequences [] total 4 [2019-11-21 12:39:43,687 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [611192968] [2019-11-21 12:39:43,687 INFO L442 AbstractCegarLoop]: Interpolant automaton has 5 states [2019-11-21 12:39:43,688 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:43,688 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2019-11-21 12:39:43,688 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2019-11-21 12:39:43,688 INFO L87 Difference]: Start difference. First operand 44 states and 48 transitions. Second operand 5 states. [2019-11-21 12:39:43,828 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:43,829 INFO L93 Difference]: Finished difference Result 45 states and 49 transitions. [2019-11-21 12:39:43,830 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2019-11-21 12:39:43,830 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 17 [2019-11-21 12:39:43,831 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:43,831 INFO L225 Difference]: With dead ends: 45 [2019-11-21 12:39:43,831 INFO L226 Difference]: Without dead ends: 45 [2019-11-21 12:39:43,832 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 33 GetRequests, 30 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2019-11-21 12:39:43,833 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 45 states. [2019-11-21 12:39:43,837 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 45 to 42. [2019-11-21 12:39:43,838 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 42 states. [2019-11-21 12:39:43,839 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 42 states and 46 transitions. [2019-11-21 12:39:43,839 INFO L78 Accepts]: Start accepts. Automaton has 42 states and 46 transitions. Word has length 17 [2019-11-21 12:39:43,839 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:43,839 INFO L462 AbstractCegarLoop]: Abstraction has 42 states and 46 transitions. [2019-11-21 12:39:43,840 INFO L463 AbstractCegarLoop]: Interpolant automaton has 5 states. [2019-11-21 12:39:43,840 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 46 transitions. [2019-11-21 12:39:43,840 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2019-11-21 12:39:43,841 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:43,841 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-21 12:39:44,050 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 6 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:44,051 INFO L410 AbstractCegarLoop]: === Iteration 6 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:44,051 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:44,052 INFO L82 PathProgramCache]: Analyzing trace with hash 846850064, now seen corresponding path program 1 times [2019-11-21 12:39:44,053 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:44,053 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [2028245463] [2019-11-21 12:39:44,053 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 7 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 7 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:44,298 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:44,299 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 12 conjunts are in the unsatisfiable core [2019-11-21 12:39:44,301 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:44,326 INFO L377 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 [2019-11-21 12:39:44,327 INFO L496 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2019-11-21 12:39:44,337 INFO L567 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2019-11-21 12:39:44,339 INFO L496 ElimStorePlain]: Start of recursive call 1: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2019-11-21 12:39:44,339 INFO L221 ElimStorePlain]: Needed 2 recursive calls to eliminate 1 variables, input treesize:13, output treesize:12 [2019-11-21 12:39:44,399 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:44,399 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:44,935 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:44,935 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [2028245463] [2019-11-21 12:39:44,935 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:44,936 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6, 6] imperfect sequences [] total 11 [2019-11-21 12:39:44,936 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [565592447] [2019-11-21 12:39:44,936 INFO L442 AbstractCegarLoop]: Interpolant automaton has 12 states [2019-11-21 12:39:44,937 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:44,937 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 12 interpolants. [2019-11-21 12:39:44,937 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=37, Invalid=95, Unknown=0, NotChecked=0, Total=132 [2019-11-21 12:39:44,938 INFO L87 Difference]: Start difference. First operand 42 states and 46 transitions. Second operand 12 states. [2019-11-21 12:39:45,492 WARN L192 SmtUtils]: Spent 167.00 ms on a formula simplification. DAG size of input: 29 DAG size of output: 26 [2019-11-21 12:39:45,736 WARN L192 SmtUtils]: Spent 105.00 ms on a formula simplification. DAG size of input: 21 DAG size of output: 20 [2019-11-21 12:39:46,176 WARN L192 SmtUtils]: Spent 127.00 ms on a formula simplification. DAG size of input: 26 DAG size of output: 24 [2019-11-21 12:39:46,651 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:46,651 INFO L93 Difference]: Finished difference Result 121 states and 129 transitions. [2019-11-21 12:39:46,651 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 17 states. [2019-11-21 12:39:46,652 INFO L78 Accepts]: Start accepts. Automaton has 12 states. Word has length 17 [2019-11-21 12:39:46,652 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:46,653 INFO L225 Difference]: With dead ends: 121 [2019-11-21 12:39:46,654 INFO L226 Difference]: Without dead ends: 119 [2019-11-21 12:39:46,654 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 41 GetRequests, 23 SyntacticMatches, 1 SemanticMatches, 17 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 67 ImplicationChecksByTransitivity, 1.4s TimeCoverageRelationStatistics Valid=84, Invalid=258, Unknown=0, NotChecked=0, Total=342 [2019-11-21 12:39:46,655 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 119 states. [2019-11-21 12:39:46,662 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 119 to 63. [2019-11-21 12:39:46,662 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 63 states. [2019-11-21 12:39:46,663 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 63 states to 63 states and 71 transitions. [2019-11-21 12:39:46,664 INFO L78 Accepts]: Start accepts. Automaton has 63 states and 71 transitions. Word has length 17 [2019-11-21 12:39:46,664 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:46,664 INFO L462 AbstractCegarLoop]: Abstraction has 63 states and 71 transitions. [2019-11-21 12:39:46,664 INFO L463 AbstractCegarLoop]: Interpolant automaton has 12 states. [2019-11-21 12:39:46,664 INFO L276 IsEmpty]: Start isEmpty. Operand 63 states and 71 transitions. [2019-11-21 12:39:46,665 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2019-11-21 12:39:46,665 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:46,665 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-21 12:39:46,878 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 7 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:46,879 INFO L410 AbstractCegarLoop]: === Iteration 7 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:46,879 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:46,879 INFO L82 PathProgramCache]: Analyzing trace with hash -1248859977, now seen corresponding path program 1 times [2019-11-21 12:39:46,880 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:46,880 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [356104877] [2019-11-21 12:39:46,880 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 8 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 8 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:47,034 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:47,036 INFO L255 TraceCheckSpWp]: Trace formula consists of 82 conjuncts, 3 conjunts are in the unsatisfiable core [2019-11-21 12:39:47,038 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:47,055 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:47,056 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:47,076 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:47,077 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [356104877] [2019-11-21 12:39:47,077 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:47,077 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2, 2] imperfect sequences [] total 2 [2019-11-21 12:39:47,077 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [575117612] [2019-11-21 12:39:47,078 INFO L442 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-11-21 12:39:47,079 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:47,079 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-11-21 12:39:47,080 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-11-21 12:39:47,080 INFO L87 Difference]: Start difference. First operand 63 states and 71 transitions. Second operand 3 states. [2019-11-21 12:39:47,085 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:47,085 INFO L93 Difference]: Finished difference Result 62 states and 70 transitions. [2019-11-21 12:39:47,089 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-11-21 12:39:47,089 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 17 [2019-11-21 12:39:47,089 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:47,091 INFO L225 Difference]: With dead ends: 62 [2019-11-21 12:39:47,091 INFO L226 Difference]: Without dead ends: 62 [2019-11-21 12:39:47,091 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 33 GetRequests, 32 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-11-21 12:39:47,092 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 62 states. [2019-11-21 12:39:47,097 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 62 to 62. [2019-11-21 12:39:47,097 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 62 states. [2019-11-21 12:39:47,098 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 62 states to 62 states and 70 transitions. [2019-11-21 12:39:47,099 INFO L78 Accepts]: Start accepts. Automaton has 62 states and 70 transitions. Word has length 17 [2019-11-21 12:39:47,099 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:47,099 INFO L462 AbstractCegarLoop]: Abstraction has 62 states and 70 transitions. [2019-11-21 12:39:47,099 INFO L463 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-11-21 12:39:47,099 INFO L276 IsEmpty]: Start isEmpty. Operand 62 states and 70 transitions. [2019-11-21 12:39:47,100 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2019-11-21 12:39:47,100 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:47,100 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-21 12:39:47,307 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 8 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:47,308 INFO L410 AbstractCegarLoop]: === Iteration 8 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:47,308 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:47,308 INFO L82 PathProgramCache]: Analyzing trace with hash -59953566, now seen corresponding path program 1 times [2019-11-21 12:39:47,308 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:47,308 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [668393156] [2019-11-21 12:39:47,308 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 9 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 9 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:47,487 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:47,489 INFO L255 TraceCheckSpWp]: Trace formula consists of 83 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-21 12:39:47,490 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:47,566 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:47,567 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:47,647 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:47,648 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [668393156] [2019-11-21 12:39:47,648 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:47,648 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6, 6] imperfect sequences [] total 10 [2019-11-21 12:39:47,648 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1623918677] [2019-11-21 12:39:47,649 INFO L442 AbstractCegarLoop]: Interpolant automaton has 10 states [2019-11-21 12:39:47,649 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:47,649 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2019-11-21 12:39:47,650 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=32, Invalid=58, Unknown=0, NotChecked=0, Total=90 [2019-11-21 12:39:47,650 INFO L87 Difference]: Start difference. First operand 62 states and 70 transitions. Second operand 10 states. [2019-11-21 12:39:47,825 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:47,826 INFO L93 Difference]: Finished difference Result 61 states and 68 transitions. [2019-11-21 12:39:47,827 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2019-11-21 12:39:47,827 INFO L78 Accepts]: Start accepts. Automaton has 10 states. Word has length 18 [2019-11-21 12:39:47,827 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:47,827 INFO L225 Difference]: With dead ends: 61 [2019-11-21 12:39:47,828 INFO L226 Difference]: Without dead ends: 61 [2019-11-21 12:39:47,828 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 36 GetRequests, 27 SyntacticMatches, 0 SemanticMatches, 9 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 18 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=40, Invalid=70, Unknown=0, NotChecked=0, Total=110 [2019-11-21 12:39:47,829 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 61 states. [2019-11-21 12:39:47,832 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 61 to 61. [2019-11-21 12:39:47,832 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 61 states. [2019-11-21 12:39:47,833 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 61 states to 61 states and 68 transitions. [2019-11-21 12:39:47,833 INFO L78 Accepts]: Start accepts. Automaton has 61 states and 68 transitions. Word has length 18 [2019-11-21 12:39:47,834 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:47,834 INFO L462 AbstractCegarLoop]: Abstraction has 61 states and 68 transitions. [2019-11-21 12:39:47,834 INFO L463 AbstractCegarLoop]: Interpolant automaton has 10 states. [2019-11-21 12:39:47,834 INFO L276 IsEmpty]: Start isEmpty. Operand 61 states and 68 transitions. [2019-11-21 12:39:47,835 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2019-11-21 12:39:47,835 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:47,835 INFO L410 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] [2019-11-21 12:39:48,037 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 9 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:48,038 INFO L410 AbstractCegarLoop]: === Iteration 9 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:48,038 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:48,039 INFO L82 PathProgramCache]: Analyzing trace with hash 1879296432, now seen corresponding path program 1 times [2019-11-21 12:39:48,039 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:48,040 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [1372954784] [2019-11-21 12:39:48,040 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 10 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 10 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:48,255 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:48,256 INFO L255 TraceCheckSpWp]: Trace formula consists of 110 conjuncts, 5 conjunts are in the unsatisfiable core [2019-11-21 12:39:48,258 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:48,303 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:48,303 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:48,359 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:48,360 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [1372954784] [2019-11-21 12:39:48,360 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:48,361 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5, 4] imperfect sequences [] total 8 [2019-11-21 12:39:48,361 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [143618922] [2019-11-21 12:39:48,361 INFO L442 AbstractCegarLoop]: Interpolant automaton has 9 states [2019-11-21 12:39:48,362 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:48,362 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2019-11-21 12:39:48,362 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=21, Invalid=51, Unknown=0, NotChecked=0, Total=72 [2019-11-21 12:39:48,362 INFO L87 Difference]: Start difference. First operand 61 states and 68 transitions. Second operand 9 states. [2019-11-21 12:39:48,513 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:48,514 INFO L93 Difference]: Finished difference Result 60 states and 67 transitions. [2019-11-21 12:39:48,514 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2019-11-21 12:39:48,514 INFO L78 Accepts]: Start accepts. Automaton has 9 states. Word has length 22 [2019-11-21 12:39:48,515 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:48,516 INFO L225 Difference]: With dead ends: 60 [2019-11-21 12:39:48,516 INFO L226 Difference]: Without dead ends: 60 [2019-11-21 12:39:48,516 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 44 GetRequests, 36 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 12 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=28, Invalid=62, Unknown=0, NotChecked=0, Total=90 [2019-11-21 12:39:48,517 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 60 states. [2019-11-21 12:39:48,520 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 60 to 60. [2019-11-21 12:39:48,520 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 60 states. [2019-11-21 12:39:48,523 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 60 states to 60 states and 67 transitions. [2019-11-21 12:39:48,523 INFO L78 Accepts]: Start accepts. Automaton has 60 states and 67 transitions. Word has length 22 [2019-11-21 12:39:48,523 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:48,523 INFO L462 AbstractCegarLoop]: Abstraction has 60 states and 67 transitions. [2019-11-21 12:39:48,523 INFO L463 AbstractCegarLoop]: Interpolant automaton has 9 states. [2019-11-21 12:39:48,524 INFO L276 IsEmpty]: Start isEmpty. Operand 60 states and 67 transitions. [2019-11-21 12:39:48,524 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2019-11-21 12:39:48,524 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:48,525 INFO L410 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] [2019-11-21 12:39:48,727 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 10 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:48,728 INFO L410 AbstractCegarLoop]: === Iteration 10 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:48,728 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:48,729 INFO L82 PathProgramCache]: Analyzing trace with hash -2045618873, now seen corresponding path program 1 times [2019-11-21 12:39:48,729 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:48,730 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [679994736] [2019-11-21 12:39:48,730 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 11 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 11 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:48,898 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:48,900 INFO L255 TraceCheckSpWp]: Trace formula consists of 117 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-21 12:39:48,901 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:48,922 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:48,923 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:48,966 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-21 12:39:48,966 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [679994736] [2019-11-21 12:39:48,966 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:48,967 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5, 5] imperfect sequences [] total 5 [2019-11-21 12:39:48,967 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1601351788] [2019-11-21 12:39:48,967 INFO L442 AbstractCegarLoop]: Interpolant automaton has 5 states [2019-11-21 12:39:48,968 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:48,968 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2019-11-21 12:39:48,968 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2019-11-21 12:39:48,969 INFO L87 Difference]: Start difference. First operand 60 states and 67 transitions. Second operand 5 states. [2019-11-21 12:39:49,022 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:49,023 INFO L93 Difference]: Finished difference Result 60 states and 65 transitions. [2019-11-21 12:39:49,025 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2019-11-21 12:39:49,025 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 26 [2019-11-21 12:39:49,025 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:49,026 INFO L225 Difference]: With dead ends: 60 [2019-11-21 12:39:49,026 INFO L226 Difference]: Without dead ends: 60 [2019-11-21 12:39:49,027 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 52 GetRequests, 48 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2019-11-21 12:39:49,027 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 60 states. [2019-11-21 12:39:49,030 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 60 to 60. [2019-11-21 12:39:49,031 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 60 states. [2019-11-21 12:39:49,031 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 60 states to 60 states and 65 transitions. [2019-11-21 12:39:49,032 INFO L78 Accepts]: Start accepts. Automaton has 60 states and 65 transitions. Word has length 26 [2019-11-21 12:39:49,032 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:49,032 INFO L462 AbstractCegarLoop]: Abstraction has 60 states and 65 transitions. [2019-11-21 12:39:49,032 INFO L463 AbstractCegarLoop]: Interpolant automaton has 5 states. [2019-11-21 12:39:49,032 INFO L276 IsEmpty]: Start isEmpty. Operand 60 states and 65 transitions. [2019-11-21 12:39:49,033 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2019-11-21 12:39:49,033 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:49,033 INFO L410 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-21 12:39:49,237 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 11 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:49,238 INFO L410 AbstractCegarLoop]: === Iteration 11 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:49,239 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:49,239 INFO L82 PathProgramCache]: Analyzing trace with hash 1774578561, now seen corresponding path program 1 times [2019-11-21 12:39:49,240 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:49,240 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [1383890527] [2019-11-21 12:39:49,240 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 12 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 12 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:49,432 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:49,434 INFO L255 TraceCheckSpWp]: Trace formula consists of 143 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-21 12:39:49,436 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:49,474 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 7 proven. 2 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2019-11-21 12:39:49,474 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:49,529 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 7 proven. 2 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2019-11-21 12:39:49,529 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [1383890527] [2019-11-21 12:39:49,530 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2019-11-21 12:39:49,530 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 7] total 7 [2019-11-21 12:39:49,530 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1795645239] [2019-11-21 12:39:49,530 INFO L442 AbstractCegarLoop]: Interpolant automaton has 7 states [2019-11-21 12:39:49,530 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:49,531 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2019-11-21 12:39:49,531 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2019-11-21 12:39:49,531 INFO L87 Difference]: Start difference. First operand 60 states and 65 transitions. Second operand 7 states. [2019-11-21 12:39:49,691 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:49,691 INFO L93 Difference]: Finished difference Result 66 states and 68 transitions. [2019-11-21 12:39:49,692 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2019-11-21 12:39:49,692 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 29 [2019-11-21 12:39:49,693 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:49,693 INFO L225 Difference]: With dead ends: 66 [2019-11-21 12:39:49,694 INFO L226 Difference]: Without dead ends: 60 [2019-11-21 12:39:49,694 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 61 GetRequests, 53 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=25, Invalid=65, Unknown=0, NotChecked=0, Total=90 [2019-11-21 12:39:49,694 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 60 states. [2019-11-21 12:39:49,702 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 60 to 60. [2019-11-21 12:39:49,703 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 60 states. [2019-11-21 12:39:49,703 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 60 states to 60 states and 62 transitions. [2019-11-21 12:39:49,705 INFO L78 Accepts]: Start accepts. Automaton has 60 states and 62 transitions. Word has length 29 [2019-11-21 12:39:49,705 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:49,705 INFO L462 AbstractCegarLoop]: Abstraction has 60 states and 62 transitions. [2019-11-21 12:39:49,705 INFO L463 AbstractCegarLoop]: Interpolant automaton has 7 states. [2019-11-21 12:39:49,706 INFO L276 IsEmpty]: Start isEmpty. Operand 60 states and 62 transitions. [2019-11-21 12:39:49,706 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2019-11-21 12:39:49,707 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:49,707 INFO L410 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-21 12:39:49,914 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 12 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:49,915 INFO L410 AbstractCegarLoop]: === Iteration 12 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:49,915 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:49,915 INFO L82 PathProgramCache]: Analyzing trace with hash -32875902, now seen corresponding path program 1 times [2019-11-21 12:39:49,916 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:49,917 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [472680655] [2019-11-21 12:39:49,917 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 13 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 13 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:50,119 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:50,121 INFO L255 TraceCheckSpWp]: Trace formula consists of 143 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-21 12:39:50,123 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:50,145 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 7 proven. 0 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2019-11-21 12:39:50,145 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:50,169 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 7 proven. 0 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2019-11-21 12:39:50,169 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [472680655] [2019-11-21 12:39:50,170 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:50,170 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4, 4] imperfect sequences [] total 4 [2019-11-21 12:39:50,170 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1227499965] [2019-11-21 12:39:50,171 INFO L442 AbstractCegarLoop]: Interpolant automaton has 5 states [2019-11-21 12:39:50,171 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:50,171 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2019-11-21 12:39:50,171 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2019-11-21 12:39:50,172 INFO L87 Difference]: Start difference. First operand 60 states and 62 transitions. Second operand 5 states. [2019-11-21 12:39:50,215 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:50,216 INFO L93 Difference]: Finished difference Result 59 states and 61 transitions. [2019-11-21 12:39:50,217 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2019-11-21 12:39:50,217 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 29 [2019-11-21 12:39:50,217 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:50,218 INFO L225 Difference]: With dead ends: 59 [2019-11-21 12:39:50,218 INFO L226 Difference]: Without dead ends: 59 [2019-11-21 12:39:50,218 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 58 GetRequests, 54 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2019-11-21 12:39:50,219 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 59 states. [2019-11-21 12:39:50,221 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 59 to 57. [2019-11-21 12:39:50,221 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 57 states. [2019-11-21 12:39:50,222 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 57 states to 57 states and 59 transitions. [2019-11-21 12:39:50,222 INFO L78 Accepts]: Start accepts. Automaton has 57 states and 59 transitions. Word has length 29 [2019-11-21 12:39:50,223 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:50,223 INFO L462 AbstractCegarLoop]: Abstraction has 57 states and 59 transitions. [2019-11-21 12:39:50,223 INFO L463 AbstractCegarLoop]: Interpolant automaton has 5 states. [2019-11-21 12:39:50,223 INFO L276 IsEmpty]: Start isEmpty. Operand 57 states and 59 transitions. [2019-11-21 12:39:50,224 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2019-11-21 12:39:50,224 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:50,224 INFO L410 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, 1, 1, 1] [2019-11-21 12:39:50,424 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 13 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:50,425 INFO L410 AbstractCegarLoop]: === Iteration 13 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:50,425 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:50,425 INFO L82 PathProgramCache]: Analyzing trace with hash 1438678298, now seen corresponding path program 1 times [2019-11-21 12:39:50,426 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:50,426 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [1352308570] [2019-11-21 12:39:50,427 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 14 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 14 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:50,652 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-21 12:39:50,654 INFO L255 TraceCheckSpWp]: Trace formula consists of 120 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-21 12:39:50,656 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-21 12:39:50,683 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2019-11-21 12:39:50,684 INFO L320 TraceCheckSpWp]: Computing backward predicates... [2019-11-21 12:39:50,725 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2019-11-21 12:39:50,725 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleCvc4 [1352308570] [2019-11-21 12:39:50,725 INFO L220 FreeRefinementEngine]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2019-11-21 12:39:50,726 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3, 2] imperfect sequences [] total 4 [2019-11-21 12:39:50,726 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [660362779] [2019-11-21 12:39:50,726 INFO L442 AbstractCegarLoop]: Interpolant automaton has 5 states [2019-11-21 12:39:50,726 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2019-11-21 12:39:50,726 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2019-11-21 12:39:50,727 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2019-11-21 12:39:50,727 INFO L87 Difference]: Start difference. First operand 57 states and 59 transitions. Second operand 5 states. [2019-11-21 12:39:50,791 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-21 12:39:50,791 INFO L93 Difference]: Finished difference Result 56 states and 58 transitions. [2019-11-21 12:39:50,792 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2019-11-21 12:39:50,792 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 29 [2019-11-21 12:39:50,792 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-21 12:39:50,793 INFO L225 Difference]: With dead ends: 56 [2019-11-21 12:39:50,793 INFO L226 Difference]: Without dead ends: 56 [2019-11-21 12:39:50,793 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 57 GetRequests, 53 SyntacticMatches, 1 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2019-11-21 12:39:50,793 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 56 states. [2019-11-21 12:39:50,796 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 56 to 56. [2019-11-21 12:39:50,796 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 56 states. [2019-11-21 12:39:50,797 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 56 states to 56 states and 58 transitions. [2019-11-21 12:39:50,797 INFO L78 Accepts]: Start accepts. Automaton has 56 states and 58 transitions. Word has length 29 [2019-11-21 12:39:50,797 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-21 12:39:50,797 INFO L462 AbstractCegarLoop]: Abstraction has 56 states and 58 transitions. [2019-11-21 12:39:50,797 INFO L463 AbstractCegarLoop]: Interpolant automaton has 5 states. [2019-11-21 12:39:50,797 INFO L276 IsEmpty]: Start isEmpty. Operand 56 states and 58 transitions. [2019-11-21 12:39:50,798 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 31 [2019-11-21 12:39:50,798 INFO L402 BasicCegarLoop]: Found error trace [2019-11-21 12:39:50,798 INFO L410 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, 1, 1, 1, 1] [2019-11-21 12:39:51,001 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 14 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:51,002 INFO L410 AbstractCegarLoop]: === Iteration 14 === [mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr4ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr3ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr2ASSERT_VIOLATIONMEMORY_FREE, expandArrayErr1REQUIRES_VIOLATION, expandArrayErr0REQUIRES_VIOLATION]=== [2019-11-21 12:39:51,003 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-21 12:39:51,003 INFO L82 PathProgramCache]: Analyzing trace with hash 1649354337, now seen corresponding path program 1 times [2019-11-21 12:39:51,004 INFO L163 FreeRefinementEngine]: Executing refinement strategy WOLF [2019-11-21 12:39:51,004 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleCvc4 [214103074] [2019-11-21 12:39:51,004 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4 Starting monitored process 15 with cvc4 --incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 15 with cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:51,233 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-21 12:39:51,322 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-21 12:39:51,361 INFO L174 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2019-11-21 12:39:51,361 INFO L475 BasicCegarLoop]: Counterexample might be feasible [2019-11-21 12:39:51,566 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 15 cvc4 --incremental --print-success --lang smt --rewrite-divk [2019-11-21 12:39:51,636 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 21.11 12:39:51 BoogieIcfgContainer [2019-11-21 12:39:51,636 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2019-11-21 12:39:51,637 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2019-11-21 12:39:51,637 INFO L271 PluginConnector]: Initializing Witness Printer... [2019-11-21 12:39:51,637 INFO L275 PluginConnector]: Witness Printer initialized [2019-11-21 12:39:51,637 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 12:39:40" (3/4) ... [2019-11-21 12:39:51,639 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2019-11-21 12:39:51,700 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2019-11-21 12:39:51,700 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2019-11-21 12:39:51,702 INFO L168 Benchmark]: Toolchain (without parser) took 12348.49 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 272.6 MB). Free memory was 960.4 MB in the beginning and 1.2 GB in the end (delta: -193.9 MB). Peak memory consumption was 78.8 MB. Max. memory is 11.5 GB. [2019-11-21 12:39:51,703 INFO L168 Benchmark]: CDTParser took 0.24 ms. Allocated memory is still 1.0 GB. Free memory is still 987.2 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-21 12:39:51,703 INFO L168 Benchmark]: CACSL2BoogieTranslator took 697.75 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 143.1 MB). Free memory was 960.4 MB in the beginning and 1.1 GB in the end (delta: -157.9 MB). Peak memory consumption was 20.6 MB. Max. memory is 11.5 GB. [2019-11-21 12:39:51,704 INFO L168 Benchmark]: Boogie Preprocessor took 69.31 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.6 MB). Peak memory consumption was 6.6 MB. Max. memory is 11.5 GB. [2019-11-21 12:39:51,705 INFO L168 Benchmark]: RCFGBuilder took 700.32 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: 44.7 MB). Peak memory consumption was 44.7 MB. Max. memory is 11.5 GB. [2019-11-21 12:39:51,705 INFO L168 Benchmark]: TraceAbstraction took 10811.96 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 129.5 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -87.2 MB). Peak memory consumption was 42.3 MB. Max. memory is 11.5 GB. [2019-11-21 12:39:51,706 INFO L168 Benchmark]: Witness Printer took 63.92 ms. Allocated memory is still 1.3 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 24 B). Peak memory consumption was 24 B. Max. memory is 11.5 GB. [2019-11-21 12:39:51,709 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.24 ms. Allocated memory is still 1.0 GB. Free memory is still 987.2 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 697.75 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 143.1 MB). Free memory was 960.4 MB in the beginning and 1.1 GB in the end (delta: -157.9 MB). Peak memory consumption was 20.6 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 69.31 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.6 MB). Peak memory consumption was 6.6 MB. Max. memory is 11.5 GB. * RCFGBuilder took 700.32 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: 44.7 MB). Peak memory consumption was 44.7 MB. Max. memory is 11.5 GB. * TraceAbstraction took 10811.96 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 129.5 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -87.2 MB). Peak memory consumption was 42.3 MB. Max. memory is 11.5 GB. * Witness Printer took 63.92 ms. Allocated memory is still 1.3 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 24 B). Peak memory consumption was 24 B. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 538]: free of unallocated memory possible free of unallocated memory possible We found a FailurePath: [L512] int num; [L513] int ind, newsize, i = 1; VAL [\old(i)=0, \old(ind)=0, \old(newsize)=0, \old(num)=0, i=1, ind=0, newsize=0, num=0] [L528] num = __VERIFIER_nondet_int() [L529] COND FALSE !(!(num > 0 && num < 100)) [L532] int *a = (int *)malloc(sizeof(int)); VAL [\old(argc)=0, \old(newsize)=0, \old(num)=0, a={2:0}, argc=0, argv={0:0}, argv={0:0}, i=1, ind=0, malloc(sizeof(int))={2:0}, newsize=0, num=1] [L533] COND FALSE !(a == ((void *)0)) [L536] newsize = 0 VAL [\old(argc)=0, \old(newsize)=0, \old(num)=0, a={2:0}, argc=0, argv={0:0}, argv={0:0}, i=1, ind=0, malloc(sizeof(int))={2:0}, newsize=0, num=1] [L537] CALL expandArray(a) VAL [\old(newsize)=0, \old(num)=0, arg={2:0}, i=1, ind=0, newsize=0, num=1] [L515] int *a = (int *)arg; [L516] int *b = ((void *)0); VAL [\old(newsize)=0, \old(num)=0, a={2:0}, arg={2:0}, arg={2:0}, b={0:0}, i=1, ind=0, newsize=0, num=1] [L517] COND TRUE newsize < num [L518] newsize = newsize + 1 VAL [\old(newsize)=0, \old(num)=0, a={2:0}, arg={2:0}, arg={2:0}, b={0:0}, i=1, ind=0, newsize=1, num=1] [L519] EXPR, FCALL realloc(a, sizeof(int) * newsize) VAL [\old(newsize)=0, \old(num)=0, a={2:0}, arg={2:0}, arg={2:0}, b={0:0}, i=1, ind=0, newsize=1, num=1, realloc(a, sizeof(int) * newsize)={2:0}] [L519] b = realloc(a, sizeof(int) * newsize) [L520] b[newsize - 1] = i VAL [\old(newsize)=0, \old(num)=0, a={2:0}, arg={2:0}, arg={2:0}, b={2:0}, i=1, ind=0, newsize=1, num=1] [L521] a = b VAL [\old(newsize)=0, \old(num)=0, a={2:0}, arg={2:0}, arg={2:0}, b={2:0}, i=1, ind=0, newsize=1, num=1] [L517] COND FALSE !(newsize < num) VAL [\old(newsize)=0, \old(num)=0, a={2:0}, arg={2:0}, arg={2:0}, b={2:0}, i=1, ind=0, newsize=1, num=1] [L523] COND TRUE b != ((void *)0) VAL [\old(newsize)=0, \old(num)=0, a={2:0}, arg={2:0}, arg={2:0}, b={2:0}, i=1, ind=0, newsize=1, num=1] [L524] free(b) VAL [\old(newsize)=0, \old(num)=0, a={2:0}, arg={2:0}, arg={2:0}, b={2:0}, i=1, ind=0, newsize=1, num=1] [L524] free(b) VAL [\old(newsize)=0, \old(num)=0, a={2:0}, arg={2:0}, arg={2:0}, b={2:0}, i=1, ind=0, newsize=1, num=1] [L524] free(b) [L525] return 0; VAL [\old(newsize)=0, \old(num)=0, \result={0:0}, a={2:0}, arg={2:0}, arg={2:0}, b={2:0}, i=1, ind=0, newsize=1, num=1] [L537] RET expandArray(a) VAL [\old(argc)=0, \old(newsize)=0, \old(num)=0, a={2:0}, argc=0, argv={0:0}, argv={0:0}, expandArray(a)={0:0}, i=1, ind=0, malloc(sizeof(int))={2:0}, newsize=1, num=1] [L538] free(a) VAL [\old(argc)=0, \old(newsize)=0, \old(num)=0, a={2:0}, argc=0, argv={0:0}, argv={0:0}, i=1, ind=0, malloc(sizeof(int))={2:0}, newsize=1, num=1] [L538] free(a) VAL [\old(argc)=0, \old(newsize)=0, \old(num)=0, a={2:0}, argc=0, argv={0:0}, argv={0:0}, i=1, ind=0, malloc(sizeof(int))={2:0}, newsize=1, num=1] [L538] free(a) VAL [\old(argc)=0, \old(newsize)=0, \old(num)=0, a={2:0}, argc=0, argv={0:0}, argv={0:0}, i=1, ind=0, malloc(sizeof(int))={2:0}, newsize=1, num=1] - StatisticsResult: Ultimate Automizer benchmark data CFG has 10 procedures, 57 locations, 9 error locations. Result: UNSAFE, OverallTime: 10.7s, OverallIterations: 14, TraceHistogramMax: 2, AutomataDifference: 2.9s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, HoareTripleCheckerStatistics: 439 SDtfs, 407 SDslu, 903 SDs, 0 SdLazy, 551 SolverSat, 65 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1.3s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 506 GetRequests, 439 SyntacticMatches, 2 SemanticMatches, 65 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 101 ImplicationChecksByTransitivity, 1.9s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=63occurred in iteration=6, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.1s AutomataMinimizationTime, 13 MinimizatonAttempts, 86 StatesRemovedByMinimization, 6 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.2s SsaConstructionTime, 0.6s SatisfiabilityAnalysisTime, 1.6s InterpolantComputationTime, 281 NumberOfCodeBlocks, 281 NumberOfCodeBlocksAsserted, 14 NumberOfCheckSat, 476 ConstructedInterpolants, 0 QuantifiedInterpolants, 26039 SizeOfPredicates, 15 NumberOfNonLiveVariables, 1269 ConjunctsInSsa, 63 ConjunctsInUnsatCore, 26 InterpolantComputations, 24 PerfectInterpolantSequences, 42/46 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...