/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/twostage_3.i -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.datarace-free-lbe-02cf818-m [2023-11-17 11:16:46,517 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-17 11:16:46,558 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:16:46,576 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-17 11:16:46,576 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-17 11:16:46,577 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-17 11:16:46,577 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-17 11:16:46,577 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-17 11:16:46,577 INFO L153 SettingsManager]: * Use SBE=true [2023-11-17 11:16:46,578 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-17 11:16:46,578 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-17 11:16:46,578 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-17 11:16:46,578 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-17 11:16:46,578 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-17 11:16:46,579 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-17 11:16:46,579 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-17 11:16:46,579 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-17 11:16:46,579 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-17 11:16:46,579 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-17 11:16:46,580 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-17 11:16:46,580 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-17 11:16:46,582 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-17 11:16:46,582 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-17 11:16:46,583 INFO L153 SettingsManager]: * To the following directory=./dump/ [2023-11-17 11:16:46,583 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-17 11:16:46,583 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 11:16:46,583 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-17 11:16:46,583 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-17 11:16:46,583 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2023-11-17 11:16:46,583 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-17 11:16:46,584 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-17 11:16:46,584 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-17 11:16:46,584 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:16:46,755 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-17 11:16:46,770 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-17 11:16:46,772 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-17 11:16:46,773 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-17 11:16:46,774 INFO L274 PluginConnector]: CDTParser initialized [2023-11-17 11:16:46,775 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/twostage_3.i [2023-11-17 11:16:47,704 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-17 11:16:47,992 INFO L384 CDTParser]: Found 1 translation units. [2023-11-17 11:16:47,992 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i [2023-11-17 11:16:48,012 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/7e361845f/ebff2884e3204b4586e54d8c01293b50/FLAG495508303 [2023-11-17 11:16:48,026 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/7e361845f/ebff2884e3204b4586e54d8c01293b50 [2023-11-17 11:16:48,028 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-17 11:16:48,029 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2023-11-17 11:16:48,030 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-17 11:16:48,030 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-17 11:16:48,034 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-17 11:16:48,034 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,036 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@18b707c7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48, skipping insertion in model container [2023-11-17 11:16:48,036 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,095 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-17 11:16:48,427 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/twostage_3.i[59093,59106] [2023-11-17 11:16:48,453 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-17 11:16:48,454 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-17 11:16:48,455 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 11:16:48,462 INFO L202 MainTranslator]: Completed pre-run [2023-11-17 11:16:48,494 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/twostage_3.i[59093,59106] [2023-11-17 11:16:48,505 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-17 11:16:48,505 WARN L1588 CHandler]: Possible shadowing of function lock [2023-11-17 11:16:48,506 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-17 11:16:48,556 WARN L675 CHandler]: The function fprintf is called, but not defined or handled by StandardFunctionHandler. [2023-11-17 11:16:48,561 INFO L206 MainTranslator]: Completed translation [2023-11-17 11:16:48,562 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48 WrapperNode [2023-11-17 11:16:48,562 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-17 11:16:48,563 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-17 11:16:48,563 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-17 11:16:48,563 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-17 11:16:48,568 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:16:48" (1/1) ... [2023-11-17 11:16:48,586 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:16:48" (1/1) ... [2023-11-17 11:16:48,604 INFO L138 Inliner]: procedures = 375, calls = 69, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 191 [2023-11-17 11:16:48,605 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-17 11:16:48,605 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-17 11:16:48,605 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-17 11:16:48,605 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-17 11:16:48,612 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,612 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,616 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,617 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,623 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,626 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,628 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,629 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,632 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-17 11:16:48,633 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-17 11:16:48,633 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-17 11:16:48,633 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-17 11:16:48,633 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48" (1/1) ... [2023-11-17 11:16:48,637 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-17 11:16:48,647 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-17 11:16:48,657 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:16:48,662 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:16:48,684 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2023-11-17 11:16:48,684 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2023-11-17 11:16:48,684 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2023-11-17 11:16:48,684 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2023-11-17 11:16:48,684 INFO L130 BoogieDeclarations]: Found specification of procedure fprintf [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-17 11:16:48,685 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-17 11:16:48,685 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-17 11:16:48,687 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:16:48,790 INFO L239 CfgBuilder]: Building ICFG [2023-11-17 11:16:48,792 INFO L265 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-17 11:16:49,032 INFO L280 CfgBuilder]: Performing block encoding [2023-11-17 11:16:49,266 INFO L302 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-17 11:16:49,266 INFO L307 CfgBuilder]: Removed 4 assume(true) statements. [2023-11-17 11:16:49,268 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.11 11:16:49 BoogieIcfgContainer [2023-11-17 11:16:49,268 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-17 11:16:49,271 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-17 11:16:49,271 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-17 11:16:49,273 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-17 11:16:49,273 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.11 11:16:48" (1/3) ... [2023-11-17 11:16:49,274 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7b234545 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 11:16:49, skipping insertion in model container [2023-11-17 11:16:49,274 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 11:16:48" (2/3) ... [2023-11-17 11:16:49,274 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7b234545 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 11:16:49, skipping insertion in model container [2023-11-17 11:16:49,275 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.11 11:16:49" (3/3) ... [2023-11-17 11:16:49,276 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2023-11-17 11:16:49,288 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-17 11:16:49,289 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-11-17 11:16:49,290 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-17 11:16:49,335 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-11-17 11:16:49,365 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 60 places, 65 transitions, 150 flow [2023-11-17 11:16:49,414 INFO L124 PetriNetUnfolderBase]: 26/145 cut-off events. [2023-11-17 11:16:49,414 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-17 11:16:49,419 INFO L83 FinitePrefix]: Finished finitePrefix Result has 162 conditions, 145 events. 26/145 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 594 event pairs, 0 based on Foata normal form. 0/110 useless extension candidates. Maximal degree in co-relation 79. Up to 8 conditions per place. [2023-11-17 11:16:49,419 INFO L82 GeneralOperation]: Start removeDead. Operand has 60 places, 65 transitions, 150 flow [2023-11-17 11:16:49,427 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 60 places, 63 transitions, 140 flow [2023-11-17 11:16:49,430 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2023-11-17 11:16:49,442 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 60 places, 63 transitions, 140 flow [2023-11-17 11:16:49,446 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 60 places, 63 transitions, 140 flow [2023-11-17 11:16:49,446 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 60 places, 63 transitions, 140 flow [2023-11-17 11:16:49,474 INFO L124 PetriNetUnfolderBase]: 22/139 cut-off events. [2023-11-17 11:16:49,474 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2023-11-17 11:16:49,476 INFO L83 FinitePrefix]: Finished finitePrefix Result has 152 conditions, 139 events. 22/139 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 571 event pairs, 0 based on Foata normal form. 0/104 useless extension candidates. Maximal degree in co-relation 73. Up to 8 conditions per place. [2023-11-17 11:16:49,477 INFO L119 LiptonReduction]: Number of co-enabled transitions 1942 [2023-11-17 11:16:50,414 INFO L134 LiptonReduction]: Checked pairs total: 8284 [2023-11-17 11:16:50,415 INFO L136 LiptonReduction]: Total number of compositions: 47 [2023-11-17 11:16:50,430 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-17 11:16:50,437 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;@34c02c8d, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-17 11:16:50,437 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-11-17 11:16:50,446 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-17 11:16:50,447 INFO L124 PetriNetUnfolderBase]: 1/24 cut-off events. [2023-11-17 11:16:50,447 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-17 11:16:50,447 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-17 11:16:50,447 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-11-17 11:16:50,448 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2023-11-17 11:16:50,451 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-17 11:16:50,451 INFO L85 PathProgramCache]: Analyzing trace with hash 976997838, now seen corresponding path program 1 times [2023-11-17 11:16:50,458 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-17 11:16:50,459 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [906825682] [2023-11-17 11:16:50,459 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-17 11:16:50,459 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-17 11:16:50,650 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-17 11:16:50,650 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-17 11:16:50,724 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-17 11:16:50,755 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-17 11:16:50,756 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-17 11:16:50,757 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2023-11-17 11:16:50,758 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 4 remaining) [2023-11-17 11:16:50,759 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 4 remaining) [2023-11-17 11:16:50,759 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2023-11-17 11:16:50,759 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-17 11:16:50,759 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-17 11:16:50,762 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-17 11:16:50,762 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-17 11:16:50,800 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2023-11-17 11:16:50,804 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 96 places, 103 transitions, 250 flow [2023-11-17 11:16:50,857 INFO L124 PetriNetUnfolderBase]: 113/475 cut-off events. [2023-11-17 11:16:50,857 INFO L125 PetriNetUnfolderBase]: For 72/81 co-relation queries the response was YES. [2023-11-17 11:16:50,862 INFO L83 FinitePrefix]: Finished finitePrefix Result has 564 conditions, 475 events. 113/475 cut-off events. For 72/81 co-relation queries the response was YES. Maximal size of possible extension queue 28. Compared 2706 event pairs, 2 based on Foata normal form. 0/364 useless extension candidates. Maximal degree in co-relation 298. Up to 32 conditions per place. [2023-11-17 11:16:50,862 INFO L82 GeneralOperation]: Start removeDead. Operand has 96 places, 103 transitions, 250 flow [2023-11-17 11:16:50,865 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 96 places, 103 transitions, 250 flow [2023-11-17 11:16:50,865 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2023-11-17 11:16:50,865 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 96 places, 103 transitions, 250 flow [2023-11-17 11:16:50,865 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 96 places, 103 transitions, 250 flow [2023-11-17 11:16:50,865 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 96 places, 103 transitions, 250 flow [2023-11-17 11:16:50,915 INFO L124 PetriNetUnfolderBase]: 113/475 cut-off events. [2023-11-17 11:16:50,916 INFO L125 PetriNetUnfolderBase]: For 72/81 co-relation queries the response was YES. [2023-11-17 11:16:50,920 INFO L83 FinitePrefix]: Finished finitePrefix Result has 564 conditions, 475 events. 113/475 cut-off events. For 72/81 co-relation queries the response was YES. Maximal size of possible extension queue 28. Compared 2706 event pairs, 2 based on Foata normal form. 0/364 useless extension candidates. Maximal degree in co-relation 298. Up to 32 conditions per place. [2023-11-17 11:16:50,930 INFO L119 LiptonReduction]: Number of co-enabled transitions 6768 [2023-11-17 11:16:52,127 INFO L134 LiptonReduction]: Checked pairs total: 40776 [2023-11-17 11:16:52,127 INFO L136 LiptonReduction]: Total number of compositions: 66 [2023-11-17 11:16:52,130 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-17 11:16:52,134 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;@34c02c8d, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-17 11:16:52,134 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-11-17 11:16:52,141 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-17 11:16:52,141 INFO L124 PetriNetUnfolderBase]: 2/64 cut-off events. [2023-11-17 11:16:52,141 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-17 11:16:52,141 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-17 11:16:52,141 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 1, 1, 1, 1] [2023-11-17 11:16:52,141 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2023-11-17 11:16:52,142 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-17 11:16:52,142 INFO L85 PathProgramCache]: Analyzing trace with hash -147693036, now seen corresponding path program 1 times [2023-11-17 11:16:52,142 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-17 11:16:52,142 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1794155] [2023-11-17 11:16:52,142 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-17 11:16:52,142 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-17 11:16:52,238 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-17 11:16:52,238 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-17 11:16:52,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-17 11:16:52,300 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-17 11:16:52,300 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-17 11:16:52,301 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 5 remaining) [2023-11-17 11:16:52,301 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 5 remaining) [2023-11-17 11:16:52,301 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 5 remaining) [2023-11-17 11:16:52,301 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 5 remaining) [2023-11-17 11:16:52,301 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 5 remaining) [2023-11-17 11:16:52,301 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-17 11:16:52,301 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-17 11:16:52,302 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-17 11:16:52,302 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-17 11:16:52,333 INFO L144 ThreadInstanceAdder]: Constructed 12 joinOtherThreadTransitions. [2023-11-17 11:16:52,335 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 132 places, 141 transitions, 354 flow [2023-11-17 11:16:52,482 INFO L124 PetriNetUnfolderBase]: 508/1553 cut-off events. [2023-11-17 11:16:52,482 INFO L125 PetriNetUnfolderBase]: For 419/445 co-relation queries the response was YES. [2023-11-17 11:16:52,496 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1989 conditions, 1553 events. 508/1553 cut-off events. For 419/445 co-relation queries the response was YES. Maximal size of possible extension queue 65. Compared 10103 event pairs, 64 based on Foata normal form. 0/1214 useless extension candidates. Maximal degree in co-relation 1035. Up to 192 conditions per place. [2023-11-17 11:16:52,497 INFO L82 GeneralOperation]: Start removeDead. Operand has 132 places, 141 transitions, 354 flow [2023-11-17 11:16:52,506 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 132 places, 141 transitions, 354 flow [2023-11-17 11:16:52,507 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2023-11-17 11:16:52,507 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 132 places, 141 transitions, 354 flow [2023-11-17 11:16:52,507 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 132 places, 141 transitions, 354 flow [2023-11-17 11:16:52,508 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 132 places, 141 transitions, 354 flow [2023-11-17 11:16:52,631 INFO L124 PetriNetUnfolderBase]: 508/1553 cut-off events. [2023-11-17 11:16:52,632 INFO L125 PetriNetUnfolderBase]: For 419/445 co-relation queries the response was YES. [2023-11-17 11:16:52,646 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1989 conditions, 1553 events. 508/1553 cut-off events. For 419/445 co-relation queries the response was YES. Maximal size of possible extension queue 65. Compared 10103 event pairs, 64 based on Foata normal form. 0/1214 useless extension candidates. Maximal degree in co-relation 1035. Up to 192 conditions per place. [2023-11-17 11:16:52,681 INFO L119 LiptonReduction]: Number of co-enabled transitions 14166 [2023-11-17 11:16:54,251 INFO L134 LiptonReduction]: Checked pairs total: 97722 [2023-11-17 11:16:54,252 INFO L136 LiptonReduction]: Total number of compositions: 87 [2023-11-17 11:16:54,253 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-17 11:16:54,258 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;@34c02c8d, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-17 11:16:54,258 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-11-17 11:16:54,264 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-17 11:16:54,265 INFO L124 PetriNetUnfolderBase]: 2/68 cut-off events. [2023-11-17 11:16:54,265 INFO L125 PetriNetUnfolderBase]: For 11/11 co-relation queries the response was YES. [2023-11-17 11:16:54,265 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-17 11:16:54,265 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-17 11:16:54,265 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2023-11-17 11:16:54,266 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-17 11:16:54,266 INFO L85 PathProgramCache]: Analyzing trace with hash -1361738191, now seen corresponding path program 1 times [2023-11-17 11:16:54,266 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-17 11:16:54,266 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [506785200] [2023-11-17 11:16:54,266 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-17 11:16:54,266 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-17 11:16:54,292 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-17 11:16:54,372 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-17 11:16:54,373 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-17 11:16:54,373 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [506785200] [2023-11-17 11:16:54,373 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [506785200] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-17 11:16:54,373 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-17 11:16:54,373 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-17 11:16:54,373 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1631221265] [2023-11-17 11:16:54,374 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-17 11:16:54,379 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-17 11:16:54,382 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-17 11:16:54,395 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-17 11:16:54,395 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-17 11:16:54,396 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 36 out of 228 [2023-11-17 11:16:54,398 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 85 places, 88 transitions, 248 flow. Second operand has 3 states, 3 states have (on average 39.333333333333336) internal successors, (118), 3 states have internal predecessors, (118), 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:16:54,398 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-17 11:16:54,398 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 36 of 228 [2023-11-17 11:16:54,399 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand