./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/memsafety-ext3/getNumbers1-1.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/getNumbers1-1.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 1b1751fe95f9cf655681429038c1cde9e9c074e8 ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-deref) --- Real Ultimate output --- This is Ultimate 0.2.1-wip.dd.seqcomp-5fbdf5b [2021-08-30 19:12:28,300 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-08-30 19:12:28,303 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-08-30 19:12:28,332 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-08-30 19:12:28,333 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-08-30 19:12:28,334 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-08-30 19:12:28,335 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-08-30 19:12:28,337 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-08-30 19:12:28,345 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-08-30 19:12:28,347 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-08-30 19:12:28,348 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-08-30 19:12:28,349 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-08-30 19:12:28,349 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-08-30 19:12:28,350 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-08-30 19:12:28,351 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-08-30 19:12:28,352 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-08-30 19:12:28,353 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-08-30 19:12:28,354 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-08-30 19:12:28,355 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-08-30 19:12:28,357 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-08-30 19:12:28,359 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-08-30 19:12:28,360 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-08-30 19:12:28,361 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-08-30 19:12:28,362 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-08-30 19:12:28,365 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-08-30 19:12:28,365 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-08-30 19:12:28,365 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-08-30 19:12:28,366 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-08-30 19:12:28,367 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-08-30 19:12:28,368 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-08-30 19:12:28,368 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-08-30 19:12:28,369 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-08-30 19:12:28,369 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-08-30 19:12:28,370 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-08-30 19:12:28,371 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-08-30 19:12:28,371 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-08-30 19:12:28,372 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-08-30 19:12:28,372 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-08-30 19:12:28,372 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-08-30 19:12:28,373 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-08-30 19:12:28,374 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-08-30 19:12:28,375 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:28,396 INFO L113 SettingsManager]: Loading preferences was successful [2021-08-30 19:12:28,396 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-08-30 19:12:28,397 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-08-30 19:12:28,397 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-08-30 19:12:28,398 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-08-30 19:12:28,398 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-08-30 19:12:28,399 INFO L138 SettingsManager]: * Use SBE=true [2021-08-30 19:12:28,399 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-08-30 19:12:28,399 INFO L138 SettingsManager]: * sizeof long=4 [2021-08-30 19:12:28,399 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-08-30 19:12:28,400 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-08-30 19:12:28,400 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-08-30 19:12:28,400 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-08-30 19:12:28,401 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2021-08-30 19:12:28,401 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2021-08-30 19:12:28,401 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2021-08-30 19:12:28,401 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2021-08-30 19:12:28,402 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2021-08-30 19:12:28,402 INFO L138 SettingsManager]: * sizeof long double=12 [2021-08-30 19:12:28,402 INFO L138 SettingsManager]: * Use constant arrays=true [2021-08-30 19:12:28,402 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-08-30 19:12:28,403 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-08-30 19:12:28,403 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2021-08-30 19:12:28,403 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-08-30 19:12:28,403 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-08-30 19:12:28,404 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2021-08-30 19:12:28,404 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-08-30 19:12:28,404 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2021-08-30 19:12:28,404 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-08-30 19:12:28,405 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 -> 1b1751fe95f9cf655681429038c1cde9e9c074e8 [2021-08-30 19:12:28,659 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-08-30 19:12:28,677 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-08-30 19:12:28,679 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-08-30 19:12:28,680 INFO L271 PluginConnector]: Initializing CDTParser... [2021-08-30 19:12:28,681 INFO L275 PluginConnector]: CDTParser initialized [2021-08-30 19:12:28,682 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety-ext3/getNumbers1-1.c [2021-08-30 19:12:28,741 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a75297fa3/0f1d524d1c744f7182749ac4f801d5b9/FLAG9b18da2b5 [2021-08-30 19:12:29,153 INFO L306 CDTParser]: Found 1 translation units. [2021-08-30 19:12:29,154 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety-ext3/getNumbers1-1.c [2021-08-30 19:12:29,159 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a75297fa3/0f1d524d1c744f7182749ac4f801d5b9/FLAG9b18da2b5 [2021-08-30 19:12:29,572 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/a75297fa3/0f1d524d1c744f7182749ac4f801d5b9 [2021-08-30 19:12:29,576 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-08-30 19:12:29,578 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2021-08-30 19:12:29,581 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-08-30 19:12:29,581 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-08-30 19:12:29,584 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-08-30 19:12:29,585 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.08 07:12:29" (1/1) ... [2021-08-30 19:12:29,587 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5f0a46ad and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:29, skipping insertion in model container [2021-08-30 19:12:29,587 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.08 07:12:29" (1/1) ... [2021-08-30 19:12:29,593 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-08-30 19:12:29,605 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-08-30 19:12:29,737 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-30 19:12:29,745 INFO L203 MainTranslator]: Completed pre-run [2021-08-30 19:12:29,763 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-08-30 19:12:29,776 INFO L208 MainTranslator]: Completed translation [2021-08-30 19:12:29,777 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:29 WrapperNode [2021-08-30 19:12:29,777 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-08-30 19:12:29,778 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-08-30 19:12:29,778 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-08-30 19:12:29,778 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-08-30 19:12:29,787 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:29" (1/1) ... [2021-08-30 19:12:29,788 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:29" (1/1) ... [2021-08-30 19:12:29,795 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:29" (1/1) ... [2021-08-30 19:12:29,795 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:29" (1/1) ... [2021-08-30 19:12:29,808 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:29" (1/1) ... [2021-08-30 19:12:29,813 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:29" (1/1) ... [2021-08-30 19:12:29,814 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:29" (1/1) ... [2021-08-30 19:12:29,823 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-08-30 19:12:29,824 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-08-30 19:12:29,824 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-08-30 19:12:29,824 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-08-30 19:12:29,825 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:29" (1/1) ... [2021-08-30 19:12:29,831 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2021-08-30 19:12:29,840 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-30 19:12:29,854 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:29,880 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:29,895 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2021-08-30 19:12:29,895 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-08-30 19:12:29,896 INFO L138 BoogieDeclarations]: Found implementation of procedure getNumbers [2021-08-30 19:12:29,896 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2021-08-30 19:12:29,896 INFO L130 BoogieDeclarations]: Found specification of procedure printf [2021-08-30 19:12:29,896 INFO L130 BoogieDeclarations]: Found specification of procedure alloca [2021-08-30 19:12:29,896 INFO L130 BoogieDeclarations]: Found specification of procedure getNumbers [2021-08-30 19:12:29,897 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-08-30 19:12:29,897 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2021-08-30 19:12:29,897 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-08-30 19:12:29,898 INFO L130 BoogieDeclarations]: Found specification of procedure main [2021-08-30 19:12:29,898 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2021-08-30 19:12:29,898 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2021-08-30 19:12:29,898 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-08-30 19:12:29,898 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-08-30 19:12:30,078 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-08-30 19:12:30,078 INFO L299 CfgBuilder]: Removed 2 assume(true) statements. [2021-08-30 19:12:30,079 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.08 07:12:30 BoogieIcfgContainer [2021-08-30 19:12:30,080 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-08-30 19:12:30,081 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2021-08-30 19:12:30,081 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2021-08-30 19:12:30,084 INFO L275 PluginConnector]: TraceAbstraction initialized [2021-08-30 19:12:30,084 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 30.08 07:12:29" (1/3) ... [2021-08-30 19:12:30,087 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5cf92c2d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 30.08 07:12:30, skipping insertion in model container [2021-08-30 19:12:30,088 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 07:12:29" (2/3) ... [2021-08-30 19:12:30,088 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5cf92c2d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 30.08 07:12:30, skipping insertion in model container [2021-08-30 19:12:30,090 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.08 07:12:30" (3/3) ... [2021-08-30 19:12:30,092 INFO L111 eAbstractionObserver]: Analyzing ICFG getNumbers1-1.c [2021-08-30 19:12:30,096 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2021-08-30 19:12:30,097 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 5 error locations. [2021-08-30 19:12:30,144 INFO L338 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2021-08-30 19:12:30,157 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:30,157 INFO L340 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2021-08-30 19:12:30,172 INFO L276 IsEmpty]: Start isEmpty. Operand has 28 states, 16 states have (on average 1.5625) internal successors, (25), 21 states have internal predecessors, (25), 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:30,188 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2021-08-30 19:12:30,188 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:30,189 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:30,189 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:30,195 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:30,196 INFO L82 PathProgramCache]: Analyzing trace with hash 543879226, now seen corresponding path program 1 times [2021-08-30 19:12:30,203 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:30,204 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [279896457] [2021-08-30 19:12:30,204 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:30,205 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:30,313 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:30,467 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:30,470 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:30,493 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:30,494 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:30,494 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [279896457] [2021-08-30 19:12:30,495 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [279896457] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-30 19:12:30,495 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-30 19:12:30,495 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-30 19:12:30,497 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [657333026] [2021-08-30 19:12:30,501 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2021-08-30 19:12:30,502 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:30,535 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-30 19:12:30,536 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:30,538 INFO L87 Difference]: Start difference. First operand has 28 states, 16 states have (on average 1.5625) internal successors, (25), 21 states have internal predecessors, (25), 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, 3 states have (on average 1.6666666666666667) internal successors, (5), 3 states have internal predecessors, (5), 1 states have call successors, (3), 2 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:30,656 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:30,657 INFO L93 Difference]: Finished difference Result 27 states and 28 transitions. [2021-08-30 19:12:30,658 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-30 19:12:30,659 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, (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:30,660 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:30,665 INFO L225 Difference]: With dead ends: 27 [2021-08-30 19:12:30,666 INFO L226 Difference]: Without dead ends: 24 [2021-08-30 19:12:30,667 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 45.38ms TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:30,671 INFO L928 BasicCegarLoop]: 6 mSDtfsCounter, 4 mSDsluCounter, 19 mSDsCounter, 0 mSdLazyCounter, 62 mSolverCounterSat, 2 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 74.02ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 4 SdHoareTripleChecker+Valid, 13 SdHoareTripleChecker+Invalid, 64 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 2.05ms SdHoareTripleChecker+Time, 2 IncrementalHoareTripleChecker+Valid, 62 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 95.70ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:30,672 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [4 Valid, 13 Invalid, 64 Unknown, 0 Unchecked, 2.05ms Time], IncrementalHoareTripleChecker [2 Valid, 62 Invalid, 0 Unknown, 0 Unchecked, 95.70ms Time] [2021-08-30 19:12:30,687 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 24 states. [2021-08-30 19:12:30,697 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 24 to 24. [2021-08-30 19:12:30,699 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 24 states, 15 states have (on average 1.3333333333333333) internal successors, (20), 18 states have internal predecessors, (20), 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:30,699 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 25 transitions. [2021-08-30 19:12:30,700 INFO L78 Accepts]: Start accepts. Automaton has 24 states and 25 transitions. Word has length 9 [2021-08-30 19:12:30,701 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:30,701 INFO L470 AbstractCegarLoop]: Abstraction has 24 states and 25 transitions. [2021-08-30 19:12:30,701 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, (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:30,702 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 25 transitions. [2021-08-30 19:12:30,702 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2021-08-30 19:12:30,702 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:30,702 INFO L513 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:30,703 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2021-08-30 19:12:30,703 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:30,704 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:30,704 INFO L82 PathProgramCache]: Analyzing trace with hash 543879227, now seen corresponding path program 1 times [2021-08-30 19:12:30,704 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:30,704 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [559868518] [2021-08-30 19:12:30,705 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:30,705 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:30,718 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:30,778 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:30,780 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:30,787 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:30,787 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:30,788 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [559868518] [2021-08-30 19:12:30,788 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [559868518] provided 1 perfect and 0 imperfect interpolant sequences [2021-08-30 19:12:30,788 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-08-30 19:12:30,790 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-08-30 19:12:30,791 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [228887979] [2021-08-30 19:12:30,792 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2021-08-30 19:12:30,793 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:30,794 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-08-30 19:12:30,795 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:30,795 INFO L87 Difference]: Start difference. First operand 24 states and 25 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, (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:30,884 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:30,885 INFO L93 Difference]: Finished difference Result 27 states and 28 transitions. [2021-08-30 19:12:30,885 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-08-30 19:12:30,885 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, (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:30,886 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:30,886 INFO L225 Difference]: With dead ends: 27 [2021-08-30 19:12:30,886 INFO L226 Difference]: Without dead ends: 27 [2021-08-30 19:12:30,887 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 19.49ms TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-08-30 19:12:30,888 INFO L928 BasicCegarLoop]: 5 mSDtfsCounter, 1 mSDsluCounter, 16 mSDsCounter, 0 mSdLazyCounter, 61 mSolverCounterSat, 3 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 42.26ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 1 SdHoareTripleChecker+Valid, 10 SdHoareTripleChecker+Invalid, 64 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 1.30ms SdHoareTripleChecker+Time, 3 IncrementalHoareTripleChecker+Valid, 61 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 80.50ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:30,889 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [1 Valid, 10 Invalid, 64 Unknown, 0 Unchecked, 1.30ms Time], IncrementalHoareTripleChecker [3 Valid, 61 Invalid, 0 Unknown, 0 Unchecked, 80.50ms Time] [2021-08-30 19:12:30,893 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 27 states. [2021-08-30 19:12:30,896 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 27 to 26. [2021-08-30 19:12:30,899 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 26 states, 17 states have (on average 1.2941176470588236) internal successors, (22), 20 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:30,900 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 27 transitions. [2021-08-30 19:12:30,909 INFO L78 Accepts]: Start accepts. Automaton has 26 states and 27 transitions. Word has length 9 [2021-08-30 19:12:30,910 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:30,910 INFO L470 AbstractCegarLoop]: Abstraction has 26 states and 27 transitions. [2021-08-30 19:12:30,910 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, (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:30,911 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 27 transitions. [2021-08-30 19:12:30,911 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2021-08-30 19:12:30,911 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:30,911 INFO L513 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:30,912 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2021-08-30 19:12:30,912 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:30,913 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:30,913 INFO L82 PathProgramCache]: Analyzing trace with hash 2089391026, now seen corresponding path program 1 times [2021-08-30 19:12:30,913 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:30,913 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [5246796] [2021-08-30 19:12:30,913 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:30,914 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:30,940 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:31,058 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:31,073 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:31,080 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:31,080 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:31,080 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [5246796] [2021-08-30 19:12:31,080 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [5246796] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-30 19:12:31,081 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1440627394] [2021-08-30 19:12:31,081 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:31,081 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-30 19:12:31,081 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-30 19:12:31,109 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:31,122 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:31,188 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:31,191 INFO L263 TraceCheckSpWp]: Trace formula consists of 84 conjuncts, 12 conjunts are in the unsatisfiable core [2021-08-30 19:12:31,195 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-30 19:12:31,267 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:31,349 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:31,349 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2021-08-30 19:12:31,441 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:31,441 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1440627394] provided 0 perfect and 2 imperfect interpolant sequences [2021-08-30 19:12:31,441 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 3 imperfect interpolant sequences. [2021-08-30 19:12:31,442 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 3, 3] total 8 [2021-08-30 19:12:31,442 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1628912562] [2021-08-30 19:12:31,442 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2021-08-30 19:12:31,442 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:31,443 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2021-08-30 19:12:31,443 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=23, Invalid=49, Unknown=0, NotChecked=0, Total=72 [2021-08-30 19:12:31,443 INFO L87 Difference]: Start difference. First operand 26 states and 27 transitions. Second operand has 9 states, 8 states have (on average 2.25) internal successors, (18), 8 states have internal predecessors, (18), 1 states have call successors, (4), 2 states have call predecessors, (4), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:31,618 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:31,619 INFO L93 Difference]: Finished difference Result 33 states and 34 transitions. [2021-08-30 19:12:31,619 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2021-08-30 19:12:31,619 INFO L78 Accepts]: Start accepts. Automaton has has 9 states, 8 states have (on average 2.25) internal successors, (18), 8 states have internal predecessors, (18), 1 states have call successors, (4), 2 states have call predecessors, (4), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 12 [2021-08-30 19:12:31,620 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:31,620 INFO L225 Difference]: With dead ends: 33 [2021-08-30 19:12:31,621 INFO L226 Difference]: Without dead ends: 33 [2021-08-30 19:12:31,621 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 30 GetRequests, 22 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 84.65ms TimeCoverageRelationStatistics Valid=30, Invalid=60, Unknown=0, NotChecked=0, Total=90 [2021-08-30 19:12:31,622 INFO L928 BasicCegarLoop]: 5 mSDtfsCounter, 12 mSDsluCounter, 66 mSDsCounter, 0 mSdLazyCounter, 145 mSolverCounterSat, 13 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 103.42ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 12 SdHoareTripleChecker+Valid, 21 SdHoareTripleChecker+Invalid, 158 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 4.35ms SdHoareTripleChecker+Time, 13 IncrementalHoareTripleChecker+Valid, 145 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 132.14ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:31,623 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [12 Valid, 21 Invalid, 158 Unknown, 0 Unchecked, 4.35ms Time], IncrementalHoareTripleChecker [13 Valid, 145 Invalid, 0 Unknown, 0 Unchecked, 132.14ms Time] [2021-08-30 19:12:31,624 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 33 states. [2021-08-30 19:12:31,635 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 33 to 33. [2021-08-30 19:12:31,635 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 33 states, 25 states have (on average 1.16) internal successors, (29), 27 states have internal predecessors, (29), 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:31,637 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 33 states to 33 states and 34 transitions. [2021-08-30 19:12:31,637 INFO L78 Accepts]: Start accepts. Automaton has 33 states and 34 transitions. Word has length 12 [2021-08-30 19:12:31,637 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:31,637 INFO L470 AbstractCegarLoop]: Abstraction has 33 states and 34 transitions. [2021-08-30 19:12:31,638 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 8 states have (on average 2.25) internal successors, (18), 8 states have internal predecessors, (18), 1 states have call successors, (4), 2 states have call predecessors, (4), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2021-08-30 19:12:31,638 INFO L276 IsEmpty]: Start isEmpty. Operand 33 states and 34 transitions. [2021-08-30 19:12:31,640 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2021-08-30 19:12:31,640 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:31,640 INFO L513 BasicCegarLoop]: trace histogram [4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:31,668 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2021-08-30 19:12:31,868 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:31,868 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:31,869 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:31,869 INFO L82 PathProgramCache]: Analyzing trace with hash -149204609, now seen corresponding path program 1 times [2021-08-30 19:12:31,869 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:31,869 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2038260195] [2021-08-30 19:12:31,869 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:31,869 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:31,904 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:31,960 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2021-08-30 19:12:31,963 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:31,980 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2021-08-30 19:12:31,990 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:32,058 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:32,059 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-08-30 19:12:32,059 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2038260195] [2021-08-30 19:12:32,059 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2038260195] provided 0 perfect and 1 imperfect interpolant sequences [2021-08-30 19:12:32,060 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1210102920] [2021-08-30 19:12:32,060 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:32,060 INFO L170 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2021-08-30 19:12:32,060 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2021-08-30 19:12:32,061 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:32,065 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:32,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-08-30 19:12:32,108 INFO L263 TraceCheckSpWp]: Trace formula consists of 125 conjuncts, 6 conjunts are in the unsatisfiable core [2021-08-30 19:12:32,110 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2021-08-30 19:12:32,178 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:32,178 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2021-08-30 19:12:32,299 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:32,299 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1210102920] provided 0 perfect and 2 imperfect interpolant sequences [2021-08-30 19:12:32,299 INFO L186 FreeRefinementEngine]: Constructing automaton from 0 perfect and 3 imperfect interpolant sequences. [2021-08-30 19:12:32,299 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 7, 7] total 15 [2021-08-30 19:12:32,300 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [174317146] [2021-08-30 19:12:32,300 INFO L546 AbstractCegarLoop]: INTERPOLANT automaton has 15 states [2021-08-30 19:12:32,300 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-08-30 19:12:32,301 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 15 interpolants. [2021-08-30 19:12:32,301 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=82, Invalid=128, Unknown=0, NotChecked=0, Total=210 [2021-08-30 19:12:32,302 INFO L87 Difference]: Start difference. First operand 33 states and 34 transitions. Second operand has 15 states, 15 states have (on average 2.6666666666666665) internal successors, (40), 13 states have internal predecessors, (40), 1 states have call successors, (5), 3 states have call predecessors, (5), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) [2021-08-30 19:12:32,402 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-08-30 19:12:32,403 INFO L93 Difference]: Finished difference Result 51 states and 52 transitions. [2021-08-30 19:12:32,403 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 13 states. [2021-08-30 19:12:32,403 INFO L78 Accepts]: Start accepts. Automaton has has 15 states, 15 states have (on average 2.6666666666666665) internal successors, (40), 13 states have internal predecessors, (40), 1 states have call successors, (5), 3 states have call predecessors, (5), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) Word has length 26 [2021-08-30 19:12:32,404 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2021-08-30 19:12:32,404 INFO L225 Difference]: With dead ends: 51 [2021-08-30 19:12:32,405 INFO L226 Difference]: Without dead ends: 51 [2021-08-30 19:12:32,405 INFO L927 BasicCegarLoop]: 0 DeclaredPredicates, 63 GetRequests, 49 SyntacticMatches, 0 SemanticMatches, 14 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 21 ImplicationChecksByTransitivity, 102.52ms TimeCoverageRelationStatistics Valid=86, Invalid=154, Unknown=0, NotChecked=0, Total=240 [2021-08-30 19:12:32,406 INFO L928 BasicCegarLoop]: 5 mSDtfsCounter, 20 mSDsluCounter, 65 mSDsCounter, 0 mSdLazyCounter, 135 mSolverCounterSat, 12 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 62.20ms Time, 0 mProtectedPredicate, 0 mProtectedAction, 20 SdHoareTripleChecker+Valid, 22 SdHoareTripleChecker+Invalid, 147 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 1.97ms SdHoareTripleChecker+Time, 12 IncrementalHoareTripleChecker+Valid, 135 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 77.20ms IncrementalHoareTripleChecker+Time [2021-08-30 19:12:32,407 INFO L929 BasicCegarLoop]: SdHoareTripleChecker [20 Valid, 22 Invalid, 147 Unknown, 0 Unchecked, 1.97ms Time], IncrementalHoareTripleChecker [12 Valid, 135 Invalid, 0 Unknown, 0 Unchecked, 77.20ms Time] [2021-08-30 19:12:32,407 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 51 states. [2021-08-30 19:12:32,410 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 51 to 51. [2021-08-30 19:12:32,411 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 51 states, 43 states have (on average 1.0930232558139534) internal successors, (47), 45 states have internal predecessors, (47), 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,419 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 51 states and 52 transitions. [2021-08-30 19:12:32,420 INFO L78 Accepts]: Start accepts. Automaton has 51 states and 52 transitions. Word has length 26 [2021-08-30 19:12:32,420 INFO L84 Accepts]: Finished accepts. word is rejected. [2021-08-30 19:12:32,420 INFO L470 AbstractCegarLoop]: Abstraction has 51 states and 52 transitions. [2021-08-30 19:12:32,421 INFO L471 AbstractCegarLoop]: INTERPOLANT automaton has has 15 states, 15 states have (on average 2.6666666666666665) internal successors, (40), 13 states have internal predecessors, (40), 1 states have call successors, (5), 3 states have call predecessors, (5), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) [2021-08-30 19:12:32,421 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 52 transitions. [2021-08-30 19:12:32,422 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 45 [2021-08-30 19:12:32,422 INFO L505 BasicCegarLoop]: Found error trace [2021-08-30 19:12:32,422 INFO L513 BasicCegarLoop]: trace histogram [10, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-08-30 19:12:32,447 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:32,637 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable3 [2021-08-30 19:12:32,638 INFO L402 AbstractCegarLoop]: === Iteration 5 === Targeting mainErr0REQUIRES_VIOLATION === [mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION, mainErr2ENSURES_VIOLATIONMEMORY_LEAK, getNumbersErr0REQUIRES_VIOLATION (and 1 more)] === [2021-08-30 19:12:32,639 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-08-30 19:12:32,639 INFO L82 PathProgramCache]: Analyzing trace with hash -1709012065, now seen corresponding path program 2 times [2021-08-30 19:12:32,639 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-08-30 19:12:32,639 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1093334677] [2021-08-30 19:12:32,639 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-08-30 19:12:32,639 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-08-30 19:12:32,670 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-30 19:12:32,670 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-08-30 19:12:32,699 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-08-30 19:12:32,722 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-08-30 19:12:32,723 INFO L627 BasicCegarLoop]: Counterexample is feasible [2021-08-30 19:12:32,724 INFO L764 garLoopResultBuilder]: Registering result UNSAFE for location mainErr0REQUIRES_VIOLATION (4 of 5 remaining) [2021-08-30 19:12:32,725 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr1REQUIRES_VIOLATION (3 of 5 remaining) [2021-08-30 19:12:32,725 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location mainErr2ENSURES_VIOLATIONMEMORY_LEAK (2 of 5 remaining) [2021-08-30 19:12:32,726 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location getNumbersErr0REQUIRES_VIOLATION (1 of 5 remaining) [2021-08-30 19:12:32,726 INFO L764 garLoopResultBuilder]: Registering result UNKNOWN for location getNumbersErr1REQUIRES_VIOLATION (0 of 5 remaining) [2021-08-30 19:12:32,726 WARN L452 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2021-08-30 19:12:32,732 INFO L179 ceAbstractionStarter]: Computing trace abstraction results [2021-08-30 19:12:32,765 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 30.08 07:12:32 BoogieIcfgContainer [2021-08-30 19:12:32,765 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2021-08-30 19:12:32,766 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-08-30 19:12:32,766 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-08-30 19:12:32,766 INFO L275 PluginConnector]: Witness Printer initialized [2021-08-30 19:12:32,766 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:30" (3/4) ... [2021-08-30 19:12:32,768 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2021-08-30 19:12:32,812 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2021-08-30 19:12:32,813 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-08-30 19:12:32,813 INFO L158 Benchmark]: Toolchain (without parser) took 3235.29ms. Allocated memory was 52.4MB in the beginning and 73.4MB in the end (delta: 21.0MB). Free memory was 30.3MB in the beginning and 30.9MB in the end (delta: -569.2kB). Peak memory consumption was 22.7MB. Max. memory is 16.1GB. [2021-08-30 19:12:32,814 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 52.4MB. Free memory was 34.3MB in the beginning and 34.2MB in the end (delta: 38.1kB). There was no memory consumed. Max. memory is 16.1GB. [2021-08-30 19:12:32,815 INFO L158 Benchmark]: CACSL2BoogieTranslator took 196.06ms. Allocated memory is still 52.4MB. Free memory was 30.1MB in the beginning and 32.6MB in the end (delta: -2.5MB). Peak memory consumption was 7.1MB. Max. memory is 16.1GB. [2021-08-30 19:12:32,815 INFO L158 Benchmark]: Boogie Preprocessor took 45.42ms. Allocated memory is still 52.4MB. Free memory was 32.6MB in the beginning and 31.1MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-08-30 19:12:32,815 INFO L158 Benchmark]: RCFGBuilder took 255.89ms. Allocated memory was 52.4MB in the beginning and 73.4MB in the end (delta: 21.0MB). Free memory was 31.1MB in the beginning and 54.7MB in the end (delta: -23.5MB). Peak memory consumption was 7.5MB. Max. memory is 16.1GB. [2021-08-30 19:12:32,816 INFO L158 Benchmark]: TraceAbstraction took 2684.04ms. Allocated memory is still 73.4MB. Free memory was 54.1MB in the beginning and 33.4MB in the end (delta: 20.7MB). Peak memory consumption was 20.7MB. Max. memory is 16.1GB. [2021-08-30 19:12:32,816 INFO L158 Benchmark]: Witness Printer took 47.03ms. Allocated memory is still 73.4MB. Free memory was 33.4MB in the beginning and 30.9MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2021-08-30 19:12:32,821 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.24ms. Allocated memory is still 52.4MB. Free memory was 34.3MB in the beginning and 34.2MB in the end (delta: 38.1kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 196.06ms. Allocated memory is still 52.4MB. Free memory was 30.1MB in the beginning and 32.6MB in the end (delta: -2.5MB). Peak memory consumption was 7.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 45.42ms. Allocated memory is still 52.4MB. Free memory was 32.6MB in the beginning and 31.1MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 255.89ms. Allocated memory was 52.4MB in the beginning and 73.4MB in the end (delta: 21.0MB). Free memory was 31.1MB in the beginning and 54.7MB in the end (delta: -23.5MB). Peak memory consumption was 7.5MB. Max. memory is 16.1GB. * TraceAbstraction took 2684.04ms. Allocated memory is still 73.4MB. Free memory was 54.1MB in the beginning and 33.4MB in the end (delta: 20.7MB). Peak memory consumption was 20.7MB. Max. memory is 16.1GB. * Witness Printer took 47.03ms. Allocated memory is still 73.4MB. Free memory was 33.4MB in the beginning and 30.9MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.00ms ErrorAutomatonConstructionTimeTotal, 0.00ms FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.00ms ErrorAutomatonConstructionTimeAvg, 0.00ms ErrorAutomatonDifferenceTimeAvg, 0.00ms ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - CounterExampleResult [Line: 22]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L19] CALL, EXPR getNumbers() [L8] int *array = alloca(10 * sizeof(int)); [L10] int i = 0; VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=0] [L10] COND TRUE i < 10 VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=0] [L11] array[i] = i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=0] [L10] ++i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=1] [L10] COND TRUE i < 10 VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=1] [L11] array[i] = i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=1] [L10] ++i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=2] [L10] COND TRUE i < 10 VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=2] [L11] array[i] = i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=2] [L10] ++i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=3] [L10] COND TRUE i < 10 VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=3] [L11] array[i] = i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=3] [L10] ++i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=4] [L10] COND TRUE i < 10 VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=4] [L11] array[i] = i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=4] [L10] ++i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=5] [L10] COND TRUE i < 10 VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=5] [L11] array[i] = i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=5] [L10] ++i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=6] [L10] COND TRUE i < 10 VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=6] [L11] array[i] = i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=6] [L10] ++i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=7] [L10] COND TRUE i < 10 VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=7] [L11] array[i] = i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=7] [L10] ++i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=8] [L10] COND TRUE i < 10 VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=8] [L11] array[i] = i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=8] [L10] ++i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=9] [L10] COND TRUE i < 10 VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=9] [L11] array[i] = i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=9] [L10] ++i VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=10] [L10] COND FALSE !(i < 10) VAL [alloca(10 * sizeof(int))={11:0}, array={11:0}, i=10] [L14] return array; [L19] RET, EXPR getNumbers() VAL [getNumbers()={11:0}] [L19] int *numbers = getNumbers(); [L21] int i = 0; VAL [i=0, numbers={11:0}] [L21] COND TRUE i < 10 [L22] numbers + i - UnprovableResult [Line: 22]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: 17]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 11]: 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 pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 28 locations, 5 error locations. Started 1 CEGAR loops. OverallTime: 2587.65ms, OverallIterations: 5, TraceHistogramMax: 10, EmptinessCheckTime: 23.61ms, AutomataDifference: 559.47ms, DeadEndRemovalTime: 0.00ms, HoareAnnotationTime: 0.00ms, InitialAbstractionConstructionTime: 11.35ms, PartialOrderReductionTime: 0.00ms, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 37 SdHoareTripleChecker+Valid, 385.55ms IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 37 mSDsluCounter, 66 SdHoareTripleChecker+Invalid, 281.90ms Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 166 mSDsCounter, 30 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 403 IncrementalHoareTripleChecker+Invalid, 433 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 30 mSolverCounterUnsat, 21 mSDtfsCounter, 403 mSolverCounterSat, 9.68ms SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 101 GetRequests, 75 SyntacticMatches, 0 SemanticMatches, 26 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 28 ImplicationChecksByTransitivity, 252.04ms Time, 0.00ms BasicInterpolantAutomatonTime, BiggestAbstraction: size=51occurred in iteration=4, InterpolantAutomatonStates: 29, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.00ms DumpTime, AutomataMinimizationStatistics: 57.56ms AutomataMinimizationTime, 4 MinimizatonAttempts, 1 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 40.35ms SsaConstructionTime, 156.39ms SatisfiabilityAnalysisTime, 981.65ms InterpolantComputationTime, 138 NumberOfCodeBlocks, 138 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 124 ConstructedInterpolants, 0 QuantifiedInterpolants, 514 SizeOfPredicates, 2 NumberOfNonLiveVariables, 209 ConjunctsInSsa, 18 ConjunctsInUnsatCore, 8 InterpolantComputations, 2 PerfectInterpolantSequences, 0/72 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2021-08-30 19:12:32,868 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...