/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/automizer/concurrent/svcomp-Reach-32bit-Automizer_Default-noMmResRef-PN-SemanticLbe.epf --rcfgbuilder.only.consider.context.switches.at.boundaries.of.atomic.blocks true -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -i ../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.datarace-free-lbe-02cf818-m [2023-11-17 11:31:12,533 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-17 11:31:12,598 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/automizer/concurrent/svcomp-Reach-32bit-Automizer_Default-noMmResRef-PN-SemanticLbe.epf [2023-11-17 11:31:12,621 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-17 11:31:12,621 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-17 11:31:12,622 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-17 11:31:12,622 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-17 11:31:12,622 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-17 11:31:12,623 INFO L153 SettingsManager]: * Use SBE=true [2023-11-17 11:31:12,625 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-17 11:31:12,626 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-17 11:31:12,626 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-17 11:31:12,626 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-17 11:31:12,627 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-17 11:31:12,627 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-17 11:31:12,627 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-17 11:31:12,627 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-17 11:31:12,628 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-17 11:31:12,628 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-17 11:31:12,628 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-17 11:31:12,628 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-17 11:31:12,628 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-17 11:31:12,629 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-17 11:31:12,629 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-11-17 11:31:12,629 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-17 11:31:12,629 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 11:31:12,629 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-17 11:31:12,629 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-17 11:31:12,629 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-17 11:31:12,630 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-17 11:31:12,630 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-17 11:31:12,630 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-17 11:31:12,630 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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.rcfgbuilder: Only consider context switches at boundaries of atomic blocks -> true [2023-11-17 11:31:12,794 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-17 11:31:12,808 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-17 11:31:12,811 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-17 11:31:12,811 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-17 11:31:12,812 INFO L274 PluginConnector]: CDTParser initialized [2023-11-17 11:31:12,812 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-complex/bounded_buffer.i [2023-11-17 11:31:13,752 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-17 11:31:14,036 INFO L384 CDTParser]: Found 1 translation units. [2023-11-17 11:31:14,036 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/bounded_buffer.i [2023-11-17 11:31:14,056 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/141d7e307/420f78dcc8464277b31f5006fd69825d/FLAG5afd24a0f [2023-11-17 11:31:14,069 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/141d7e307/420f78dcc8464277b31f5006fd69825d [2023-11-17 11:31:14,071 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-17 11:31:14,072 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-11-17 11:31:14,075 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-17 11:31:14,075 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-17 11:31:14,078 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-17 11:31:14,078 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,079 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@352fcaec and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14, skipping insertion in model container [2023-11-17 11:31:14,079 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,131 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-17 11:31:14,532 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/bounded_buffer.i[70002,70015] [2023-11-17 11:31:14,557 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 11:31:14,567 INFO L202 MainTranslator]: Completed pre-run [2023-11-17 11:31:14,615 WARN L240 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/bounded_buffer.i[70002,70015] [2023-11-17 11:31:14,625 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 11:31:14,701 WARN L675 CHandler]: The function fflush is called, but not defined or handled by StandardFunctionHandler. [2023-11-17 11:31:14,706 INFO L206 MainTranslator]: Completed translation [2023-11-17 11:31:14,706 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14 WrapperNode [2023-11-17 11:31:14,706 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-17 11:31:14,707 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-17 11:31:14,707 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-17 11:31:14,707 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-17 11:31:14,712 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,743 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,793 INFO L138 Inliner]: procedures = 429, calls = 136, calls flagged for inlining = 7, calls inlined = 7, statements flattened = 476 [2023-11-17 11:31:14,793 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-17 11:31:14,794 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-17 11:31:14,794 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-17 11:31:14,794 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-17 11:31:14,801 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,801 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,812 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,812 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,827 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,836 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,838 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,839 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,842 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-17 11:31:14,843 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-17 11:31:14,843 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-17 11:31:14,843 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-17 11:31:14,844 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (1/1) ... [2023-11-17 11:31:14,850 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 11:31:14,859 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-17 11:31:14,869 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-11-17 11:31:14,883 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-11-17 11:31:14,892 INFO L130 BoogieDeclarations]: Found specification of procedure producer_routine [2023-11-17 11:31:14,892 INFO L138 BoogieDeclarations]: Found implementation of procedure producer_routine [2023-11-17 11:31:14,892 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-17 11:31:14,892 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-17 11:31:14,892 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-17 11:31:14,892 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-17 11:31:14,892 INFO L130 BoogieDeclarations]: Found specification of procedure fflush [2023-11-17 11:31:14,892 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-17 11:31:14,892 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-11-17 11:31:14,892 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-17 11:31:14,893 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-17 11:31:14,893 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-17 11:31:14,893 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-17 11:31:14,893 INFO L130 BoogieDeclarations]: Found specification of procedure consumer_routine [2023-11-17 11:31:14,893 INFO L138 BoogieDeclarations]: Found implementation of procedure consumer_routine [2023-11-17 11:31:14,893 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-17 11:31:14,893 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-17 11:31:14,893 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-17 11:31:14,894 WARN L211 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-17 11:31:15,028 INFO L239 CfgBuilder]: Building ICFG [2023-11-17 11:31:15,029 INFO L265 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-17 11:31:15,567 INFO L280 CfgBuilder]: Performing block encoding [2023-11-17 11:31:15,963 INFO L302 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-17 11:31:15,963 INFO L307 CfgBuilder]: Removed 11 assume(true) statements. [2023-11-17 11:31:15,964 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.11 11:31:15 BoogieIcfgContainer [2023-11-17 11:31:15,965 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-17 11:31:15,967 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-17 11:31:15,967 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-17 11:31:15,969 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-17 11:31:15,969 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.11 11:31:14" (1/3) ... [2023-11-17 11:31:15,970 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5f72e7fa and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 11:31:15, skipping insertion in model container [2023-11-17 11:31:15,970 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:31:14" (2/3) ... [2023-11-17 11:31:15,970 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5f72e7fa and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 11:31:15, skipping insertion in model container [2023-11-17 11:31:15,970 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.11 11:31:15" (3/3) ... [2023-11-17 11:31:15,971 INFO L112 eAbstractionObserver]: Analyzing ICFG bounded_buffer.i [2023-11-17 11:31:15,984 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-17 11:31:15,984 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-11-17 11:31:15,984 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-17 11:31:16,054 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-11-17 11:31:16,083 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 83 places, 108 transitions, 236 flow [2023-11-17 11:31:16,161 INFO L124 PetriNetUnfolderBase]: 73/255 cut-off events. [2023-11-17 11:31:16,162 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-17 11:31:16,168 INFO L83 FinitePrefix]: Finished finitePrefix Result has 272 conditions, 255 events. 73/255 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 1131 event pairs, 0 based on Foata normal form. 0/174 useless extension candidates. Maximal degree in co-relation 140. Up to 16 conditions per place. [2023-11-17 11:31:16,169 INFO L82 GeneralOperation]: Start removeDead. Operand has 83 places, 108 transitions, 236 flow [2023-11-17 11:31:16,176 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 83 places, 108 transitions, 236 flow [2023-11-17 11:31:16,179 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2023-11-17 11:31:16,190 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 83 places, 108 transitions, 236 flow [2023-11-17 11:31:16,193 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 83 places, 108 transitions, 236 flow [2023-11-17 11:31:16,193 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 83 places, 108 transitions, 236 flow [2023-11-17 11:31:16,227 INFO L124 PetriNetUnfolderBase]: 73/255 cut-off events. [2023-11-17 11:31:16,228 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-17 11:31:16,229 INFO L83 FinitePrefix]: Finished finitePrefix Result has 272 conditions, 255 events. 73/255 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 1131 event pairs, 0 based on Foata normal form. 0/174 useless extension candidates. Maximal degree in co-relation 140. Up to 16 conditions per place. [2023-11-17 11:31:16,233 INFO L119 LiptonReduction]: Number of co-enabled transitions 6680 [2023-11-17 11:32:31,314 INFO L134 LiptonReduction]: Checked pairs total: 44853 [2023-11-17 11:32:31,314 INFO L136 LiptonReduction]: Total number of compositions: 72 [2023-11-17 11:32:31,331 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-17 11:32:31,336 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=false, 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;@274f0513, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-17 11:32:31,337 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-11-17 11:32:31,344 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-17 11:32:31,344 INFO L124 PetriNetUnfolderBase]: 2/22 cut-off events. [2023-11-17 11:32:31,344 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-17 11:32:31,344 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-17 11:32:31,344 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-11-17 11:32:31,345 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2023-11-17 11:32:31,349 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-17 11:32:31,349 INFO L85 PathProgramCache]: Analyzing trace with hash 425542105, now seen corresponding path program 1 times [2023-11-17 11:32:31,355 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-17 11:32:31,356 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1718799357] [2023-11-17 11:32:31,356 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-17 11:32:31,356 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-17 11:32:31,566 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-17 11:32:31,566 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-17 11:32:31,616 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-17 11:32:31,654 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-17 11:32:31,656 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-17 11:32:31,656 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2023-11-17 11:32:31,657 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 4 remaining) [2023-11-17 11:32:31,658 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2023-11-17 11:32:31,658 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2023-11-17 11:32:31,658 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-17 11:32:31,659 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-17 11:32:31,661 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-17 11:32:31,661 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-17 11:32:31,734 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2023-11-17 11:32:31,737 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 133 places, 174 transitions, 392 flow [2023-11-17 11:32:31,860 INFO L124 PetriNetUnfolderBase]: 285/895 cut-off events. [2023-11-17 11:32:31,860 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-17 11:32:31,869 INFO L83 FinitePrefix]: Finished finitePrefix Result has 984 conditions, 895 events. 285/895 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 45. Compared 5320 event pairs, 1 based on Foata normal form. 0/617 useless extension candidates. Maximal degree in co-relation 518. Up to 64 conditions per place. [2023-11-17 11:32:31,869 INFO L82 GeneralOperation]: Start removeDead. Operand has 133 places, 174 transitions, 392 flow [2023-11-17 11:32:31,876 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 133 places, 174 transitions, 392 flow [2023-11-17 11:32:31,877 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2023-11-17 11:32:31,877 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 133 places, 174 transitions, 392 flow [2023-11-17 11:32:31,877 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 133 places, 174 transitions, 392 flow [2023-11-17 11:32:31,877 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 133 places, 174 transitions, 392 flow [2023-11-17 11:32:31,952 INFO L124 PetriNetUnfolderBase]: 285/895 cut-off events. [2023-11-17 11:32:31,952 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-17 11:32:31,961 INFO L83 FinitePrefix]: Finished finitePrefix Result has 984 conditions, 895 events. 285/895 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 45. Compared 5320 event pairs, 1 based on Foata normal form. 0/617 useless extension candidates. Maximal degree in co-relation 518. Up to 64 conditions per place. [2023-11-17 11:32:31,987 INFO L119 LiptonReduction]: Number of co-enabled transitions 21740 [2023-11-17 11:33:39,557 INFO L134 LiptonReduction]: Checked pairs total: 156977 [2023-11-17 11:33:39,557 INFO L136 LiptonReduction]: Total number of compositions: 119 [2023-11-17 11:33:39,559 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-17 11:33:39,560 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=false, 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;@274f0513, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-17 11:33:39,560 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-11-17 11:33:39,569 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-17 11:33:39,570 INFO L124 PetriNetUnfolderBase]: 14/80 cut-off events. [2023-11-17 11:33:39,570 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-17 11:33:39,570 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-17 11:33:39,570 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1] [2023-11-17 11:33:39,570 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [consumer_routineErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2023-11-17 11:33:39,570 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-17 11:33:39,571 INFO L85 PathProgramCache]: Analyzing trace with hash 2132616997, now seen corresponding path program 1 times [2023-11-17 11:33:39,571 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-17 11:33:39,571 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [960839932] [2023-11-17 11:33:39,571 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-17 11:33:39,571 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-17 11:33:39,626 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-17 11:33:39,924 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 3 proven. 4 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-17 11:33:39,924 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-17 11:33:39,924 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [960839932] [2023-11-17 11:33:39,925 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [960839932] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-17 11:33:39,925 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1625611410] [2023-11-17 11:33:39,925 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-17 11:33:39,925 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-17 11:33:39,925 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-17 11:33:39,926 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-11-17 11:33:39,928 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-11-17 11:33:40,169 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-17 11:33:40,172 INFO L262 TraceCheckSpWp]: Trace formula consists of 267 conjuncts, 4 conjunts are in the unsatisfiable core [2023-11-17 11:33:40,173 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-17 11:33:40,305 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 7 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-17 11:33:40,305 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-17 11:33:40,305 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1625611410] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-17 11:33:40,305 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2023-11-17 11:33:40,305 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [4] total 5 [2023-11-17 11:33:40,306 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1074555896] [2023-11-17 11:33:40,306 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-17 11:33:40,311 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2023-11-17 11:33:40,314 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-17 11:33:40,325 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-11-17 11:33:40,326 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=17, Unknown=0, NotChecked=0, Total=30 [2023-11-17 11:33:40,327 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 293 [2023-11-17 11:33:40,328 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 97 places, 133 transitions, 310 flow. Second operand has 5 states, 5 states have (on average 19.6) internal successors, (98), 5 states have internal predecessors, (98), 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) [2023-11-17 11:33:40,328 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-17 11:33:40,328 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 293 [2023-11-17 11:33:40,329 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand