./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 20ed64ec 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-dev-20ed64e [2021-08-27 07:51:29,315 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-08-27 07:51:29,318 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-08-27 07:51:29,351 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-08-27 07:51:29,351 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-08-27 07:51:29,355 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-08-27 07:51:29,355 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-08-27 07:51:29,360 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-08-27 07:51:29,361 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-08-27 07:51:29,366 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-08-27 07:51:29,366 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-08-27 07:51:29,370 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-08-27 07:51:29,370 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-08-27 07:51:29,372 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-08-27 07:51:29,373 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-08-27 07:51:29,376 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-08-27 07:51:29,377 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-08-27 07:51:29,564 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-08-27 07:51:29,566 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-08-27 07:51:29,569 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-08-27 07:51:29,571 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-08-27 07:51:29,571 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-08-27 07:51:29,573 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-08-27 07:51:29,574 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-08-27 07:51:29,577 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-08-27 07:51:29,578 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-08-27 07:51:29,578 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-08-27 07:51:29,579 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-08-27 07:51:29,579 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-08-27 07:51:29,580 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-08-27 07:51:29,580 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-08-27 07:51:29,580 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-08-27 07:51:29,582 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-08-27 07:51:29,582 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-08-27 07:51:29,583 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-08-27 07:51:29,583 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-08-27 07:51:29,584 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-08-27 07:51:29,585 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-08-27 07:51:29,585 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-08-27 07:51:29,586 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-08-27 07:51:29,586 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-08-27 07:51:29,589 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2021-08-27 07:51:29,614 INFO L113 SettingsManager]: Loading preferences was successful [2021-08-27 07:51:29,615 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-08-27 07:51:29,616 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-08-27 07:51:29,616 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-08-27 07:51:29,617 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-08-27 07:51:29,617 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-08-27 07:51:29,618 INFO L138 SettingsManager]: * Use SBE=true [2021-08-27 07:51:29,618 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-08-27 07:51:29,618 INFO L138 SettingsManager]: * sizeof long=4 [2021-08-27 07:51:29,618 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-08-27 07:51:29,619 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-08-27 07:51:29,619 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-08-27 07:51:29,619 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-08-27 07:51:29,619 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2021-08-27 07:51:29,619 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2021-08-27 07:51:29,619 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2021-08-27 07:51:29,620 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-08-27 07:51:29,620 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2021-08-27 07:51:29,620 INFO L138 SettingsManager]: * sizeof long double=12 [2021-08-27 07:51:29,620 INFO L138 SettingsManager]: * Use constant arrays=true [2021-08-27 07:51:29,620 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-08-27 07:51:29,633 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-08-27 07:51:29,633 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-08-27 07:51:29,633 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-08-27 07:51:29,633 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-08-27 07:51:29,633 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-08-27 07:51:29,634 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-08-27 07:51:29,634 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-08-27 07:51:29,634 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-08-27 07:51:29,634 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-27 07:51:29,878 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-08-27 07:51:29,914 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-08-27 07:51:29,916 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-08-27 07:51:29,917 INFO L271 PluginConnector]: Initializing CDTParser... [2021-08-27 07:51:29,917 INFO L275 PluginConnector]: CDTParser initialized [2021-08-27 07:51:29,918 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-27 07:51:29,985 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d36b6c940/5912eb5e98494429aa1eb6622a125913/FLAG9cd8837a8 [2021-08-27 07:51:30,289 INFO L306 CDTParser]: Found 1 translation units. [2021-08-27 07:51:30,289 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety-ext3/derefAfterFree2.c [2021-08-27 07:51:30,293 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d36b6c940/5912eb5e98494429aa1eb6622a125913/FLAG9cd8837a8 [2021-08-27 07:51:30,725 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d36b6c940/5912eb5e98494429aa1eb6622a125913 [2021-08-27 07:51:30,727 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-08-27 07:51:30,728 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2021-08-27 07:51:30,730 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-08-27 07:51:30,730 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-08-27 07:51:30,734 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-08-27 07:51:30,735 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.08 07:51:30" (1/1) ... [2021-08-27 07:51:30,736 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@50ddce71 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30, skipping insertion in model container [2021-08-27 07:51:30,736 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 27.08 07:51:30" (1/1) ... [2021-08-27 07:51:30,741 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-08-27 07:51:30,748 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-08-27 07:51:30,856 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-27 07:51:30,863 INFO L203 MainTranslator]: Completed pre-run [2021-08-27 07:51:30,872 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-27 07:51:30,881 INFO L208 MainTranslator]: Completed translation [2021-08-27 07:51:30,881 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30 WrapperNode [2021-08-27 07:51:30,882 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-08-27 07:51:30,883 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-08-27 07:51:30,883 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-08-27 07:51:30,883 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-08-27 07:51:30,913 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30" (1/1) ... [2021-08-27 07:51:30,922 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30" (1/1) ... [2021-08-27 07:51:30,926 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30" (1/1) ... [2021-08-27 07:51:30,927 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30" (1/1) ... [2021-08-27 07:51:30,934 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30" (1/1) ... [2021-08-27 07:51:30,937 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30" (1/1) ... [2021-08-27 07:51:30,940 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30" (1/1) ... [2021-08-27 07:51:30,941 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-08-27 07:51:30,941 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-08-27 07:51:30,941 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-08-27 07:51:30,942 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-08-27 07:51:30,942 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30" (1/1) ... [2021-08-27 07:51:30,947 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-08-27 07:51:30,951 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 07:51:30,973 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-27 07:51:31,016 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-27 07:51:31,029 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2021-08-27 07:51:31,029 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-08-27 07:51:31,029 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2021-08-27 07:51:31,029 INFO L130 BoogieDeclarations]: Found specification of procedure free [2021-08-27 07:51:31,029 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2021-08-27 07:51:31,030 INFO L130 BoogieDeclarations]: Found specification of procedure main [2021-08-27 07:51:31,030 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-08-27 07:51:31,030 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-08-27 07:51:31,031 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-08-27 07:51:31,031 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2021-08-27 07:51:31,031 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-08-27 07:51:31,031 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-08-27 07:51:31,219 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-08-27 07:51:31,232 INFO L299 CfgBuilder]: Removed 1 assume(true) statements. [2021-08-27 07:51:31,234 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 07:51:31 BoogieIcfgContainer [2021-08-27 07:51:31,234 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-08-27 07:51:31,235 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2021-08-27 07:51:31,235 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2021-08-27 07:51:31,237 INFO L275 PluginConnector]: TraceAbstraction initialized [2021-08-27 07:51:31,237 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 27.08 07:51:30" (1/3) ... [2021-08-27 07:51:31,238 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4c925601 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 27.08 07:51:31, skipping insertion in model container [2021-08-27 07:51:31,238 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 27.08 07:51:30" (2/3) ... [2021-08-27 07:51:31,238 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4c925601 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 27.08 07:51:31, skipping insertion in model container [2021-08-27 07:51:31,238 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 07:51:31" (3/3) ... [2021-08-27 07:51:31,239 INFO L111 eAbstractionObserver]: Analyzing ICFG derefAfterFree2.c [2021-08-27 07:51:31,242 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2021-08-27 07:51:31,256 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2021-08-27 07:51:31,295 INFO L338 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2021-08-27 07:51:31,299 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-27 07:51:31,300 INFO L340 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2021-08-27 07:51:31,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-27 07:51:31,320 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2021-08-27 07:51:31,320 INFO L504 BasicCegarLoop]: Found error trace [2021-08-27 07:51:31,321 INFO L512 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 07:51:31,321 INFO L402 AbstractCegarLoop]: === Iteration 1 === Targeting mainErr1REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-27 07:51:31,328 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 07:51:31,328 INFO L82 PathProgramCache]: Analyzing trace with hash 868112163, now seen corresponding path program 1 times [2021-08-27 07:51:31,335 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 07:51:31,335 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [301997175] [2021-08-27 07:51:31,335 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 07:51:31,336 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 07:51:31,407 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:31,504 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-27 07:51:31,506 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:31,510 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-27 07:51:31,511 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 07:51:31,511 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [301997175] [2021-08-27 07:51:31,511 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [301997175] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 07:51:31,517 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 07:51:31,517 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 07:51:31,519 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1219806097] [2021-08-27 07:51:31,522 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2021-08-27 07:51:31,522 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 07:51:31,529 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-27 07:51:31,530 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-27 07:51:31,531 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-27 07:51:31,579 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 07:51:31,579 INFO L93 Difference]: Finished difference Result 29 states and 30 transitions. [2021-08-27 07:51:31,579 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-27 07:51:31,580 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-27 07:51:31,581 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-27 07:51:31,585 INFO L225 Difference]: With dead ends: 29 [2021-08-27 07:51:31,585 INFO L226 Difference]: Without dead ends: 26 [2021-08-27 07:51:31,586 INFO L781 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 17.5ms TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-27 07:51:31,595 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2021-08-27 07:51:31,602 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 24. [2021-08-27 07:51:31,602 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-27 07:51:31,603 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 26 transitions. [2021-08-27 07:51:31,603 INFO L78 Accepts]: Start accepts. Automaton has 24 states and 26 transitions. Word has length 8 [2021-08-27 07:51:31,604 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-27 07:51:31,604 INFO L470 AbstractCegarLoop]: Abstraction has 24 states and 26 transitions. [2021-08-27 07:51:31,604 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-27 07:51:31,604 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 26 transitions. [2021-08-27 07:51:31,604 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2021-08-27 07:51:31,605 INFO L504 BasicCegarLoop]: Found error trace [2021-08-27 07:51:31,605 INFO L512 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 07:51:31,605 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2021-08-27 07:51:31,605 INFO L402 AbstractCegarLoop]: === Iteration 2 === Targeting mainErr0REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-27 07:51:31,606 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 07:51:31,606 INFO L82 PathProgramCache]: Analyzing trace with hash 868112162, now seen corresponding path program 1 times [2021-08-27 07:51:31,606 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 07:51:31,606 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [870676569] [2021-08-27 07:51:31,606 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 07:51:31,607 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 07:51:31,612 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:31,629 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-27 07:51:31,630 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:31,633 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-27 07:51:31,634 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 07:51:31,634 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [870676569] [2021-08-27 07:51:31,634 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [870676569] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 07:51:31,634 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 07:51:31,634 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 07:51:31,635 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [274360969] [2021-08-27 07:51:31,636 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2021-08-27 07:51:31,636 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 07:51:31,636 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-27 07:51:31,637 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-27 07:51:31,637 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-27 07:51:31,665 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 07:51:31,665 INFO L93 Difference]: Finished difference Result 30 states and 31 transitions. [2021-08-27 07:51:31,665 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-27 07:51:31,665 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-27 07:51:31,666 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-27 07:51:31,666 INFO L225 Difference]: With dead ends: 30 [2021-08-27 07:51:31,666 INFO L226 Difference]: Without dead ends: 30 [2021-08-27 07:51:31,667 INFO L781 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 7.8ms TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-27 07:51:31,667 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states. [2021-08-27 07:51:31,669 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 26. [2021-08-27 07:51:31,669 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-27 07:51:31,670 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 29 transitions. [2021-08-27 07:51:31,670 INFO L78 Accepts]: Start accepts. Automaton has 26 states and 29 transitions. Word has length 8 [2021-08-27 07:51:31,670 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-27 07:51:31,670 INFO L470 AbstractCegarLoop]: Abstraction has 26 states and 29 transitions. [2021-08-27 07:51:31,670 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-27 07:51:31,671 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 29 transitions. [2021-08-27 07:51:31,671 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2021-08-27 07:51:31,671 INFO L504 BasicCegarLoop]: Found error trace [2021-08-27 07:51:31,671 INFO L512 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 07:51:31,671 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2021-08-27 07:51:31,672 INFO L402 AbstractCegarLoop]: === Iteration 3 === Targeting mainErr1REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-27 07:51:31,672 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 07:51:31,672 INFO L82 PathProgramCache]: Analyzing trace with hash -258436314, now seen corresponding path program 1 times [2021-08-27 07:51:31,672 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 07:51:31,673 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1067728350] [2021-08-27 07:51:31,673 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 07:51:31,673 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 07:51:31,681 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:31,749 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-27 07:51:31,750 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:31,754 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-27 07:51:31,754 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 07:51:31,754 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1067728350] [2021-08-27 07:51:31,755 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1067728350] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-27 07:51:31,755 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [599231279] [2021-08-27 07:51:31,755 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 07:51:31,755 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-27 07:51:31,755 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 07:51:31,785 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-27 07:51:31,786 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-27 07:51:31,822 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:31,823 INFO L263 TraceCheckSpWp]: Trace formula consists of 49 conjuncts, 8 conjunts are in the unsatisfiable core [2021-08-27 07:51:31,826 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-27 07:51:31,876 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-27 07:51:31,960 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-27 07:51:31,960 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [599231279] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-27 07:51:31,960 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2021-08-27 07:51:31,961 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 3] total 6 [2021-08-27 07:51:31,961 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [92775203] [2021-08-27 07:51:31,961 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2021-08-27 07:51:31,961 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 07:51:31,962 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2021-08-27 07:51:31,962 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=28, Unknown=0, NotChecked=0, Total=42 [2021-08-27 07:51:31,962 INFO L87 Difference]: Start difference. First operand 26 states and 29 transitions. Second operand has 7 states, 6 states have (on average 2.1666666666666665) internal successors, (13), 6 states have internal predecessors, (13), 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-27 07:51:32,016 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 07:51:32,016 INFO L93 Difference]: Finished difference Result 30 states and 32 transitions. [2021-08-27 07:51:32,016 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-08-27 07:51:32,017 INFO L78 Accepts]: Start accepts. Automaton has has 7 states, 6 states have (on average 2.1666666666666665) internal successors, (13), 6 states have internal predecessors, (13), 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-27 07:51:32,017 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-27 07:51:32,017 INFO L225 Difference]: With dead ends: 30 [2021-08-27 07:51:32,017 INFO L226 Difference]: Without dead ends: 30 [2021-08-27 07:51:32,018 INFO L781 BasicCegarLoop]: 0 DeclaredPredicates, 17 GetRequests, 12 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 36.4ms TimeCoverageRelationStatistics Valid=14, Invalid=28, Unknown=0, NotChecked=0, Total=42 [2021-08-27 07:51:32,018 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states. [2021-08-27 07:51:32,020 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 30. [2021-08-27 07:51:32,020 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 30 states, 24 states have (on average 1.2083333333333333) internal successors, (29), 26 states have internal predecessors, (29), 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-27 07:51:32,021 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 30 states and 32 transitions. [2021-08-27 07:51:32,021 INFO L78 Accepts]: Start accepts. Automaton has 30 states and 32 transitions. Word has length 12 [2021-08-27 07:51:32,021 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-27 07:51:32,021 INFO L470 AbstractCegarLoop]: Abstraction has 30 states and 32 transitions. [2021-08-27 07:51:32,021 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 6 states have (on average 2.1666666666666665) internal successors, (13), 6 states have internal predecessors, (13), 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-27 07:51:32,021 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 32 transitions. [2021-08-27 07:51:32,022 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2021-08-27 07:51:32,022 INFO L504 BasicCegarLoop]: Found error trace [2021-08-27 07:51:32,022 INFO L512 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 07:51:32,041 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-27 07:51:32,236 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-27 07:51:32,237 INFO L402 AbstractCegarLoop]: === Iteration 4 === Targeting mainErr3ASSERT_VIOLATIONMEMORY_FREE === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-27 07:51:32,237 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 07:51:32,237 INFO L82 PathProgramCache]: Analyzing trace with hash 1666776813, now seen corresponding path program 1 times [2021-08-27 07:51:32,238 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 07:51:32,238 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [407945642] [2021-08-27 07:51:32,238 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 07:51:32,238 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 07:51:32,248 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:32,270 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-27 07:51:32,271 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:32,274 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-27 07:51:32,274 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 07:51:32,275 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [407945642] [2021-08-27 07:51:32,275 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [407945642] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-27 07:51:32,275 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-27 07:51:32,275 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-27 07:51:32,275 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1561340587] [2021-08-27 07:51:32,276 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2021-08-27 07:51:32,276 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 07:51:32,276 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-27 07:51:32,276 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-27 07:51:32,277 INFO L87 Difference]: Start difference. First operand 30 states and 32 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-27 07:51:32,295 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 07:51:32,295 INFO L93 Difference]: Finished difference Result 29 states and 31 transitions. [2021-08-27 07:51:32,295 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-27 07:51:32,295 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-27 07:51:32,296 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-27 07:51:32,296 INFO L225 Difference]: With dead ends: 29 [2021-08-27 07:51:32,296 INFO L226 Difference]: Without dead ends: 29 [2021-08-27 07:51:32,296 INFO L781 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 7.9ms TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-27 07:51:32,297 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 29 states. [2021-08-27 07:51:32,298 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 29 to 29. [2021-08-27 07:51:32,298 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 29 states, 24 states have (on average 1.1666666666666667) internal successors, (28), 25 states have internal predecessors, (28), 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-27 07:51:32,299 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 29 states to 29 states and 31 transitions. [2021-08-27 07:51:32,299 INFO L78 Accepts]: Start accepts. Automaton has 29 states and 31 transitions. Word has length 19 [2021-08-27 07:51:32,299 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-27 07:51:32,299 INFO L470 AbstractCegarLoop]: Abstraction has 29 states and 31 transitions. [2021-08-27 07:51:32,299 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-27 07:51:32,300 INFO L276 IsEmpty]: Start isEmpty. Operand 29 states and 31 transitions. [2021-08-27 07:51:32,300 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2021-08-27 07:51:32,300 INFO L504 BasicCegarLoop]: Found error trace [2021-08-27 07:51:32,300 INFO L512 BasicCegarLoop]: trace histogram [3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 07:51:32,300 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2021-08-27 07:51:32,301 INFO L402 AbstractCegarLoop]: === Iteration 5 === Targeting mainErr5ENSURES_VIOLATIONMEMORY_LEAK === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-27 07:51:32,301 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 07:51:32,301 INFO L82 PathProgramCache]: Analyzing trace with hash -242667132, now seen corresponding path program 1 times [2021-08-27 07:51:32,301 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 07:51:32,301 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [302914933] [2021-08-27 07:51:32,302 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 07:51:32,302 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 07:51:32,310 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:32,348 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-27 07:51:32,349 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:32,351 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 0 proven. 15 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 07:51:32,352 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 07:51:32,352 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [302914933] [2021-08-27 07:51:32,352 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [302914933] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-27 07:51:32,352 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1158546539] [2021-08-27 07:51:32,352 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 07:51:32,353 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-27 07:51:32,353 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 07:51:32,354 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-27 07:51:32,355 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-27 07:51:32,404 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:32,405 INFO L263 TraceCheckSpWp]: Trace formula consists of 69 conjuncts, 5 conjunts are in the unsatisfiable core [2021-08-27 07:51:32,406 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-27 07:51:32,481 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 0 proven. 15 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 07:51:32,481 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1158546539] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-27 07:51:32,481 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2021-08-27 07:51:32,482 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 6] total 8 [2021-08-27 07:51:32,482 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1584308959] [2021-08-27 07:51:32,482 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2021-08-27 07:51:32,482 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 07:51:32,483 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2021-08-27 07:51:32,483 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=23, Invalid=33, Unknown=0, NotChecked=0, Total=56 [2021-08-27 07:51:32,483 INFO L87 Difference]: Start difference. First operand 29 states and 31 transitions. Second operand has 8 states, 8 states have (on average 3.0) internal successors, (24), 7 states have internal predecessors, (24), 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-27 07:51:32,518 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 07:51:32,518 INFO L93 Difference]: Finished difference Result 36 states and 38 transitions. [2021-08-27 07:51:32,518 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-08-27 07:51:32,519 INFO L78 Accepts]: Start accepts. Automaton has has 8 states, 8 states have (on average 3.0) internal successors, (24), 7 states have internal predecessors, (24), 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 21 [2021-08-27 07:51:32,519 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-27 07:51:32,519 INFO L225 Difference]: With dead ends: 36 [2021-08-27 07:51:32,520 INFO L226 Difference]: Without dead ends: 36 [2021-08-27 07:51:32,520 INFO L781 BasicCegarLoop]: 0 DeclaredPredicates, 28 GetRequests, 22 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 22.7ms TimeCoverageRelationStatistics Valid=23, Invalid=33, Unknown=0, NotChecked=0, Total=56 [2021-08-27 07:51:32,520 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 36 states. [2021-08-27 07:51:32,522 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 36 to 35. [2021-08-27 07:51:32,522 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 35 states, 30 states have (on average 1.1333333333333333) internal successors, (34), 31 states have internal predecessors, (34), 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-27 07:51:32,522 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 37 transitions. [2021-08-27 07:51:32,523 INFO L78 Accepts]: Start accepts. Automaton has 35 states and 37 transitions. Word has length 21 [2021-08-27 07:51:32,523 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-27 07:51:32,523 INFO L470 AbstractCegarLoop]: Abstraction has 35 states and 37 transitions. [2021-08-27 07:51:32,523 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 3.0) internal successors, (24), 7 states have internal predecessors, (24), 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-27 07:51:32,523 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 37 transitions. [2021-08-27 07:51:32,524 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2021-08-27 07:51:32,524 INFO L504 BasicCegarLoop]: Found error trace [2021-08-27 07:51:32,524 INFO L512 BasicCegarLoop]: trace histogram [4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 07:51:32,542 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-27 07:51:32,740 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-27 07:51:32,740 INFO L402 AbstractCegarLoop]: === Iteration 6 === Targeting mainErr5ENSURES_VIOLATIONMEMORY_LEAK === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-27 07:51:32,740 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 07:51:32,740 INFO L82 PathProgramCache]: Analyzing trace with hash 130667105, now seen corresponding path program 2 times [2021-08-27 07:51:32,741 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 07:51:32,741 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1360279142] [2021-08-27 07:51:32,741 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 07:51:32,741 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 07:51:32,750 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:32,794 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-27 07:51:32,796 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:32,798 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 07:51:32,798 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 07:51:32,799 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1360279142] [2021-08-27 07:51:32,799 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1360279142] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-27 07:51:32,799 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1810571376] [2021-08-27 07:51:32,799 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2021-08-27 07:51:32,799 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-27 07:51:32,799 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 07:51:32,800 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-27 07:51:32,801 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-27 07:51:32,850 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2021-08-27 07:51:32,850 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2021-08-27 07:51:32,850 INFO L263 TraceCheckSpWp]: Trace formula consists of 78 conjuncts, 6 conjunts are in the unsatisfiable core [2021-08-27 07:51:32,851 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-27 07:51:32,931 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-27 07:51:32,932 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1810571376] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-27 07:51:32,932 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2021-08-27 07:51:32,932 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 7] total 9 [2021-08-27 07:51:32,932 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [283069753] [2021-08-27 07:51:32,932 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2021-08-27 07:51:32,933 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 07:51:32,933 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2021-08-27 07:51:32,933 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=30, Invalid=42, Unknown=0, NotChecked=0, Total=72 [2021-08-27 07:51:32,933 INFO L87 Difference]: Start difference. First operand 35 states and 37 transitions. Second operand has 9 states, 9 states have (on average 3.111111111111111) internal successors, (28), 8 states have internal predecessors, (28), 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-27 07:51:32,974 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 07:51:32,974 INFO L93 Difference]: Finished difference Result 40 states and 42 transitions. [2021-08-27 07:51:32,974 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2021-08-27 07:51:32,974 INFO L78 Accepts]: Start accepts. Automaton has has 9 states, 9 states have (on average 3.111111111111111) internal successors, (28), 8 states have internal predecessors, (28), 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 25 [2021-08-27 07:51:32,975 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-27 07:51:32,975 INFO L225 Difference]: With dead ends: 40 [2021-08-27 07:51:32,975 INFO L226 Difference]: Without dead ends: 40 [2021-08-27 07:51:32,975 INFO L781 BasicCegarLoop]: 0 DeclaredPredicates, 33 GetRequests, 26 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 10 ImplicationChecksByTransitivity, 27.1ms TimeCoverageRelationStatistics Valid=30, Invalid=42, Unknown=0, NotChecked=0, Total=72 [2021-08-27 07:51:32,976 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 40 states. [2021-08-27 07:51:32,977 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 40 to 39. [2021-08-27 07:51:32,977 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 39 states, 34 states have (on average 1.1176470588235294) internal successors, (38), 35 states have internal predecessors, (38), 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-27 07:51:32,978 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 41 transitions. [2021-08-27 07:51:32,978 INFO L78 Accepts]: Start accepts. Automaton has 39 states and 41 transitions. Word has length 25 [2021-08-27 07:51:32,978 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-27 07:51:32,978 INFO L470 AbstractCegarLoop]: Abstraction has 39 states and 41 transitions. [2021-08-27 07:51:32,978 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 3.111111111111111) internal successors, (28), 8 states have internal predecessors, (28), 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-27 07:51:32,979 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 41 transitions. [2021-08-27 07:51:32,979 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2021-08-27 07:51:32,979 INFO L504 BasicCegarLoop]: Found error trace [2021-08-27 07:51:32,979 INFO L512 BasicCegarLoop]: trace histogram [5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 07:51:32,998 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-27 07:51:33,195 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-27 07:51:33,195 INFO L402 AbstractCegarLoop]: === Iteration 7 === Targeting mainErr5ENSURES_VIOLATIONMEMORY_LEAK === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-27 07:51:33,195 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 07:51:33,195 INFO L82 PathProgramCache]: Analyzing trace with hash -656098114, now seen corresponding path program 3 times [2021-08-27 07:51:33,196 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 07:51:33,196 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1927148883] [2021-08-27 07:51:33,196 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 07:51:33,197 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 07:51:33,206 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:33,260 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-27 07:51:33,261 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-27 07:51:33,263 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-27 07:51:33,263 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-27 07:51:33,264 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1927148883] [2021-08-27 07:51:33,264 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1927148883] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-27 07:51:33,264 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1784112061] [2021-08-27 07:51:33,264 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2021-08-27 07:51:33,264 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-27 07:51:33,264 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-27 07:51:33,265 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2021-08-27 07:51:33,301 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2021-08-27 07:51:33,354 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 6 check-sat command(s) [2021-08-27 07:51:33,354 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2021-08-27 07:51:33,355 INFO L263 TraceCheckSpWp]: Trace formula consists of 87 conjuncts, 7 conjunts are in the unsatisfiable core [2021-08-27 07:51:33,356 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-27 07:51:33,444 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-27 07:51:33,445 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1784112061] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-27 07:51:33,445 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2021-08-27 07:51:33,445 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 8] total 10 [2021-08-27 07:51:33,445 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1968609720] [2021-08-27 07:51:33,445 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 10 states [2021-08-27 07:51:33,445 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-27 07:51:33,446 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2021-08-27 07:51:33,446 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=38, Invalid=52, Unknown=0, NotChecked=0, Total=90 [2021-08-27 07:51:33,446 INFO L87 Difference]: Start difference. First operand 39 states and 41 transitions. Second operand has 10 states, 10 states have (on average 3.2) internal successors, (32), 9 states have internal predecessors, (32), 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-27 07:51:33,489 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-27 07:51:33,489 INFO L93 Difference]: Finished difference Result 43 states and 46 transitions. [2021-08-27 07:51:33,489 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2021-08-27 07:51:33,489 INFO L78 Accepts]: Start accepts. Automaton has has 10 states, 10 states have (on average 3.2) internal successors, (32), 9 states have internal predecessors, (32), 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-27 07:51:33,489 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-27 07:51:33,490 INFO L225 Difference]: With dead ends: 43 [2021-08-27 07:51:33,490 INFO L226 Difference]: Without dead ends: 43 [2021-08-27 07:51:33,490 INFO L781 BasicCegarLoop]: 0 DeclaredPredicates, 38 GetRequests, 30 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 13 ImplicationChecksByTransitivity, 34.9ms TimeCoverageRelationStatistics Valid=38, Invalid=52, Unknown=0, NotChecked=0, Total=90 [2021-08-27 07:51:33,490 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 43 states. [2021-08-27 07:51:33,492 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 43 to 43. [2021-08-27 07:51:33,492 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 43 states, 38 states have (on average 1.131578947368421) internal successors, (43), 39 states have internal predecessors, (43), 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-27 07:51:33,493 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 43 states and 46 transitions. [2021-08-27 07:51:33,493 INFO L78 Accepts]: Start accepts. Automaton has 43 states and 46 transitions. Word has length 29 [2021-08-27 07:51:33,493 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-27 07:51:33,493 INFO L470 AbstractCegarLoop]: Abstraction has 43 states and 46 transitions. [2021-08-27 07:51:33,493 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 10 states, 10 states have (on average 3.2) internal successors, (32), 9 states have internal predecessors, (32), 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-27 07:51:33,493 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 46 transitions. [2021-08-27 07:51:33,494 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 36 [2021-08-27 07:51:33,494 INFO L504 BasicCegarLoop]: Found error trace [2021-08-27 07:51:33,494 INFO L512 BasicCegarLoop]: trace histogram [7, 6, 6, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-27 07:51:33,511 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Forceful destruction successful, exit code 0 [2021-08-27 07:51:33,710 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6,5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-27 07:51:33,713 INFO L402 AbstractCegarLoop]: === Iteration 8 === Targeting mainErr0REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr3ASSERT_VIOLATIONMEMORY_FREE (and 2 more)] === [2021-08-27 07:51:33,713 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-27 07:51:33,713 INFO L82 PathProgramCache]: Analyzing trace with hash 1037842699, now seen corresponding path program 1 times [2021-08-27 07:51:33,713 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-27 07:51:33,715 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1888520667] [2021-08-27 07:51:33,715 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-27 07:51:33,715 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-27 07:51:33,726 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 07:51:33,726 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-27 07:51:33,736 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-27 07:51:33,746 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-27 07:51:33,747 INFO L626 BasicCegarLoop]: Counterexample is feasible [2021-08-27 07:51:33,747 INFO L764 garLoopResultBuilder]: Registering result UNSAFE for location mainErr0REQUIRES_VIOLATION [2021-08-27 07:51:33,748 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr1REQUIRES_VIOLATION [2021-08-27 07:51:33,748 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr2ASSERT_VIOLATIONMEMORY_FREE [2021-08-27 07:51:33,749 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr3ASSERT_VIOLATIONMEMORY_FREE [2021-08-27 07:51:33,749 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr4ASSERT_VIOLATIONMEMORY_FREE [2021-08-27 07:51:33,749 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr5ENSURES_VIOLATIONMEMORY_LEAK [2021-08-27 07:51:33,749 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2021-08-27 07:51:33,753 INFO L179 ceAbstractionStarter]: Computing trace abstraction results [2021-08-27 07:51:33,765 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 27.08 07:51:33 BoogieIcfgContainer [2021-08-27 07:51:33,765 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2021-08-27 07:51:33,765 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-08-27 07:51:33,765 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-08-27 07:51:33,766 INFO L275 PluginConnector]: Witness Printer initialized [2021-08-27 07:51:33,766 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 27.08 07:51:31" (3/4) ... [2021-08-27 07:51:33,767 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2021-08-27 07:51:33,790 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-08-27 07:51:33,790 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-08-27 07:51:33,791 INFO L168 Benchmark]: Toolchain (without parser) took 3062.10 ms. Allocated memory was 79.7 MB in the beginning and 98.6 MB in the end (delta: 18.9 MB). Free memory was 45.6 MB in the beginning and 47.6 MB in the end (delta: -2.0 MB). Peak memory consumption was 15.5 MB. Max. memory is 16.1 GB. [2021-08-27 07:51:33,791 INFO L168 Benchmark]: CDTParser took 0.16 ms. Allocated memory is still 79.7 MB. Free memory was 62.1 MB in the beginning and 62.1 MB in the end (delta: 64.9 kB). There was no memory consumed. Max. memory is 16.1 GB. [2021-08-27 07:51:33,791 INFO L168 Benchmark]: CACSL2BoogieTranslator took 151.91 ms. Allocated memory is still 79.7 MB. Free memory was 45.4 MB in the beginning and 58.1 MB in the end (delta: -12.6 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-08-27 07:51:33,792 INFO L168 Benchmark]: Boogie Preprocessor took 57.92 ms. Allocated memory is still 79.7 MB. Free memory was 58.1 MB in the beginning and 64.1 MB in the end (delta: -6.0 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-08-27 07:51:33,792 INFO L168 Benchmark]: RCFGBuilder took 292.60 ms. Allocated memory is still 79.7 MB. Free memory was 64.1 MB in the beginning and 51.3 MB in the end (delta: 12.8 MB). Peak memory consumption was 10.5 MB. Max. memory is 16.1 GB. [2021-08-27 07:51:33,792 INFO L168 Benchmark]: TraceAbstraction took 2530.08 ms. Allocated memory was 79.7 MB in the beginning and 98.6 MB in the end (delta: 18.9 MB). Free memory was 50.8 MB in the beginning and 49.7 MB in the end (delta: 1.1 MB). Peak memory consumption was 21.9 MB. Max. memory is 16.1 GB. [2021-08-27 07:51:33,793 INFO L168 Benchmark]: Witness Printer took 24.58 ms. Allocated memory is still 98.6 MB. Free memory was 49.7 MB in the beginning and 47.6 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. [2021-08-27 07:51:33,794 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.16 ms. Allocated memory is still 79.7 MB. Free memory was 62.1 MB in the beginning and 62.1 MB in the end (delta: 64.9 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 151.91 ms. Allocated memory is still 79.7 MB. Free memory was 45.4 MB in the beginning and 58.1 MB in the end (delta: -12.6 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 57.92 ms. Allocated memory is still 79.7 MB. Free memory was 58.1 MB in the beginning and 64.1 MB in the end (delta: -6.0 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * RCFGBuilder took 292.60 ms. Allocated memory is still 79.7 MB. Free memory was 64.1 MB in the beginning and 51.3 MB in the end (delta: 12.8 MB). Peak memory consumption was 10.5 MB. Max. memory is 16.1 GB. * TraceAbstraction took 2530.08 ms. Allocated memory was 79.7 MB in the beginning and 98.6 MB in the end (delta: 18.9 MB). Free memory was 50.8 MB in the beginning and 49.7 MB in the end (delta: 1.1 MB). Peak memory consumption was 21.9 MB. Max. memory is 16.1 GB. * Witness Printer took 24.58 ms. Allocated memory is still 98.6 MB. Free memory was 49.7 MB in the beginning and 47.6 MB in the end (delta: 2.1 MB). Peak memory consumption was 2.1 MB. Max. memory is 16.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0ms ErrorAutomatonConstructionTimeTotal, 0.0ms FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0ms ErrorAutomatonConstructionTimeAvg, 0.0ms ErrorAutomatonDifferenceTimeAvg, 0.0ms 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: 2457.7ms, OverallIterations: 8, TraceHistogramMax: 7, EmptinessCheckTime: 14.9ms, AutomataDifference: 295.8ms, DeadEndRemovalTime: 0.0ms, HoareAnnotationTime: 0.0ms, InitialAbstractionConstructionTime: 8.0ms, PartialOrderReductionTime: 0.0ms, HoareTripleCheckerStatistics: 84 SDtfs, 93 SDslu, 121 SDs, 0 SdLazy, 309 SolverSat, 31 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 177.8ms Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 128 GetRequests, 96 SyntacticMatches, 0 SemanticMatches, 32 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 31 ImplicationChecksByTransitivity, 154.6ms Time, 0.0ms BasicInterpolantAutomatonTime, BiggestAbstraction: size=43occurred in iteration=7, InterpolantAutomatonStates: 43, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0ms DumpTime, AutomataMinimizationStatistics: 25.3ms AutomataMinimizationTime, 7 MinimizatonAttempts, 8 StatesRemovedByMinimization, 4 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 36.2ms SsaConstructionTime, 110.1ms SatisfiabilityAnalysisTime, 753.4ms InterpolantComputationTime, 244 NumberOfCodeBlocks, 244 NumberOfCodeBlocksAsserted, 18 NumberOfCheckSat, 198 ConstructedInterpolants, 0 QuantifiedInterpolants, 656 SizeOfPredicates, 0 NumberOfNonLiveVariables, 283 ConjunctsInSsa, 26 ConjunctsInUnsatCore, 11 InterpolantComputations, 3 PerfectInterpolantSequences, 10/190 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-27 07:51:33,818 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...