./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/memsafety-ext3/derefAfterFree2.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 5fbdf5bf Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/memsafety-ext3/derefAfterFree2.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 44834c55142a76240cb3980fc2bb6f5aeaa27c83 ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 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.2.1-wip.dd.seqcomp-5fbdf5b [2021-08-30 19:12:24,236 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-08-30 19:12:24,239 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-08-30 19:12:24,285 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-08-30 19:12:24,286 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-08-30 19:12:24,289 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-08-30 19:12:24,290 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-08-30 19:12:24,295 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-08-30 19:12:24,298 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-08-30 19:12:24,302 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-08-30 19:12:24,303 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-08-30 19:12:24,307 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-08-30 19:12:24,308 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-08-30 19:12:24,310 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-08-30 19:12:24,312 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-08-30 19:12:24,315 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-08-30 19:12:24,317 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-08-30 19:12:24,317 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-08-30 19:12:24,320 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-08-30 19:12:24,326 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-08-30 19:12:24,327 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-08-30 19:12:24,328 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-08-30 19:12:24,330 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-08-30 19:12:24,331 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-08-30 19:12:24,337 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-08-30 19:12:24,338 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-08-30 19:12:24,338 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-08-30 19:12:24,340 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-08-30 19:12:24,341 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-08-30 19:12:24,341 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-08-30 19:12:24,342 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-08-30 19:12:24,342 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-08-30 19:12:24,344 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-08-30 19:12:24,346 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-08-30 19:12:24,348 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-08-30 19:12:24,348 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-08-30 19:12:24,349 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-08-30 19:12:24,349 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-08-30 19:12:24,349 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-08-30 19:12:24,351 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-08-30 19:12:24,351 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-08-30 19:12:24,355 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2021-08-30 19:12:24,392 INFO L113 SettingsManager]: Loading preferences was successful [2021-08-30 19:12:24,393 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-08-30 19:12:24,394 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-08-30 19:12:24,394 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-08-30 19:12:24,396 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-08-30 19:12:24,396 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-08-30 19:12:24,397 INFO L138 SettingsManager]: * Use SBE=true [2021-08-30 19:12:24,397 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-08-30 19:12:24,397 INFO L138 SettingsManager]: * sizeof long=4 [2021-08-30 19:12:24,397 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-08-30 19:12:24,398 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-08-30 19:12:24,399 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-08-30 19:12:24,399 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-08-30 19:12:24,399 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2021-08-30 19:12:24,399 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2021-08-30 19:12:24,399 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2021-08-30 19:12:24,400 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-08-30 19:12:24,400 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2021-08-30 19:12:24,400 INFO L138 SettingsManager]: * sizeof long double=12 [2021-08-30 19:12:24,400 INFO L138 SettingsManager]: * Use constant arrays=true [2021-08-30 19:12:24,401 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-08-30 19:12:24,401 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-08-30 19:12:24,401 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-08-30 19:12:24,401 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-08-30 19:12:24,401 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-08-30 19:12:24,402 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-08-30 19:12:24,402 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-08-30 19:12:24,402 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-08-30 19:12:24,402 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-08-30 19:12:24,402 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 44834c55142a76240cb3980fc2bb6f5aeaa27c83 [2021-08-30 19:12:24,775 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-08-30 19:12:24,800 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-08-30 19:12:24,802 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-08-30 19:12:24,804 INFO L271 PluginConnector]: Initializing CDTParser... [2021-08-30 19:12:24,805 INFO L275 PluginConnector]: CDTParser initialized [2021-08-30 19:12:24,807 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety-ext3/derefAfterFree2.c [2021-08-30 19:12:24,870 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a80277b0a/d2680faab6d949289be255c990251528/FLAGa27589ea0 [2021-08-30 19:12:25,314 INFO L306 CDTParser]: Found 1 translation units. [2021-08-30 19:12:25,314 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety-ext3/derefAfterFree2.c [2021-08-30 19:12:25,320 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a80277b0a/d2680faab6d949289be255c990251528/FLAGa27589ea0 [2021-08-30 19:12:25,727 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a80277b0a/d2680faab6d949289be255c990251528 [2021-08-30 19:12:25,731 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-08-30 19:12:25,733 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2021-08-30 19:12:25,737 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-08-30 19:12:25,737 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-08-30 19:12:25,740 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-08-30 19:12:25,741 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.08 07:12:25" (1/1) ... [2021-08-30 19:12:25,743 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3223f9b5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25, skipping insertion in model container [2021-08-30 19:12:25,743 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.08 07:12:25" (1/1) ... [2021-08-30 19:12:25,750 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-08-30 19:12:25,761 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-08-30 19:12:25,868 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-30 19:12:25,880 INFO L203 MainTranslator]: Completed pre-run [2021-08-30 19:12:25,890 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-30 19:12:25,902 INFO L208 MainTranslator]: Completed translation [2021-08-30 19:12:25,903 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25 WrapperNode [2021-08-30 19:12:25,903 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-08-30 19:12:25,904 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-08-30 19:12:25,904 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-08-30 19:12:25,904 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-08-30 19:12:25,913 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25" (1/1) ... [2021-08-30 19:12:25,914 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25" (1/1) ... [2021-08-30 19:12:25,919 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25" (1/1) ... [2021-08-30 19:12:25,919 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25" (1/1) ... [2021-08-30 19:12:25,924 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25" (1/1) ... [2021-08-30 19:12:25,927 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25" (1/1) ... [2021-08-30 19:12:25,928 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25" (1/1) ... [2021-08-30 19:12:25,929 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-08-30 19:12:25,930 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-08-30 19:12:25,930 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-08-30 19:12:25,931 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-08-30 19:12:25,950 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25" (1/1) ... [2021-08-30 19:12:25,969 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-08-30 19:12:25,987 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-30 19:12:26,011 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2021-08-30 19:12:26,037 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2021-08-30 19:12:26,054 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2021-08-30 19:12:26,054 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-08-30 19:12:26,055 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2021-08-30 19:12:26,055 INFO L130 BoogieDeclarations]: Found specification of procedure free [2021-08-30 19:12:26,055 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2021-08-30 19:12:26,055 INFO L130 BoogieDeclarations]: Found specification of procedure main [2021-08-30 19:12:26,055 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-08-30 19:12:26,056 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-08-30 19:12:26,057 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-08-30 19:12:26,057 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2021-08-30 19:12:26,057 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-08-30 19:12:26,058 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-08-30 19:12:26,221 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-08-30 19:12:26,222 INFO L299 CfgBuilder]: Removed 1 assume(true) statements. [2021-08-30 19:12:26,223 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.08 07:12:26 BoogieIcfgContainer [2021-08-30 19:12:26,224 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-08-30 19:12:26,226 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2021-08-30 19:12:26,226 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2021-08-30 19:12:26,229 INFO L275 PluginConnector]: TraceAbstraction initialized [2021-08-30 19:12:26,230 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 30.08 07:12:25" (1/3) ... [2021-08-30 19:12:26,231 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@18ad976a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 30.08 07:12:26, skipping insertion in model container [2021-08-30 19:12:26,231 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:25" (2/3) ... [2021-08-30 19:12:26,231 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@18ad976a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 30.08 07:12:26, skipping insertion in model container [2021-08-30 19:12:26,231 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.08 07:12:26" (3/3) ... [2021-08-30 19:12:26,233 INFO L111 eAbstractionObserver]: Analyzing ICFG derefAfterFree2.c [2021-08-30 19:12:26,239 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2021-08-30 19:12:26,239 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2021-08-30 19:12:26,287 INFO L338 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2021-08-30 19:12:26,296 INFO L339 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mConcurrency=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mLoopAccelerationTechnique=FAST_UPR [2021-08-30 19:12:26,297 INFO L340 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2021-08-30 19:12:26,315 INFO L276 IsEmpty]: Start isEmpty. Operand has 24 states, 13 states have (on average 1.6923076923076923) internal successors, (22), 19 states have internal predecessors, (22), 2 states have call successors, (2), 2 states have call predecessors, (2), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2021-08-30 19:12:26,326 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2021-08-30 19:12:26,326 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:26,326 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:26,327 INFO L402 AbstractCegarLoop]: === Iteration 1 === Targeting mainErr1REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-30 19:12:26,331 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:26,331 INFO L82 PathProgramCache]: Analyzing trace with hash 868112163, now seen corresponding path program 1 times [2021-08-30 19:12:26,337 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:26,338 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [370732692] [2021-08-30 19:12:26,338 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:26,339 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:26,434 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:26,606 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:26,608 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:26,614 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:26,615 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:26,615 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [370732692] [2021-08-30 19:12:26,616 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [370732692] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-30 19:12:26,616 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-30 19:12:26,616 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-30 19:12:26,634 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [308484578] [2021-08-30 19:12:26,638 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2021-08-30 19:12:26,638 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:26,678 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-30 19:12:26,679 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:26,681 INFO L87 Difference]: Start difference. First operand has 24 states, 13 states have (on average 1.6923076923076923) internal successors, (22), 19 states have internal predecessors, (22), 2 states have call successors, (2), 2 states have call predecessors, (2), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) Second operand has 4 states, 3 states have (on average 1.6666666666666667) internal successors, (5), 3 states have internal predecessors, (5), 1 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:26,780 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:26,781 INFO L93 Difference]: Finished difference Result 29 states and 30 transitions. [2021-08-30 19:12:26,782 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-30 19:12:26,783 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 1.6666666666666667) internal successors, (5), 3 states have internal predecessors, (5), 1 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 8 [2021-08-30 19:12:26,783 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:26,789 INFO L225 Difference]: With dead ends: 29 [2021-08-30 19:12:26,789 INFO L226 Difference]: Without dead ends: 26 [2021-08-30 19:12:26,792 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 38.25ms TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:26,798 INFO L928 BasicCegarLoop]: 4 mSDtfsCounter, 3 mSDsluCounter, 12 mSDsCounter, 0 mSdLazyCounter, 62 mSolverCounterSat, 4 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 62.33ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 3 SdHoareTripleChecker+Valid, 9 SdHoareTripleChecker+Invalid, 66 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 2.03ms SdHoareTripleChecker+Time, 4 IncrementalHoareTripleChecker+Valid, 62 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 77.76ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:26,800 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [3 Valid, 9 Invalid, 66 Unknown, 0 Unchecked, 2.03ms Time], IncrementalHoareTripleChecker [4 Valid, 62 Invalid, 0 Unknown, 0 Unchecked, 77.76ms Time] [2021-08-30 19:12:26,814 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2021-08-30 19:12:26,825 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 24. [2021-08-30 19:12:26,827 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 24 states, 15 states have (on average 1.5333333333333334) internal successors, (23), 20 states have internal predecessors, (23), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:26,829 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 26 transitions. [2021-08-30 19:12:26,830 INFO L78 Accepts]: Start accepts. Automaton has 24 states and 26 transitions. Word has length 8 [2021-08-30 19:12:26,831 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:26,831 INFO L470 AbstractCegarLoop]: Abstraction has 24 states and 26 transitions. [2021-08-30 19:12:26,831 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 1.6666666666666667) internal successors, (5), 3 states have internal predecessors, (5), 1 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:26,831 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 26 transitions. [2021-08-30 19:12:26,832 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2021-08-30 19:12:26,832 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:26,832 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:26,833 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2021-08-30 19:12:26,833 INFO L402 AbstractCegarLoop]: === Iteration 2 === Targeting mainErr0REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-30 19:12:26,836 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:26,837 INFO L82 PathProgramCache]: Analyzing trace with hash 868112162, now seen corresponding path program 1 times [2021-08-30 19:12:26,837 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:26,837 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1582791725] [2021-08-30 19:12:26,838 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:26,838 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:26,875 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:26,901 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:26,904 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:26,912 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:26,913 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:26,913 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1582791725] [2021-08-30 19:12:26,914 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1582791725] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-30 19:12:26,914 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-30 19:12:26,914 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-30 19:12:26,914 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1607863472] [2021-08-30 19:12:26,915 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2021-08-30 19:12:26,916 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:26,917 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-30 19:12:26,917 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:26,917 INFO L87 Difference]: Start difference. First operand 24 states and 26 transitions. Second operand has 4 states, 3 states have (on average 1.6666666666666667) internal successors, (5), 3 states have internal predecessors, (5), 1 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:26,994 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:26,995 INFO L93 Difference]: Finished difference Result 30 states and 31 transitions. [2021-08-30 19:12:26,995 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-30 19:12:26,996 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 1.6666666666666667) internal successors, (5), 3 states have internal predecessors, (5), 1 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 8 [2021-08-30 19:12:26,996 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:26,997 INFO L225 Difference]: With dead ends: 30 [2021-08-30 19:12:27,002 INFO L226 Difference]: Without dead ends: 30 [2021-08-30 19:12:27,003 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 12.11ms TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:27,004 INFO L928 BasicCegarLoop]: 3 mSDtfsCounter, 12 mSDsluCounter, 10 mSDsCounter, 0 mSdLazyCounter, 46 mSolverCounterSat, 3 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 55.78ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 12 SdHoareTripleChecker+Valid, 7 SdHoareTripleChecker+Invalid, 49 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 1.49ms SdHoareTripleChecker+Time, 3 IncrementalHoareTripleChecker+Valid, 46 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 68.00ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:27,004 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [12 Valid, 7 Invalid, 49 Unknown, 0 Unchecked, 1.49ms Time], IncrementalHoareTripleChecker [3 Valid, 46 Invalid, 0 Unknown, 0 Unchecked, 68.00ms Time] [2021-08-30 19:12:27,006 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states. [2021-08-30 19:12:27,009 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 26. [2021-08-30 19:12:27,010 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 26 states, 18 states have (on average 1.4444444444444444) internal successors, (26), 22 states have internal predecessors, (26), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:27,012 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 29 transitions. [2021-08-30 19:12:27,012 INFO L78 Accepts]: Start accepts. Automaton has 26 states and 29 transitions. Word has length 8 [2021-08-30 19:12:27,012 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:27,013 INFO L470 AbstractCegarLoop]: Abstraction has 26 states and 29 transitions. [2021-08-30 19:12:27,013 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 1.6666666666666667) internal successors, (5), 3 states have internal predecessors, (5), 1 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:27,013 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 29 transitions. [2021-08-30 19:12:27,014 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2021-08-30 19:12:27,014 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:27,014 INFO L513 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:27,014 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2021-08-30 19:12:27,014 INFO L402 AbstractCegarLoop]: === Iteration 3 === Targeting mainErr1REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-30 19:12:27,015 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:27,015 INFO L82 PathProgramCache]: Analyzing trace with hash -258436314, now seen corresponding path program 1 times [2021-08-30 19:12:27,016 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:27,016 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1007603548] [2021-08-30 19:12:27,017 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:27,018 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:27,028 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:27,134 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:27,136 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:27,140 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:27,140 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:27,140 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1007603548] [2021-08-30 19:12:27,141 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1007603548] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-30 19:12:27,141 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [457420435] [2021-08-30 19:12:27,141 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:27,141 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-30 19:12:27,142 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-30 19:12:27,143 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-08-30 19:12:27,152 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2021-08-30 19:12:27,183 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:27,184 INFO L263 TraceCheckSpWp]: Trace formula consists of 49 conjuncts, 8 conjunts are in the unsatisfiable core [2021-08-30 19:12:27,187 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-30 19:12:27,249 INFO L388 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2021-08-30 19:12:27,351 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:27,360 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2021-08-30 19:12:27,525 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:27,526 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [457420435] provided 0 perfect and 2 imperfect interpolant sequences [2021-08-30 19:12:27,526 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 3 imperfect interpolant sequences. [2021-08-30 19:12:27,526 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 3, 3] total 8 [2021-08-30 19:12:27,526 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1174835595] [2021-08-30 19:12:27,527 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2021-08-30 19:12:27,527 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:27,527 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2021-08-30 19:12:27,528 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=23, Invalid=49, Unknown=0, NotChecked=0, Total=72 [2021-08-30 19:12:27,528 INFO L87 Difference]: Start difference. First operand 26 states and 29 transitions. Second operand has 9 states, 8 states have (on average 2.5) internal successors, (20), 8 states have internal predecessors, (20), 1 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:27,663 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:27,663 INFO L93 Difference]: Finished difference Result 34 states and 36 transitions. [2021-08-30 19:12:27,663 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2021-08-30 19:12:27,663 INFO L78 Accepts]: Start accepts. Automaton has has 9 states, 8 states have (on average 2.5) internal successors, (20), 8 states have internal predecessors, (20), 1 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 12 [2021-08-30 19:12:27,664 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:27,664 INFO L225 Difference]: With dead ends: 34 [2021-08-30 19:12:27,664 INFO L226 Difference]: Without dead ends: 34 [2021-08-30 19:12:27,665 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 30 GetRequests, 22 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 95.47ms TimeCoverageRelationStatistics Valid=30, Invalid=60, Unknown=0, NotChecked=0, Total=90 [2021-08-30 19:12:27,666 INFO L928 BasicCegarLoop]: 3 mSDtfsCounter, 38 mSDsluCounter, 32 mSDsCounter, 0 mSdLazyCounter, 101 mSolverCounterSat, 17 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 76.91ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 38 SdHoareTripleChecker+Valid, 19 SdHoareTripleChecker+Invalid, 118 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 2.26ms SdHoareTripleChecker+Time, 17 IncrementalHoareTripleChecker+Valid, 101 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 95.93ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:27,666 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [38 Valid, 19 Invalid, 118 Unknown, 0 Unchecked, 2.26ms Time], IncrementalHoareTripleChecker [17 Valid, 101 Invalid, 0 Unknown, 0 Unchecked, 95.93ms Time] [2021-08-30 19:12:27,667 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 34 states. [2021-08-30 19:12:27,669 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 34 to 34. [2021-08-30 19:12:27,670 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 34 states, 28 states have (on average 1.1785714285714286) internal successors, (33), 30 states have internal predecessors, (33), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:27,670 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 34 states and 36 transitions. [2021-08-30 19:12:27,670 INFO L78 Accepts]: Start accepts. Automaton has 34 states and 36 transitions. Word has length 12 [2021-08-30 19:12:27,671 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:27,671 INFO L470 AbstractCegarLoop]: Abstraction has 34 states and 36 transitions. [2021-08-30 19:12:27,671 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 8 states have (on average 2.5) internal successors, (20), 8 states have internal predecessors, (20), 1 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:27,671 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 36 transitions. [2021-08-30 19:12:27,672 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2021-08-30 19:12:27,672 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:27,672 INFO L513 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:27,708 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2021-08-30 19:12:27,903 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-30 19:12:27,903 INFO L402 AbstractCegarLoop]: === Iteration 4 === Targeting mainErr3ASSERT_VIOLATIONMEMORY_FREE === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-30 19:12:27,904 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:27,904 INFO L82 PathProgramCache]: Analyzing trace with hash 1666776813, now seen corresponding path program 1 times [2021-08-30 19:12:27,904 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:27,905 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1903498832] [2021-08-30 19:12:27,905 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:27,905 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:27,916 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:27,941 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:27,943 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:27,946 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 10 trivial. 0 not checked. [2021-08-30 19:12:27,947 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:27,947 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1903498832] [2021-08-30 19:12:27,947 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1903498832] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-30 19:12:27,948 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-30 19:12:27,948 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-30 19:12:27,948 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [138834659] [2021-08-30 19:12:27,948 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2021-08-30 19:12:27,949 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:27,949 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-30 19:12:27,949 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:27,950 INFO L87 Difference]: Start difference. First operand 34 states and 36 transitions. Second operand has 4 states, 3 states have (on average 3.3333333333333335) internal successors, (10), 3 states have internal predecessors, (10), 1 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:27,972 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:27,973 INFO L93 Difference]: Finished difference Result 33 states and 35 transitions. [2021-08-30 19:12:27,973 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-30 19:12:27,973 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 3 states have (on average 3.3333333333333335) internal successors, (10), 3 states have internal predecessors, (10), 1 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 19 [2021-08-30 19:12:27,973 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:27,974 INFO L225 Difference]: With dead ends: 33 [2021-08-30 19:12:27,974 INFO L226 Difference]: Without dead ends: 33 [2021-08-30 19:12:27,975 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 7.58ms TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:27,976 INFO L928 BasicCegarLoop]: 3 mSDtfsCounter, 6 mSDsluCounter, 6 mSDsCounter, 0 mSdLazyCounter, 32 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 15.68ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 6 SdHoareTripleChecker+Valid, 7 SdHoareTripleChecker+Invalid, 33 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.49ms SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 32 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 19.76ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:27,976 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [6 Valid, 7 Invalid, 33 Unknown, 0 Unchecked, 0.49ms Time], IncrementalHoareTripleChecker [1 Valid, 32 Invalid, 0 Unknown, 0 Unchecked, 19.76ms Time] [2021-08-30 19:12:27,979 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 33 states. [2021-08-30 19:12:27,981 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 33 to 33. [2021-08-30 19:12:27,981 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 33 states, 28 states have (on average 1.1428571428571428) internal successors, (32), 29 states have internal predecessors, (32), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:27,982 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 33 states and 35 transitions. [2021-08-30 19:12:27,982 INFO L78 Accepts]: Start accepts. Automaton has 33 states and 35 transitions. Word has length 19 [2021-08-30 19:12:27,983 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:27,983 INFO L470 AbstractCegarLoop]: Abstraction has 33 states and 35 transitions. [2021-08-30 19:12:27,983 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 3.3333333333333335) internal successors, (10), 3 states have internal predecessors, (10), 1 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:27,983 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 35 transitions. [2021-08-30 19:12:27,984 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2021-08-30 19:12:27,984 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:27,984 INFO L513 BasicCegarLoop]: trace histogram [4, 3, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:27,984 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2021-08-30 19:12:27,984 INFO L402 AbstractCegarLoop]: === Iteration 5 === Targeting mainErr0REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-30 19:12:27,985 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:27,985 INFO L82 PathProgramCache]: Analyzing trace with hash -3169356, now seen corresponding path program 1 times [2021-08-30 19:12:27,985 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:27,985 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [932902445] [2021-08-30 19:12:27,985 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:27,985 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:27,999 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:28,050 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:28,054 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:28,058 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 8 proven. 10 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:28,058 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:28,058 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [932902445] [2021-08-30 19:12:28,058 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [932902445] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-30 19:12:28,058 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [540407114] [2021-08-30 19:12:28,059 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:28,059 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-30 19:12:28,059 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-30 19:12:28,060 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-08-30 19:12:28,079 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2021-08-30 19:12:28,100 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:28,101 INFO L263 TraceCheckSpWp]: Trace formula consists of 73 conjuncts, 4 conjunts are in the unsatisfiable core [2021-08-30 19:12:28,102 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-30 19:12:28,186 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 8 proven. 10 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:28,186 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2021-08-30 19:12:28,267 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 8 proven. 10 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:28,269 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [540407114] provided 0 perfect and 2 imperfect interpolant sequences [2021-08-30 19:12:28,270 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 3 imperfect interpolant sequences. [2021-08-30 19:12:28,271 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 5, 5] total 9 [2021-08-30 19:12:28,273 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [189011621] [2021-08-30 19:12:28,274 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2021-08-30 19:12:28,274 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:28,275 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2021-08-30 19:12:28,276 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=30, Invalid=42, Unknown=0, NotChecked=0, Total=72 [2021-08-30 19:12:28,276 INFO L87 Difference]: Start difference. First operand 33 states and 35 transitions. Second operand has 9 states, 9 states have (on average 4.0) internal successors, (36), 8 states have internal predecessors, (36), 1 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:28,342 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:28,342 INFO L93 Difference]: Finished difference Result 40 states and 41 transitions. [2021-08-30 19:12:28,342 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2021-08-30 19:12:28,342 INFO L78 Accepts]: Start accepts. Automaton has has 9 states, 9 states have (on average 4.0) internal successors, (36), 8 states have internal predecessors, (36), 1 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 23 [2021-08-30 19:12:28,343 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:28,343 INFO L225 Difference]: With dead ends: 40 [2021-08-30 19:12:28,343 INFO L226 Difference]: Without dead ends: 40 [2021-08-30 19:12:28,344 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 52 GetRequests, 44 SyntacticMatches, 1 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 12 ImplicationChecksByTransitivity, 32.45ms TimeCoverageRelationStatistics Valid=30, Invalid=42, Unknown=0, NotChecked=0, Total=72 [2021-08-30 19:12:28,345 INFO L928 BasicCegarLoop]: 3 mSDtfsCounter, 5 mSDsluCounter, 22 mSDsCounter, 0 mSdLazyCounter, 74 mSolverCounterSat, 4 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 45.56ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 5 SdHoareTripleChecker+Valid, 10 SdHoareTripleChecker+Invalid, 78 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 1.44ms SdHoareTripleChecker+Time, 4 IncrementalHoareTripleChecker+Valid, 74 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 58.49ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:28,345 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [5 Valid, 10 Invalid, 78 Unknown, 0 Unchecked, 1.44ms Time], IncrementalHoareTripleChecker [4 Valid, 74 Invalid, 0 Unknown, 0 Unchecked, 58.49ms Time] [2021-08-30 19:12:28,346 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 40 states. [2021-08-30 19:12:28,348 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 40 to 39. [2021-08-30 19:12:28,348 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 39 states, 34 states have (on average 1.088235294117647) internal successors, (37), 35 states have internal predecessors, (37), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:28,349 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 40 transitions. [2021-08-30 19:12:28,350 INFO L78 Accepts]: Start accepts. Automaton has 39 states and 40 transitions. Word has length 23 [2021-08-30 19:12:28,350 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:28,350 INFO L470 AbstractCegarLoop]: Abstraction has 39 states and 40 transitions. [2021-08-30 19:12:28,350 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 4.0) internal successors, (36), 8 states have internal predecessors, (36), 1 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:28,350 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 40 transitions. [2021-08-30 19:12:28,351 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2021-08-30 19:12:28,351 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:28,351 INFO L513 BasicCegarLoop]: trace histogram [5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:28,372 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2021-08-30 19:12:28,561 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4,3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-30 19:12:28,561 INFO L402 AbstractCegarLoop]: === Iteration 6 === Targeting mainErr5ENSURES_VIOLATIONMEMORY_LEAK === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-30 19:12:28,561 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:28,562 INFO L82 PathProgramCache]: Analyzing trace with hash -656098114, now seen corresponding path program 1 times [2021-08-30 19:12:28,562 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:28,562 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [932253754] [2021-08-30 19:12:28,562 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:28,562 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:28,580 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:28,642 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:28,643 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:28,653 INFO L134 CoverageAnalysis]: Checked inductivity of 45 backedges. 0 proven. 45 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:28,653 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:28,653 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [932253754] [2021-08-30 19:12:28,653 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [932253754] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-30 19:12:28,653 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [788778969] [2021-08-30 19:12:28,654 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:28,654 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-30 19:12:28,654 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-30 19:12:28,655 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-08-30 19:12:28,668 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2021-08-30 19:12:28,699 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:28,701 INFO L263 TraceCheckSpWp]: Trace formula consists of 87 conjuncts, 7 conjunts are in the unsatisfiable core [2021-08-30 19:12:28,702 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-30 19:12:28,790 INFO L134 CoverageAnalysis]: Checked inductivity of 45 backedges. 0 proven. 45 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:28,791 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2021-08-30 19:12:28,915 INFO L134 CoverageAnalysis]: Checked inductivity of 45 backedges. 0 proven. 45 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:28,915 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [788778969] provided 0 perfect and 2 imperfect interpolant sequences [2021-08-30 19:12:28,915 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 3 imperfect interpolant sequences. [2021-08-30 19:12:28,915 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 8, 8] total 14 [2021-08-30 19:12:28,915 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [915260589] [2021-08-30 19:12:28,917 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 14 states [2021-08-30 19:12:28,917 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:28,917 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 14 interpolants. [2021-08-30 19:12:28,919 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=80, Invalid=102, Unknown=0, NotChecked=0, Total=182 [2021-08-30 19:12:28,919 INFO L87 Difference]: Start difference. First operand 39 states and 40 transitions. Second operand has 14 states, 14 states have (on average 3.5714285714285716) internal successors, (50), 13 states have internal predecessors, (50), 1 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:29,011 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:29,012 INFO L93 Difference]: Finished difference Result 54 states and 59 transitions. [2021-08-30 19:12:29,012 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 13 states. [2021-08-30 19:12:29,012 INFO L78 Accepts]: Start accepts. Automaton has has 14 states, 14 states have (on average 3.5714285714285716) internal successors, (50), 13 states have internal predecessors, (50), 1 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 29 [2021-08-30 19:12:29,013 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:29,017 INFO L225 Difference]: With dead ends: 54 [2021-08-30 19:12:29,018 INFO L226 Difference]: Without dead ends: 54 [2021-08-30 19:12:29,020 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 67 GetRequests, 54 SyntacticMatches, 1 SemanticMatches, 12 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 27 ImplicationChecksByTransitivity, 72.13ms TimeCoverageRelationStatistics Valid=80, Invalid=102, Unknown=0, NotChecked=0, Total=182 [2021-08-30 19:12:29,024 INFO L928 BasicCegarLoop]: 3 mSDtfsCounter, 46 mSDsluCounter, 22 mSDsCounter, 0 mSdLazyCounter, 86 mSolverCounterSat, 15 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 57.59ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 46 SdHoareTripleChecker+Valid, 10 SdHoareTripleChecker+Invalid, 101 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 2.68ms SdHoareTripleChecker+Time, 15 IncrementalHoareTripleChecker+Valid, 86 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 73.19ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:29,025 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [46 Valid, 10 Invalid, 101 Unknown, 0 Unchecked, 2.68ms Time], IncrementalHoareTripleChecker [15 Valid, 86 Invalid, 0 Unknown, 0 Unchecked, 73.19ms Time] [2021-08-30 19:12:29,027 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 54 states. [2021-08-30 19:12:29,035 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 54 to 54. [2021-08-30 19:12:29,037 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 54 states, 49 states have (on average 1.1428571428571428) internal successors, (56), 50 states have internal predecessors, (56), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:29,040 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 54 states and 59 transitions. [2021-08-30 19:12:29,040 INFO L78 Accepts]: Start accepts. Automaton has 54 states and 59 transitions. Word has length 29 [2021-08-30 19:12:29,041 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:29,041 INFO L470 AbstractCegarLoop]: Abstraction has 54 states and 59 transitions. [2021-08-30 19:12:29,041 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 14 states, 14 states have (on average 3.5714285714285716) internal successors, (50), 13 states have internal predecessors, (50), 1 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:29,041 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states and 59 transitions. [2021-08-30 19:12:29,043 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 36 [2021-08-30 19:12:29,043 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:29,043 INFO L513 BasicCegarLoop]: trace histogram [7, 6, 6, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:29,072 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2021-08-30 19:12:29,262 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5,4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-30 19:12:29,263 INFO L402 AbstractCegarLoop]: === Iteration 7 === Targeting mainErr0REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-30 19:12:29,263 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:29,263 INFO L82 PathProgramCache]: Analyzing trace with hash 1037842699, now seen corresponding path program 2 times [2021-08-30 19:12:29,263 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:29,263 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [589862678] [2021-08-30 19:12:29,264 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:29,264 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:29,281 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-30 19:12:29,281 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-30 19:12:29,296 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-30 19:12:29,312 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-30 19:12:29,313 INFO L627 BasicCegarLoop]: Counterexample is feasible [2021-08-30 19:12:29,314 INFO L764 garLoopResultBuilder]: Registering result UNSAFE for location mainErr0REQUIRES_VIOLATION (5 of 6 remaining) [2021-08-30 19:12:29,315 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr1REQUIRES_VIOLATION (4 of 6 remaining) [2021-08-30 19:12:29,316 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr2ASSERT_VIOLATIONMEMORY_FREE (3 of 6 remaining) [2021-08-30 19:12:29,316 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr3ASSERT_VIOLATIONMEMORY_FREE (2 of 6 remaining) [2021-08-30 19:12:29,316 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr4ASSERT_VIOLATIONMEMORY_FREE (1 of 6 remaining) [2021-08-30 19:12:29,316 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr5ENSURES_VIOLATIONMEMORY_LEAK (0 of 6 remaining) [2021-08-30 19:12:29,316 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2021-08-30 19:12:29,322 INFO L179 ceAbstractionStarter]: Computing trace abstraction results [2021-08-30 19:12:29,344 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 30.08 07:12:29 BoogieIcfgContainer [2021-08-30 19:12:29,344 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2021-08-30 19:12:29,344 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-08-30 19:12:29,344 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-08-30 19:12:29,345 INFO L275 PluginConnector]: Witness Printer initialized [2021-08-30 19:12:29,345 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.08 07:12:26" (3/4) ... [2021-08-30 19:12:29,347 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2021-08-30 19:12:29,384 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-08-30 19:12:29,384 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-08-30 19:12:29,385 INFO L158 Benchmark]: Toolchain (without parser) took 3651.92ms. Allocated memory was 54.5MB in the beginning and 86.0MB in the end (delta: 31.5MB). Free memory was 31.9MB in the beginning and 48.2MB in the end (delta: -16.2MB). Peak memory consumption was 13.9MB. Max. memory is 16.1GB. [2021-08-30 19:12:29,385 INFO L158 Benchmark]: CDTParser took 0.22ms. Allocated memory is still 54.5MB. Free memory is still 36.8MB. There was no memory consumed. Max. memory is 16.1GB. [2021-08-30 19:12:29,385 INFO L158 Benchmark]: CACSL2BoogieTranslator took 166.56ms. Allocated memory is still 54.5MB. Free memory was 31.7MB in the beginning and 36.9MB in the end (delta: -5.3MB). Peak memory consumption was 7.1MB. Max. memory is 16.1GB. [2021-08-30 19:12:29,385 INFO L158 Benchmark]: Boogie Preprocessor took 25.72ms. Allocated memory is still 54.5MB. Free memory was 36.8MB in the beginning and 35.5MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. [2021-08-30 19:12:29,386 INFO L158 Benchmark]: RCFGBuilder took 293.50ms. Allocated memory was 54.5MB in the beginning and 71.3MB in the end (delta: 16.8MB). Free memory was 35.3MB in the beginning and 47.9MB in the end (delta: -12.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-08-30 19:12:29,386 INFO L158 Benchmark]: TraceAbstraction took 3117.89ms. Allocated memory was 71.3MB in the beginning and 86.0MB in the end (delta: 14.7MB). Free memory was 47.3MB in the beginning and 50.3MB in the end (delta: -3.1MB). Peak memory consumption was 13.0MB. Max. memory is 16.1GB. [2021-08-30 19:12:29,386 INFO L158 Benchmark]: Witness Printer took 40.01ms. Allocated memory is still 86.0MB. Free memory was 50.3MB in the beginning and 48.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-08-30 19:12:29,387 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.22ms. Allocated memory is still 54.5MB. Free memory is still 36.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 166.56ms. Allocated memory is still 54.5MB. Free memory was 31.7MB in the beginning and 36.9MB in the end (delta: -5.3MB). Peak memory consumption was 7.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 25.72ms. Allocated memory is still 54.5MB. Free memory was 36.8MB in the beginning and 35.5MB in the end (delta: 1.2MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 293.50ms. Allocated memory was 54.5MB in the beginning and 71.3MB in the end (delta: 16.8MB). Free memory was 35.3MB in the beginning and 47.9MB in the end (delta: -12.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * TraceAbstraction took 3117.89ms. Allocated memory was 71.3MB in the beginning and 86.0MB in the end (delta: 14.7MB). Free memory was 47.3MB in the beginning and 50.3MB in the end (delta: -3.1MB). Peak memory consumption was 13.0MB. Max. memory is 16.1GB. * Witness Printer took 40.01ms. Allocated memory is still 86.0MB. Free memory was 50.3MB in the beginning and 48.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.00ms ErrorAutomatonConstructionTimeTotal, 0.00ms FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.00ms ErrorAutomatonConstructionTimeAvg, 0.00ms ErrorAutomatonDifferenceTimeAvg, 0.00ms ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - CounterExampleResult [Line: 9]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L6] int* p = malloc(10 * sizeof(int)); [L8] int i = 0; VAL [i=0, p={-1:0}] [L8] COND TRUE i < 10 VAL [i=0, p={-1:0}] [L9] p[i] = 1 VAL [i=0, p={-1:0}] [L10] COND FALSE !(i == 5) VAL [i=0, p={-1:0}] [L8] i++ VAL [i=1, p={-1:0}] [L8] COND TRUE i < 10 VAL [i=1, p={-1:0}] [L9] p[i] = 1 VAL [i=1, p={-1:0}] [L10] COND FALSE !(i == 5) VAL [i=1, p={-1:0}] [L8] i++ VAL [i=2, p={-1:0}] [L8] COND TRUE i < 10 VAL [i=2, p={-1:0}] [L9] p[i] = 1 VAL [i=2, p={-1:0}] [L10] COND FALSE !(i == 5) VAL [i=2, p={-1:0}] [L8] i++ VAL [i=3, p={-1:0}] [L8] COND TRUE i < 10 VAL [i=3, p={-1:0}] [L9] p[i] = 1 VAL [i=3, p={-1:0}] [L10] COND FALSE !(i == 5) VAL [i=3, p={-1:0}] [L8] i++ VAL [i=4, p={-1:0}] [L8] COND TRUE i < 10 VAL [i=4, p={-1:0}] [L9] p[i] = 1 VAL [i=4, p={-1:0}] [L10] COND FALSE !(i == 5) VAL [i=4, p={-1:0}] [L8] i++ VAL [i=5, p={-1:0}] [L8] COND TRUE i < 10 VAL [i=5, p={-1:0}] [L9] p[i] = 1 VAL [i=5, p={-1:0}] [L10] COND TRUE i == 5 VAL [i=5, p={-1:0}] [L11] free(p) VAL [i=5, p={-1:0}] [L11] free(p) VAL [i=5, p={-1:0}] [L11] free(p) [L8] i++ VAL [i=6, p={-1:0}] [L8] COND TRUE i < 10 VAL [i=6, p={-1:0}] [L9] p[i] = 1 - UnprovableResult [Line: 9]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: 11]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 11]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 11]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 5]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data CFG has 3 procedures, 24 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 3034.51ms, OverallIterations: 7, TraceHistogramMax: 7, EmptinessCheckTime: 19.11ms, AutomataDifference: 600.99ms, DeadEndRemovalTime: 0.00ms, HoareAnnotationTime: 0.00ms, InitialAbstractionConstructionTime: 14.46ms, PartialOrderReductionTime: 0.00ms, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 110 SdHoareTripleChecker+Valid, 393.13ms IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 110 mSDsluCounter, 62 SdHoareTripleChecker+Invalid, 313.86ms Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 104 mSDsCounter, 44 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 401 IncrementalHoareTripleChecker+Invalid, 445 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 44 mSolverCounterUnsat, 19 mSDtfsCounter, 401 mSolverCounterSat, 10.39ms SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 161 GetRequests, 126 SyntacticMatches, 2 SemanticMatches, 33 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 46 ImplicationChecksByTransitivity, 257.99ms Time, 0.00ms BasicInterpolantAutomatonTime, BiggestAbstraction: size=54occurred in iteration=6, InterpolantAutomatonStates: 41, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.00ms DumpTime, AutomataMinimizationStatistics: 51.41ms AutomataMinimizationTime, 6 MinimizatonAttempts, 7 StatesRemovedByMinimization, 3 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 33.82ms SsaConstructionTime, 159.72ms SatisfiabilityAnalysisTime, 1199.21ms InterpolantComputationTime, 198 NumberOfCodeBlocks, 198 NumberOfCodeBlocksAsserted, 10 NumberOfCheckSat, 215 ConstructedInterpolants, 0 QuantifiedInterpolants, 758 SizeOfPredicates, 0 NumberOfNonLiveVariables, 209 ConjunctsInSsa, 19 ConjunctsInUnsatCore, 12 InterpolantComputations, 3 PerfectInterpolantSequences, 34/205 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2021-08-30 19:12:29,415 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...