./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/array-memsafety/cstrlen_unsafe_false-valid-deref.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 635dfa2a Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/config/TaipanMemDerefMemtrack.xml -i ../../sv-benchmarks/c/array-memsafety/cstrlen_unsafe_false-valid-deref.i -s /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/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 b2309dee6513434817ba1d849be751d9f31667bc .......................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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.23-635dfa2 [2018-12-02 17:12:45,214 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-12-02 17:12:45,214 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-12-02 17:12:45,220 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-12-02 17:12:45,221 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-12-02 17:12:45,221 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-12-02 17:12:45,222 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-12-02 17:12:45,222 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-12-02 17:12:45,223 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-12-02 17:12:45,224 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-12-02 17:12:45,224 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-12-02 17:12:45,224 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-12-02 17:12:45,225 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-12-02 17:12:45,225 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-12-02 17:12:45,226 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-12-02 17:12:45,226 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-12-02 17:12:45,226 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-12-02 17:12:45,227 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-12-02 17:12:45,228 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-12-02 17:12:45,229 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-12-02 17:12:45,229 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-12-02 17:12:45,230 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-12-02 17:12:45,231 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-12-02 17:12:45,231 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-12-02 17:12:45,231 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-12-02 17:12:45,232 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-12-02 17:12:45,233 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-12-02 17:12:45,233 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-12-02 17:12:45,233 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-12-02 17:12:45,234 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-12-02 17:12:45,234 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-12-02 17:12:45,234 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-12-02 17:12:45,235 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-12-02 17:12:45,235 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-12-02 17:12:45,235 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-12-02 17:12:45,235 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-12-02 17:12:45,236 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf [2018-12-02 17:12:45,243 INFO L110 SettingsManager]: Loading preferences was successful [2018-12-02 17:12:45,243 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-12-02 17:12:45,244 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-12-02 17:12:45,244 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-12-02 17:12:45,244 INFO L133 SettingsManager]: * User list type=DISABLED [2018-12-02 17:12:45,244 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2018-12-02 17:12:45,244 INFO L133 SettingsManager]: * Explicit value domain=true [2018-12-02 17:12:45,244 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2018-12-02 17:12:45,244 INFO L133 SettingsManager]: * Octagon Domain=false [2018-12-02 17:12:45,244 INFO L133 SettingsManager]: * Abstract domain=CompoundDomain [2018-12-02 17:12:45,245 INFO L133 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2018-12-02 17:12:45,245 INFO L133 SettingsManager]: * Use the RCFG-of-the-future interface=true [2018-12-02 17:12:45,245 INFO L133 SettingsManager]: * Interval Domain=false [2018-12-02 17:12:45,245 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-12-02 17:12:45,245 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-12-02 17:12:45,245 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-12-02 17:12:45,245 INFO L133 SettingsManager]: * sizeof long=4 [2018-12-02 17:12:45,245 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-12-02 17:12:45,246 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-12-02 17:12:45,246 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-12-02 17:12:45,246 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-12-02 17:12:45,246 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-12-02 17:12:45,246 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-12-02 17:12:45,246 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-12-02 17:12:45,246 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-12-02 17:12:45,246 INFO L133 SettingsManager]: * sizeof long double=12 [2018-12-02 17:12:45,246 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-12-02 17:12:45,246 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-12-02 17:12:45,247 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-12-02 17:12:45,247 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-12-02 17:12:45,247 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-12-02 17:12:45,247 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-12-02 17:12:45,247 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-12-02 17:12:45,247 INFO L133 SettingsManager]: * Trace refinement strategy=TAIPAN [2018-12-02 17:12:45,247 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-12-02 17:12:45,247 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-12-02 17:12:45,247 INFO L133 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_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/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 -> b2309dee6513434817ba1d849be751d9f31667bc [2018-12-02 17:12:45,264 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-12-02 17:12:45,271 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-12-02 17:12:45,273 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-12-02 17:12:45,274 INFO L271 PluginConnector]: Initializing CDTParser... [2018-12-02 17:12:45,274 INFO L276 PluginConnector]: CDTParser initialized [2018-12-02 17:12:45,274 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/../../sv-benchmarks/c/array-memsafety/cstrlen_unsafe_false-valid-deref.i [2018-12-02 17:12:45,306 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/data/a9e2db00e/a19b70aae7a74f0e84500dbf1fdb42ba/FLAG47d3aba18 [2018-12-02 17:12:45,752 INFO L307 CDTParser]: Found 1 translation units. [2018-12-02 17:12:45,752 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/sv-benchmarks/c/array-memsafety/cstrlen_unsafe_false-valid-deref.i [2018-12-02 17:12:45,757 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/data/a9e2db00e/a19b70aae7a74f0e84500dbf1fdb42ba/FLAG47d3aba18 [2018-12-02 17:12:45,766 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/data/a9e2db00e/a19b70aae7a74f0e84500dbf1fdb42ba [2018-12-02 17:12:45,768 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-12-02 17:12:45,769 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-12-02 17:12:45,769 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-12-02 17:12:45,769 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-12-02 17:12:45,771 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-12-02 17:12:45,772 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 05:12:45" (1/1) ... [2018-12-02 17:12:45,773 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@75dc6678 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:45, skipping insertion in model container [2018-12-02 17:12:45,773 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.12 05:12:45" (1/1) ... [2018-12-02 17:12:45,777 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-12-02 17:12:45,800 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-12-02 17:12:45,949 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-12-02 17:12:45,955 INFO L191 MainTranslator]: Completed pre-run [2018-12-02 17:12:46,007 INFO L203 PostProcessor]: Analyzing one entry point: main [2018-12-02 17:12:46,027 INFO L195 MainTranslator]: Completed translation [2018-12-02 17:12:46,027 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46 WrapperNode [2018-12-02 17:12:46,027 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-12-02 17:12:46,027 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-12-02 17:12:46,027 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-12-02 17:12:46,027 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-12-02 17:12:46,032 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (1/1) ... [2018-12-02 17:12:46,040 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (1/1) ... [2018-12-02 17:12:46,044 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-12-02 17:12:46,045 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-12-02 17:12:46,045 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-12-02 17:12:46,045 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-12-02 17:12:46,050 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (1/1) ... [2018-12-02 17:12:46,050 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (1/1) ... [2018-12-02 17:12:46,051 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (1/1) ... [2018-12-02 17:12:46,052 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (1/1) ... [2018-12-02 17:12:46,056 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (1/1) ... [2018-12-02 17:12:46,058 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (1/1) ... [2018-12-02 17:12:46,059 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (1/1) ... [2018-12-02 17:12:46,060 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-12-02 17:12:46,060 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-12-02 17:12:46,060 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-12-02 17:12:46,060 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-12-02 17:12:46,061 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/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 [2018-12-02 17:12:46,091 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-12-02 17:12:46,092 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-12-02 17:12:46,092 INFO L130 BoogieDeclarations]: Found specification of procedure build_nondet_String [2018-12-02 17:12:46,092 INFO L138 BoogieDeclarations]: Found implementation of procedure build_nondet_String [2018-12-02 17:12:46,092 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-12-02 17:12:46,092 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-12-02 17:12:46,092 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-12-02 17:12:46,092 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-12-02 17:12:46,092 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-12-02 17:12:46,092 INFO L130 BoogieDeclarations]: Found specification of procedure cstrlen [2018-12-02 17:12:46,092 INFO L138 BoogieDeclarations]: Found implementation of procedure cstrlen [2018-12-02 17:12:46,092 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-12-02 17:12:46,092 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-12-02 17:12:46,092 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-12-02 17:12:46,210 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-12-02 17:12:46,210 INFO L280 CfgBuilder]: Removed 1 assue(true) statements. [2018-12-02 17:12:46,210 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 05:12:46 BoogieIcfgContainer [2018-12-02 17:12:46,210 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-12-02 17:12:46,211 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-12-02 17:12:46,211 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-12-02 17:12:46,213 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-12-02 17:12:46,213 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 02.12 05:12:45" (1/3) ... [2018-12-02 17:12:46,213 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7c03f0a8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 02.12 05:12:46, skipping insertion in model container [2018-12-02 17:12:46,214 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.12 05:12:46" (2/3) ... [2018-12-02 17:12:46,214 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7c03f0a8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 02.12 05:12:46, skipping insertion in model container [2018-12-02 17:12:46,214 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 05:12:46" (3/3) ... [2018-12-02 17:12:46,215 INFO L112 eAbstractionObserver]: Analyzing ICFG cstrlen_unsafe_false-valid-deref.i [2018-12-02 17:12:46,221 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-12-02 17:12:46,226 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 7 error locations. [2018-12-02 17:12:46,236 INFO L257 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2018-12-02 17:12:46,251 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-12-02 17:12:46,251 INFO L383 AbstractCegarLoop]: Hoare is false [2018-12-02 17:12:46,251 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-12-02 17:12:46,251 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-12-02 17:12:46,251 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-12-02 17:12:46,252 INFO L387 AbstractCegarLoop]: Difference is false [2018-12-02 17:12:46,252 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-12-02 17:12:46,252 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-12-02 17:12:46,260 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states. [2018-12-02 17:12:46,265 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2018-12-02 17:12:46,265 INFO L394 BasicCegarLoop]: Found error trace [2018-12-02 17:12:46,266 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-02 17:12:46,267 INFO L423 AbstractCegarLoop]: === Iteration 1 === [build_nondet_StringErr1REQUIRES_VIOLATION, build_nondet_StringErr0REQUIRES_VIOLATION, cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE]=== [2018-12-02 17:12:46,271 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-02 17:12:46,271 INFO L82 PathProgramCache]: Analyzing trace with hash -1160822872, now seen corresponding path program 1 times [2018-12-02 17:12:46,272 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-12-02 17:12:46,303 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,303 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-02 17:12:46,303 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,303 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-12-02 17:12:46,332 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-02 17:12:46,368 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-02 17:12:46,369 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-02 17:12:46,369 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-12-02 17:12:46,370 INFO L256 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-12-02 17:12:46,372 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-12-02 17:12:46,380 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-12-02 17:12:46,380 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-12-02 17:12:46,382 INFO L87 Difference]: Start difference. First operand 35 states. Second operand 3 states. [2018-12-02 17:12:46,415 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-02 17:12:46,415 INFO L93 Difference]: Finished difference Result 34 states and 35 transitions. [2018-12-02 17:12:46,415 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-12-02 17:12:46,416 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 10 [2018-12-02 17:12:46,416 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-02 17:12:46,421 INFO L225 Difference]: With dead ends: 34 [2018-12-02 17:12:46,421 INFO L226 Difference]: Without dead ends: 31 [2018-12-02 17:12:46,422 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-12-02 17:12:46,432 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 31 states. [2018-12-02 17:12:46,441 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 31 to 31. [2018-12-02 17:12:46,441 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 31 states. [2018-12-02 17:12:46,442 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 31 states and 32 transitions. [2018-12-02 17:12:46,443 INFO L78 Accepts]: Start accepts. Automaton has 31 states and 32 transitions. Word has length 10 [2018-12-02 17:12:46,443 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-02 17:12:46,443 INFO L480 AbstractCegarLoop]: Abstraction has 31 states and 32 transitions. [2018-12-02 17:12:46,443 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-12-02 17:12:46,443 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 32 transitions. [2018-12-02 17:12:46,443 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2018-12-02 17:12:46,443 INFO L394 BasicCegarLoop]: Found error trace [2018-12-02 17:12:46,443 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-02 17:12:46,444 INFO L423 AbstractCegarLoop]: === Iteration 2 === [build_nondet_StringErr1REQUIRES_VIOLATION, build_nondet_StringErr0REQUIRES_VIOLATION, cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE]=== [2018-12-02 17:12:46,444 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-02 17:12:46,444 INFO L82 PathProgramCache]: Analyzing trace with hash -1160822871, now seen corresponding path program 1 times [2018-12-02 17:12:46,444 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-12-02 17:12:46,444 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,444 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-02 17:12:46,445 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,445 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-12-02 17:12:46,452 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-02 17:12:46,491 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-02 17:12:46,492 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-02 17:12:46,492 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-12-02 17:12:46,492 INFO L256 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-12-02 17:12:46,493 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-12-02 17:12:46,493 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-12-02 17:12:46,493 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-12-02 17:12:46,493 INFO L87 Difference]: Start difference. First operand 31 states and 32 transitions. Second operand 4 states. [2018-12-02 17:12:46,503 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-02 17:12:46,503 INFO L93 Difference]: Finished difference Result 30 states and 31 transitions. [2018-12-02 17:12:46,503 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-12-02 17:12:46,504 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 10 [2018-12-02 17:12:46,504 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-02 17:12:46,504 INFO L225 Difference]: With dead ends: 30 [2018-12-02 17:12:46,504 INFO L226 Difference]: Without dead ends: 30 [2018-12-02 17:12:46,504 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-12-02 17:12:46,505 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states. [2018-12-02 17:12:46,506 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 30. [2018-12-02 17:12:46,506 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 30 states. [2018-12-02 17:12:46,507 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 30 states and 31 transitions. [2018-12-02 17:12:46,507 INFO L78 Accepts]: Start accepts. Automaton has 30 states and 31 transitions. Word has length 10 [2018-12-02 17:12:46,507 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-02 17:12:46,507 INFO L480 AbstractCegarLoop]: Abstraction has 30 states and 31 transitions. [2018-12-02 17:12:46,507 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-12-02 17:12:46,507 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 31 transitions. [2018-12-02 17:12:46,507 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-12-02 17:12:46,507 INFO L394 BasicCegarLoop]: Found error trace [2018-12-02 17:12:46,507 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-02 17:12:46,508 INFO L423 AbstractCegarLoop]: === Iteration 3 === [build_nondet_StringErr1REQUIRES_VIOLATION, build_nondet_StringErr0REQUIRES_VIOLATION, cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE]=== [2018-12-02 17:12:46,508 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-02 17:12:46,508 INFO L82 PathProgramCache]: Analyzing trace with hash -645980352, now seen corresponding path program 1 times [2018-12-02 17:12:46,508 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-12-02 17:12:46,508 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,509 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-02 17:12:46,509 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,509 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-12-02 17:12:46,517 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-02 17:12:46,554 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-02 17:12:46,554 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-02 17:12:46,555 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2018-12-02 17:12:46,555 INFO L256 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-12-02 17:12:46,555 INFO L459 AbstractCegarLoop]: Interpolant automaton has 8 states [2018-12-02 17:12:46,555 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-12-02 17:12:46,555 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2018-12-02 17:12:46,555 INFO L87 Difference]: Start difference. First operand 30 states and 31 transitions. Second operand 8 states. [2018-12-02 17:12:46,606 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-02 17:12:46,606 INFO L93 Difference]: Finished difference Result 28 states and 29 transitions. [2018-12-02 17:12:46,606 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2018-12-02 17:12:46,606 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 17 [2018-12-02 17:12:46,606 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-02 17:12:46,607 INFO L225 Difference]: With dead ends: 28 [2018-12-02 17:12:46,607 INFO L226 Difference]: Without dead ends: 28 [2018-12-02 17:12:46,607 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 9 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=21, Invalid=69, Unknown=0, NotChecked=0, Total=90 [2018-12-02 17:12:46,607 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 28 states. [2018-12-02 17:12:46,608 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 28 to 28. [2018-12-02 17:12:46,608 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 28 states. [2018-12-02 17:12:46,609 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 28 states and 29 transitions. [2018-12-02 17:12:46,609 INFO L78 Accepts]: Start accepts. Automaton has 28 states and 29 transitions. Word has length 17 [2018-12-02 17:12:46,609 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-02 17:12:46,609 INFO L480 AbstractCegarLoop]: Abstraction has 28 states and 29 transitions. [2018-12-02 17:12:46,609 INFO L481 AbstractCegarLoop]: Interpolant automaton has 8 states. [2018-12-02 17:12:46,609 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 29 transitions. [2018-12-02 17:12:46,609 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-12-02 17:12:46,610 INFO L394 BasicCegarLoop]: Found error trace [2018-12-02 17:12:46,610 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-02 17:12:46,610 INFO L423 AbstractCegarLoop]: === Iteration 4 === [build_nondet_StringErr1REQUIRES_VIOLATION, build_nondet_StringErr0REQUIRES_VIOLATION, cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE]=== [2018-12-02 17:12:46,610 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-02 17:12:46,610 INFO L82 PathProgramCache]: Analyzing trace with hash -645980351, now seen corresponding path program 1 times [2018-12-02 17:12:46,610 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-12-02 17:12:46,611 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,611 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-02 17:12:46,611 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,611 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-12-02 17:12:46,618 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-02 17:12:46,699 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-02 17:12:46,699 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-02 17:12:46,700 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [9] imperfect sequences [] total 9 [2018-12-02 17:12:46,700 INFO L256 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-12-02 17:12:46,700 INFO L459 AbstractCegarLoop]: Interpolant automaton has 10 states [2018-12-02 17:12:46,700 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2018-12-02 17:12:46,700 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=19, Invalid=71, Unknown=0, NotChecked=0, Total=90 [2018-12-02 17:12:46,701 INFO L87 Difference]: Start difference. First operand 28 states and 29 transitions. Second operand 10 states. [2018-12-02 17:12:46,760 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-02 17:12:46,760 INFO L93 Difference]: Finished difference Result 32 states and 34 transitions. [2018-12-02 17:12:46,760 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2018-12-02 17:12:46,760 INFO L78 Accepts]: Start accepts. Automaton has 10 states. Word has length 17 [2018-12-02 17:12:46,760 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-02 17:12:46,762 INFO L225 Difference]: With dead ends: 32 [2018-12-02 17:12:46,762 INFO L226 Difference]: Without dead ends: 32 [2018-12-02 17:12:46,762 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=29, Invalid=103, Unknown=0, NotChecked=0, Total=132 [2018-12-02 17:12:46,763 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 32 states. [2018-12-02 17:12:46,764 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 32 to 28. [2018-12-02 17:12:46,765 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 28 states. [2018-12-02 17:12:46,765 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 28 states and 29 transitions. [2018-12-02 17:12:46,765 INFO L78 Accepts]: Start accepts. Automaton has 28 states and 29 transitions. Word has length 17 [2018-12-02 17:12:46,765 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-02 17:12:46,765 INFO L480 AbstractCegarLoop]: Abstraction has 28 states and 29 transitions. [2018-12-02 17:12:46,765 INFO L481 AbstractCegarLoop]: Interpolant automaton has 10 states. [2018-12-02 17:12:46,765 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 29 transitions. [2018-12-02 17:12:46,766 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2018-12-02 17:12:46,766 INFO L394 BasicCegarLoop]: Found error trace [2018-12-02 17:12:46,766 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-02 17:12:46,766 INFO L423 AbstractCegarLoop]: === Iteration 5 === [build_nondet_StringErr1REQUIRES_VIOLATION, build_nondet_StringErr0REQUIRES_VIOLATION, cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE]=== [2018-12-02 17:12:46,766 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-02 17:12:46,766 INFO L82 PathProgramCache]: Analyzing trace with hash 1983139546, now seen corresponding path program 1 times [2018-12-02 17:12:46,766 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-12-02 17:12:46,767 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,767 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-02 17:12:46,767 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,767 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-12-02 17:12:46,774 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-12-02 17:12:46,849 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-12-02 17:12:46,849 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-12-02 17:12:46,849 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [11] imperfect sequences [] total 11 [2018-12-02 17:12:46,849 INFO L256 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-12-02 17:12:46,849 INFO L459 AbstractCegarLoop]: Interpolant automaton has 11 states [2018-12-02 17:12:46,850 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 11 interpolants. [2018-12-02 17:12:46,850 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=90, Unknown=0, NotChecked=0, Total=110 [2018-12-02 17:12:46,850 INFO L87 Difference]: Start difference. First operand 28 states and 29 transitions. Second operand 11 states. [2018-12-02 17:12:46,945 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-12-02 17:12:46,946 INFO L93 Difference]: Finished difference Result 46 states and 46 transitions. [2018-12-02 17:12:46,946 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 11 states. [2018-12-02 17:12:46,946 INFO L78 Accepts]: Start accepts. Automaton has 11 states. Word has length 19 [2018-12-02 17:12:46,946 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-12-02 17:12:46,947 INFO L225 Difference]: With dead ends: 46 [2018-12-02 17:12:46,947 INFO L226 Difference]: Without dead ends: 46 [2018-12-02 17:12:46,947 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 15 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 13 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=42, Invalid=168, Unknown=0, NotChecked=0, Total=210 [2018-12-02 17:12:46,948 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 46 states. [2018-12-02 17:12:46,950 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 46 to 41. [2018-12-02 17:12:46,951 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 41 states. [2018-12-02 17:12:46,951 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 41 states to 41 states and 42 transitions. [2018-12-02 17:12:46,951 INFO L78 Accepts]: Start accepts. Automaton has 41 states and 42 transitions. Word has length 19 [2018-12-02 17:12:46,952 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-12-02 17:12:46,952 INFO L480 AbstractCegarLoop]: Abstraction has 41 states and 42 transitions. [2018-12-02 17:12:46,952 INFO L481 AbstractCegarLoop]: Interpolant automaton has 11 states. [2018-12-02 17:12:46,952 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 42 transitions. [2018-12-02 17:12:46,952 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2018-12-02 17:12:46,952 INFO L394 BasicCegarLoop]: Found error trace [2018-12-02 17:12:46,953 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-12-02 17:12:46,953 INFO L423 AbstractCegarLoop]: === Iteration 6 === [build_nondet_StringErr1REQUIRES_VIOLATION, build_nondet_StringErr0REQUIRES_VIOLATION, cstrlenErr1REQUIRES_VIOLATION, cstrlenErr0REQUIRES_VIOLATION, mainErr0ASSERT_VIOLATIONMEMORY_FREE, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr1ASSERT_VIOLATIONMEMORY_FREE]=== [2018-12-02 17:12:46,953 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-12-02 17:12:46,953 INFO L82 PathProgramCache]: Analyzing trace with hash -2053662312, now seen corresponding path program 1 times [2018-12-02 17:12:46,953 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-12-02 17:12:46,954 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,954 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-12-02 17:12:46,954 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-12-02 17:12:46,954 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-12-02 17:12:46,966 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-12-02 17:12:46,978 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-12-02 17:12:46,991 INFO L469 BasicCegarLoop]: Counterexample might be feasible [2018-12-02 17:12:47,007 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 02.12 05:12:47 BoogieIcfgContainer [2018-12-02 17:12:47,007 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-12-02 17:12:47,008 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-12-02 17:12:47,008 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-12-02 17:12:47,008 INFO L276 PluginConnector]: Witness Printer initialized [2018-12-02 17:12:47,008 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.12 05:12:46" (3/4) ... [2018-12-02 17:12:47,010 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample [2018-12-02 17:12:47,035 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_b3e5959d-f089-434f-a073-9b28c4198b7c/bin-2019/utaipan/witness.graphml [2018-12-02 17:12:47,035 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-12-02 17:12:47,035 INFO L168 Benchmark]: Toolchain (without parser) took 1267.12 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 132.1 MB). Free memory was 953.5 MB in the beginning and 948.8 MB in the end (delta: 4.7 MB). Peak memory consumption was 136.8 MB. Max. memory is 11.5 GB. [2018-12-02 17:12:47,036 INFO L168 Benchmark]: CDTParser took 0.11 ms. Allocated memory is still 1.0 GB. Free memory is still 978.7 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-12-02 17:12:47,036 INFO L168 Benchmark]: CACSL2BoogieTranslator took 257.84 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 132.1 MB). Free memory was 953.5 MB in the beginning and 1.1 GB in the end (delta: -163.0 MB). Peak memory consumption was 25.8 MB. Max. memory is 11.5 GB. [2018-12-02 17:12:47,037 INFO L168 Benchmark]: Boogie Procedure Inliner took 17.15 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-12-02 17:12:47,037 INFO L168 Benchmark]: Boogie Preprocessor took 15.57 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-12-02 17:12:47,037 INFO L168 Benchmark]: RCFGBuilder took 149.89 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: 18.3 MB). Peak memory consumption was 18.3 MB. Max. memory is 11.5 GB. [2018-12-02 17:12:47,037 INFO L168 Benchmark]: TraceAbstraction took 796.82 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 955.6 MB in the end (delta: 142.5 MB). Peak memory consumption was 142.5 MB. Max. memory is 11.5 GB. [2018-12-02 17:12:47,038 INFO L168 Benchmark]: Witness Printer took 27.28 ms. Allocated memory is still 1.2 GB. Free memory was 955.6 MB in the beginning and 948.8 MB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. [2018-12-02 17:12:47,039 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.11 ms. Allocated memory is still 1.0 GB. Free memory is still 978.7 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 257.84 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 132.1 MB). Free memory was 953.5 MB in the beginning and 1.1 GB in the end (delta: -163.0 MB). Peak memory consumption was 25.8 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 17.15 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 15.57 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 149.89 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: 18.3 MB). Peak memory consumption was 18.3 MB. Max. memory is 11.5 GB. * TraceAbstraction took 796.82 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 955.6 MB in the end (delta: 142.5 MB). Peak memory consumption was 142.5 MB. Max. memory is 11.5 GB. * Witness Printer took 27.28 ms. Allocated memory is still 1.2 GB. Free memory was 955.6 MB in the beginning and 948.8 MB in the end (delta: 6.8 MB). Peak memory consumption was 6.8 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 552]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L557] CALL, EXPR build_nondet_String() [L541] int length = __VERIFIER_nondet_int(); [L542] COND FALSE !(length < 1) VAL [length=2] [L545] char* nondetString = (char*) malloc(length * sizeof(char)); VAL [length=2, malloc(length * sizeof(char))={6:0}, nondetString={6:0}] [L546] nondetString[length-1] = '\0' VAL [length=2, malloc(length * sizeof(char))={6:0}, nondetString={6:0}] [L547] return nondetString; VAL [\result={6:0}, length=2, malloc(length * sizeof(char))={6:0}, nondetString={6:0}] [L557] RET, EXPR build_nondet_String() VAL [build_nondet_String()={6:0}] [L557] char* p = build_nondet_String(); [L558] CALL cstrlen(p) VAL [s={6:0}] [L551] const char *p = s; VAL [p={6:0}, s={6:0}, s={6:0}] [L552] EXPR \read(*p) VAL [\read(*p)=4, p={6:0}, s={6:0}, s={6:0}] [L552] COND TRUE *p != '\0' [L553] p = p+2 VAL [p={6:2}, s={6:0}, s={6:0}] [L552] \read(*p) - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 35 locations, 7 error locations. UNSAFE Result, 0.7s OverallTime, 6 OverallIterations, 1 TraceHistogramMax, 0.2s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 114 SDtfs, 73 SDslu, 346 SDs, 0 SdLazy, 297 SolverSat, 11 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 40 GetRequests, 6 SyntacticMatches, 0 SemanticMatches, 34 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 27 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=41occurred in iteration=5, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 5 MinimizatonAttempts, 9 StatesRemovedByMinimization, 2 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 92 NumberOfCodeBlocks, 92 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 68 ConstructedInterpolants, 0 QuantifiedInterpolants, 3837 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 5 PerfectInterpolantSequences, 1/1 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...