/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/AutomizerC.xml --traceabstraction.trace.refinement.strategy FIXED_PREFERENCES --traceabstraction.compute.interpolants.along.a.counterexample Craig_NestedInterpolation --traceabstraction.smt.solver Internal_SMTInterpol --traceabstraction.compute.trace.for.counterexample.result false --traceabstraction.use.minimal.unsat.core.enumeration true --traceabstraction.additional.smt.options enumeration-timeout=5 --traceabstraction.additional.smt.options interpolation-heuristic=SHALLOWEST -s ../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf -i ../../../trunk/examples/svcomp/verifythis/tree_max_incorrect.c -------------------------------------------------------------------------------- This is Ultimate 0.1.25-5644d1e-m [2020-08-18 20:18:12,252 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-08-18 20:18:12,255 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-08-18 20:18:12,278 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-08-18 20:18:12,279 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-08-18 20:18:12,280 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-08-18 20:18:12,281 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-08-18 20:18:12,283 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-08-18 20:18:12,284 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-08-18 20:18:12,285 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-08-18 20:18:12,286 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-08-18 20:18:12,287 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-08-18 20:18:12,288 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-08-18 20:18:12,289 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-08-18 20:18:12,290 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-08-18 20:18:12,291 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-08-18 20:18:12,292 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-08-18 20:18:12,296 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-08-18 20:18:12,297 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-08-18 20:18:12,302 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-08-18 20:18:12,304 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-08-18 20:18:12,305 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-08-18 20:18:12,305 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-08-18 20:18:12,306 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-08-18 20:18:12,309 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-08-18 20:18:12,309 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-08-18 20:18:12,311 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-08-18 20:18:12,314 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-08-18 20:18:12,314 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-08-18 20:18:12,316 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-08-18 20:18:12,316 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-08-18 20:18:12,317 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-08-18 20:18:12,317 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-08-18 20:18:12,319 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-08-18 20:18:12,320 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-08-18 20:18:12,320 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-08-18 20:18:12,321 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-08-18 20:18:12,321 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-08-18 20:18:12,322 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-08-18 20:18:12,331 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-08-18 20:18:12,332 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-08-18 20:18:12,336 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate-2/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf [2020-08-18 20:18:12,377 INFO L113 SettingsManager]: Loading preferences was successful [2020-08-18 20:18:12,379 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-08-18 20:18:12,381 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-08-18 20:18:12,381 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-08-18 20:18:12,382 INFO L138 SettingsManager]: * Use SBE=true [2020-08-18 20:18:12,382 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-08-18 20:18:12,382 INFO L138 SettingsManager]: * sizeof long=4 [2020-08-18 20:18:12,382 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-08-18 20:18:12,382 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-08-18 20:18:12,383 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-08-18 20:18:12,383 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2020-08-18 20:18:12,383 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-08-18 20:18:12,383 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2020-08-18 20:18:12,383 INFO L138 SettingsManager]: * sizeof long double=12 [2020-08-18 20:18:12,384 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-08-18 20:18:12,384 INFO L138 SettingsManager]: * Use constant arrays=true [2020-08-18 20:18:12,384 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2020-08-18 20:18:12,384 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-08-18 20:18:12,384 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-08-18 20:18:12,384 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-08-18 20:18:12,386 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-08-18 20:18:12,386 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-08-18 20:18:12,386 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-08-18 20:18:12,387 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-08-18 20:18:12,387 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2020-08-18 20:18:12,387 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-08-18 20:18:12,387 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-08-18 20:18:12,387 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2020-08-18 20:18:12,388 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-08-18 20:18:12,388 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Trace refinement strategy -> FIXED_PREFERENCES Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Compute Interpolants along a Counterexample -> Craig_NestedInterpolation Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: SMT solver -> Internal_SMTInterpol Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Compute trace for counterexample result -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Use minimal unsat core enumeration -> true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Additional SMT options -> enumeration-timeout=5;interpolation-heuristic=SHALLOWEST; Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Additional SMT options -> enumeration-timeout=5;interpolation-heuristic=SHALLOWEST; [2020-08-18 20:18:12,728 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-08-18 20:18:12,750 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-08-18 20:18:12,757 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-08-18 20:18:12,759 INFO L271 PluginConnector]: Initializing CDTParser... [2020-08-18 20:18:12,759 INFO L275 PluginConnector]: CDTParser initialized [2020-08-18 20:18:12,760 INFO L429 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-2/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/verifythis/tree_max_incorrect.c [2020-08-18 20:18:12,835 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-2/releaseScripts/default/UAutomizer-linux/data/6da259ecc/e2ebc3bdd94b40ccb17ca2c0edd5b4ef/FLAGbc1b05965 [2020-08-18 20:18:13,283 INFO L306 CDTParser]: Found 1 translation units. [2020-08-18 20:18:13,284 INFO L160 CDTParser]: Scanning /storage/repos/ultimate-2/trunk/examples/svcomp/verifythis/tree_max_incorrect.c [2020-08-18 20:18:13,291 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-2/releaseScripts/default/UAutomizer-linux/data/6da259ecc/e2ebc3bdd94b40ccb17ca2c0edd5b4ef/FLAGbc1b05965 [2020-08-18 20:18:13,644 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate-2/releaseScripts/default/UAutomizer-linux/data/6da259ecc/e2ebc3bdd94b40ccb17ca2c0edd5b4ef [2020-08-18 20:18:13,654 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-08-18 20:18:13,656 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2020-08-18 20:18:13,657 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-08-18 20:18:13,657 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-08-18 20:18:13,661 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-08-18 20:18:13,662 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.08 08:18:13" (1/1) ... [2020-08-18 20:18:13,665 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@e77cea9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13, skipping insertion in model container [2020-08-18 20:18:13,665 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.08 08:18:13" (1/1) ... [2020-08-18 20:18:13,673 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-08-18 20:18:13,695 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-08-18 20:18:13,894 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-08-18 20:18:13,906 INFO L203 MainTranslator]: Completed pre-run [2020-08-18 20:18:13,927 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-08-18 20:18:13,946 INFO L208 MainTranslator]: Completed translation [2020-08-18 20:18:13,946 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13 WrapperNode [2020-08-18 20:18:13,946 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-08-18 20:18:13,947 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-08-18 20:18:13,947 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-08-18 20:18:13,947 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-08-18 20:18:14,044 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13" (1/1) ... [2020-08-18 20:18:14,044 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13" (1/1) ... [2020-08-18 20:18:14,056 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13" (1/1) ... [2020-08-18 20:18:14,056 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13" (1/1) ... [2020-08-18 20:18:14,069 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13" (1/1) ... [2020-08-18 20:18:14,072 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13" (1/1) ... [2020-08-18 20:18:14,073 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13" (1/1) ... [2020-08-18 20:18:14,076 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-08-18 20:18:14,077 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-08-18 20:18:14,077 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-08-18 20:18:14,077 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-08-18 20:18:14,078 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13" (1/1) ... No working directory specified, using /storage/repos/ultimate-2/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-08-18 20:18:14,147 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2020-08-18 20:18:14,148 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-08-18 20:18:14,148 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2020-08-18 20:18:14,148 INFO L138 BoogieDeclarations]: Found implementation of procedure nondet_tree [2020-08-18 20:18:14,148 INFO L138 BoogieDeclarations]: Found implementation of procedure max [2020-08-18 20:18:14,149 INFO L138 BoogieDeclarations]: Found implementation of procedure check [2020-08-18 20:18:14,149 INFO L138 BoogieDeclarations]: Found implementation of procedure task [2020-08-18 20:18:14,149 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2020-08-18 20:18:14,149 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2020-08-18 20:18:14,149 INFO L130 BoogieDeclarations]: Found specification of procedure free [2020-08-18 20:18:14,149 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2020-08-18 20:18:14,150 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_bool [2020-08-18 20:18:14,150 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_error [2020-08-18 20:18:14,150 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2020-08-18 20:18:14,150 INFO L130 BoogieDeclarations]: Found specification of procedure nondet_tree [2020-08-18 20:18:14,150 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2020-08-18 20:18:14,151 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2020-08-18 20:18:14,151 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2020-08-18 20:18:14,151 INFO L130 BoogieDeclarations]: Found specification of procedure max [2020-08-18 20:18:14,151 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2020-08-18 20:18:14,151 INFO L130 BoogieDeclarations]: Found specification of procedure check [2020-08-18 20:18:14,151 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2020-08-18 20:18:14,151 INFO L130 BoogieDeclarations]: Found specification of procedure task [2020-08-18 20:18:14,152 INFO L130 BoogieDeclarations]: Found specification of procedure main [2020-08-18 20:18:14,152 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2020-08-18 20:18:14,152 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-08-18 20:18:14,152 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-08-18 20:18:14,476 INFO L290 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-08-18 20:18:14,477 INFO L295 CfgBuilder]: Removed 0 assume(true) statements. [2020-08-18 20:18:14,481 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.08 08:18:14 BoogieIcfgContainer [2020-08-18 20:18:14,482 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-08-18 20:18:14,483 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-08-18 20:18:14,483 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-08-18 20:18:14,486 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-08-18 20:18:14,486 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 18.08 08:18:13" (1/3) ... [2020-08-18 20:18:14,487 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2f7d4527 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.08 08:18:14, skipping insertion in model container [2020-08-18 20:18:14,487 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.08 08:18:13" (2/3) ... [2020-08-18 20:18:14,488 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2f7d4527 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.08 08:18:14, skipping insertion in model container [2020-08-18 20:18:14,488 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.08 08:18:14" (3/3) ... [2020-08-18 20:18:14,490 INFO L109 eAbstractionObserver]: Analyzing ICFG tree_max_incorrect.c [2020-08-18 20:18:14,504 INFO L157 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:Craig_NestedInterpolation Determinization: PREDICATE_ABSTRACTION [2020-08-18 20:18:14,510 INFO L169 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2020-08-18 20:18:14,523 INFO L251 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2020-08-18 20:18:14,547 INFO L375 AbstractCegarLoop]: Interprodecural is true [2020-08-18 20:18:14,547 INFO L376 AbstractCegarLoop]: Hoare is true [2020-08-18 20:18:14,548 INFO L377 AbstractCegarLoop]: Compute interpolants for Craig_NestedInterpolation [2020-08-18 20:18:14,548 INFO L378 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-08-18 20:18:14,548 INFO L379 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-08-18 20:18:14,548 INFO L380 AbstractCegarLoop]: Difference is false [2020-08-18 20:18:14,548 INFO L381 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-08-18 20:18:14,548 INFO L385 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-08-18 20:18:14,569 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states. [2020-08-18 20:18:14,576 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 25 [2020-08-18 20:18:14,576 INFO L414 BasicCegarLoop]: Found error trace [2020-08-18 20:18:14,577 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-08-18 20:18:14,577 INFO L427 AbstractCegarLoop]: === Iteration 1 === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-08-18 20:18:14,582 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-08-18 20:18:14,583 INFO L82 PathProgramCache]: Analyzing trace with hash 1628582097, now seen corresponding path program 1 times [2020-08-18 20:18:14,590 INFO L163 FreeRefinementEngine]: Executing refinement strategy FIXED_PREFERENCES [2020-08-18 20:18:14,590 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModulePreferences [1170203369] [2020-08-18 20:18:14,591 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-08-18 20:18:14,729 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-18 20:18:14,915 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2020-08-18 20:18:14,918 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-18 20:18:14,954 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-08-18 20:18:14,963 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-18 20:18:15,026 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 11 [2020-08-18 20:18:15,031 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-18 20:18:15,046 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-08-18 20:18:15,047 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModulePreferences [1170203369] [2020-08-18 20:18:15,049 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-08-18 20:18:15,050 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [10] imperfect sequences [] total 10 [2020-08-18 20:18:15,051 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2033352326] [2020-08-18 20:18:15,057 INFO L459 AbstractCegarLoop]: Interpolant automaton has 10 states [2020-08-18 20:18:15,058 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FIXED_PREFERENCES [2020-08-18 20:18:15,073 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2020-08-18 20:18:15,074 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=17, Invalid=73, Unknown=0, NotChecked=0, Total=90 [2020-08-18 20:18:15,077 INFO L87 Difference]: Start difference. First operand 51 states. Second operand 10 states. [2020-08-18 20:18:15,873 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-08-18 20:18:15,873 INFO L93 Difference]: Finished difference Result 93 states and 119 transitions. [2020-08-18 20:18:15,874 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2020-08-18 20:18:15,876 INFO L78 Accepts]: Start accepts. Automaton has 10 states. Word has length 24 [2020-08-18 20:18:15,877 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-08-18 20:18:15,890 INFO L225 Difference]: With dead ends: 93 [2020-08-18 20:18:15,891 INFO L226 Difference]: Without dead ends: 42 [2020-08-18 20:18:15,896 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 22 GetRequests, 6 SyntacticMatches, 0 SemanticMatches, 16 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 19 ImplicationChecksByTransitivity, 0.4s TimeCoverageRelationStatistics Valid=68, Invalid=238, Unknown=0, NotChecked=0, Total=306 [2020-08-18 20:18:15,918 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 42 states. [2020-08-18 20:18:15,951 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 42 to 42. [2020-08-18 20:18:15,953 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 42 states. [2020-08-18 20:18:15,955 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 42 states to 42 states and 51 transitions. [2020-08-18 20:18:15,957 INFO L78 Accepts]: Start accepts. Automaton has 42 states and 51 transitions. Word has length 24 [2020-08-18 20:18:15,958 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-08-18 20:18:15,958 INFO L479 AbstractCegarLoop]: Abstraction has 42 states and 51 transitions. [2020-08-18 20:18:15,958 INFO L480 AbstractCegarLoop]: Interpolant automaton has 10 states. [2020-08-18 20:18:15,959 INFO L276 IsEmpty]: Start isEmpty. Operand 42 states and 51 transitions. [2020-08-18 20:18:15,961 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 35 [2020-08-18 20:18:15,962 INFO L414 BasicCegarLoop]: Found error trace [2020-08-18 20:18:15,962 INFO L422 BasicCegarLoop]: trace histogram [3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-08-18 20:18:15,962 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2020-08-18 20:18:15,963 INFO L427 AbstractCegarLoop]: === Iteration 2 === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-08-18 20:18:15,963 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-08-18 20:18:15,964 INFO L82 PathProgramCache]: Analyzing trace with hash 1712930862, now seen corresponding path program 1 times [2020-08-18 20:18:15,964 INFO L163 FreeRefinementEngine]: Executing refinement strategy FIXED_PREFERENCES [2020-08-18 20:18:15,964 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModulePreferences [1288165682] [2020-08-18 20:18:15,965 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-08-18 20:18:16,016 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-18 20:18:16,080 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2020-08-18 20:18:16,082 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-18 20:18:16,101 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 5 [2020-08-18 20:18:16,119 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-18 20:18:16,188 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 1 [2020-08-18 20:18:16,196 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-18 20:18:16,205 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 6 [2020-08-18 20:18:16,211 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-18 20:18:16,220 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 21 [2020-08-18 20:18:16,231 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-18 20:18:16,274 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 5 trivial. 0 not checked. [2020-08-18 20:18:16,275 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModulePreferences [1288165682] [2020-08-18 20:18:16,275 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-08-18 20:18:16,275 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [11] imperfect sequences [] total 11 [2020-08-18 20:18:16,275 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [259284852] [2020-08-18 20:18:16,279 INFO L459 AbstractCegarLoop]: Interpolant automaton has 11 states [2020-08-18 20:18:16,280 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FIXED_PREFERENCES [2020-08-18 20:18:16,281 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 11 interpolants. [2020-08-18 20:18:16,281 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=19, Invalid=91, Unknown=0, NotChecked=0, Total=110 [2020-08-18 20:18:16,281 INFO L87 Difference]: Start difference. First operand 42 states and 51 transitions. Second operand 11 states. [2020-08-18 20:18:16,738 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-08-18 20:18:16,739 INFO L93 Difference]: Finished difference Result 59 states and 71 transitions. [2020-08-18 20:18:16,739 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2020-08-18 20:18:16,739 INFO L78 Accepts]: Start accepts. Automaton has 11 states. Word has length 34 [2020-08-18 20:18:16,740 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-08-18 20:18:16,742 INFO L225 Difference]: With dead ends: 59 [2020-08-18 20:18:16,742 INFO L226 Difference]: Without dead ends: 44 [2020-08-18 20:18:16,746 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 25 GetRequests, 10 SyntacticMatches, 0 SemanticMatches, 15 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 9 ImplicationChecksByTransitivity, 0.2s TimeCoverageRelationStatistics Valid=55, Invalid=217, Unknown=0, NotChecked=0, Total=272 [2020-08-18 20:18:16,747 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 44 states. [2020-08-18 20:18:16,765 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 44 to 44. [2020-08-18 20:18:16,765 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 44 states. [2020-08-18 20:18:16,768 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 44 states to 44 states and 54 transitions. [2020-08-18 20:18:16,769 INFO L78 Accepts]: Start accepts. Automaton has 44 states and 54 transitions. Word has length 34 [2020-08-18 20:18:16,769 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-08-18 20:18:16,769 INFO L479 AbstractCegarLoop]: Abstraction has 44 states and 54 transitions. [2020-08-18 20:18:16,770 INFO L480 AbstractCegarLoop]: Interpolant automaton has 11 states. [2020-08-18 20:18:16,770 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 54 transitions. [2020-08-18 20:18:16,780 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 48 [2020-08-18 20:18:16,780 INFO L414 BasicCegarLoop]: Found error trace [2020-08-18 20:18:16,780 INFO L422 BasicCegarLoop]: trace histogram [3, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-08-18 20:18:16,781 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2020-08-18 20:18:16,783 INFO L427 AbstractCegarLoop]: === Iteration 3 === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-08-18 20:18:16,783 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-08-18 20:18:16,783 INFO L82 PathProgramCache]: Analyzing trace with hash 27177221, now seen corresponding path program 1 times [2020-08-18 20:18:16,783 INFO L163 FreeRefinementEngine]: Executing refinement strategy FIXED_PREFERENCES [2020-08-18 20:18:16,784 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModulePreferences [168655807] [2020-08-18 20:18:16,784 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-08-18 20:18:16,841 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-08-18 20:18:16,844 INFO L174 FreeRefinementEngine]: Strategy FIXED_PREFERENCES found a feasible trace [2020-08-18 20:18:16,845 INFO L520 BasicCegarLoop]: Counterexample might be feasible [2020-08-18 20:18:16,849 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2020-08-18 20:18:16,869 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 18.08 08:18:16 BoogieIcfgContainer [2020-08-18 20:18:16,869 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-08-18 20:18:16,872 INFO L168 Benchmark]: Toolchain (without parser) took 3215.35 ms. Allocated memory was 140.0 MB in the beginning and 247.5 MB in the end (delta: 107.5 MB). Free memory was 102.4 MB in the beginning and 199.7 MB in the end (delta: -97.2 MB). Peak memory consumption was 10.3 MB. Max. memory is 7.1 GB. [2020-08-18 20:18:16,873 INFO L168 Benchmark]: CDTParser took 0.21 ms. Allocated memory is still 140.0 MB. Free memory was 121.5 MB in the beginning and 121.3 MB in the end (delta: 210.0 kB). Peak memory consumption was 210.0 kB. Max. memory is 7.1 GB. [2020-08-18 20:18:16,874 INFO L168 Benchmark]: CACSL2BoogieTranslator took 289.70 ms. Allocated memory is still 140.0 MB. Free memory was 102.2 MB in the beginning and 91.8 MB in the end (delta: 10.4 MB). Peak memory consumption was 10.4 MB. Max. memory is 7.1 GB. [2020-08-18 20:18:16,875 INFO L168 Benchmark]: Boogie Preprocessor took 129.39 ms. Allocated memory was 140.0 MB in the beginning and 202.4 MB in the end (delta: 62.4 MB). Free memory was 91.8 MB in the beginning and 179.7 MB in the end (delta: -87.8 MB). Peak memory consumption was 12.2 MB. Max. memory is 7.1 GB. [2020-08-18 20:18:16,876 INFO L168 Benchmark]: RCFGBuilder took 404.79 ms. Allocated memory is still 202.4 MB. Free memory was 179.7 MB in the beginning and 159.1 MB in the end (delta: 20.6 MB). Peak memory consumption was 20.6 MB. Max. memory is 7.1 GB. [2020-08-18 20:18:16,877 INFO L168 Benchmark]: TraceAbstraction took 2386.29 ms. Allocated memory was 202.4 MB in the beginning and 247.5 MB in the end (delta: 45.1 MB). Free memory was 158.4 MB in the beginning and 199.7 MB in the end (delta: -41.3 MB). Peak memory consumption was 3.8 MB. Max. memory is 7.1 GB. [2020-08-18 20:18:16,882 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.21 ms. Allocated memory is still 140.0 MB. Free memory was 121.5 MB in the beginning and 121.3 MB in the end (delta: 210.0 kB). Peak memory consumption was 210.0 kB. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 289.70 ms. Allocated memory is still 140.0 MB. Free memory was 102.2 MB in the beginning and 91.8 MB in the end (delta: 10.4 MB). Peak memory consumption was 10.4 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 129.39 ms. Allocated memory was 140.0 MB in the beginning and 202.4 MB in the end (delta: 62.4 MB). Free memory was 91.8 MB in the beginning and 179.7 MB in the end (delta: -87.8 MB). Peak memory consumption was 12.2 MB. Max. memory is 7.1 GB. * RCFGBuilder took 404.79 ms. Allocated memory is still 202.4 MB. Free memory was 179.7 MB in the beginning and 159.1 MB in the end (delta: 20.6 MB). Peak memory consumption was 20.6 MB. Max. memory is 7.1 GB. * TraceAbstraction took 2386.29 ms. Allocated memory was 202.4 MB in the beginning and 247.5 MB in the end (delta: 45.1 MB). Free memory was 158.4 MB in the beginning and 199.7 MB in the end (delta: -41.3 MB). Peak memory consumption was 3.8 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 9]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L58] CALL, EXPR nondet_tree() [L18] COND FALSE !(__VERIFIER_nondet_bool()) [L21] struct node *n = (struct node *)malloc(sizeof(struct node)); [L22] n->data = __VERIFIER_nondet_int() [L23] CALL, EXPR nondet_tree() [L18] COND TRUE __VERIFIER_nondet_bool() [L19] return 0; [L23] RET, EXPR nondet_tree() [L23] n->left = nondet_tree() [L24] CALL, EXPR nondet_tree() [L18] COND TRUE __VERIFIER_nondet_bool() [L19] return 0; [L24] RET, EXPR nondet_tree() [L24] n->right = nondet_tree() [L25] return n; [L58] RET, EXPR nondet_tree() [L58] CALL task(nondet_tree()) [L53] CALL, EXPR max(n) [L30] COND FALSE !(!n) [L33] EXPR n->left [L33] CALL, EXPR max(n->left) [L30] COND TRUE !n [L31] return -2147483648; [L33] RET, EXPR max(n->left) [L33] int a = max(n->left); [L34] EXPR n->right [L34] CALL, EXPR max(n->right) [L30] COND TRUE !n [L31] return -2147483648; [L34] RET, EXPR max(n->right) [L34] int b = max(n->right); [L35] COND TRUE a >= b [L35] return a; [L53] RET, EXPR max(n) [L53] int a = max(n); [L54] CALL check(n, a) [L41] COND TRUE \read(*n) [L42] EXPR n->data [L42] CALL __VERIFIER_assert(n->data <= a) [L9] COND TRUE !cond [L9] __VERIFIER_error() - StatisticsResult: Ultimate Automizer benchmark data CFG has 8 procedures, 51 locations, 1 error locations. Started 1 CEGAR loops. VerificationResult: UNSAFE, OverallTime: 2.3s, OverallIterations: 3, TraceHistogramMax: 3, AutomataDifference: 1.3s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 79 SDtfs, 141 SDslu, 268 SDs, 0 SdLazy, 527 SolverSat, 103 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.5s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 47 GetRequests, 16 SyntacticMatches, 0 SemanticMatches, 31 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 28 ImplicationChecksByTransitivity, 0.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=51occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 105 NumberOfCodeBlocks, 105 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 56 ConstructedInterpolants, 0 QuantifiedInterpolants, 6559 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 9/9 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! Received shutdown request...