/root/.sdkman/candidates/java/21.0.5-tem/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata ./data -tc ../benchexec/../../../trunk/examples/toolchains/AutomizerCInline.xml -s ../benchexec/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf --traceabstraction.automaton.type.used.in.concurrency.analysis PETRI_NET -i ../../../trunk/examples/svcomp/pthread-atomic/read_write_lock-1.i -------------------------------------------------------------------------------- This is Ultimate 0.3.0-wip.dk.cfg-lbe-improvements-94356ea-m [2025-04-13 19:15:45,573 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-04-13 19:15:45,627 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../benchexec/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf [2025-04-13 19:15:45,631 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-04-13 19:15:45,631 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-04-13 19:15:45,653 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-04-13 19:15:45,654 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-04-13 19:15:45,654 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-04-13 19:15:45,655 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-04-13 19:15:45,655 INFO L153 SettingsManager]: * Use memory slicer=true [2025-04-13 19:15:45,655 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-04-13 19:15:45,655 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-04-13 19:15:45,657 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Use SBE=true [2025-04-13 19:15:45,657 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * sizeof long=4 [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * sizeof long double=12 [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Use constant arrays=true [2025-04-13 19:15:45,657 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-04-13 19:15:45,657 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 19:15:45,658 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 19:15:45,658 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-04-13 19:15:45,658 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Automaton type used in concurrency analysis -> PETRI_NET [2025-04-13 19:15:45,871 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-04-13 19:15:45,877 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-04-13 19:15:45,879 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-04-13 19:15:45,880 INFO L270 PluginConnector]: Initializing CDTParser... [2025-04-13 19:15:45,882 INFO L274 PluginConnector]: CDTParser initialized [2025-04-13 19:15:45,883 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-atomic/read_write_lock-1.i [2025-04-13 19:15:47,178 INFO L538 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b53bf4a44/5cb037616fda4abf9032e2b7b29c0e5c/FLAG7e6f29dad [2025-04-13 19:15:47,410 INFO L389 CDTParser]: Found 1 translation units. [2025-04-13 19:15:47,411 INFO L178 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/read_write_lock-1.i [2025-04-13 19:15:47,418 INFO L432 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b53bf4a44/5cb037616fda4abf9032e2b7b29c0e5c/FLAG7e6f29dad [2025-04-13 19:15:48,228 INFO L440 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b53bf4a44/5cb037616fda4abf9032e2b7b29c0e5c [2025-04-13 19:15:48,231 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-04-13 19:15:48,231 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2025-04-13 19:15:48,232 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-04-13 19:15:48,232 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-04-13 19:15:48,235 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-04-13 19:15:48,235 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,236 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@49dbf11 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48, skipping insertion in model container [2025-04-13 19:15:48,236 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,261 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-04-13 19:15:48,461 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/read_write_lock-1.i[30145,30158] [2025-04-13 19:15:48,467 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-04-13 19:15:48,479 INFO L200 MainTranslator]: Completed pre-run [2025-04-13 19:15:48,518 WARN L250 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-atomic/read_write_lock-1.i[30145,30158] [2025-04-13 19:15:48,522 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-04-13 19:15:48,551 INFO L204 MainTranslator]: Completed translation [2025-04-13 19:15:48,552 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48 WrapperNode [2025-04-13 19:15:48,552 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-04-13 19:15:48,553 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-04-13 19:15:48,553 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-04-13 19:15:48,553 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-04-13 19:15:48,557 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,569 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,586 INFO L138 Inliner]: procedures = 163, calls = 26, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 56 [2025-04-13 19:15:48,587 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-04-13 19:15:48,587 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-04-13 19:15:48,587 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-04-13 19:15:48,587 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-04-13 19:15:48,593 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,593 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,596 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,611 INFO L175 MemorySlicer]: Split 13 memory accesses to 2 slices as follows [2, 11]. 85 percent of accesses are in the largest equivalence class. The 13 initializations are split as follows [2, 11]. The 0 writes are split as follows [0, 0]. [2025-04-13 19:15:48,611 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,611 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,616 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,617 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,621 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,622 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,623 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,628 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-04-13 19:15:48,629 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2025-04-13 19:15:48,629 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2025-04-13 19:15:48,629 INFO L274 PluginConnector]: RCFGBuilder initialized [2025-04-13 19:15:48,630 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (1/1) ... [2025-04-13 19:15:48,633 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-13 19:15:48,642 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-04-13 19:15:48,652 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) [2025-04-13 19:15:48,657 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 [2025-04-13 19:15:48,672 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockUnlock [2025-04-13 19:15:48,672 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockReadLock [2025-04-13 19:15:48,672 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-04-13 19:15:48,672 INFO L130 BoogieDeclarations]: Found specification of procedure reader [2025-04-13 19:15:48,673 INFO L138 BoogieDeclarations]: Found implementation of procedure reader [2025-04-13 19:15:48,673 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockWriteLock [2025-04-13 19:15:48,673 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-04-13 19:15:48,673 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-04-13 19:15:48,673 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-04-13 19:15:48,673 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-04-13 19:15:48,673 INFO L130 BoogieDeclarations]: Found specification of procedure writer [2025-04-13 19:15:48,673 INFO L138 BoogieDeclarations]: Found implementation of procedure writer [2025-04-13 19:15:48,674 WARN L203 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-04-13 19:15:48,782 INFO L234 CfgBuilder]: Building ICFG [2025-04-13 19:15:48,784 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2025-04-13 19:15:48,909 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-04-13 19:15:48,910 INFO L289 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-04-13 19:15:48,910 INFO L294 CfgBuilder]: Performing block encoding [2025-04-13 19:15:49,015 INFO L313 CfgBuilder]: Removed 0 assume(true) statements. [2025-04-13 19:15:49,015 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.04 07:15:49 BoogieIcfgContainer [2025-04-13 19:15:49,015 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2025-04-13 19:15:49,017 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-04-13 19:15:49,017 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-04-13 19:15:49,020 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-04-13 19:15:49,020 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 13.04 07:15:48" (1/3) ... [2025-04-13 19:15:49,020 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7785405c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.04 07:15:49, skipping insertion in model container [2025-04-13 19:15:49,021 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 07:15:48" (2/3) ... [2025-04-13 19:15:49,021 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7785405c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.04 07:15:49, skipping insertion in model container [2025-04-13 19:15:49,021 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.04 07:15:49" (3/3) ... [2025-04-13 19:15:49,022 INFO L128 eAbstractionObserver]: Analyzing ICFG read_write_lock-1.i [2025-04-13 19:15:49,035 INFO L217 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-04-13 19:15:49,037 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG read_write_lock-1.i that has 3 procedures, 28 locations, 25 edges, 1 initial locations, 0 loop locations, and 1 error locations. [2025-04-13 19:15:49,037 INFO L490 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-04-13 19:15:49,076 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2025-04-13 19:15:49,107 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 53 places, 40 transitions, 108 flow [2025-04-13 19:15:49,135 INFO L116 PetriNetUnfolderBase]: 0/36 cut-off events. [2025-04-13 19:15:49,136 INFO L117 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2025-04-13 19:15:49,137 INFO L83 FinitePrefix]: Finished finitePrefix Result has 53 conditions, 36 events. 0/36 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 68 event pairs, 0 based on Foata normal form. 0/34 useless extension candidates. Maximal degree in co-relation 0. Up to 2 conditions per place. [2025-04-13 19:15:49,138 INFO L82 GeneralOperation]: Start removeDead. Operand has 53 places, 40 transitions, 108 flow [2025-04-13 19:15:49,143 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 47 places, 34 transitions, 89 flow [2025-04-13 19:15:49,149 INFO L339 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-04-13 19:15:49,156 INFO L340 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, 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;@7190b2fa, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-04-13 19:15:49,157 INFO L341 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2025-04-13 19:15:49,166 INFO L177 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-04-13 19:15:49,166 INFO L116 PetriNetUnfolderBase]: 0/15 cut-off events. [2025-04-13 19:15:49,166 INFO L117 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-04-13 19:15:49,166 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-13 19:15:49,166 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1] [2025-04-13 19:15:49,167 INFO L403 AbstractCegarLoop]: === Iteration 1 === Targeting readerErr0ASSERT_VIOLATIONERROR_FUNCTION === [readerErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2025-04-13 19:15:49,170 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-13 19:15:49,173 INFO L85 PathProgramCache]: Analyzing trace with hash 740269653, now seen corresponding path program 1 times [2025-04-13 19:15:49,178 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-13 19:15:49,179 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [121938887] [2025-04-13 19:15:49,179 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-13 19:15:49,180 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-13 19:15:49,269 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 7 statements into 1 equivalence classes. [2025-04-13 19:15:49,288 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 7 of 7 statements. [2025-04-13 19:15:49,289 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-13 19:15:49,289 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-13 19:15:49,359 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-04-13 19:15:49,359 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-13 19:15:49,359 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [121938887] [2025-04-13 19:15:49,360 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [121938887] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-13 19:15:49,360 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-13 19:15:49,360 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2025-04-13 19:15:49,361 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [646067642] [2025-04-13 19:15:49,362 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-13 19:15:49,366 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2025-04-13 19:15:49,369 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-13 19:15:49,386 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2025-04-13 19:15:49,387 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-04-13 19:15:49,389 INFO L464 CegarLoopForPetriNet]: Number of universal loopers: 8 out of 40 [2025-04-13 19:15:49,391 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 47 places, 34 transitions, 89 flow. Second operand has 2 states, 2 states have (on average 11.0) internal successors, (22), 2 states have internal predecessors, (22), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-04-13 19:15:49,391 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-04-13 19:15:49,391 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 8 of 40 [2025-04-13 19:15:49,392 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-04-13 19:15:49,939 INFO L116 PetriNetUnfolderBase]: 4408/6173 cut-off events. [2025-04-13 19:15:49,940 INFO L117 PetriNetUnfolderBase]: For 490/490 co-relation queries the response was YES. [2025-04-13 19:15:49,949 INFO L83 FinitePrefix]: Finished finitePrefix Result has 12770 conditions, 6173 events. 4408/6173 cut-off events. For 490/490 co-relation queries the response was YES. Maximal size of possible extension queue 260. Compared 30335 event pairs, 4408 based on Foata normal form. 0/6111 useless extension candidates. Maximal degree in co-relation 11605. Up to 6125 conditions per place. [2025-04-13 19:15:49,954 INFO L140 encePairwiseOnDemand]: 38/40 looper letters, 0 selfloop transitions, 0 changer transitions 32/32 dead transitions. [2025-04-13 19:15:49,954 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 46 places, 32 transitions, 141 flow [2025-04-13 19:15:49,956 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-04-13 19:15:49,958 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2025-04-13 19:15:49,962 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 46 transitions. [2025-04-13 19:15:49,963 INFO L509 CegarLoopForPetriNet]: DFA transition density 0.575 [2025-04-13 19:15:49,964 INFO L175 Difference]: Start difference. First operand has 47 places, 34 transitions, 89 flow. Second operand 2 states and 46 transitions. [2025-04-13 19:15:49,965 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 46 places, 32 transitions, 141 flow [2025-04-13 19:15:49,972 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 39 places, 32 transitions, 128 flow, removed 0 selfloop flow, removed 7 redundant places. [2025-04-13 19:15:49,973 INFO L231 Difference]: Finished difference. Result has 39 places, 0 transitions, 0 flow [2025-04-13 19:15:49,974 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=40, PETRI_DIFFERENCE_MINUEND_FLOW=72, PETRI_DIFFERENCE_MINUEND_PLACES=38, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=32, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=32, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=39, PETRI_TRANSITIONS=0} [2025-04-13 19:15:49,976 INFO L279 CegarLoopForPetriNet]: 47 programPoint places, -8 predicate places. [2025-04-13 19:15:49,976 INFO L485 AbstractCegarLoop]: Abstraction has has 39 places, 0 transitions, 0 flow [2025-04-13 19:15:49,977 INFO L486 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 11.0) internal successors, (22), 2 states have internal predecessors, (22), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-04-13 19:15:49,978 INFO L790 garLoopResultBuilder]: Registering result SAFE for location readerErr0ASSERT_VIOLATIONERROR_FUNCTION (6 of 7 remaining) [2025-04-13 19:15:49,978 INFO L790 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (5 of 7 remaining) [2025-04-13 19:15:49,978 INFO L790 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 7 remaining) [2025-04-13 19:15:49,978 INFO L790 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 7 remaining) [2025-04-13 19:15:49,978 INFO L790 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 7 remaining) [2025-04-13 19:15:49,978 INFO L790 garLoopResultBuilder]: Registering result SAFE for location readerErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 7 remaining) [2025-04-13 19:15:49,978 INFO L790 garLoopResultBuilder]: Registering result SAFE for location readerErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 7 remaining) [2025-04-13 19:15:49,978 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-04-13 19:15:49,979 INFO L422 BasicCegarLoop]: Path program histogram: [1] [2025-04-13 19:15:49,982 INFO L242 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-04-13 19:15:49,982 INFO L171 ceAbstractionStarter]: Computing trace abstraction results [2025-04-13 19:15:49,985 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 13.04 07:15:49 BasicIcfg [2025-04-13 19:15:49,985 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-04-13 19:15:49,985 INFO L158 Benchmark]: Toolchain (without parser) took 1753.95ms. Allocated memory is still 142.6MB. Free memory was 100.6MB in the beginning and 28.9MB in the end (delta: 71.7MB). Peak memory consumption was 92.1MB. Max. memory is 8.0GB. [2025-04-13 19:15:49,985 INFO L158 Benchmark]: CDTParser took 0.23ms. Allocated memory is still 159.4MB. Free memory is still 85.7MB. There was no memory consumed. Max. memory is 8.0GB. [2025-04-13 19:15:49,986 INFO L158 Benchmark]: CACSL2BoogieTranslator took 320.05ms. Allocated memory is still 142.6MB. Free memory was 99.8MB in the beginning and 77.3MB in the end (delta: 22.5MB). Peak memory consumption was 25.2MB. Max. memory is 8.0GB. [2025-04-13 19:15:49,986 INFO L158 Benchmark]: Boogie Procedure Inliner took 34.02ms. Allocated memory is still 142.6MB. Free memory was 77.3MB in the beginning and 75.7MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 8.0GB. [2025-04-13 19:15:49,986 INFO L158 Benchmark]: Boogie Preprocessor took 41.27ms. Allocated memory is still 142.6MB. Free memory was 75.7MB in the beginning and 74.1MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 8.0GB. [2025-04-13 19:15:49,986 INFO L158 Benchmark]: RCFGBuilder took 386.51ms. Allocated memory is still 142.6MB. Free memory was 74.1MB in the beginning and 44.6MB in the end (delta: 29.5MB). Peak memory consumption was 29.4MB. Max. memory is 8.0GB. [2025-04-13 19:15:49,986 INFO L158 Benchmark]: TraceAbstraction took 968.23ms. Allocated memory is still 142.6MB. Free memory was 43.7MB in the beginning and 28.9MB in the end (delta: 14.8MB). Peak memory consumption was 33.4MB. Max. memory is 8.0GB. [2025-04-13 19:15:49,987 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.23ms. Allocated memory is still 159.4MB. Free memory is still 85.7MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 320.05ms. Allocated memory is still 142.6MB. Free memory was 99.8MB in the beginning and 77.3MB in the end (delta: 22.5MB). Peak memory consumption was 25.2MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 34.02ms. Allocated memory is still 142.6MB. Free memory was 77.3MB in the beginning and 75.7MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 8.0GB. * Boogie Preprocessor took 41.27ms. Allocated memory is still 142.6MB. Free memory was 75.7MB in the beginning and 74.1MB in the end (delta: 1.6MB). There was no memory consumed. Max. memory is 8.0GB. * RCFGBuilder took 386.51ms. Allocated memory is still 142.6MB. Free memory was 74.1MB in the beginning and 44.6MB in the end (delta: 29.5MB). Peak memory consumption was 29.4MB. Max. memory is 8.0GB. * TraceAbstraction took 968.23ms. Allocated memory is still 142.6MB. Free memory was 43.7MB in the beginning and 28.9MB in the end (delta: 14.8MB). Peak memory consumption was 33.4MB. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - PositiveResult [Line: 685]: a call to reach_error is unreachable For all program executions holds that a call to reach_error is unreachable at this location - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 7 procedures, 58 locations, 59 edges, 7 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 0.9s, OverallIterations: 1, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.6s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 0 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 0 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 28 IncrementalHoareTripleChecker+Invalid, 28 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 0 mSDtfsCounter, 28 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=89occurred in iteration=0, InterpolantAutomatonStates: 2, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 7 NumberOfCodeBlocks, 7 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 6 ConstructedInterpolants, 0 QuantifiedInterpolants, 6 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 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, ConComCheckerStatistics: No data available - AllSpecificationsHoldResult: All specifications hold 1 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2025-04-13 19:15:49,997 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...