./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/memsafety-ext3/getNumbers3.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/getNumbers3.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 c8f17cf5334c3a5b079beafc57a2e2bffaea721f .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.2.1-wip.dd.seqcomp-5fbdf5b [2021-08-30 19:12:30,608 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-08-30 19:12:30,610 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-08-30 19:12:30,641 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-08-30 19:12:30,641 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-08-30 19:12:30,644 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-08-30 19:12:30,645 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-08-30 19:12:30,648 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-08-30 19:12:30,652 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-08-30 19:12:30,655 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-08-30 19:12:30,656 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-08-30 19:12:30,656 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-08-30 19:12:30,657 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-08-30 19:12:30,658 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-08-30 19:12:30,659 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-08-30 19:12:30,662 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-08-30 19:12:30,662 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-08-30 19:12:30,663 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-08-30 19:12:30,664 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-08-30 19:12:30,669 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-08-30 19:12:30,669 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-08-30 19:12:30,670 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-08-30 19:12:30,672 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-08-30 19:12:30,672 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-08-30 19:12:30,676 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-08-30 19:12:30,677 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-08-30 19:12:30,677 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-08-30 19:12:30,678 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-08-30 19:12:30,678 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-08-30 19:12:30,679 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-08-30 19:12:30,679 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-08-30 19:12:30,679 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-08-30 19:12:30,680 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-08-30 19:12:30,681 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-08-30 19:12:30,682 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-08-30 19:12:30,682 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-08-30 19:12:30,682 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-08-30 19:12:30,682 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-08-30 19:12:30,683 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-08-30 19:12:30,684 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-08-30 19:12:30,684 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-08-30 19:12:30,687 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:30,715 INFO L113 SettingsManager]: Loading preferences was successful [2021-08-30 19:12:30,715 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-08-30 19:12:30,716 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-08-30 19:12:30,716 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-08-30 19:12:30,718 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-08-30 19:12:30,718 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-08-30 19:12:30,718 INFO L138 SettingsManager]: * Use SBE=true [2021-08-30 19:12:30,718 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-08-30 19:12:30,718 INFO L138 SettingsManager]: * sizeof long=4 [2021-08-30 19:12:30,719 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-08-30 19:12:30,719 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-08-30 19:12:30,719 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-08-30 19:12:30,719 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-08-30 19:12:30,720 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2021-08-30 19:12:30,720 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2021-08-30 19:12:30,720 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2021-08-30 19:12:30,724 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-08-30 19:12:30,724 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2021-08-30 19:12:30,724 INFO L138 SettingsManager]: * sizeof long double=12 [2021-08-30 19:12:30,724 INFO L138 SettingsManager]: * Use constant arrays=true [2021-08-30 19:12:30,724 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-08-30 19:12:30,725 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-08-30 19:12:30,725 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-08-30 19:12:30,725 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-08-30 19:12:30,725 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-08-30 19:12:30,725 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-08-30 19:12:30,725 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-08-30 19:12:30,726 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-08-30 19:12:30,726 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-08-30 19:12:30,726 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 -> c8f17cf5334c3a5b079beafc57a2e2bffaea721f [2021-08-30 19:12:30,951 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-08-30 19:12:30,965 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-08-30 19:12:30,967 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-08-30 19:12:30,967 INFO L271 PluginConnector]: Initializing CDTParser... [2021-08-30 19:12:30,968 INFO L275 PluginConnector]: CDTParser initialized [2021-08-30 19:12:30,969 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety-ext3/getNumbers3.c [2021-08-30 19:12:31,010 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/848b27c68/a58cd0ad6aa449be890482cc54a423e9/FLAG3a9c39fe9 [2021-08-30 19:12:31,352 INFO L306 CDTParser]: Found 1 translation units. [2021-08-30 19:12:31,353 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety-ext3/getNumbers3.c [2021-08-30 19:12:31,357 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/848b27c68/a58cd0ad6aa449be890482cc54a423e9/FLAG3a9c39fe9 [2021-08-30 19:12:31,366 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/848b27c68/a58cd0ad6aa449be890482cc54a423e9 [2021-08-30 19:12:31,367 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-08-30 19:12:31,369 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2021-08-30 19:12:31,371 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-08-30 19:12:31,371 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-08-30 19:12:31,374 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-08-30 19:12:31,374 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.08 07:12:31" (1/1) ... [2021-08-30 19:12:31,375 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@18da2364 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:31, skipping insertion in model container [2021-08-30 19:12:31,375 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.08 07:12:31" (1/1) ... [2021-08-30 19:12:31,380 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-08-30 19:12:31,386 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-08-30 19:12:31,473 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-30 19:12:31,487 INFO L203 MainTranslator]: Completed pre-run [2021-08-30 19:12:31,496 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-30 19:12:31,506 INFO L208 MainTranslator]: Completed translation [2021-08-30 19:12:31,507 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:31 WrapperNode [2021-08-30 19:12:31,507 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-08-30 19:12:31,508 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-08-30 19:12:31,508 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-08-30 19:12:31,508 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-08-30 19:12:31,544 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:31" (1/1) ... [2021-08-30 19:12:31,546 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:31" (1/1) ... [2021-08-30 19:12:31,552 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:31" (1/1) ... [2021-08-30 19:12:31,553 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:31" (1/1) ... [2021-08-30 19:12:31,561 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:31" (1/1) ... [2021-08-30 19:12:31,564 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:31" (1/1) ... [2021-08-30 19:12:31,567 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:31" (1/1) ... [2021-08-30 19:12:31,568 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-08-30 19:12:31,569 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-08-30 19:12:31,570 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-08-30 19:12:31,570 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-08-30 19:12:31,570 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:31" (1/1) ... [2021-08-30 19:12:31,575 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-08-30 19:12:31,581 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-30 19:12:31,601 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:31,636 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:31,647 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2021-08-30 19:12:31,647 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-08-30 19:12:31,647 INFO L138 BoogieDeclarations]: Found implementation of procedure getNumbers [2021-08-30 19:12:31,647 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2021-08-30 19:12:31,648 INFO L130 BoogieDeclarations]: Found specification of procedure getNumbers [2021-08-30 19:12:31,648 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-08-30 19:12:31,648 INFO L130 BoogieDeclarations]: Found specification of procedure main [2021-08-30 19:12:31,649 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2021-08-30 19:12:31,649 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-08-30 19:12:31,649 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-08-30 19:12:31,649 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-08-30 19:12:31,650 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-08-30 19:12:31,769 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-08-30 19:12:31,769 INFO L299 CfgBuilder]: Removed 1 assume(true) statements. [2021-08-30 19:12:31,771 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.08 07:12:31 BoogieIcfgContainer [2021-08-30 19:12:31,771 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-08-30 19:12:31,772 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2021-08-30 19:12:31,773 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2021-08-30 19:12:31,774 INFO L275 PluginConnector]: TraceAbstraction initialized [2021-08-30 19:12:31,775 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 30.08 07:12:31" (1/3) ... [2021-08-30 19:12:31,775 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@730a1dfd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 30.08 07:12:31, skipping insertion in model container [2021-08-30 19:12:31,775 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:31" (2/3) ... [2021-08-30 19:12:31,776 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@730a1dfd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 30.08 07:12:31, skipping insertion in model container [2021-08-30 19:12:31,776 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.08 07:12:31" (3/3) ... [2021-08-30 19:12:31,777 INFO L111 eAbstractionObserver]: Analyzing ICFG getNumbers3.c [2021-08-30 19:12:31,781 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2021-08-30 19:12:31,781 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 5 error locations. [2021-08-30 19:12:31,817 INFO L338 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2021-08-30 19:12:31,822 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:31,822 INFO L340 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2021-08-30 19:12:31,837 INFO L276 IsEmpty]: Start isEmpty. Operand has 25 states, 13 states have (on average 1.5384615384615385) internal successors, (20), 18 states have internal predecessors, (20), 3 states have call successors, (3), 3 states have call predecessors, (3), 3 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2021-08-30 19:12:31,849 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2021-08-30 19:12:31,850 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:31,850 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:31,851 INFO L402 AbstractCegarLoop]: === Iteration 1 === Targeting getNumbersErr0REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, getNumbersErr0REQUIRES_VIOLATION (and 1 more)] === [2021-08-30 19:12:31,856 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:31,856 INFO L82 PathProgramCache]: Analyzing trace with hash -335730452, now seen corresponding path program 1 times [2021-08-30 19:12:31,861 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:31,862 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1303018480] [2021-08-30 19:12:31,862 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:31,863 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:31,935 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:32,072 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:32,078 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:32,099 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:32,100 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:32,100 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1303018480] [2021-08-30 19:12:32,100 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1303018480] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-30 19:12:32,101 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-30 19:12:32,101 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2021-08-30 19:12:32,102 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1998385465] [2021-08-30 19:12:32,105 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2021-08-30 19:12:32,105 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:32,121 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-30 19:12:32,122 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:32,123 INFO L87 Difference]: Start difference. First operand has 25 states, 13 states have (on average 1.5384615384615385) internal successors, (20), 18 states have internal predecessors, (20), 3 states have call successors, (3), 3 states have call predecessors, (3), 3 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) Second operand has 4 states, 2 states have (on average 2.5) internal successors, (5), 2 states have internal predecessors, (5), 2 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:32,228 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:32,228 INFO L93 Difference]: Finished difference Result 33 states and 34 transitions. [2021-08-30 19:12:32,229 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2021-08-30 19:12:32,230 INFO L78 Accepts]: Start accepts. Automaton has has 4 states, 2 states have (on average 2.5) internal successors, (5), 2 states have internal predecessors, (5), 2 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 9 [2021-08-30 19:12:32,230 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:32,235 INFO L225 Difference]: With dead ends: 33 [2021-08-30 19:12:32,235 INFO L226 Difference]: Without dead ends: 28 [2021-08-30 19:12:32,236 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 77.75ms TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2021-08-30 19:12:32,241 INFO L928 BasicCegarLoop]: 5 mSDtfsCounter, 31 mSDsluCounter, 3 mSDsCounter, 0 mSdLazyCounter, 37 mSolverCounterSat, 6 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 53.38ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 31 SdHoareTripleChecker+Valid, 6 SdHoareTripleChecker+Invalid, 43 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 2.77ms SdHoareTripleChecker+Time, 6 IncrementalHoareTripleChecker+Valid, 37 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 63.44ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:32,242 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [31 Valid, 6 Invalid, 43 Unknown, 0 Unchecked, 2.77ms Time], IncrementalHoareTripleChecker [6 Valid, 37 Invalid, 0 Unknown, 0 Unchecked, 63.44ms Time] [2021-08-30 19:12:32,253 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 28 states. [2021-08-30 19:12:32,262 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 28 to 18. [2021-08-30 19:12:32,263 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 18 states, 10 states have (on average 1.3) internal successors, (13), 12 states have internal predecessors, (13), 3 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2021-08-30 19:12:32,263 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 18 states and 18 transitions. [2021-08-30 19:12:32,264 INFO L78 Accepts]: Start accepts. Automaton has 18 states and 18 transitions. Word has length 9 [2021-08-30 19:12:32,264 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:32,264 INFO L470 AbstractCegarLoop]: Abstraction has 18 states and 18 transitions. [2021-08-30 19:12:32,264 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 2 states have (on average 2.5) internal successors, (5), 2 states have internal predecessors, (5), 2 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:32,264 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 18 transitions. [2021-08-30 19:12:32,265 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2021-08-30 19:12:32,265 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:32,265 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:32,265 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2021-08-30 19:12:32,265 INFO L402 AbstractCegarLoop]: === Iteration 2 === Targeting getNumbersErr1REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, getNumbersErr0REQUIRES_VIOLATION (and 1 more)] === [2021-08-30 19:12:32,266 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:32,266 INFO L82 PathProgramCache]: Analyzing trace with hash -335730451, now seen corresponding path program 1 times [2021-08-30 19:12:32,266 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:32,266 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [930776241] [2021-08-30 19:12:32,266 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:32,266 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:32,286 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:32,334 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:32,343 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:32,359 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:32,359 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:32,359 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [930776241] [2021-08-30 19:12:32,359 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [930776241] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-30 19:12:32,359 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-30 19:12:32,359 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-30 19:12:32,359 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [588605643] [2021-08-30 19:12:32,360 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2021-08-30 19:12:32,360 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:32,363 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2021-08-30 19:12:32,364 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2021-08-30 19:12:32,364 INFO L87 Difference]: Start difference. First operand 18 states and 18 transitions. Second operand has 5 states, 3 states have (on average 1.6666666666666667) internal successors, (5), 3 states have internal predecessors, (5), 2 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:32,440 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:32,440 INFO L93 Difference]: Finished difference Result 21 states and 21 transitions. [2021-08-30 19:12:32,440 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2021-08-30 19:12:32,440 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 3 states have (on average 1.6666666666666667) internal successors, (5), 3 states have internal predecessors, (5), 2 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 9 [2021-08-30 19:12:32,441 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:32,441 INFO L225 Difference]: With dead ends: 21 [2021-08-30 19:12:32,441 INFO L226 Difference]: Without dead ends: 21 [2021-08-30 19:12:32,441 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 6 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 51.27ms TimeCoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2021-08-30 19:12:32,442 INFO L928 BasicCegarLoop]: 4 mSDtfsCounter, 15 mSDsluCounter, 6 mSDsCounter, 0 mSdLazyCounter, 44 mSolverCounterSat, 6 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 31.33ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 15 SdHoareTripleChecker+Valid, 5 SdHoareTripleChecker+Invalid, 50 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.73ms SdHoareTripleChecker+Time, 6 IncrementalHoareTripleChecker+Valid, 44 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 37.62ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:32,442 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [15 Valid, 5 Invalid, 50 Unknown, 0 Unchecked, 0.73ms Time], IncrementalHoareTripleChecker [6 Valid, 44 Invalid, 0 Unknown, 0 Unchecked, 37.62ms Time] [2021-08-30 19:12:32,443 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 21 states. [2021-08-30 19:12:32,445 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 21 to 20. [2021-08-30 19:12:32,445 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 20 states, 12 states have (on average 1.25) internal successors, (15), 14 states have internal predecessors, (15), 3 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2021-08-30 19:12:32,445 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 20 transitions. [2021-08-30 19:12:32,445 INFO L78 Accepts]: Start accepts. Automaton has 20 states and 20 transitions. Word has length 9 [2021-08-30 19:12:32,446 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:32,446 INFO L470 AbstractCegarLoop]: Abstraction has 20 states and 20 transitions. [2021-08-30 19:12:32,446 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 3 states have (on average 1.6666666666666667) internal successors, (5), 3 states have internal predecessors, (5), 2 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:32,446 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 20 transitions. [2021-08-30 19:12:32,446 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2021-08-30 19:12:32,446 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:32,446 INFO L513 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:32,446 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2021-08-30 19:12:32,447 INFO L402 AbstractCegarLoop]: === Iteration 3 === Targeting getNumbersErr1REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, getNumbersErr0REQUIRES_VIOLATION (and 1 more)] === [2021-08-30 19:12:32,447 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:32,447 INFO L82 PathProgramCache]: Analyzing trace with hash 1232932722, now seen corresponding path program 1 times [2021-08-30 19:12:32,447 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:32,447 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1677638070] [2021-08-30 19:12:32,448 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:32,448 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:32,456 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:32,534 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:32,538 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:32,561 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:32,561 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:32,562 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1677638070] [2021-08-30 19:12:32,562 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1677638070] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-30 19:12:32,562 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1324308213] [2021-08-30 19:12:32,562 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:32,562 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-30 19:12:32,562 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-30 19:12:32,569 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:32,571 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:32,615 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:32,617 INFO L263 TraceCheckSpWp]: Trace formula consists of 59 conjuncts, 8 conjunts are in the unsatisfiable core [2021-08-30 19:12:32,619 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-30 19:12:32,667 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:32,803 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:32,803 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2021-08-30 19:12:32,908 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:32,910 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1324308213] provided 0 perfect and 2 imperfect interpolant sequences [2021-08-30 19:12:32,910 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 3 imperfect interpolant sequences. [2021-08-30 19:12:32,910 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 4, 4] total 10 [2021-08-30 19:12:32,910 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1658407214] [2021-08-30 19:12:32,911 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 11 states [2021-08-30 19:12:32,911 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:32,912 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 11 interpolants. [2021-08-30 19:12:32,913 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=36, Invalid=74, Unknown=0, NotChecked=0, Total=110 [2021-08-30 19:12:32,913 INFO L87 Difference]: Start difference. First operand 20 states and 20 transitions. Second operand has 11 states, 10 states have (on average 2.0) internal successors, (20), 9 states have internal predecessors, (20), 3 states have call successors, (6), 4 states have call predecessors, (6), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) [2021-08-30 19:12:33,027 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:33,027 INFO L93 Difference]: Finished difference Result 27 states and 27 transitions. [2021-08-30 19:12:33,027 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 11 states. [2021-08-30 19:12:33,028 INFO L78 Accepts]: Start accepts. Automaton has has 11 states, 10 states have (on average 2.0) internal successors, (20), 9 states have internal predecessors, (20), 3 states have call successors, (6), 4 states have call predecessors, (6), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) Word has length 12 [2021-08-30 19:12:33,028 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:33,028 INFO L225 Difference]: With dead ends: 27 [2021-08-30 19:12:33,028 INFO L226 Difference]: Without dead ends: 27 [2021-08-30 19:12:33,029 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 32 GetRequests, 20 SyntacticMatches, 0 SemanticMatches, 12 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 27 ImplicationChecksByTransitivity, 103.30ms TimeCoverageRelationStatistics Valid=59, Invalid=123, Unknown=0, NotChecked=0, Total=182 [2021-08-30 19:12:33,030 INFO L928 BasicCegarLoop]: 4 mSDtfsCounter, 29 mSDsluCounter, 25 mSDsCounter, 0 mSdLazyCounter, 109 mSolverCounterSat, 22 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 52.29ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 29 SdHoareTripleChecker+Valid, 8 SdHoareTripleChecker+Invalid, 131 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 2.17ms SdHoareTripleChecker+Time, 22 IncrementalHoareTripleChecker+Valid, 109 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 63.32ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:33,030 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [29 Valid, 8 Invalid, 131 Unknown, 0 Unchecked, 2.17ms Time], IncrementalHoareTripleChecker [22 Valid, 109 Invalid, 0 Unknown, 0 Unchecked, 63.32ms Time] [2021-08-30 19:12:33,031 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 27 states. [2021-08-30 19:12:33,032 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 27 to 27. [2021-08-30 19:12:33,032 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 27 states, 20 states have (on average 1.1) internal successors, (22), 21 states have internal predecessors, (22), 3 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2021-08-30 19:12:33,033 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 27 states and 27 transitions. [2021-08-30 19:12:33,033 INFO L78 Accepts]: Start accepts. Automaton has 27 states and 27 transitions. Word has length 12 [2021-08-30 19:12:33,033 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:33,034 INFO L470 AbstractCegarLoop]: Abstraction has 27 states and 27 transitions. [2021-08-30 19:12:33,034 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 11 states, 10 states have (on average 2.0) internal successors, (20), 9 states have internal predecessors, (20), 3 states have call successors, (6), 4 states have call predecessors, (6), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) [2021-08-30 19:12:33,034 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 27 transitions. [2021-08-30 19:12:33,034 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2021-08-30 19:12:33,034 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:33,035 INFO L513 BasicCegarLoop]: trace histogram [4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:33,061 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:33,248 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:33,249 INFO L402 AbstractCegarLoop]: === Iteration 4 === Targeting mainErr0REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, getNumbersErr0REQUIRES_VIOLATION (and 1 more)] === [2021-08-30 19:12:33,250 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:33,250 INFO L82 PathProgramCache]: Analyzing trace with hash -1477178083, now seen corresponding path program 1 times [2021-08-30 19:12:33,250 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:33,250 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [922106810] [2021-08-30 19:12:33,250 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:33,250 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:33,260 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:33,305 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:33,306 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:33,317 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2021-08-30 19:12:33,322 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:33,341 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 7 proven. 0 refuted. 0 times theorem prover too weak. 15 trivial. 0 not checked. [2021-08-30 19:12:33,341 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:33,341 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [922106810] [2021-08-30 19:12:33,341 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [922106810] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-30 19:12:33,341 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-30 19:12:33,342 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2021-08-30 19:12:33,342 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2000983996] [2021-08-30 19:12:33,342 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2021-08-30 19:12:33,342 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:33,342 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2021-08-30 19:12:33,343 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=42, Unknown=0, NotChecked=0, Total=56 [2021-08-30 19:12:33,343 INFO L87 Difference]: Start difference. First operand 27 states and 27 transitions. Second operand has 8 states, 7 states have (on average 1.8571428571428572) internal successors, (13), 5 states have internal predecessors, (13), 1 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) [2021-08-30 19:12:33,402 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:33,403 INFO L93 Difference]: Finished difference Result 26 states and 26 transitions. [2021-08-30 19:12:33,403 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2021-08-30 19:12:33,403 INFO L78 Accepts]: Start accepts. Automaton has has 8 states, 7 states have (on average 1.8571428571428572) internal successors, (13), 5 states have internal predecessors, (13), 1 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) Word has length 25 [2021-08-30 19:12:33,404 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:33,404 INFO L225 Difference]: With dead ends: 26 [2021-08-30 19:12:33,404 INFO L226 Difference]: Without dead ends: 26 [2021-08-30 19:12:33,404 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 14 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 8 ImplicationChecksByTransitivity, 46.21ms TimeCoverageRelationStatistics Valid=31, Invalid=101, Unknown=0, NotChecked=0, Total=132 [2021-08-30 19:12:33,405 INFO L928 BasicCegarLoop]: 4 mSDtfsCounter, 10 mSDsluCounter, 22 mSDsCounter, 0 mSdLazyCounter, 75 mSolverCounterSat, 7 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 26.15ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 10 SdHoareTripleChecker+Valid, 9 SdHoareTripleChecker+Invalid, 82 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 1.20ms SdHoareTripleChecker+Time, 7 IncrementalHoareTripleChecker+Valid, 75 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 32.76ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:33,406 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [10 Valid, 9 Invalid, 82 Unknown, 0 Unchecked, 1.20ms Time], IncrementalHoareTripleChecker [7 Valid, 75 Invalid, 0 Unknown, 0 Unchecked, 32.76ms Time] [2021-08-30 19:12:33,406 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2021-08-30 19:12:33,408 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 26. [2021-08-30 19:12:33,408 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 26 states, 20 states have (on average 1.05) internal successors, (21), 20 states have internal predecessors, (21), 3 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2021-08-30 19:12:33,408 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 26 transitions. [2021-08-30 19:12:33,408 INFO L78 Accepts]: Start accepts. Automaton has 26 states and 26 transitions. Word has length 25 [2021-08-30 19:12:33,409 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:33,409 INFO L470 AbstractCegarLoop]: Abstraction has 26 states and 26 transitions. [2021-08-30 19:12:33,409 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 7 states have (on average 1.8571428571428572) internal successors, (13), 5 states have internal predecessors, (13), 1 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) [2021-08-30 19:12:33,409 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 26 transitions. [2021-08-30 19:12:33,409 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2021-08-30 19:12:33,410 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:33,410 INFO L513 BasicCegarLoop]: trace histogram [4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:33,410 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2021-08-30 19:12:33,410 INFO L402 AbstractCegarLoop]: === Iteration 5 === Targeting mainErr1REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, getNumbersErr0REQUIRES_VIOLATION (and 1 more)] === [2021-08-30 19:12:33,410 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:33,411 INFO L82 PathProgramCache]: Analyzing trace with hash -1477178082, now seen corresponding path program 1 times [2021-08-30 19:12:33,411 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:33,411 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [535271993] [2021-08-30 19:12:33,411 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:33,411 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:33,420 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:33,484 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:33,486 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:33,511 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2021-08-30 19:12:33,516 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:33,559 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 0 proven. 22 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:33,559 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:33,559 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [535271993] [2021-08-30 19:12:33,559 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [535271993] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-30 19:12:33,559 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1418871266] [2021-08-30 19:12:33,559 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:33,560 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-30 19:12:33,560 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-30 19:12:33,561 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:33,576 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:33,604 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:33,604 INFO L263 TraceCheckSpWp]: Trace formula consists of 96 conjuncts, 6 conjunts are in the unsatisfiable core [2021-08-30 19:12:33,605 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-30 19:12:33,662 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 0 proven. 22 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:33,663 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2021-08-30 19:12:33,754 INFO L134 CoverageAnalysis]: Checked inductivity of 22 backedges. 0 proven. 22 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-08-30 19:12:33,754 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1418871266] provided 0 perfect and 2 imperfect interpolant sequences [2021-08-30 19:12:33,754 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 3 imperfect interpolant sequences. [2021-08-30 19:12:33,754 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [11, 7, 7] total 17 [2021-08-30 19:12:33,755 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [297012024] [2021-08-30 19:12:33,755 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 17 states [2021-08-30 19:12:33,755 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:33,755 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 17 interpolants. [2021-08-30 19:12:33,756 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=77, Invalid=195, Unknown=0, NotChecked=0, Total=272 [2021-08-30 19:12:33,756 INFO L87 Difference]: Start difference. First operand 26 states and 26 transitions. Second operand has 17 states, 17 states have (on average 2.2941176470588234) internal successors, (39), 14 states have internal predecessors, (39), 2 states have call successors, (6), 4 states have call predecessors, (6), 3 states have return successors, (4), 4 states have call predecessors, (4), 2 states have call successors, (4) [2021-08-30 19:12:33,945 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:33,945 INFO L93 Difference]: Finished difference Result 44 states and 44 transitions. [2021-08-30 19:12:33,946 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 16 states. [2021-08-30 19:12:33,946 INFO L78 Accepts]: Start accepts. Automaton has has 17 states, 17 states have (on average 2.2941176470588234) internal successors, (39), 14 states have internal predecessors, (39), 2 states have call successors, (6), 4 states have call predecessors, (6), 3 states have return successors, (4), 4 states have call predecessors, (4), 2 states have call successors, (4) Word has length 25 [2021-08-30 19:12:33,946 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:33,947 INFO L225 Difference]: With dead ends: 44 [2021-08-30 19:12:33,947 INFO L226 Difference]: Without dead ends: 44 [2021-08-30 19:12:33,947 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 73 GetRequests, 46 SyntacticMatches, 0 SemanticMatches, 27 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 85 ImplicationChecksByTransitivity, 219.70ms TimeCoverageRelationStatistics Valid=238, Invalid=574, Unknown=0, NotChecked=0, Total=812 [2021-08-30 19:12:33,948 INFO L928 BasicCegarLoop]: 4 mSDtfsCounter, 59 mSDsluCounter, 35 mSDsCounter, 0 mSdLazyCounter, 105 mSolverCounterSat, 27 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 53.88ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 59 SdHoareTripleChecker+Valid, 20 SdHoareTripleChecker+Invalid, 132 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 1.76ms SdHoareTripleChecker+Time, 27 IncrementalHoareTripleChecker+Valid, 105 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 63.73ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:33,948 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [59 Valid, 20 Invalid, 132 Unknown, 0 Unchecked, 1.76ms Time], IncrementalHoareTripleChecker [27 Valid, 105 Invalid, 0 Unknown, 0 Unchecked, 63.73ms Time] [2021-08-30 19:12:33,948 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 44 states. [2021-08-30 19:12:33,950 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 44 to 44. [2021-08-30 19:12:33,951 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 44 states, 38 states have (on average 1.0263157894736843) internal successors, (39), 38 states have internal predecessors, (39), 3 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2021-08-30 19:12:33,951 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 44 transitions. [2021-08-30 19:12:33,951 INFO L78 Accepts]: Start accepts. Automaton has 44 states and 44 transitions. Word has length 25 [2021-08-30 19:12:33,951 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:33,951 INFO L470 AbstractCegarLoop]: Abstraction has 44 states and 44 transitions. [2021-08-30 19:12:33,952 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 17 states, 17 states have (on average 2.2941176470588234) internal successors, (39), 14 states have internal predecessors, (39), 2 states have call successors, (6), 4 states have call predecessors, (6), 3 states have return successors, (4), 4 states have call predecessors, (4), 2 states have call successors, (4) [2021-08-30 19:12:33,952 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 44 transitions. [2021-08-30 19:12:33,952 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 44 [2021-08-30 19:12:33,952 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:33,952 INFO L513 BasicCegarLoop]: trace histogram [10, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:33,976 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:34,160 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:34,161 INFO L402 AbstractCegarLoop]: === Iteration 6 === Targeting mainErr1REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, getNumbersErr0REQUIRES_VIOLATION (and 1 more)] === [2021-08-30 19:12:34,161 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:34,162 INFO L82 PathProgramCache]: Analyzing trace with hash 8599230, now seen corresponding path program 2 times [2021-08-30 19:12:34,162 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:34,162 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [53972168] [2021-08-30 19:12:34,162 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:34,162 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:34,176 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:34,231 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:34,234 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:34,249 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2021-08-30 19:12:34,259 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:34,295 INFO L134 CoverageAnalysis]: Checked inductivity of 145 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 145 trivial. 0 not checked. [2021-08-30 19:12:34,296 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:34,296 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [53972168] [2021-08-30 19:12:34,296 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [53972168] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-30 19:12:34,296 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-30 19:12:34,296 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2021-08-30 19:12:34,296 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [119654912] [2021-08-30 19:12:34,296 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2021-08-30 19:12:34,296 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:34,297 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2021-08-30 19:12:34,297 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=14, Invalid=42, Unknown=0, NotChecked=0, Total=56 [2021-08-30 19:12:34,297 INFO L87 Difference]: Start difference. First operand 44 states and 44 transitions. Second operand has 8 states, 7 states have (on average 1.5714285714285714) internal successors, (11), 5 states have internal predecessors, (11), 2 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2021-08-30 19:12:34,383 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:34,383 INFO L93 Difference]: Finished difference Result 43 states and 43 transitions. [2021-08-30 19:12:34,383 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2021-08-30 19:12:34,385 INFO L78 Accepts]: Start accepts. Automaton has has 8 states, 7 states have (on average 1.5714285714285714) internal successors, (11), 5 states have internal predecessors, (11), 2 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) Word has length 43 [2021-08-30 19:12:34,386 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:34,387 INFO L225 Difference]: With dead ends: 43 [2021-08-30 19:12:34,387 INFO L226 Difference]: Without dead ends: 0 [2021-08-30 19:12:34,387 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 13 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 84.58ms TimeCoverageRelationStatistics Valid=31, Invalid=101, Unknown=0, NotChecked=0, Total=132 [2021-08-30 19:12:34,389 INFO L928 BasicCegarLoop]: 4 mSDtfsCounter, 10 mSDsluCounter, 22 mSDsCounter, 0 mSdLazyCounter, 70 mSolverCounterSat, 7 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 31.78ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 10 SdHoareTripleChecker+Valid, 9 SdHoareTripleChecker+Invalid, 77 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 1.25ms SdHoareTripleChecker+Time, 7 IncrementalHoareTripleChecker+Valid, 70 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 37.60ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:34,389 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [10 Valid, 9 Invalid, 77 Unknown, 0 Unchecked, 1.25ms Time], IncrementalHoareTripleChecker [7 Valid, 70 Invalid, 0 Unknown, 0 Unchecked, 37.60ms Time] [2021-08-30 19:12:34,390 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 0 states. [2021-08-30 19:12:34,390 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 0 to 0. [2021-08-30 19:12:34,391 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 0 states, 0 states have (on average 0.0) internal successors, (0), 0 states have internal predecessors, (0), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-08-30 19:12:34,391 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 0 states to 0 states and 0 transitions. [2021-08-30 19:12:34,391 INFO L78 Accepts]: Start accepts. Automaton has 0 states and 0 transitions. Word has length 43 [2021-08-30 19:12:34,391 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:34,391 INFO L470 AbstractCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-08-30 19:12:34,391 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 7 states have (on average 1.5714285714285714) internal successors, (11), 5 states have internal predecessors, (11), 2 states have call successors, (3), 3 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2021-08-30 19:12:34,391 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2021-08-30 19:12:34,392 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2021-08-30 19:12:34,393 INFO L764 garLoopResultBuilder]: Registering result SAFE for location mainErr0REQUIRES_VIOLATION (4 of 5 remaining) [2021-08-30 19:12:34,394 INFO L764 garLoopResultBuilder]: Registering result SAFE for location mainErr1REQUIRES_VIOLATION (3 of 5 remaining) [2021-08-30 19:12:34,395 INFO L764 garLoopResultBuilder]: Registering result SAFE for location mainErr2ENSURES_VIOLATIONMEMORY_LEAK (2 of 5 remaining) [2021-08-30 19:12:34,395 INFO L764 garLoopResultBuilder]: Registering result SAFE for location getNumbersErr0REQUIRES_VIOLATION (1 of 5 remaining) [2021-08-30 19:12:34,395 INFO L764 garLoopResultBuilder]: Registering result SAFE for location getNumbersErr1REQUIRES_VIOLATION (0 of 5 remaining) [2021-08-30 19:12:34,395 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2021-08-30 19:12:34,401 INFO L179 ceAbstractionStarter]: Computing trace abstraction results [2021-08-30 19:12:34,402 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 30.08 07:12:34 BoogieIcfgContainer [2021-08-30 19:12:34,402 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2021-08-30 19:12:34,403 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-08-30 19:12:34,403 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-08-30 19:12:34,403 INFO L275 PluginConnector]: Witness Printer initialized [2021-08-30 19:12:34,403 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:31" (3/4) ... [2021-08-30 19:12:34,405 INFO L137 WitnessPrinter]: Generating witness for correct program [2021-08-30 19:12:34,409 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure ULTIMATE.init [2021-08-30 19:12:34,409 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure main [2021-08-30 19:12:34,409 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure getNumbers [2021-08-30 19:12:34,411 INFO L910 BoogieBacktranslator]: Reduced CFG by removing 10 nodes and edges [2021-08-30 19:12:34,411 INFO L910 BoogieBacktranslator]: Reduced CFG by removing 5 nodes and edges [2021-08-30 19:12:34,412 INFO L910 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2021-08-30 19:12:34,427 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-08-30 19:12:34,427 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-08-30 19:12:34,427 INFO L158 Benchmark]: Toolchain (without parser) took 3058.67ms. Allocated memory was 54.5MB in the beginning and 81.8MB in the end (delta: 27.3MB). Free memory was 31.6MB in the beginning and 38.4MB in the end (delta: -6.8MB). Peak memory consumption was 20.2MB. Max. memory is 16.1GB. [2021-08-30 19:12:34,427 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 54.5MB. Free memory is still 36.4MB. There was no memory consumed. Max. memory is 16.1GB. [2021-08-30 19:12:34,428 INFO L158 Benchmark]: CACSL2BoogieTranslator took 136.43ms. Allocated memory is still 54.5MB. Free memory was 31.4MB in the beginning and 35.7MB in the end (delta: -4.3MB). Peak memory consumption was 7.4MB. Max. memory is 16.1GB. [2021-08-30 19:12:34,428 INFO L158 Benchmark]: Boogie Preprocessor took 60.29ms. Allocated memory was 54.5MB in the beginning and 67.1MB in the end (delta: 12.6MB). Free memory was 35.7MB in the beginning and 50.7MB in the end (delta: -15.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-08-30 19:12:34,428 INFO L158 Benchmark]: RCFGBuilder took 201.56ms. Allocated memory is still 67.1MB. Free memory was 50.7MB in the beginning and 42.2MB in the end (delta: 8.5MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2021-08-30 19:12:34,428 INFO L158 Benchmark]: TraceAbstraction took 2629.99ms. Allocated memory was 67.1MB in the beginning and 81.8MB in the end (delta: 14.7MB). Free memory was 41.6MB in the beginning and 41.2MB in the end (delta: 373.8kB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. [2021-08-30 19:12:34,428 INFO L158 Benchmark]: Witness Printer took 24.09ms. Allocated memory is still 81.8MB. Free memory was 41.2MB in the beginning and 38.4MB in the end (delta: 2.8MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2021-08-30 19:12:34,429 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.14ms. Allocated memory is still 54.5MB. Free memory is still 36.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 136.43ms. Allocated memory is still 54.5MB. Free memory was 31.4MB in the beginning and 35.7MB in the end (delta: -4.3MB). Peak memory consumption was 7.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 60.29ms. Allocated memory was 54.5MB in the beginning and 67.1MB in the end (delta: 12.6MB). Free memory was 35.7MB in the beginning and 50.7MB in the end (delta: -15.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 201.56ms. Allocated memory is still 67.1MB. Free memory was 50.7MB in the beginning and 42.2MB in the end (delta: 8.5MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * TraceAbstraction took 2629.99ms. Allocated memory was 67.1MB in the beginning and 81.8MB in the end (delta: 14.7MB). Free memory was 41.6MB in the beginning and 41.2MB in the end (delta: 373.8kB). Peak memory consumption was 17.0MB. Max. memory is 16.1GB. * Witness Printer took 24.09ms. Allocated memory is still 81.8MB. Free memory was 41.2MB in the beginning and 38.4MB in the end (delta: 2.8MB). Peak memory consumption was 4.2MB. 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 - PositiveResult [Line: 14]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 14]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 12]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - PositiveResult [Line: 6]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 6]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 25 locations, 5 error locations. Started 1 CEGAR loops. OverallTime: 2585.57ms, OverallIterations: 6, TraceHistogramMax: 10, EmptinessCheckTime: 18.73ms, AutomataDifference: 690.88ms, DeadEndRemovalTime: 0.00ms, HoareAnnotationTime: 0.00ms, InitialAbstractionConstructionTime: 11.45ms, PartialOrderReductionTime: 0.00ms, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 154 SdHoareTripleChecker+Valid, 298.47ms IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 154 mSDsluCounter, 57 SdHoareTripleChecker+Invalid, 248.80ms Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 113 mSDsCounter, 75 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 440 IncrementalHoareTripleChecker+Invalid, 515 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 75 mSolverCounterUnsat, 25 mSDtfsCounter, 440 mSolverCounterSat, 9.89ms SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 142 GetRequests, 75 SyntacticMatches, 0 SemanticMatches, 67 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 128 ImplicationChecksByTransitivity, 582.81ms Time, 0.00ms BasicInterpolantAutomatonTime, BiggestAbstraction: size=44occurred in iteration=5, InterpolantAutomatonStates: 55, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.00ms DumpTime, AutomataMinimizationStatistics: 23.49ms AutomataMinimizationTime, 6 MinimizatonAttempts, 11 StatesRemovedByMinimization, 2 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 33.88ms SsaConstructionTime, 83.85ms SatisfiabilityAnalysisTime, 1121.11ms InterpolantComputationTime, 160 NumberOfCodeBlocks, 160 NumberOfCodeBlocksAsserted, 8 NumberOfCheckSat, 187 ConstructedInterpolants, 0 QuantifiedInterpolants, 1020 SizeOfPredicates, 0 NumberOfNonLiveVariables, 155 ConjunctsInSsa, 14 ConjunctsInUnsatCore, 10 InterpolantComputations, 4 PerfectInterpolantSequences, 167/239 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 - AllSpecificationsHoldResult: All specifications hold 5 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2021-08-30 19:12:34,452 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...