/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data --traceabstraction.trace.refinement.strategy FIXED_PREFERENCES --traceabstraction.compute.interpolants.along.a.counterexample FPandBPonlyIfFpWasNotPerfect -tc ../../../trunk/examples/toolchains/AutomizerC.xml --traceabstraction.assert.codeblocks SMT_FEATURE_HEURISTIC --traceabstraction.assert.codeblocks.term.scoring.heuristic BIGGEST_EQUIVALENCE_CLASS --traceabstraction.assert.codeblocks.term.scoring.heuristic.partitioning.strategy FIXED_NUM_PARTITIONS --traceabstraction.assert.codeblocks.term.scoring.heuristic.number.of.partitions 4 -s ../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf -i ../../../trunk/examples/svcomp/recursive-simple/sum_2x3-1.c -------------------------------------------------------------------------------- This is Ultimate 0.1.25-d623d84 [2020-07-21 22:33:15,687 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-07-21 22:33:15,691 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-07-21 22:33:15,717 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-07-21 22:33:15,717 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-07-21 22:33:15,719 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-07-21 22:33:15,720 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-07-21 22:33:15,723 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-07-21 22:33:15,725 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-07-21 22:33:15,726 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-07-21 22:33:15,727 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-07-21 22:33:15,728 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-07-21 22:33:15,728 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-07-21 22:33:15,730 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-07-21 22:33:15,731 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-07-21 22:33:15,733 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-07-21 22:33:15,734 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-07-21 22:33:15,735 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-07-21 22:33:15,737 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-07-21 22:33:15,739 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-07-21 22:33:15,741 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-07-21 22:33:15,742 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-07-21 22:33:15,743 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-07-21 22:33:15,744 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-07-21 22:33:15,747 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-07-21 22:33:15,747 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-07-21 22:33:15,748 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-07-21 22:33:15,749 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-07-21 22:33:15,749 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-07-21 22:33:15,750 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-07-21 22:33:15,750 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-07-21 22:33:15,755 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-07-21 22:33:15,756 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-07-21 22:33:15,756 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-07-21 22:33:15,759 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-07-21 22:33:15,759 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-07-21 22:33:15,760 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-07-21 22:33:15,760 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-07-21 22:33:15,760 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-07-21 22:33:15,763 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-07-21 22:33:15,764 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-07-21 22:33:15,765 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf [2020-07-21 22:33:15,792 INFO L113 SettingsManager]: Loading preferences was successful [2020-07-21 22:33:15,793 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-07-21 22:33:15,796 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-07-21 22:33:15,796 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-07-21 22:33:15,796 INFO L138 SettingsManager]: * Use SBE=true [2020-07-21 22:33:15,796 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-07-21 22:33:15,797 INFO L138 SettingsManager]: * sizeof long=4 [2020-07-21 22:33:15,797 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-07-21 22:33:15,797 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-07-21 22:33:15,797 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-07-21 22:33:15,798 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2020-07-21 22:33:15,799 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-07-21 22:33:15,799 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2020-07-21 22:33:15,799 INFO L138 SettingsManager]: * sizeof long double=12 [2020-07-21 22:33:15,800 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-07-21 22:33:15,800 INFO L138 SettingsManager]: * Use constant arrays=true [2020-07-21 22:33:15,800 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2020-07-21 22:33:15,800 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-07-21 22:33:15,801 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-07-21 22:33:15,801 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-07-21 22:33:15,801 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-07-21 22:33:15,801 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-07-21 22:33:15,801 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-07-21 22:33:15,802 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-07-21 22:33:15,802 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2020-07-21 22:33:15,802 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-07-21 22:33:15,802 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 22:33:15,802 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2020-07-21 22:33:15,803 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-07-21 22:33:15,803 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 -> FPandBPonlyIfFpWasNotPerfect Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Assert CodeBlocks -> SMT_FEATURE_HEURISTIC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Assert CodeBlocks Term Scoring Heuristic -> BIGGEST_EQUIVALENCE_CLASS Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Assert CodeBlocks Term Scoring Heuristic Partitioning Strategy -> FIXED_NUM_PARTITIONS Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Assert CodeBlocks Term Scoring Heuristic number of partitions -> 4 [2020-07-21 22:33:16,140 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2020-07-21 22:33:16,157 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-07-21 22:33:16,161 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-07-21 22:33:16,163 INFO L271 PluginConnector]: Initializing CDTParser... [2020-07-21 22:33:16,163 INFO L275 PluginConnector]: CDTParser initialized [2020-07-21 22:33:16,164 INFO L429 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/recursive-simple/sum_2x3-1.c [2020-07-21 22:33:16,259 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9a64f78a9/3da1d899791240fbb694e8b58549f464/FLAGd3afb52ac [2020-07-21 22:33:16,784 INFO L306 CDTParser]: Found 1 translation units. [2020-07-21 22:33:16,786 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/recursive-simple/sum_2x3-1.c [2020-07-21 22:33:16,797 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9a64f78a9/3da1d899791240fbb694e8b58549f464/FLAGd3afb52ac [2020-07-21 22:33:17,109 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9a64f78a9/3da1d899791240fbb694e8b58549f464 [2020-07-21 22:33:17,121 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-07-21 22:33:17,124 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2020-07-21 22:33:17,126 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-07-21 22:33:17,126 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-07-21 22:33:17,131 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-07-21 22:33:17,132 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 10:33:17" (1/1) ... [2020-07-21 22:33:17,137 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@39e3fce9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17, skipping insertion in model container [2020-07-21 22:33:17,137 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.07 10:33:17" (1/1) ... [2020-07-21 22:33:17,147 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-07-21 22:33:17,171 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-07-21 22:33:17,383 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-07-21 22:33:17,389 INFO L203 MainTranslator]: Completed pre-run [2020-07-21 22:33:17,405 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-07-21 22:33:17,419 INFO L208 MainTranslator]: Completed translation [2020-07-21 22:33:17,419 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17 WrapperNode [2020-07-21 22:33:17,420 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-07-21 22:33:17,421 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-07-21 22:33:17,421 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-07-21 22:33:17,421 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-07-21 22:33:17,434 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17" (1/1) ... [2020-07-21 22:33:17,434 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17" (1/1) ... [2020-07-21 22:33:17,440 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17" (1/1) ... [2020-07-21 22:33:17,441 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17" (1/1) ... [2020-07-21 22:33:17,445 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17" (1/1) ... [2020-07-21 22:33:17,448 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17" (1/1) ... [2020-07-21 22:33:17,449 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17" (1/1) ... [2020-07-21 22:33:17,450 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-07-21 22:33:17,451 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-07-21 22:33:17,451 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-07-21 22:33:17,451 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-07-21 22:33:17,453 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17" (1/1) ... No working directory specified, using /storage/repos/ultimate/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-07-21 22:33:17,617 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2020-07-21 22:33:17,618 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-07-21 22:33:17,618 INFO L138 BoogieDeclarations]: Found implementation of procedure sum [2020-07-21 22:33:17,618 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2020-07-21 22:33:17,618 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_error [2020-07-21 22:33:17,618 INFO L130 BoogieDeclarations]: Found specification of procedure sum [2020-07-21 22:33:17,618 INFO L130 BoogieDeclarations]: Found specification of procedure main [2020-07-21 22:33:17,619 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2020-07-21 22:33:17,619 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-07-21 22:33:17,815 INFO L290 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-07-21 22:33:17,816 INFO L295 CfgBuilder]: Removed 0 assume(true) statements. [2020-07-21 22:33:17,821 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.07 10:33:17 BoogieIcfgContainer [2020-07-21 22:33:17,821 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-07-21 22:33:17,823 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-07-21 22:33:17,823 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-07-21 22:33:17,828 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-07-21 22:33:17,828 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 21.07 10:33:17" (1/3) ... [2020-07-21 22:33:17,830 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3eb00e2b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.07 10:33:17, skipping insertion in model container [2020-07-21 22:33:17,830 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.07 10:33:17" (2/3) ... [2020-07-21 22:33:17,831 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3eb00e2b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.07 10:33:17, skipping insertion in model container [2020-07-21 22:33:17,831 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.07 10:33:17" (3/3) ... [2020-07-21 22:33:17,834 INFO L109 eAbstractionObserver]: Analyzing ICFG sum_2x3-1.c [2020-07-21 22:33:17,849 INFO L157 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBPonlyIfFpWasNotPerfect Determinization: PREDICATE_ABSTRACTION [2020-07-21 22:33:17,861 INFO L169 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2020-07-21 22:33:17,880 INFO L251 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2020-07-21 22:33:17,922 INFO L375 AbstractCegarLoop]: Interprodecural is true [2020-07-21 22:33:17,922 INFO L376 AbstractCegarLoop]: Hoare is true [2020-07-21 22:33:17,923 INFO L377 AbstractCegarLoop]: Compute interpolants for FPandBPonlyIfFpWasNotPerfect [2020-07-21 22:33:17,923 INFO L378 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-07-21 22:33:17,924 INFO L379 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-07-21 22:33:17,925 INFO L380 AbstractCegarLoop]: Difference is false [2020-07-21 22:33:17,925 INFO L381 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-07-21 22:33:17,925 INFO L385 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-07-21 22:33:17,956 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states. [2020-07-21 22:33:17,966 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2020-07-21 22:33:17,967 INFO L414 BasicCegarLoop]: Found error trace [2020-07-21 22:33:17,968 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-21 22:33:17,969 INFO L427 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-07-21 22:33:17,979 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-21 22:33:17,979 INFO L82 PathProgramCache]: Analyzing trace with hash 2001781660, now seen corresponding path program 1 times [2020-07-21 22:33:17,991 INFO L163 FreeRefinementEngine]: Executing refinement strategy FIXED_PREFERENCES [2020-07-21 22:33:17,992 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModulePreferences [2108595520] [2020-07-21 22:33:17,993 INFO L95 rtionOrderModulation]: Keeping assertion order SMT_FEATURE_HEURISTIC (partitioning type FIXED_NUM_PARTITIONS, 4 partitions) No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 22:33:18,114 INFO L228 tOrderPrioritization]: Assert order SMT_FEATURE_HEURISTIC (partitioning type FIXED_NUM_PARTITIONS, 4 partitions) issued 2 check-sat command(s) [2020-07-21 22:33:18,115 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2020-07-21 22:33:18,119 INFO L263 TraceCheckSpWp]: Trace formula consists of 27 conjuncts, 4 conjunts are in the unsatisfiable core [2020-07-21 22:33:18,125 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-07-21 22:33:18,219 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-21 22:33:18,220 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2020-07-21 22:33:18,221 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModulePreferences [2108595520] [2020-07-21 22:33:18,222 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-07-21 22:33:18,223 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-07-21 22:33:18,224 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1933898016] [2020-07-21 22:33:18,229 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2020-07-21 22:33:18,229 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FIXED_PREFERENCES [2020-07-21 22:33:18,244 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-07-21 22:33:18,245 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-07-21 22:33:18,247 INFO L87 Difference]: Start difference. First operand 20 states. Second operand 5 states. [2020-07-21 22:33:18,337 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-21 22:33:18,337 INFO L93 Difference]: Finished difference Result 30 states and 33 transitions. [2020-07-21 22:33:18,338 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-07-21 22:33:18,340 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 13 [2020-07-21 22:33:18,341 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-21 22:33:18,352 INFO L225 Difference]: With dead ends: 30 [2020-07-21 22:33:18,352 INFO L226 Difference]: Without dead ends: 18 [2020-07-21 22:33:18,357 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 13 GetRequests, 9 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2020-07-21 22:33:18,374 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 18 states. [2020-07-21 22:33:18,401 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 18 to 18. [2020-07-21 22:33:18,403 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 18 states. [2020-07-21 22:33:18,404 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 18 states to 18 states and 19 transitions. [2020-07-21 22:33:18,406 INFO L78 Accepts]: Start accepts. Automaton has 18 states and 19 transitions. Word has length 13 [2020-07-21 22:33:18,406 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-21 22:33:18,407 INFO L479 AbstractCegarLoop]: Abstraction has 18 states and 19 transitions. [2020-07-21 22:33:18,407 INFO L480 AbstractCegarLoop]: Interpolant automaton has 5 states. [2020-07-21 22:33:18,407 INFO L276 IsEmpty]: Start isEmpty. Operand 18 states and 19 transitions. [2020-07-21 22:33:18,409 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2020-07-21 22:33:18,410 INFO L414 BasicCegarLoop]: Found error trace [2020-07-21 22:33:18,410 INFO L422 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-21 22:33:18,624 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 22:33:18,625 INFO L427 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-07-21 22:33:18,626 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-21 22:33:18,626 INFO L82 PathProgramCache]: Analyzing trace with hash -118151420, now seen corresponding path program 1 times [2020-07-21 22:33:18,627 INFO L163 FreeRefinementEngine]: Executing refinement strategy FIXED_PREFERENCES [2020-07-21 22:33:18,628 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModulePreferences [57146305] [2020-07-21 22:33:18,628 INFO L95 rtionOrderModulation]: Keeping assertion order SMT_FEATURE_HEURISTIC (partitioning type FIXED_NUM_PARTITIONS, 4 partitions) No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 22:33:18,665 INFO L228 tOrderPrioritization]: Assert order SMT_FEATURE_HEURISTIC (partitioning type FIXED_NUM_PARTITIONS, 4 partitions) issued 3 check-sat command(s) [2020-07-21 22:33:18,666 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2020-07-21 22:33:18,667 INFO L263 TraceCheckSpWp]: Trace formula consists of 46 conjuncts, 6 conjunts are in the unsatisfiable core [2020-07-21 22:33:18,670 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-07-21 22:33:18,719 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2020-07-21 22:33:18,720 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2020-07-21 22:33:18,901 INFO L501 QuantifierPusher]: Distributing 2 disjuncts over 2 conjuncts [2020-07-21 22:33:18,950 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2020-07-21 22:33:18,951 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModulePreferences [57146305] [2020-07-21 22:33:18,951 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-07-21 22:33:18,951 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 7] total 8 [2020-07-21 22:33:18,952 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [935540669] [2020-07-21 22:33:18,954 INFO L459 AbstractCegarLoop]: Interpolant automaton has 8 states [2020-07-21 22:33:18,954 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FIXED_PREFERENCES [2020-07-21 22:33:18,954 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2020-07-21 22:33:18,955 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=19, Invalid=37, Unknown=0, NotChecked=0, Total=56 [2020-07-21 22:33:18,955 INFO L87 Difference]: Start difference. First operand 18 states and 19 transitions. Second operand 8 states. [2020-07-21 22:33:19,027 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-21 22:33:19,027 INFO L93 Difference]: Finished difference Result 25 states and 26 transitions. [2020-07-21 22:33:19,028 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-07-21 22:33:19,028 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 19 [2020-07-21 22:33:19,029 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-21 22:33:19,030 INFO L225 Difference]: With dead ends: 25 [2020-07-21 22:33:19,030 INFO L226 Difference]: Without dead ends: 21 [2020-07-21 22:33:19,032 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 39 GetRequests, 26 SyntacticMatches, 5 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 5 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=33, Invalid=57, Unknown=0, NotChecked=0, Total=90 [2020-07-21 22:33:19,033 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 21 states. [2020-07-21 22:33:19,038 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 21 to 21. [2020-07-21 22:33:19,039 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 21 states. [2020-07-21 22:33:19,040 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 22 transitions. [2020-07-21 22:33:19,041 INFO L78 Accepts]: Start accepts. Automaton has 21 states and 22 transitions. Word has length 19 [2020-07-21 22:33:19,041 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-21 22:33:19,041 INFO L479 AbstractCegarLoop]: Abstraction has 21 states and 22 transitions. [2020-07-21 22:33:19,042 INFO L480 AbstractCegarLoop]: Interpolant automaton has 8 states. [2020-07-21 22:33:19,042 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 22 transitions. [2020-07-21 22:33:19,043 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2020-07-21 22:33:19,043 INFO L414 BasicCegarLoop]: Found error trace [2020-07-21 22:33:19,044 INFO L422 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-21 22:33:19,258 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 22:33:19,260 INFO L427 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-07-21 22:33:19,260 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-21 22:33:19,261 INFO L82 PathProgramCache]: Analyzing trace with hash 764931548, now seen corresponding path program 2 times [2020-07-21 22:33:19,262 INFO L163 FreeRefinementEngine]: Executing refinement strategy FIXED_PREFERENCES [2020-07-21 22:33:19,262 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModulePreferences [716598375] [2020-07-21 22:33:19,263 INFO L95 rtionOrderModulation]: Keeping assertion order SMT_FEATURE_HEURISTIC (partitioning type FIXED_NUM_PARTITIONS, 4 partitions) No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 22:33:19,308 INFO L228 tOrderPrioritization]: Assert order SMT_FEATURE_HEURISTIC (partitioning type FIXED_NUM_PARTITIONS, 4 partitions) issued 4 check-sat command(s) [2020-07-21 22:33:19,309 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2020-07-21 22:33:19,309 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-07-21 22:33:19,328 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-07-21 22:33:19,329 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-07-21 22:33:19,368 INFO L174 FreeRefinementEngine]: Strategy FIXED_PREFERENCES found a feasible trace [2020-07-21 22:33:19,368 INFO L520 BasicCegarLoop]: Counterexample might be feasible [2020-07-21 22:33:19,579 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-21 22:33:19,611 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 21.07 10:33:19 BoogieIcfgContainer [2020-07-21 22:33:19,611 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-07-21 22:33:19,614 INFO L168 Benchmark]: Toolchain (without parser) took 2490.10 ms. Allocated memory was 136.3 MB in the beginning and 200.8 MB in the end (delta: 64.5 MB). Free memory was 101.6 MB in the beginning and 93.6 MB in the end (delta: 8.0 MB). Peak memory consumption was 72.5 MB. Max. memory is 7.1 GB. [2020-07-21 22:33:19,615 INFO L168 Benchmark]: CDTParser took 0.33 ms. Allocated memory is still 136.3 MB. Free memory was 119.4 MB in the beginning and 119.2 MB in the end (delta: 210.0 kB). Peak memory consumption was 210.0 kB. Max. memory is 7.1 GB. [2020-07-21 22:33:19,616 INFO L168 Benchmark]: CACSL2BoogieTranslator took 294.45 ms. Allocated memory is still 136.3 MB. Free memory was 101.2 MB in the beginning and 91.6 MB in the end (delta: 9.6 MB). Peak memory consumption was 9.6 MB. Max. memory is 7.1 GB. [2020-07-21 22:33:19,617 INFO L168 Benchmark]: Boogie Preprocessor took 29.63 ms. Allocated memory is still 136.3 MB. Free memory was 91.6 MB in the beginning and 90.3 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. [2020-07-21 22:33:19,618 INFO L168 Benchmark]: RCFGBuilder took 370.24 ms. Allocated memory was 136.3 MB in the beginning and 200.8 MB in the end (delta: 64.5 MB). Free memory was 90.3 MB in the beginning and 169.4 MB in the end (delta: -79.1 MB). Peak memory consumption was 14.0 MB. Max. memory is 7.1 GB. [2020-07-21 22:33:19,619 INFO L168 Benchmark]: TraceAbstraction took 1788.78 ms. Allocated memory is still 200.8 MB. Free memory was 168.7 MB in the beginning and 93.6 MB in the end (delta: 75.0 MB). Peak memory consumption was 75.0 MB. Max. memory is 7.1 GB. [2020-07-21 22:33:19,624 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.33 ms. Allocated memory is still 136.3 MB. Free memory was 119.4 MB in the beginning and 119.2 MB in the end (delta: 210.0 kB). Peak memory consumption was 210.0 kB. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 294.45 ms. Allocated memory is still 136.3 MB. Free memory was 101.2 MB in the beginning and 91.6 MB in the end (delta: 9.6 MB). Peak memory consumption was 9.6 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 29.63 ms. Allocated memory is still 136.3 MB. Free memory was 91.6 MB in the beginning and 90.3 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 7.1 GB. * RCFGBuilder took 370.24 ms. Allocated memory was 136.3 MB in the beginning and 200.8 MB in the end (delta: 64.5 MB). Free memory was 90.3 MB in the beginning and 169.4 MB in the end (delta: -79.1 MB). Peak memory consumption was 14.0 MB. Max. memory is 7.1 GB. * TraceAbstraction took 1788.78 ms. Allocated memory is still 200.8 MB. Free memory was 168.7 MB in the beginning and 93.6 MB in the end (delta: 75.0 MB). Peak memory consumption was 75.0 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 16]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L12] int a = 2; [L13] int b = 3; VAL [a=2, b=3] [L14] CALL, EXPR sum(a, b) VAL [\old(m)=3, \old(n)=2] [L4] COND FALSE !(n <= 0) VAL [\old(m)=3, \old(n)=2, m=3, n=2] [L7] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=4, \old(n)=1] [L4] COND FALSE !(n <= 0) VAL [\old(m)=4, \old(n)=1, m=4, n=1] [L7] CALL, EXPR sum(n - 1, m + 1) VAL [\old(m)=5, \old(n)=0] [L4] COND TRUE n <= 0 [L5] return m + n; VAL [\old(m)=5, \old(n)=0, \result=5, m=5, n=0] [L7] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=4, \old(n)=1, m=4, n=1, sum(n - 1, m + 1)=5] [L7] return sum(n - 1, m + 1); [L7] RET, EXPR sum(n - 1, m + 1) VAL [\old(m)=3, \old(n)=2, m=3, n=2, sum(n - 1, m + 1)=5] [L7] return sum(n - 1, m + 1); [L14] RET, EXPR sum(a, b) VAL [a=2, b=3, sum(a, b)=5] [L14] int result = sum(a, b); [L15] COND TRUE result == a + b VAL [a=2, b=3, result=5] [L16] __VERIFIER_error() VAL [a=2, b=3, result=5] - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 20 locations, 1 error locations. Started 1 CEGAR loops. VerificationResult: UNSAFE, OverallTime: 1.6s, OverallIterations: 3, TraceHistogramMax: 3, AutomataDifference: 0.2s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 27 SDtfs, 26 SDslu, 58 SDs, 0 SdLazy, 46 SolverSat, 4 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 52 GetRequests, 35 SyntacticMatches, 5 SemanticMatches, 12 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 5 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=21occurred in iteration=2, 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.0s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 57 NumberOfCodeBlocks, 48 NumberOfCodeBlocksAsserted, 9 NumberOfCheckSat, 48 ConstructedInterpolants, 0 QuantifiedInterpolants, 1752 SizeOfPredicates, 5 NumberOfNonLiveVariables, 73 ConjunctsInSsa, 10 ConjunctsInUnsatCore, 3 InterpolantComputations, 1 PerfectInterpolantSequences, 3/8 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...