/usr/lib/jvm/java-1.11.0-openjdk-amd64/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 --cacsl2boogietranslator.use.bitabs.translation false -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -i ../../../trunk/examples/svcomp/recursive/BallRajamani-SPIN2000-Fig1.c -------------------------------------------------------------------------------- This is Ultimate 0.2.4-tmp.fs.bitabs-eval-d9c3e40-m [2023-12-21 10:13:53,189 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-12-21 10:13:53,273 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf [2023-12-21 10:13:53,278 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-12-21 10:13:53,278 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-12-21 10:13:53,306 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-12-21 10:13:53,307 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-12-21 10:13:53,307 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-12-21 10:13:53,308 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-12-21 10:13:53,312 INFO L153 SettingsManager]: * Use memory slicer=true [2023-12-21 10:13:53,312 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-12-21 10:13:53,313 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-12-21 10:13:53,313 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-12-21 10:13:53,314 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-12-21 10:13:53,314 INFO L153 SettingsManager]: * Use SBE=true [2023-12-21 10:13:53,315 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-12-21 10:13:53,315 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-12-21 10:13:53,315 INFO L153 SettingsManager]: * sizeof long=4 [2023-12-21 10:13:53,315 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-12-21 10:13:53,316 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-12-21 10:13:53,317 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-12-21 10:13:53,317 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-12-21 10:13:53,317 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-12-21 10:13:53,317 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-12-21 10:13:53,318 INFO L153 SettingsManager]: * Allow undefined functions=false [2023-12-21 10:13:53,318 INFO L153 SettingsManager]: * sizeof long double=12 [2023-12-21 10:13:53,318 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-12-21 10:13:53,318 INFO L153 SettingsManager]: * Use constant arrays=true [2023-12-21 10:13:53,319 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-12-21 10:13:53,319 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-12-21 10:13:53,320 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-12-21 10:13:53,320 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-12-21 10:13:53,320 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-12-21 10:13:53,320 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-12-21 10:13:53,320 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-12-21 10:13:53,321 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-12-21 10:13:53,321 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-12-21 10:13:53,321 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-12-21 10:13:53,321 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-12-21 10:13:53,321 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-12-21 10:13:53,321 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-12-21 10:13:53,322 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-12-21 10:13:53,322 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-12-21 10:13:53,322 INFO L153 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 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Use bitabs translation -> false [2023-12-21 10:13:53,559 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-12-21 10:13:53,584 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-12-21 10:13:53,586 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-12-21 10:13:53,587 INFO L270 PluginConnector]: Initializing CDTParser... [2023-12-21 10:13:53,587 INFO L274 PluginConnector]: CDTParser initialized [2023-12-21 10:13:53,588 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/recursive/BallRajamani-SPIN2000-Fig1.c [2023-12-21 10:13:54,793 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-12-21 10:13:54,972 INFO L384 CDTParser]: Found 1 translation units. [2023-12-21 10:13:54,972 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/recursive/BallRajamani-SPIN2000-Fig1.c [2023-12-21 10:13:54,978 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c711bef5b/76d76cb5ac8e40d4b1aca8776e70bce8/FLAGf35e8d6a7 [2023-12-21 10:13:54,990 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c711bef5b/76d76cb5ac8e40d4b1aca8776e70bce8 [2023-12-21 10:13:54,993 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-12-21 10:13:54,994 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-12-21 10:13:54,995 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-12-21 10:13:54,995 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-12-21 10:13:54,999 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-12-21 10:13:54,999 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.12 10:13:54" (1/1) ... [2023-12-21 10:13:55,000 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@383afc94 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55, skipping insertion in model container [2023-12-21 10:13:55,001 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.12 10:13:54" (1/1) ... [2023-12-21 10:13:55,016 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-12-21 10:13:55,145 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/recursive/BallRajamani-SPIN2000-Fig1.c[718,731] [2023-12-21 10:13:55,148 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-21 10:13:55,157 INFO L202 MainTranslator]: Completed pre-run [2023-12-21 10:13:55,167 WARN L239 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/recursive/BallRajamani-SPIN2000-Fig1.c[718,731] [2023-12-21 10:13:55,167 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-12-21 10:13:55,178 INFO L206 MainTranslator]: Completed translation [2023-12-21 10:13:55,179 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55 WrapperNode [2023-12-21 10:13:55,179 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-12-21 10:13:55,180 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-12-21 10:13:55,180 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-12-21 10:13:55,180 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-12-21 10:13:55,185 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,188 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,201 INFO L138 Inliner]: procedures = 13, calls = 10, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 25 [2023-12-21 10:13:55,202 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-12-21 10:13:55,203 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-12-21 10:13:55,203 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-12-21 10:13:55,203 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-12-21 10:13:55,211 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,211 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,212 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,221 INFO L175 MemorySlicer]: Split 2 memory accesses to 1 slices as follows [2]. 100 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2]. The 0 writes are split as follows [0]. [2023-12-21 10:13:55,222 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,222 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,226 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,227 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,228 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,229 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,236 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-12-21 10:13:55,237 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-12-21 10:13:55,237 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-12-21 10:13:55,237 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-12-21 10:13:55,238 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (1/1) ... [2023-12-21 10:13:55,242 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-12-21 10:13:55,251 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-12-21 10:13:55,265 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-12-21 10:13:55,296 INFO L130 BoogieDeclarations]: Found specification of procedure A [2023-12-21 10:13:55,297 INFO L138 BoogieDeclarations]: Found implementation of procedure A [2023-12-21 10:13:55,297 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-12-21 10:13:55,298 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-12-21 10:13:55,298 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-12-21 10:13:55,298 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-12-21 10:13:55,290 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-12-21 10:13:55,356 INFO L241 CfgBuilder]: Building ICFG [2023-12-21 10:13:55,358 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-12-21 10:13:55,497 INFO L282 CfgBuilder]: Performing block encoding [2023-12-21 10:13:55,527 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-12-21 10:13:55,527 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-12-21 10:13:55,527 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.12 10:13:55 BoogieIcfgContainer [2023-12-21 10:13:55,527 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-12-21 10:13:55,529 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-12-21 10:13:55,530 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-12-21 10:13:55,532 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-12-21 10:13:55,533 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 21.12 10:13:54" (1/3) ... [2023-12-21 10:13:55,533 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@355f33a0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.12 10:13:55, skipping insertion in model container [2023-12-21 10:13:55,533 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.12 10:13:55" (2/3) ... [2023-12-21 10:13:55,534 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@355f33a0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 21.12 10:13:55, skipping insertion in model container [2023-12-21 10:13:55,534 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.12 10:13:55" (3/3) ... [2023-12-21 10:13:55,535 INFO L112 eAbstractionObserver]: Analyzing ICFG BallRajamani-SPIN2000-Fig1.c [2023-12-21 10:13:55,551 INFO L204 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-12-21 10:13:55,551 INFO L163 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-12-21 10:13:55,588 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-12-21 10:13:55,596 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=LoopHeads, 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;@bebb05b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-12-21 10:13:55,597 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-12-21 10:13:55,601 INFO L276 IsEmpty]: Start isEmpty. Operand has 16 states, 10 states have (on average 1.3) internal successors, (13), 11 states have internal predecessors, (13), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) [2023-12-21 10:13:55,606 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2023-12-21 10:13:55,606 INFO L187 NwaCegarLoop]: Found error trace [2023-12-21 10:13:55,607 INFO L195 NwaCegarLoop]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-12-21 10:13:55,607 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-12-21 10:13:55,611 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-12-21 10:13:55,611 INFO L85 PathProgramCache]: Analyzing trace with hash 1944176839, now seen corresponding path program 1 times [2023-12-21 10:13:55,619 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-12-21 10:13:55,620 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1591041792] [2023-12-21 10:13:55,620 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-12-21 10:13:55,620 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-12-21 10:13:55,730 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-21 10:13:55,857 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 1 [2023-12-21 10:13:55,861 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-21 10:13:55,934 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 7 [2023-12-21 10:13:55,938 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-21 10:13:55,944 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-12-21 10:13:55,945 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-12-21 10:13:55,945 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1591041792] [2023-12-21 10:13:55,946 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1591041792] provided 0 perfect and 1 imperfect interpolant sequences [2023-12-21 10:13:55,946 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [789441750] [2023-12-21 10:13:55,946 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-12-21 10:13:55,946 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-12-21 10:13:55,946 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-12-21 10:13:55,960 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-12-21 10:13:56,006 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-12-21 10:13:56,058 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-12-21 10:13:56,060 INFO L262 TraceCheckSpWp]: Trace formula consists of 71 conjuncts, 9 conjunts are in the unsatisfiable core [2023-12-21 10:13:56,065 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-12-21 10:13:56,108 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-12-21 10:13:56,108 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-12-21 10:13:56,108 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [789441750] provided 1 perfect and 0 imperfect interpolant sequences [2023-12-21 10:13:56,109 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2023-12-21 10:13:56,109 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [6] total 6 [2023-12-21 10:13:56,111 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2069199656] [2023-12-21 10:13:56,113 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-12-21 10:13:56,116 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2023-12-21 10:13:56,116 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-12-21 10:13:56,171 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-12-21 10:13:56,171 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2023-12-21 10:13:56,173 INFO L87 Difference]: Start difference. First operand has 16 states, 10 states have (on average 1.3) internal successors, (13), 11 states have internal predecessors, (13), 3 states have call successors, (3), 1 states have call predecessors, (3), 1 states have return successors, (3), 3 states have call predecessors, (3), 3 states have call successors, (3) Second operand has 5 states, 5 states have (on average 2.2) internal successors, (11), 5 states have internal predecessors, (11), 1 states have call successors, (2), 1 states have call predecessors, (2), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) [2023-12-21 10:13:56,264 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-12-21 10:13:56,264 INFO L93 Difference]: Finished difference Result 36 states and 46 transitions. [2023-12-21 10:13:56,265 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-12-21 10:13:56,267 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 2.2) internal successors, (11), 5 states have internal predecessors, (11), 1 states have call successors, (2), 1 states have call predecessors, (2), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) Word has length 15 [2023-12-21 10:13:56,267 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-12-21 10:13:56,276 INFO L225 Difference]: With dead ends: 36 [2023-12-21 10:13:56,276 INFO L226 Difference]: Without dead ends: 16 [2023-12-21 10:13:56,279 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 23 GetRequests, 18 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2023-12-21 10:13:56,282 INFO L413 NwaCegarLoop]: 10 mSDtfsCounter, 8 mSDsluCounter, 18 mSDsCounter, 0 mSdLazyCounter, 40 mSolverCounterSat, 4 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 10 SdHoareTripleChecker+Valid, 28 SdHoareTripleChecker+Invalid, 44 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 4 IncrementalHoareTripleChecker+Valid, 40 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2023-12-21 10:13:56,283 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [10 Valid, 28 Invalid, 44 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [4 Valid, 40 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2023-12-21 10:13:56,293 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states. [2023-12-21 10:13:56,304 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 16. [2023-12-21 10:13:56,305 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 16 states, 10 states have (on average 1.1) internal successors, (11), 11 states have internal predecessors, (11), 3 states have call successors, (3), 1 states have call predecessors, (3), 2 states have return successors, (4), 3 states have call predecessors, (4), 3 states have call successors, (4) [2023-12-21 10:13:56,306 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 18 transitions. [2023-12-21 10:13:56,307 INFO L78 Accepts]: Start accepts. Automaton has 16 states and 18 transitions. Word has length 15 [2023-12-21 10:13:56,307 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-12-21 10:13:56,307 INFO L495 AbstractCegarLoop]: Abstraction has 16 states and 18 transitions. [2023-12-21 10:13:56,307 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 2.2) internal successors, (11), 5 states have internal predecessors, (11), 1 states have call successors, (2), 1 states have call predecessors, (2), 2 states have return successors, (2), 2 states have call predecessors, (2), 1 states have call successors, (2) [2023-12-21 10:13:56,308 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 18 transitions. [2023-12-21 10:13:56,309 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2023-12-21 10:13:56,309 INFO L187 NwaCegarLoop]: Found error trace [2023-12-21 10:13:56,309 INFO L195 NwaCegarLoop]: trace histogram [4, 4, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-12-21 10:13:56,314 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2023-12-21 10:13:56,510 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable0 [2023-12-21 10:13:56,511 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-12-21 10:13:56,511 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-12-21 10:13:56,511 INFO L85 PathProgramCache]: Analyzing trace with hash -554895117, now seen corresponding path program 1 times [2023-12-21 10:13:56,511 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-12-21 10:13:56,512 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [27634768] [2023-12-21 10:13:56,512 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-12-21 10:13:56,512 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-12-21 10:13:56,538 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-21 10:13:56,538 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-12-21 10:13:56,555 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-12-21 10:13:56,582 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-12-21 10:13:56,583 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-12-21 10:13:56,584 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2023-12-21 10:13:56,586 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-12-21 10:13:56,590 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-12-21 10:13:56,593 INFO L179 ceAbstractionStarter]: Computing trace abstraction results [2023-12-21 10:13:56,616 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 21.12 10:13:56 BoogieIcfgContainer [2023-12-21 10:13:56,616 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-12-21 10:13:56,618 INFO L158 Benchmark]: Toolchain (without parser) took 1622.62ms. Allocated memory is still 318.8MB. Free memory was 269.8MB in the beginning and 270.6MB in the end (delta: -768.7kB). There was no memory consumed. Max. memory is 8.0GB. [2023-12-21 10:13:56,618 INFO L158 Benchmark]: CDTParser took 0.52ms. Allocated memory is still 189.8MB. Free memory is still 137.8MB. There was no memory consumed. Max. memory is 8.0GB. [2023-12-21 10:13:56,618 INFO L158 Benchmark]: CACSL2BoogieTranslator took 184.25ms. Allocated memory is still 318.8MB. Free memory was 269.3MB in the beginning and 258.8MB in the end (delta: 10.5MB). Peak memory consumption was 10.5MB. Max. memory is 8.0GB. [2023-12-21 10:13:56,619 INFO L158 Benchmark]: Boogie Procedure Inliner took 22.32ms. Allocated memory is still 318.8MB. Free memory was 258.8MB in the beginning and 257.7MB in the end (delta: 1.0MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. [2023-12-21 10:13:56,619 INFO L158 Benchmark]: Boogie Preprocessor took 33.57ms. Allocated memory is still 318.8MB. Free memory was 257.7MB in the beginning and 256.2MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. [2023-12-21 10:13:56,620 INFO L158 Benchmark]: RCFGBuilder took 290.69ms. Allocated memory is still 318.8MB. Free memory was 256.2MB in the beginning and 246.2MB in the end (delta: 10.0MB). Peak memory consumption was 9.4MB. Max. memory is 8.0GB. [2023-12-21 10:13:56,620 INFO L158 Benchmark]: TraceAbstraction took 1086.50ms. Allocated memory is still 318.8MB. Free memory was 245.2MB in the beginning and 270.6MB in the end (delta: -25.4MB). There was no memory consumed. Max. memory is 8.0GB. [2023-12-21 10:13:56,622 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.52ms. Allocated memory is still 189.8MB. Free memory is still 137.8MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 184.25ms. Allocated memory is still 318.8MB. Free memory was 269.3MB in the beginning and 258.8MB in the end (delta: 10.5MB). Peak memory consumption was 10.5MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 22.32ms. Allocated memory is still 318.8MB. Free memory was 258.8MB in the beginning and 257.7MB in the end (delta: 1.0MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. * Boogie Preprocessor took 33.57ms. Allocated memory is still 318.8MB. Free memory was 257.7MB in the beginning and 256.2MB in the end (delta: 1.6MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. * RCFGBuilder took 290.69ms. Allocated memory is still 318.8MB. Free memory was 256.2MB in the beginning and 246.2MB in the end (delta: 10.0MB). Peak memory consumption was 9.4MB. Max. memory is 8.0GB. * TraceAbstraction took 1086.50ms. Allocated memory is still 318.8MB. Free memory was 245.2MB in the beginning and 270.6MB in the end (delta: -25.4MB). There was no memory consumed. 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: 33]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L16] int g; [L28] int g = __VERIFIER_nondet_int(); [L29] int h = !g; VAL [g=0, g=5, h=0] [L30] CALL A(g,h) VAL [\old(a1)=5, \old(a2)=0, \old(g)=0, g=0] [L19] COND TRUE \read(a1) VAL [\old(a1)=5, \old(a2)=0, \old(g)=0, a1=5, a2=0, g=0] [L20] CALL A(a2,a1) VAL [\old(a1)=0, \old(a2)=5, \old(g)=0, g=0] [L19] COND FALSE !(\read(a1)) [L22] g = a2 VAL [\old(a1)=0, \old(a2)=5, \old(g)=0, a1=0, a2=5, g=5] [L20] RET A(a2,a1) VAL [\old(a1)=5, \old(a2)=0, \old(g)=0, a1=5, a2=0, g=5] [L30] RET A(g,h) VAL [g=5, g=5, h=0] [L31] CALL A(g,h) VAL [\old(a1)=5, \old(a2)=0, \old(g)=5, g=5] [L19] COND TRUE \read(a1) VAL [\old(a1)=5, \old(a2)=0, \old(g)=5, a1=5, a2=0, g=5] [L20] CALL A(a2,a1) VAL [\old(a1)=0, \old(a2)=5, \old(g)=5, g=5] [L19] COND FALSE !(\read(a1)) [L22] g = a2 VAL [\old(a1)=0, \old(a2)=5, \old(g)=5, a1=0, a2=5, g=5] [L20] RET A(a2,a1) VAL [\old(a1)=5, \old(a2)=0, \old(g)=5, a1=5, a2=0, g=5] [L31] RET A(g,h) VAL [g=5, g=5, h=0] [L32] COND TRUE \read(g) VAL [g=5, g=5, h=0] [L33] reach_error() VAL [g=5, g=5, h=0] - StatisticsResult: Ultimate Automizer benchmark data CFG has 2 procedures, 16 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 2, TraceHistogramMax: 4, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.2s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 10 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 8 mSDsluCounter, 28 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 18 mSDsCounter, 4 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 40 IncrementalHoareTripleChecker+Invalid, 44 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 4 mSolverCounterUnsat, 10 mSDtfsCounter, 40 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 23 GetRequests, 18 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=16occurred in iteration=0, InterpolantAutomatonStates: 6, 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, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 57 NumberOfCodeBlocks, 57 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 28 ConstructedInterpolants, 0 QuantifiedInterpolants, 56 SizeOfPredicates, 1 NumberOfNonLiveVariables, 71 ConjunctsInSsa, 9 ConjunctsInUnsatCore, 2 InterpolantComputations, 1 PerfectInterpolantSequences, 5/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! [2023-12-21 10:13:56,644 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...