/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data -s ../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf -tc ../../../trunk/examples/toolchains/AutomizerC.xml -i ../sv-benchmarks/c/recursive-simple/id_i5_o5-1.c -------------------------------------------------------------------------------- This is Ultimate 0.2.3-dev-f954360 [2023-04-02 04:40:38,003 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-04-02 04:40:38,006 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-04-02 04:40:38,045 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-04-02 04:40:38,045 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-04-02 04:40:38,048 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-04-02 04:40:38,050 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-04-02 04:40:38,053 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-04-02 04:40:38,054 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-04-02 04:40:38,059 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-04-02 04:40:38,060 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-04-02 04:40:38,062 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-04-02 04:40:38,062 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-04-02 04:40:38,064 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-04-02 04:40:38,065 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-04-02 04:40:38,066 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-04-02 04:40:38,067 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-04-02 04:40:38,068 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-04-02 04:40:38,070 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-04-02 04:40:38,074 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-04-02 04:40:38,075 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-04-02 04:40:38,076 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-04-02 04:40:38,077 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-04-02 04:40:38,078 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-04-02 04:40:38,086 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-04-02 04:40:38,086 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-04-02 04:40:38,086 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-04-02 04:40:38,088 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-04-02 04:40:38,088 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-04-02 04:40:38,089 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-04-02 04:40:38,089 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-04-02 04:40:38,090 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-04-02 04:40:38,091 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-04-02 04:40:38,092 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-04-02 04:40:38,092 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-04-02 04:40:38,093 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-04-02 04:40:38,093 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-04-02 04:40:38,093 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-04-02 04:40:38,093 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-04-02 04:40:38,094 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-04-02 04:40:38,095 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-04-02 04:40:38,096 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 [2023-04-02 04:40:38,122 INFO L113 SettingsManager]: Loading preferences was successful [2023-04-02 04:40:38,123 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-04-02 04:40:38,123 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-04-02 04:40:38,123 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-04-02 04:40:38,125 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-04-02 04:40:38,125 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-04-02 04:40:38,125 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-04-02 04:40:38,125 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-04-02 04:40:38,125 INFO L138 SettingsManager]: * Use SBE=true [2023-04-02 04:40:38,126 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-04-02 04:40:38,126 INFO L138 SettingsManager]: * sizeof long=4 [2023-04-02 04:40:38,127 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-04-02 04:40:38,127 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-04-02 04:40:38,127 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-04-02 04:40:38,127 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-04-02 04:40:38,127 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-04-02 04:40:38,127 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-04-02 04:40:38,127 INFO L138 SettingsManager]: * sizeof long double=12 [2023-04-02 04:40:38,128 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2023-04-02 04:40:38,128 INFO L138 SettingsManager]: * Use constant arrays=true [2023-04-02 04:40:38,128 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-04-02 04:40:38,128 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-04-02 04:40:38,128 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-04-02 04:40:38,128 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-04-02 04:40:38,129 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-04-02 04:40:38,129 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-04-02 04:40:38,129 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-04-02 04:40:38,129 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-04-02 04:40:38,129 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-04-02 04:40:38,129 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-04-02 04:40:38,129 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-04-02 04:40:38,130 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-04-02 04:40:38,130 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-04-02 04:40:38,130 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-04-02 04:40:38,130 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-04-02 04:40:38,130 INFO L138 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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 [2023-04-02 04:40:38,385 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-04-02 04:40:38,413 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-04-02 04:40:38,415 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-04-02 04:40:38,416 INFO L271 PluginConnector]: Initializing CDTParser... [2023-04-02 04:40:38,416 INFO L275 PluginConnector]: CDTParser initialized [2023-04-02 04:40:38,417 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/recursive-simple/id_i5_o5-1.c [2023-04-02 04:40:39,518 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-04-02 04:40:39,713 INFO L351 CDTParser]: Found 1 translation units. [2023-04-02 04:40:39,714 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive-simple/id_i5_o5-1.c [2023-04-02 04:40:39,719 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/12e0bce7c/b3136f68667c475d80460fbf58d696a1/FLAG2c6f078e3 [2023-04-02 04:40:39,734 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/12e0bce7c/b3136f68667c475d80460fbf58d696a1 [2023-04-02 04:40:39,737 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-04-02 04:40:39,738 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2023-04-02 04:40:39,741 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-04-02 04:40:39,742 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-04-02 04:40:39,744 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-04-02 04:40:39,745 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,746 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@50e03d7d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39, skipping insertion in model container [2023-04-02 04:40:39,746 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,753 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-04-02 04:40:39,764 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-04-02 04:40:39,910 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive-simple/id_i5_o5-1.c[450,463] [2023-04-02 04:40:39,916 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-04-02 04:40:39,929 INFO L203 MainTranslator]: Completed pre-run [2023-04-02 04:40:39,942 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursive-simple/id_i5_o5-1.c[450,463] [2023-04-02 04:40:39,943 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-04-02 04:40:39,955 INFO L208 MainTranslator]: Completed translation [2023-04-02 04:40:39,956 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39 WrapperNode [2023-04-02 04:40:39,956 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-04-02 04:40:39,957 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-04-02 04:40:39,957 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-04-02 04:40:39,958 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-04-02 04:40:39,968 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,968 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,974 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,975 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,980 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,981 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,986 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,988 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,990 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-04-02 04:40:39,991 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-04-02 04:40:39,991 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-04-02 04:40:39,991 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-04-02 04:40:39,993 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39" (1/1) ... [2023-04-02 04:40:39,999 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-04-02 04:40:40,013 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-04-02 04:40:40,024 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) [2023-04-02 04:40:40,041 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 [2023-04-02 04:40:40,067 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2023-04-02 04:40:40,068 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-04-02 04:40:40,069 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2023-04-02 04:40:40,069 INFO L138 BoogieDeclarations]: Found implementation of procedure id [2023-04-02 04:40:40,069 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2023-04-02 04:40:40,069 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2023-04-02 04:40:40,069 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2023-04-02 04:40:40,069 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2023-04-02 04:40:40,070 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2023-04-02 04:40:40,070 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-04-02 04:40:40,070 INFO L130 BoogieDeclarations]: Found specification of procedure id [2023-04-02 04:40:40,070 INFO L130 BoogieDeclarations]: Found specification of procedure main [2023-04-02 04:40:40,070 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2023-04-02 04:40:40,070 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-04-02 04:40:40,070 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-04-02 04:40:40,070 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-04-02 04:40:40,071 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-04-02 04:40:40,071 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-04-02 04:40:40,126 INFO L236 CfgBuilder]: Building ICFG [2023-04-02 04:40:40,127 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-04-02 04:40:40,218 INFO L277 CfgBuilder]: Performing block encoding [2023-04-02 04:40:40,223 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-04-02 04:40:40,224 INFO L302 CfgBuilder]: Removed 0 assume(true) statements. [2023-04-02 04:40:40,225 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.04 04:40:40 BoogieIcfgContainer [2023-04-02 04:40:40,226 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-04-02 04:40:40,228 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-04-02 04:40:40,228 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-04-02 04:40:40,231 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-04-02 04:40:40,231 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 02.04 04:40:39" (1/3) ... [2023-04-02 04:40:40,232 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@293df1ff and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 02.04 04:40:40, skipping insertion in model container [2023-04-02 04:40:40,232 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 02.04 04:40:39" (2/3) ... [2023-04-02 04:40:40,232 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@293df1ff and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 02.04 04:40:40, skipping insertion in model container [2023-04-02 04:40:40,232 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 02.04 04:40:40" (3/3) ... [2023-04-02 04:40:40,233 INFO L112 eAbstractionObserver]: Analyzing ICFG id_i5_o5-1.c [2023-04-02 04:40:40,250 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-04-02 04:40:40,251 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-04-02 04:40:40,305 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-04-02 04:40:40,324 INFO L357 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=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@7d42815d, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-04-02 04:40:40,324 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-04-02 04:40:40,341 INFO L276 IsEmpty]: Start isEmpty. Operand has 21 states, 12 states have (on average 1.25) internal successors, (15), 13 states have internal predecessors, (15), 4 states have call successors, (4), 3 states have call predecessors, (4), 3 states have return successors, (4), 4 states have call predecessors, (4), 4 states have call successors, (4) [2023-04-02 04:40:40,348 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2023-04-02 04:40:40,348 INFO L187 NwaCegarLoop]: Found error trace [2023-04-02 04:40:40,349 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-04-02 04:40:40,350 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-04-02 04:40:40,363 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-04-02 04:40:40,363 INFO L85 PathProgramCache]: Analyzing trace with hash -1485823320, now seen corresponding path program 1 times [2023-04-02 04:40:40,371 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-04-02 04:40:40,371 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [709954107] [2023-04-02 04:40:40,372 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-04-02 04:40:40,372 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-04-02 04:40:40,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:40,587 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2023-04-02 04:40:40,592 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:40,599 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 6 [2023-04-02 04:40:40,602 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:40,641 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-04-02 04:40:40,642 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-04-02 04:40:40,642 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [709954107] [2023-04-02 04:40:40,642 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [709954107] provided 1 perfect and 0 imperfect interpolant sequences [2023-04-02 04:40:40,643 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-04-02 04:40:40,643 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2023-04-02 04:40:40,645 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2003003634] [2023-04-02 04:40:40,646 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-04-02 04:40:40,650 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2023-04-02 04:40:40,650 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-04-02 04:40:40,680 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2023-04-02 04:40:40,681 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2023-04-02 04:40:40,682 INFO L87 Difference]: Start difference. First operand has 21 states, 12 states have (on average 1.25) internal successors, (15), 13 states have internal predecessors, (15), 4 states have call successors, (4), 3 states have call predecessors, (4), 3 states have return successors, (4), 4 states have call predecessors, (4), 4 states have call successors, (4) Second operand has 6 states, 6 states have (on average 1.5) internal successors, (9), 4 states have internal predecessors, (9), 1 states have call successors, (3), 2 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) [2023-04-02 04:40:40,802 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-04-02 04:40:40,803 INFO L93 Difference]: Finished difference Result 33 states and 36 transitions. [2023-04-02 04:40:40,804 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-04-02 04:40:40,806 INFO L78 Accepts]: Start accepts. Automaton has has 6 states, 6 states have (on average 1.5) internal successors, (9), 4 states have internal predecessors, (9), 1 states have call successors, (3), 2 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) Word has length 14 [2023-04-02 04:40:40,806 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-04-02 04:40:40,814 INFO L225 Difference]: With dead ends: 33 [2023-04-02 04:40:40,814 INFO L226 Difference]: Without dead ends: 19 [2023-04-02 04:40:40,817 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 12 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=21, Invalid=51, Unknown=0, NotChecked=0, Total=72 [2023-04-02 04:40:40,820 INFO L413 NwaCegarLoop]: 7 mSDtfsCounter, 19 mSDsluCounter, 21 mSDsCounter, 0 mSdLazyCounter, 64 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 23 SdHoareTripleChecker+Valid, 28 SdHoareTripleChecker+Invalid, 65 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 64 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2023-04-02 04:40:40,825 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [23 Valid, 28 Invalid, 65 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 64 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2023-04-02 04:40:40,840 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 19 states. [2023-04-02 04:40:40,855 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 19 to 19. [2023-04-02 04:40:40,857 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 19 states, 11 states have (on average 1.0909090909090908) internal successors, (12), 12 states have internal predecessors, (12), 4 states have call successors, (4), 3 states have call predecessors, (4), 3 states have return successors, (4), 3 states have call predecessors, (4), 3 states have call successors, (4) [2023-04-02 04:40:40,857 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 20 transitions. [2023-04-02 04:40:40,859 INFO L78 Accepts]: Start accepts. Automaton has 19 states and 20 transitions. Word has length 14 [2023-04-02 04:40:40,859 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-04-02 04:40:40,859 INFO L495 AbstractCegarLoop]: Abstraction has 19 states and 20 transitions. [2023-04-02 04:40:40,859 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 6 states have (on average 1.5) internal successors, (9), 4 states have internal predecessors, (9), 1 states have call successors, (3), 2 states have call predecessors, (3), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) [2023-04-02 04:40:40,860 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 20 transitions. [2023-04-02 04:40:40,861 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2023-04-02 04:40:40,861 INFO L187 NwaCegarLoop]: Found error trace [2023-04-02 04:40:40,861 INFO L195 NwaCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-04-02 04:40:40,861 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-04-02 04:40:40,862 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-04-02 04:40:40,862 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-04-02 04:40:40,862 INFO L85 PathProgramCache]: Analyzing trace with hash -843542598, now seen corresponding path program 1 times [2023-04-02 04:40:40,863 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-04-02 04:40:40,863 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [215150297] [2023-04-02 04:40:40,863 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-04-02 04:40:40,863 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-04-02 04:40:40,878 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:40,963 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2023-04-02 04:40:40,967 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:40,971 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 6 [2023-04-02 04:40:40,978 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:41,039 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 2 [2023-04-02 04:40:41,042 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:41,086 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-04-02 04:40:41,086 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-04-02 04:40:41,087 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [215150297] [2023-04-02 04:40:41,087 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [215150297] provided 0 perfect and 1 imperfect interpolant sequences [2023-04-02 04:40:41,087 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1190411451] [2023-04-02 04:40:41,087 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-04-02 04:40:41,087 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-04-02 04:40:41,088 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-04-02 04:40:41,090 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) [2023-04-02 04:40:41,113 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-04-02 04:40:41,175 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:41,177 INFO L262 TraceCheckSpWp]: Trace formula consists of 75 conjuncts, 6 conjunts are in the unsatisfiable core [2023-04-02 04:40:41,182 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-04-02 04:40:41,297 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-04-02 04:40:41,298 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-04-02 04:40:41,545 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-04-02 04:40:41,545 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1190411451] provided 0 perfect and 2 imperfect interpolant sequences [2023-04-02 04:40:41,545 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-04-02 04:40:41,546 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 6, 7] total 13 [2023-04-02 04:40:41,548 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1651778388] [2023-04-02 04:40:41,549 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-04-02 04:40:41,551 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 13 states [2023-04-02 04:40:41,552 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-04-02 04:40:41,555 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 13 interpolants. [2023-04-02 04:40:41,555 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=41, Invalid=115, Unknown=0, NotChecked=0, Total=156 [2023-04-02 04:40:41,556 INFO L87 Difference]: Start difference. First operand 19 states and 20 transitions. Second operand has 13 states, 11 states have (on average 2.090909090909091) internal successors, (23), 12 states have internal predecessors, (23), 6 states have call successors, (8), 2 states have call predecessors, (8), 4 states have return successors, (6), 3 states have call predecessors, (6), 6 states have call successors, (6) [2023-04-02 04:40:41,682 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-04-02 04:40:41,682 INFO L93 Difference]: Finished difference Result 26 states and 27 transitions. [2023-04-02 04:40:41,682 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-04-02 04:40:41,684 INFO L78 Accepts]: Start accepts. Automaton has has 13 states, 11 states have (on average 2.090909090909091) internal successors, (23), 12 states have internal predecessors, (23), 6 states have call successors, (8), 2 states have call predecessors, (8), 4 states have return successors, (6), 3 states have call predecessors, (6), 6 states have call successors, (6) Word has length 20 [2023-04-02 04:40:41,684 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-04-02 04:40:41,685 INFO L225 Difference]: With dead ends: 26 [2023-04-02 04:40:41,685 INFO L226 Difference]: Without dead ends: 22 [2023-04-02 04:40:41,686 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 54 GetRequests, 37 SyntacticMatches, 2 SemanticMatches, 15 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 39 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=77, Invalid=195, Unknown=0, NotChecked=0, Total=272 [2023-04-02 04:40:41,688 INFO L413 NwaCegarLoop]: 5 mSDtfsCounter, 25 mSDsluCounter, 37 mSDsCounter, 0 mSdLazyCounter, 75 mSolverCounterSat, 14 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 25 SdHoareTripleChecker+Valid, 42 SdHoareTripleChecker+Invalid, 89 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 14 IncrementalHoareTripleChecker+Valid, 75 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2023-04-02 04:40:41,688 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [25 Valid, 42 Invalid, 89 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [14 Valid, 75 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2023-04-02 04:40:41,691 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 22 states. [2023-04-02 04:40:41,698 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 22 to 22. [2023-04-02 04:40:41,698 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 22 states, 13 states have (on average 1.0769230769230769) internal successors, (14), 14 states have internal predecessors, (14), 4 states have call successors, (4), 3 states have call predecessors, (4), 4 states have return successors, (5), 4 states have call predecessors, (5), 3 states have call successors, (5) [2023-04-02 04:40:41,700 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 22 states and 23 transitions. [2023-04-02 04:40:41,701 INFO L78 Accepts]: Start accepts. Automaton has 22 states and 23 transitions. Word has length 20 [2023-04-02 04:40:41,701 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-04-02 04:40:41,701 INFO L495 AbstractCegarLoop]: Abstraction has 22 states and 23 transitions. [2023-04-02 04:40:41,701 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 13 states, 11 states have (on average 2.090909090909091) internal successors, (23), 12 states have internal predecessors, (23), 6 states have call successors, (8), 2 states have call predecessors, (8), 4 states have return successors, (6), 3 states have call predecessors, (6), 6 states have call successors, (6) [2023-04-02 04:40:41,701 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 23 transitions. [2023-04-02 04:40:41,702 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2023-04-02 04:40:41,702 INFO L187 NwaCegarLoop]: Found error trace [2023-04-02 04:40:41,702 INFO L195 NwaCegarLoop]: trace histogram [3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-04-02 04:40:41,708 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2023-04-02 04:40:41,908 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-04-02 04:40:41,908 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-04-02 04:40:41,909 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-04-02 04:40:41,909 INFO L85 PathProgramCache]: Analyzing trace with hash 1186818152, now seen corresponding path program 2 times [2023-04-02 04:40:41,909 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-04-02 04:40:41,910 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1772470712] [2023-04-02 04:40:41,910 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-04-02 04:40:41,910 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-04-02 04:40:41,922 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:42,015 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2023-04-02 04:40:42,018 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:42,021 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 6 [2023-04-02 04:40:42,029 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:42,110 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 2 [2023-04-02 04:40:42,114 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:42,138 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 2 [2023-04-02 04:40:42,140 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-04-02 04:40:42,180 INFO L134 CoverageAnalysis]: Checked inductivity of 14 backedges. 0 proven. 9 refuted. 0 times theorem prover too weak. 5 trivial. 0 not checked. [2023-04-02 04:40:42,181 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-04-02 04:40:42,181 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1772470712] [2023-04-02 04:40:42,181 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1772470712] provided 0 perfect and 1 imperfect interpolant sequences [2023-04-02 04:40:42,181 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [772942526] [2023-04-02 04:40:42,181 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2023-04-02 04:40:42,182 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-04-02 04:40:42,182 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-04-02 04:40:42,183 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) [2023-04-02 04:40:42,185 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2023-04-02 04:40:42,229 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2023-04-02 04:40:42,229 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-04-02 04:40:42,230 INFO L262 TraceCheckSpWp]: Trace formula consists of 89 conjuncts, 8 conjunts are in the unsatisfiable core [2023-04-02 04:40:42,237 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-04-02 04:40:42,329 INFO L134 CoverageAnalysis]: Checked inductivity of 14 backedges. 0 proven. 7 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2023-04-02 04:40:42,329 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-04-02 04:40:42,568 INFO L134 CoverageAnalysis]: Checked inductivity of 14 backedges. 0 proven. 7 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2023-04-02 04:40:42,569 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [772942526] provided 0 perfect and 2 imperfect interpolant sequences [2023-04-02 04:40:42,569 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-04-02 04:40:42,569 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 9, 9] total 22 [2023-04-02 04:40:42,569 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1683463670] [2023-04-02 04:40:42,569 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-04-02 04:40:42,570 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 22 states [2023-04-02 04:40:42,571 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-04-02 04:40:42,573 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 22 interpolants. [2023-04-02 04:40:42,573 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=64, Invalid=398, Unknown=0, NotChecked=0, Total=462 [2023-04-02 04:40:42,574 INFO L87 Difference]: Start difference. First operand 22 states and 23 transitions. Second operand has 22 states, 21 states have (on average 1.619047619047619) internal successors, (34), 15 states have internal predecessors, (34), 3 states have call successors, (7), 2 states have call predecessors, (7), 9 states have return successors, (10), 10 states have call predecessors, (10), 3 states have call successors, (10) [2023-04-02 04:40:42,874 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-04-02 04:40:42,875 INFO L93 Difference]: Finished difference Result 37 states and 40 transitions. [2023-04-02 04:40:42,875 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 16 states. [2023-04-02 04:40:42,875 INFO L78 Accepts]: Start accepts. Automaton has has 22 states, 21 states have (on average 1.619047619047619) internal successors, (34), 15 states have internal predecessors, (34), 3 states have call successors, (7), 2 states have call predecessors, (7), 9 states have return successors, (10), 10 states have call predecessors, (10), 3 states have call successors, (10) Word has length 26 [2023-04-02 04:40:42,875 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-04-02 04:40:42,877 INFO L225 Difference]: With dead ends: 37 [2023-04-02 04:40:42,877 INFO L226 Difference]: Without dead ends: 31 [2023-04-02 04:40:42,878 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 80 GetRequests, 46 SyntacticMatches, 1 SemanticMatches, 33 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 185 ImplicationChecksByTransitivity, 0.3s TimeCoverageRelationStatistics Valid=189, Invalid=1001, Unknown=0, NotChecked=0, Total=1190 [2023-04-02 04:40:42,881 INFO L413 NwaCegarLoop]: 5 mSDtfsCounter, 35 mSDsluCounter, 62 mSDsCounter, 0 mSdLazyCounter, 161 mSolverCounterSat, 21 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 35 SdHoareTripleChecker+Valid, 67 SdHoareTripleChecker+Invalid, 182 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 21 IncrementalHoareTripleChecker+Valid, 161 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2023-04-02 04:40:42,883 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [35 Valid, 67 Invalid, 182 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [21 Valid, 161 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2023-04-02 04:40:42,884 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 31 states. [2023-04-02 04:40:42,894 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 31 to 31. [2023-04-02 04:40:42,895 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 31 states, 19 states have (on average 1.0526315789473684) internal successors, (20), 20 states have internal predecessors, (20), 4 states have call successors, (4), 3 states have call predecessors, (4), 7 states have return successors, (8), 7 states have call predecessors, (8), 3 states have call successors, (8) [2023-04-02 04:40:42,896 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 31 states and 32 transitions. [2023-04-02 04:40:42,896 INFO L78 Accepts]: Start accepts. Automaton has 31 states and 32 transitions. Word has length 26 [2023-04-02 04:40:42,896 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-04-02 04:40:42,896 INFO L495 AbstractCegarLoop]: Abstraction has 31 states and 32 transitions. [2023-04-02 04:40:42,897 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 22 states, 21 states have (on average 1.619047619047619) internal successors, (34), 15 states have internal predecessors, (34), 3 states have call successors, (7), 2 states have call predecessors, (7), 9 states have return successors, (10), 10 states have call predecessors, (10), 3 states have call successors, (10) [2023-04-02 04:40:42,897 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 32 transitions. [2023-04-02 04:40:42,898 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 45 [2023-04-02 04:40:42,898 INFO L187 NwaCegarLoop]: Found error trace [2023-04-02 04:40:42,898 INFO L195 NwaCegarLoop]: trace histogram [6, 6, 5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-04-02 04:40:42,905 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2023-04-02 04:40:43,099 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable2 [2023-04-02 04:40:43,099 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-04-02 04:40:43,100 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-04-02 04:40:43,100 INFO L85 PathProgramCache]: Analyzing trace with hash 83902522, now seen corresponding path program 3 times [2023-04-02 04:40:43,101 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-04-02 04:40:43,104 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1473062616] [2023-04-02 04:40:43,104 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-04-02 04:40:43,104 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-04-02 04:40:43,117 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-04-02 04:40:43,118 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-04-02 04:40:43,127 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-04-02 04:40:43,144 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-04-02 04:40:43,149 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-04-02 04:40:43,150 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location mainErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2023-04-02 04:40:43,151 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-04-02 04:40:43,156 INFO L445 BasicCegarLoop]: Path program histogram: [3, 1] [2023-04-02 04:40:43,161 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-04-02 04:40:43,179 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 02.04 04:40:43 BoogieIcfgContainer [2023-04-02 04:40:43,179 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-04-02 04:40:43,180 INFO L158 Benchmark]: Toolchain (without parser) took 3441.24ms. Allocated memory is still 278.9MB. Free memory was 229.7MB in the beginning and 148.7MB in the end (delta: 81.0MB). Peak memory consumption was 82.0MB. Max. memory is 8.0GB. [2023-04-02 04:40:43,180 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 179.3MB. Free memory is still 127.5MB. There was no memory consumed. Max. memory is 8.0GB. [2023-04-02 04:40:43,180 INFO L158 Benchmark]: CACSL2BoogieTranslator took 215.01ms. Allocated memory is still 278.9MB. Free memory was 229.7MB in the beginning and 219.8MB in the end (delta: 9.9MB). Peak memory consumption was 9.4MB. Max. memory is 8.0GB. [2023-04-02 04:40:43,180 INFO L158 Benchmark]: Boogie Preprocessor took 33.10ms. Allocated memory is still 278.9MB. Free memory was 219.8MB in the beginning and 218.7MB in the end (delta: 1.1MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. [2023-04-02 04:40:43,181 INFO L158 Benchmark]: RCFGBuilder took 234.71ms. Allocated memory is still 278.9MB. Free memory was 218.7MB in the beginning and 208.8MB in the end (delta: 10.0MB). Peak memory consumption was 10.5MB. Max. memory is 8.0GB. [2023-04-02 04:40:43,181 INFO L158 Benchmark]: TraceAbstraction took 2951.59ms. Allocated memory is still 278.9MB. Free memory was 208.3MB in the beginning and 148.7MB in the end (delta: 59.6MB). Peak memory consumption was 61.1MB. Max. memory is 8.0GB. [2023-04-02 04:40:43,182 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.14ms. Allocated memory is still 179.3MB. Free memory is still 127.5MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 215.01ms. Allocated memory is still 278.9MB. Free memory was 229.7MB in the beginning and 219.8MB in the end (delta: 9.9MB). Peak memory consumption was 9.4MB. Max. memory is 8.0GB. * Boogie Preprocessor took 33.10ms. Allocated memory is still 278.9MB. Free memory was 219.8MB in the beginning and 218.7MB in the end (delta: 1.1MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. * RCFGBuilder took 234.71ms. Allocated memory is still 278.9MB. Free memory was 218.7MB in the beginning and 208.8MB in the end (delta: 10.0MB). Peak memory consumption was 10.5MB. Max. memory is 8.0GB. * TraceAbstraction took 2951.59ms. Allocated memory is still 278.9MB. Free memory was 208.3MB in the beginning and 148.7MB in the end (delta: 59.6MB). Peak memory consumption was 61.1MB. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - CounterExampleResult [Line: 15]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L12] int input = 5; VAL [input=5] [L13] CALL, EXPR id(input) VAL [\old(x)=5] [L7] COND FALSE !(x==0) VAL [\old(x)=5, x=5] [L8] CALL, EXPR id(x-1) VAL [\old(x)=4] [L7] COND FALSE !(x==0) VAL [\old(x)=4, x=4] [L8] CALL, EXPR id(x-1) VAL [\old(x)=3] [L7] COND FALSE !(x==0) VAL [\old(x)=3, x=3] [L8] CALL, EXPR id(x-1) VAL [\old(x)=2] [L7] COND FALSE !(x==0) VAL [\old(x)=2, x=2] [L8] CALL, EXPR id(x-1) VAL [\old(x)=1] [L7] COND FALSE !(x==0) VAL [\old(x)=1, x=1] [L8] CALL, EXPR id(x-1) VAL [\old(x)=0] [L7] COND TRUE x==0 [L7] return 0; VAL [\old(x)=0, \result=0, x=0] [L8] RET, EXPR id(x-1) VAL [\old(x)=1, id(x-1)=0, x=1] [L8] return id(x-1) + 1; [L8] RET, EXPR id(x-1) VAL [\old(x)=2, id(x-1)=1, x=2] [L8] return id(x-1) + 1; [L8] RET, EXPR id(x-1) VAL [\old(x)=3, id(x-1)=2, x=3] [L8] return id(x-1) + 1; [L8] RET, EXPR id(x-1) VAL [\old(x)=4, id(x-1)=3, x=4] [L8] return id(x-1) + 1; [L8] RET, EXPR id(x-1) VAL [\old(x)=5, id(x-1)=4, x=5] [L8] return id(x-1) + 1; [L13] RET, EXPR id(input) VAL [id(input)=5, input=5] [L13] int result = id(input); [L14] COND TRUE result == 5 VAL [input=5, result=5] [L15] reach_error() VAL [input=5, result=5] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 24 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 2.9s, OverallIterations: 4, TraceHistogramMax: 6, PathProgramHistogramMax: 3, EmptinessCheckTime: 0.0s, AutomataDifference: 0.6s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 83 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 79 mSDsluCounter, 137 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 120 mSDsCounter, 36 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 300 IncrementalHoareTripleChecker+Invalid, 336 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 36 mSolverCounterUnsat, 17 mSDtfsCounter, 300 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 146 GetRequests, 88 SyntacticMatches, 3 SemanticMatches, 55 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 227 ImplicationChecksByTransitivity, 0.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=31occurred in iteration=3, InterpolantAutomatonStates: 29, 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, 3 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 1.3s InterpolantComputationTime, 150 NumberOfCodeBlocks, 150 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 145 ConstructedInterpolants, 0 QuantifiedInterpolants, 313 SizeOfPredicates, 2 NumberOfNonLiveVariables, 164 ConjunctsInSsa, 14 ConjunctsInUnsatCore, 7 InterpolantComputations, 1 PerfectInterpolantSequences, 23/54 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! [2023-04-02 04:40:43,196 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request...