./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/array-examples/relax-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version cad46833 Calling Ultimate with: /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/config/TaipanMemDerefMemtrack.xml -i ../../sv-benchmarks/c/array-examples/relax-1.i -s /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan --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 Taipan --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash c75be524a4f1d004e59f9ab0d874b08a78bf36d3 ................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-deref) --- Real Ultimate output --- This is Ultimate 0.1.24-cad4683 [2019-10-22 11:22:30,219 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-10-22 11:22:30,220 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-10-22 11:22:30,229 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-10-22 11:22:30,229 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-10-22 11:22:30,230 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-10-22 11:22:30,231 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-10-22 11:22:30,232 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-10-22 11:22:30,233 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-10-22 11:22:30,234 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-10-22 11:22:30,235 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2019-10-22 11:22:30,236 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-10-22 11:22:30,236 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-10-22 11:22:30,236 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-10-22 11:22:30,237 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-10-22 11:22:30,238 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-10-22 11:22:30,238 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-10-22 11:22:30,239 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-10-22 11:22:30,240 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-10-22 11:22:30,241 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-10-22 11:22:30,242 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-10-22 11:22:30,243 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-10-22 11:22:30,244 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-10-22 11:22:30,245 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-10-22 11:22:30,246 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-10-22 11:22:30,246 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-10-22 11:22:30,247 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-10-22 11:22:30,247 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-10-22 11:22:30,247 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-10-22 11:22:30,248 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-10-22 11:22:30,248 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-10-22 11:22:30,249 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-10-22 11:22:30,250 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-10-22 11:22:30,250 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-10-22 11:22:30,251 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-10-22 11:22:30,251 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-10-22 11:22:30,252 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-10-22 11:22:30,252 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-10-22 11:22:30,252 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-10-22 11:22:30,252 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-10-22 11:22:30,253 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-10-22 11:22:30,254 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf [2019-10-22 11:22:30,264 INFO L113 SettingsManager]: Loading preferences was successful [2019-10-22 11:22:30,264 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-10-22 11:22:30,265 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2019-10-22 11:22:30,265 INFO L138 SettingsManager]: * User list type=DISABLED [2019-10-22 11:22:30,265 INFO L136 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2019-10-22 11:22:30,265 INFO L138 SettingsManager]: * Explicit value domain=true [2019-10-22 11:22:30,265 INFO L138 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2019-10-22 11:22:30,266 INFO L138 SettingsManager]: * Octagon Domain=false [2019-10-22 11:22:30,266 INFO L138 SettingsManager]: * Abstract domain=CompoundDomain [2019-10-22 11:22:30,266 INFO L138 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2019-10-22 11:22:30,266 INFO L138 SettingsManager]: * Use the RCFG-of-the-future interface=true [2019-10-22 11:22:30,266 INFO L138 SettingsManager]: * Interval Domain=false [2019-10-22 11:22:30,267 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-10-22 11:22:30,267 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-10-22 11:22:30,267 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-10-22 11:22:30,267 INFO L138 SettingsManager]: * sizeof long=4 [2019-10-22 11:22:30,268 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2019-10-22 11:22:30,268 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-10-22 11:22:30,268 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-10-22 11:22:30,268 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-10-22 11:22:30,268 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2019-10-22 11:22:30,268 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2019-10-22 11:22:30,269 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2019-10-22 11:22:30,269 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-10-22 11:22:30,269 INFO L138 SettingsManager]: * sizeof long double=12 [2019-10-22 11:22:30,270 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-10-22 11:22:30,270 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-10-22 11:22:30,270 INFO L138 SettingsManager]: * To the following directory=./dump/ [2019-10-22 11:22:30,270 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2019-10-22 11:22:30,270 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-10-22 11:22:30,271 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-10-22 11:22:30,271 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-10-22 11:22:30,271 INFO L138 SettingsManager]: * Trace refinement strategy=TAIPAN [2019-10-22 11:22:30,271 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2019-10-22 11:22:30,271 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2019-10-22 11:22:30,271 INFO L138 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan 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 -> Taipan 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 -> c75be524a4f1d004e59f9ab0d874b08a78bf36d3 [2019-10-22 11:22:30,294 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-10-22 11:22:30,303 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-10-22 11:22:30,306 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-10-22 11:22:30,307 INFO L271 PluginConnector]: Initializing CDTParser... [2019-10-22 11:22:30,307 INFO L275 PluginConnector]: CDTParser initialized [2019-10-22 11:22:30,308 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/../../sv-benchmarks/c/array-examples/relax-1.i [2019-10-22 11:22:30,360 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/data/05c8e85b1/1a1b73aef195453d82bc86d55ca5560f/FLAGf001d3ce8 [2019-10-22 11:22:30,770 INFO L306 CDTParser]: Found 1 translation units. [2019-10-22 11:22:30,771 INFO L160 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/sv-benchmarks/c/array-examples/relax-1.i [2019-10-22 11:22:30,780 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/data/05c8e85b1/1a1b73aef195453d82bc86d55ca5560f/FLAGf001d3ce8 [2019-10-22 11:22:30,796 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/data/05c8e85b1/1a1b73aef195453d82bc86d55ca5560f [2019-10-22 11:22:30,798 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-10-22 11:22:30,799 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2019-10-22 11:22:30,800 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2019-10-22 11:22:30,800 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2019-10-22 11:22:30,803 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2019-10-22 11:22:30,803 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.10 11:22:30" (1/1) ... [2019-10-22 11:22:30,805 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4e9a7f3e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:30, skipping insertion in model container [2019-10-22 11:22:30,806 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.10 11:22:30" (1/1) ... [2019-10-22 11:22:30,811 INFO L142 MainTranslator]: Starting translation in SV-COMP mode [2019-10-22 11:22:30,845 INFO L173 MainTranslator]: Built tables and reachable declarations [2019-10-22 11:22:31,193 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-10-22 11:22:31,202 INFO L188 MainTranslator]: Completed pre-run [2019-10-22 11:22:31,242 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-10-22 11:22:31,277 INFO L192 MainTranslator]: Completed translation [2019-10-22 11:22:31,277 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31 WrapperNode [2019-10-22 11:22:31,277 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2019-10-22 11:22:31,278 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2019-10-22 11:22:31,278 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2019-10-22 11:22:31,278 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2019-10-22 11:22:31,286 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (1/1) ... [2019-10-22 11:22:31,299 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (1/1) ... [2019-10-22 11:22:31,323 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2019-10-22 11:22:31,324 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-10-22 11:22:31,324 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-10-22 11:22:31,324 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-10-22 11:22:31,332 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (1/1) ... [2019-10-22 11:22:31,332 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (1/1) ... [2019-10-22 11:22:31,336 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (1/1) ... [2019-10-22 11:22:31,336 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (1/1) ... [2019-10-22 11:22:31,344 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (1/1) ... [2019-10-22 11:22:31,349 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (1/1) ... [2019-10-22 11:22:31,351 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (1/1) ... [2019-10-22 11:22:31,354 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-10-22 11:22:31,354 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-10-22 11:22:31,355 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-10-22 11:22:31,355 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-10-22 11:22:31,355 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/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-10-22 11:22:31,402 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2019-10-22 11:22:31,402 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2019-10-22 11:22:31,403 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2019-10-22 11:22:31,404 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2019-10-22 11:22:31,404 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-10-22 11:22:31,405 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-10-22 11:22:31,923 INFO L279 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-10-22 11:22:31,923 INFO L284 CfgBuilder]: Removed 15 assume(true) statements. [2019-10-22 11:22:31,924 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.10 11:22:31 BoogieIcfgContainer [2019-10-22 11:22:31,925 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-10-22 11:22:31,925 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2019-10-22 11:22:31,926 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2019-10-22 11:22:31,928 INFO L275 PluginConnector]: TraceAbstraction initialized [2019-10-22 11:22:31,929 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 22.10 11:22:30" (1/3) ... [2019-10-22 11:22:31,930 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1aedada8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.10 11:22:31, skipping insertion in model container [2019-10-22 11:22:31,930 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.10 11:22:31" (2/3) ... [2019-10-22 11:22:31,930 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1aedada8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.10 11:22:31, skipping insertion in model container [2019-10-22 11:22:31,930 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.10 11:22:31" (3/3) ... [2019-10-22 11:22:31,932 INFO L109 eAbstractionObserver]: Analyzing ICFG relax-1.i [2019-10-22 11:22:31,940 INFO L152 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2019-10-22 11:22:31,948 INFO L164 ceAbstractionStarter]: Appying trace abstraction to program that has 31 error locations. [2019-10-22 11:22:31,958 INFO L249 AbstractCegarLoop]: Starting to check reachability of 31 error locations. [2019-10-22 11:22:31,975 INFO L373 AbstractCegarLoop]: Interprodecural is true [2019-10-22 11:22:31,975 INFO L374 AbstractCegarLoop]: Hoare is false [2019-10-22 11:22:31,976 INFO L375 AbstractCegarLoop]: Compute interpolants for FPandBP [2019-10-22 11:22:31,976 INFO L376 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2019-10-22 11:22:31,976 INFO L377 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-10-22 11:22:31,976 INFO L378 AbstractCegarLoop]: Difference is false [2019-10-22 11:22:31,976 INFO L379 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-10-22 11:22:31,976 INFO L383 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2019-10-22 11:22:31,990 INFO L276 IsEmpty]: Start isEmpty. Operand 88 states. [2019-10-22 11:22:31,997 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2019-10-22 11:22:31,997 INFO L372 BasicCegarLoop]: Found error trace [2019-10-22 11:22:31,998 INFO L380 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1] [2019-10-22 11:22:32,000 INFO L410 AbstractCegarLoop]: === Iteration 1 === [ULTIMATE.startErr8REQUIRES_VIOLATION, ULTIMATE.startErr7REQUIRES_VIOLATION, ULTIMATE.startErr30ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr6REQUIRES_VIOLATION, ULTIMATE.startErr5REQUIRES_VIOLATION, ULTIMATE.startErr28ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr4REQUIRES_VIOLATION, ULTIMATE.startErr14REQUIRES_VIOLATION, ULTIMATE.startErr13REQUIRES_VIOLATION, ULTIMATE.startErr26ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr12REQUIRES_VIOLATION, ULTIMATE.startErr11REQUIRES_VIOLATION, ULTIMATE.startErr24ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr10REQUIRES_VIOLATION, ULTIMATE.startErr9REQUIRES_VIOLATION, ULTIMATE.startErr19REQUIRES_VIOLATION, ULTIMATE.startErr29ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr18REQUIRES_VIOLATION, ULTIMATE.startErr17REQUIRES_VIOLATION, ULTIMATE.startErr27ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr16REQUIRES_VIOLATION, ULTIMATE.startErr15REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION, ULTIMATE.startErr23REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr25ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr22REQUIRES_VIOLATION, ULTIMATE.startErr21REQUIRES_VIOLATION, ULTIMATE.startErr20REQUIRES_VIOLATION]=== [2019-10-22 11:22:32,005 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-10-22 11:22:32,005 INFO L82 PathProgramCache]: Analyzing trace with hash 28695942, now seen corresponding path program 1 times [2019-10-22 11:22:32,013 INFO L157 tionRefinementEngine]: Executing refinement strategy TAIPAN [2019-10-22 11:22:32,014 INFO L342 tionRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [776998655] [2019-10-22 11:22:32,014 INFO L116 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-10-22 11:22:32,014 INFO L116 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-10-22 11:22:32,014 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-10-22 11:22:32,108 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-10-22 11:22:32,172 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-10-22 11:22:32,173 INFO L342 tionRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [776998655] [2019-10-22 11:22:32,174 INFO L223 tionRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-10-22 11:22:32,174 INFO L236 tionRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2019-10-22 11:22:32,174 INFO L342 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [445336638] [2019-10-22 11:22:32,178 INFO L442 AbstractCegarLoop]: Interpolant automaton has 3 states [2019-10-22 11:22:32,179 INFO L137 tionRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy TAIPAN [2019-10-22 11:22:32,191 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2019-10-22 11:22:32,192 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-10-22 11:22:32,194 INFO L87 Difference]: Start difference. First operand 88 states. Second operand 3 states. [2019-10-22 11:22:32,260 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-10-22 11:22:32,261 INFO L93 Difference]: Finished difference Result 87 states and 101 transitions. [2019-10-22 11:22:32,261 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2019-10-22 11:22:32,262 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 5 [2019-10-22 11:22:32,263 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-10-22 11:22:32,272 INFO L225 Difference]: With dead ends: 87 [2019-10-22 11:22:32,272 INFO L226 Difference]: Without dead ends: 82 [2019-10-22 11:22:32,273 INFO L600 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2019-10-22 11:22:32,289 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 82 states. [2019-10-22 11:22:32,303 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 82 to 82. [2019-10-22 11:22:32,304 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 82 states. [2019-10-22 11:22:32,305 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 82 states to 82 states and 96 transitions. [2019-10-22 11:22:32,307 INFO L78 Accepts]: Start accepts. Automaton has 82 states and 96 transitions. Word has length 5 [2019-10-22 11:22:32,307 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-10-22 11:22:32,307 INFO L462 AbstractCegarLoop]: Abstraction has 82 states and 96 transitions. [2019-10-22 11:22:32,307 INFO L463 AbstractCegarLoop]: Interpolant automaton has 3 states. [2019-10-22 11:22:32,307 INFO L276 IsEmpty]: Start isEmpty. Operand 82 states and 96 transitions. [2019-10-22 11:22:32,307 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2019-10-22 11:22:32,308 INFO L372 BasicCegarLoop]: Found error trace [2019-10-22 11:22:32,308 INFO L380 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1] [2019-10-22 11:22:32,308 INFO L410 AbstractCegarLoop]: === Iteration 2 === [ULTIMATE.startErr8REQUIRES_VIOLATION, ULTIMATE.startErr7REQUIRES_VIOLATION, ULTIMATE.startErr30ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr6REQUIRES_VIOLATION, ULTIMATE.startErr5REQUIRES_VIOLATION, ULTIMATE.startErr28ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr4REQUIRES_VIOLATION, ULTIMATE.startErr14REQUIRES_VIOLATION, ULTIMATE.startErr13REQUIRES_VIOLATION, ULTIMATE.startErr26ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr12REQUIRES_VIOLATION, ULTIMATE.startErr11REQUIRES_VIOLATION, ULTIMATE.startErr24ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr10REQUIRES_VIOLATION, ULTIMATE.startErr9REQUIRES_VIOLATION, ULTIMATE.startErr19REQUIRES_VIOLATION, ULTIMATE.startErr29ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr18REQUIRES_VIOLATION, ULTIMATE.startErr17REQUIRES_VIOLATION, ULTIMATE.startErr27ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr16REQUIRES_VIOLATION, ULTIMATE.startErr15REQUIRES_VIOLATION, ULTIMATE.startErr3REQUIRES_VIOLATION, ULTIMATE.startErr23REQUIRES_VIOLATION, ULTIMATE.startErr1REQUIRES_VIOLATION, ULTIMATE.startErr2REQUIRES_VIOLATION, ULTIMATE.startErr25ASSERT_VIOLATIONMEMORY_FREE, ULTIMATE.startErr0REQUIRES_VIOLATION, ULTIMATE.startErr22REQUIRES_VIOLATION, ULTIMATE.startErr21REQUIRES_VIOLATION, ULTIMATE.startErr20REQUIRES_VIOLATION]=== [2019-10-22 11:22:32,308 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-10-22 11:22:32,308 INFO L82 PathProgramCache]: Analyzing trace with hash 28695943, now seen corresponding path program 1 times [2019-10-22 11:22:32,309 INFO L157 tionRefinementEngine]: Executing refinement strategy TAIPAN [2019-10-22 11:22:32,309 INFO L342 tionRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [150147039] [2019-10-22 11:22:32,309 INFO L116 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-10-22 11:22:32,309 INFO L116 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2019-10-22 11:22:32,309 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-10-22 11:22:32,342 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-10-22 11:22:32,364 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-10-22 11:22:32,384 INFO L168 tionRefinementEngine]: Strategy TAIPAN found a feasible trace [2019-10-22 11:22:32,384 INFO L445 BasicCegarLoop]: Counterexample might be feasible [2019-10-22 11:22:32,406 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 22.10 11:22:32 BoogieIcfgContainer [2019-10-22 11:22:32,406 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2019-10-22 11:22:32,407 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2019-10-22 11:22:32,407 INFO L271 PluginConnector]: Initializing Witness Printer... [2019-10-22 11:22:32,407 INFO L275 PluginConnector]: Witness Printer initialized [2019-10-22 11:22:32,407 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.10 11:22:31" (3/4) ... [2019-10-22 11:22:32,409 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2019-10-22 11:22:32,448 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_a833e68e-28f7-4b9b-af40-c762a61db310/bin/utaipan/witness.graphml [2019-10-22 11:22:32,449 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2019-10-22 11:22:32,452 INFO L168 Benchmark]: Toolchain (without parser) took 1651.98 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 148.4 MB). Free memory was 935.6 MB in the beginning and 1.0 GB in the end (delta: -101.7 MB). Peak memory consumption was 46.7 MB. Max. memory is 11.5 GB. [2019-10-22 11:22:32,453 INFO L168 Benchmark]: CDTParser took 0.15 ms. Allocated memory is still 1.0 GB. Free memory is still 962.5 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-10-22 11:22:32,453 INFO L168 Benchmark]: CACSL2BoogieTranslator took 478.02 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 148.4 MB). Free memory was 935.6 MB in the beginning and 1.1 GB in the end (delta: -188.7 MB). Peak memory consumption was 21.2 MB. Max. memory is 11.5 GB. [2019-10-22 11:22:32,454 INFO L168 Benchmark]: Boogie Procedure Inliner took 45.20 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 8.4 MB). Peak memory consumption was 8.4 MB. Max. memory is 11.5 GB. [2019-10-22 11:22:32,456 INFO L168 Benchmark]: Boogie Preprocessor took 30.64 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: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. [2019-10-22 11:22:32,457 INFO L168 Benchmark]: RCFGBuilder took 570.19 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 38.2 MB). Peak memory consumption was 38.2 MB. Max. memory is 11.5 GB. [2019-10-22 11:22:32,458 INFO L168 Benchmark]: TraceAbstraction took 481.03 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 33.7 MB). Peak memory consumption was 33.7 MB. Max. memory is 11.5 GB. [2019-10-22 11:22:32,459 INFO L168 Benchmark]: Witness Printer took 43.13 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 1.0 GB in the end (delta: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. [2019-10-22 11:22:32,461 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.15 ms. Allocated memory is still 1.0 GB. Free memory is still 962.5 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 478.02 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 148.4 MB). Free memory was 935.6 MB in the beginning and 1.1 GB in the end (delta: -188.7 MB). Peak memory consumption was 21.2 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 45.20 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 8.4 MB). Peak memory consumption was 8.4 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 30.64 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: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. * RCFGBuilder took 570.19 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 38.2 MB). Peak memory consumption was 38.2 MB. Max. memory is 11.5 GB. * TraceAbstraction took 481.03 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 33.7 MB). Peak memory consumption was 33.7 MB. Max. memory is 11.5 GB. * Witness Printer took 43.13 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 1.0 GB in the end (delta: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 570]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L585] unsigned long pat_len = __VERIFIER_nondet_ulong(), a_len = __VERIFIER_nondet_ulong(); [L585] unsigned long pat_len = __VERIFIER_nondet_ulong(), a_len = __VERIFIER_nondet_ulong(); [L586] int *pat=malloc(sizeof(int)*pat_len); [L587] int *a=malloc(sizeof(int)*a_len); [L565] COND FALSE !(pat_length>a_length+1) [L567] int shift=0; [L568] int i=0; [L568] COND TRUE i