./Ultimate.py --spec ../sv-benchmarks/c/properties/no-data-race.prp --file ../sv-benchmarks/c/goblint-regression/04-mutex_35-trylock_rc.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for data races Using default analysis Version e2fb8bed Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/goblint-regression/04-mutex_35-trylock_rc.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! data-race) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash bc4ff81e27c3c9c08a24375d30c2902a85848d2bd345364dfe2b3c3839c5dc11 --- Real Ultimate output --- This is Ultimate 0.3.0-?-e2fb8be-m [2025-03-08 21:57:05,326 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-08 21:57:05,381 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf [2025-03-08 21:57:05,384 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-08 21:57:05,387 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-08 21:57:05,405 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-08 21:57:05,407 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-08 21:57:05,407 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-08 21:57:05,407 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-08 21:57:05,408 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-08 21:57:05,408 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-08 21:57:05,409 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-08 21:57:05,409 INFO L153 SettingsManager]: * Use SBE=true [2025-03-08 21:57:05,409 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-08 21:57:05,409 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-03-08 21:57:05,409 INFO L153 SettingsManager]: * sizeof long=4 [2025-03-08 21:57:05,409 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-03-08 21:57:05,409 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * sizeof long double=12 [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-08 21:57:05,410 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-08 21:57:05,410 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-08 21:57:05,411 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-08 21:57:05,411 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-08 21:57:05,411 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-08 21:57:05,411 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-08 21:57:05,411 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-03-08 21:57:05,411 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-03-08 21:57:05,411 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-03-08 21:57:05,411 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-03-08 21:57:05,411 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-08 21:57:05,411 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-08 21:57:05,412 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-08 21:57:05,412 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-08 21:57:05,412 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! data-race) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> bc4ff81e27c3c9c08a24375d30c2902a85848d2bd345364dfe2b3c3839c5dc11 [2025-03-08 21:57:05,631 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-08 21:57:05,637 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-08 21:57:05,639 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-08 21:57:05,642 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-08 21:57:05,642 INFO L274 PluginConnector]: CDTParser initialized [2025-03-08 21:57:05,644 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/goblint-regression/04-mutex_35-trylock_rc.i [2025-03-08 21:57:06,785 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e102918ab/23f63d612c1743d8b0eb5c799b297523/FLAG4e397543e [2025-03-08 21:57:07,089 INFO L384 CDTParser]: Found 1 translation units. [2025-03-08 21:57:07,092 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/04-mutex_35-trylock_rc.i [2025-03-08 21:57:07,118 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e102918ab/23f63d612c1743d8b0eb5c799b297523/FLAG4e397543e [2025-03-08 21:57:07,362 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e102918ab/23f63d612c1743d8b0eb5c799b297523 [2025-03-08 21:57:07,365 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-08 21:57:07,367 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-08 21:57:07,369 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-08 21:57:07,369 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-08 21:57:07,371 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-08 21:57:07,372 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:07,373 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3af57fdf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07, skipping insertion in model container [2025-03-08 21:57:07,373 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:07,408 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-08 21:57:07,841 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-08 21:57:07,862 INFO L200 MainTranslator]: Completed pre-run [2025-03-08 21:57:07,916 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-08 21:57:07,991 INFO L204 MainTranslator]: Completed translation [2025-03-08 21:57:07,992 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07 WrapperNode [2025-03-08 21:57:07,992 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-08 21:57:07,993 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-08 21:57:07,993 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-08 21:57:07,993 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-08 21:57:07,999 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,030 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,057 INFO L138 Inliner]: procedures = 525, calls = 30, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 113 [2025-03-08 21:57:08,059 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-08 21:57:08,059 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-08 21:57:08,059 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-08 21:57:08,059 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-08 21:57:08,065 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,066 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,072 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,077 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,084 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,085 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,088 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,089 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,092 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-08 21:57:08,092 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-08 21:57:08,092 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-08 21:57:08,093 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-08 21:57:08,093 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (1/1) ... [2025-03-08 21:57:08,098 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-08 21:57:08,115 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-08 21:57:08,129 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-03-08 21:57:08,132 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-03-08 21:57:08,149 INFO L130 BoogieDeclarations]: Found specification of procedure counter_thread [2025-03-08 21:57:08,149 INFO L138 BoogieDeclarations]: Found implementation of procedure counter_thread [2025-03-08 21:57:08,149 INFO L130 BoogieDeclarations]: Found specification of procedure monitor_thread [2025-03-08 21:57:08,150 INFO L138 BoogieDeclarations]: Found implementation of procedure monitor_thread [2025-03-08 21:57:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-03-08 21:57:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-03-08 21:57:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-08 21:57:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-08 21:57:08,150 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-08 21:57:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexTryLock [2025-03-08 21:57:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-03-08 21:57:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2025-03-08 21:57:08,150 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2025-03-08 21:57:08,151 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-03-08 21:57:08,368 INFO L256 CfgBuilder]: Building ICFG [2025-03-08 21:57:08,369 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-08 21:57:08,702 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-03-08 21:57:08,702 INFO L307 CfgBuilder]: Performing block encoding [2025-03-08 21:57:08,727 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-03-08 21:57:08,728 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2025-03-08 21:57:08,729 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.03 09:57:08 BoogieIcfgContainer [2025-03-08 21:57:08,729 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-03-08 21:57:08,731 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-03-08 21:57:08,731 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-03-08 21:57:08,734 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-03-08 21:57:08,734 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.03 09:57:07" (1/3) ... [2025-03-08 21:57:08,735 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@39b5fc52 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.03 09:57:08, skipping insertion in model container [2025-03-08 21:57:08,735 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:57:07" (2/3) ... [2025-03-08 21:57:08,735 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@39b5fc52 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.03 09:57:08, skipping insertion in model container [2025-03-08 21:57:08,735 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.03 09:57:08" (3/3) ... [2025-03-08 21:57:08,736 INFO L128 eAbstractionObserver]: Analyzing ICFG 04-mutex_35-trylock_rc.i [2025-03-08 21:57:08,747 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-03-08 21:57:08,749 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG 04-mutex_35-trylock_rc.i that has 3 procedures, 236 locations, 1 initial locations, 11 loop locations, and 16 error locations. [2025-03-08 21:57:08,751 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-03-08 21:57:08,836 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2025-03-08 21:57:08,870 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 242 places, 273 transitions, 560 flow [2025-03-08 21:57:08,944 INFO L124 PetriNetUnfolderBase]: 38/271 cut-off events. [2025-03-08 21:57:08,946 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2025-03-08 21:57:08,956 INFO L83 FinitePrefix]: Finished finitePrefix Result has 280 conditions, 271 events. 38/271 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 889 event pairs, 0 based on Foata normal form. 0/217 useless extension candidates. Maximal degree in co-relation 197. Up to 5 conditions per place. [2025-03-08 21:57:08,956 INFO L82 GeneralOperation]: Start removeDead. Operand has 242 places, 273 transitions, 560 flow [2025-03-08 21:57:08,963 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 234 places, 263 transitions, 538 flow [2025-03-08 21:57:08,972 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-08 21:57:08,984 INFO L333 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;@6d7ef558, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-08 21:57:08,985 INFO L334 AbstractCegarLoop]: Starting to check reachability of 29 error locations. [2025-03-08 21:57:08,991 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-03-08 21:57:08,992 INFO L124 PetriNetUnfolderBase]: 0/24 cut-off events. [2025-03-08 21:57:08,992 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-03-08 21:57:08,992 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:57:08,993 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:57:08,994 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr4ASSERT_VIOLATIONDATA_RACE === [monitor_threadErr5ASSERT_VIOLATIONDATA_RACE, monitor_threadErr4ASSERT_VIOLATIONDATA_RACE, monitor_threadErr2ASSERT_VIOLATIONDATA_RACE (and 26 more)] === [2025-03-08 21:57:08,998 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:57:08,998 INFO L85 PathProgramCache]: Analyzing trace with hash -2119913943, now seen corresponding path program 1 times [2025-03-08 21:57:09,003 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:57:09,004 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1663680903] [2025-03-08 21:57:09,004 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:57:09,006 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:57:09,125 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 24 statements into 1 equivalence classes. [2025-03-08 21:57:09,138 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 24 of 24 statements. [2025-03-08 21:57:09,138 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:57:09,138 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 21:57:09,266 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-08 21:57:09,266 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-08 21:57:09,266 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1663680903] [2025-03-08 21:57:09,267 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1663680903] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-08 21:57:09,267 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-08 21:57:09,267 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-03-08 21:57:09,268 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [265189075] [2025-03-08 21:57:09,269 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-08 21:57:09,273 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-03-08 21:57:09,277 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-08 21:57:09,293 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-03-08 21:57:09,294 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-03-08 21:57:09,315 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 230 out of 273 [2025-03-08 21:57:09,320 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 234 places, 263 transitions, 538 flow. Second operand has 3 states, 3 states have (on average 231.33333333333334) internal successors, (694), 3 states have internal predecessors, (694), 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-03-08 21:57:09,321 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-08 21:57:09,321 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 230 of 273 [2025-03-08 21:57:09,323 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-08 21:57:09,450 INFO L124 PetriNetUnfolderBase]: 46/541 cut-off events. [2025-03-08 21:57:09,450 INFO L125 PetriNetUnfolderBase]: For 20/20 co-relation queries the response was YES. [2025-03-08 21:57:09,454 INFO L83 FinitePrefix]: Finished finitePrefix Result has 609 conditions, 541 events. 46/541 cut-off events. For 20/20 co-relation queries the response was YES. Maximal size of possible extension queue 22. Compared 2977 event pairs, 15 based on Foata normal form. 93/545 useless extension candidates. Maximal degree in co-relation 472. Up to 48 conditions per place. [2025-03-08 21:57:09,457 INFO L140 encePairwiseOnDemand]: 253/273 looper letters, 13 selfloop transitions, 2 changer transitions 9/230 dead transitions. [2025-03-08 21:57:09,457 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 227 places, 230 transitions, 502 flow [2025-03-08 21:57:09,458 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-03-08 21:57:09,460 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-03-08 21:57:09,467 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 723 transitions. [2025-03-08 21:57:09,469 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.8827838827838828 [2025-03-08 21:57:09,470 INFO L175 Difference]: Start difference. First operand has 234 places, 263 transitions, 538 flow. Second operand 3 states and 723 transitions. [2025-03-08 21:57:09,471 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 227 places, 230 transitions, 502 flow [2025-03-08 21:57:09,474 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 223 places, 230 transitions, 494 flow, removed 0 selfloop flow, removed 4 redundant places. [2025-03-08 21:57:09,477 INFO L231 Difference]: Finished difference. Result has 223 places, 221 transitions, 450 flow [2025-03-08 21:57:09,479 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=273, PETRI_DIFFERENCE_MINUEND_FLOW=464, PETRI_DIFFERENCE_MINUEND_PLACES=221, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=230, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=228, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=450, PETRI_PLACES=223, PETRI_TRANSITIONS=221} [2025-03-08 21:57:09,483 INFO L279 CegarLoopForPetriNet]: 234 programPoint places, -11 predicate places. [2025-03-08 21:57:09,483 INFO L471 AbstractCegarLoop]: Abstraction has has 223 places, 221 transitions, 450 flow [2025-03-08 21:57:09,484 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 231.33333333333334) internal successors, (694), 3 states have internal predecessors, (694), 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-03-08 21:57:09,484 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:57:09,484 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:57:09,484 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-03-08 21:57:09,485 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting counter_threadErr4ASSERT_VIOLATIONDATA_RACE === [monitor_threadErr5ASSERT_VIOLATIONDATA_RACE, monitor_threadErr4ASSERT_VIOLATIONDATA_RACE, monitor_threadErr2ASSERT_VIOLATIONDATA_RACE (and 26 more)] === [2025-03-08 21:57:09,486 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:57:09,486 INFO L85 PathProgramCache]: Analyzing trace with hash -1980221503, now seen corresponding path program 1 times [2025-03-08 21:57:09,486 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:57:09,487 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1558503444] [2025-03-08 21:57:09,487 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:57:09,487 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:57:09,512 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 37 statements into 1 equivalence classes. [2025-03-08 21:57:09,519 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 37 of 37 statements. [2025-03-08 21:57:09,519 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:57:09,519 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 21:57:09,574 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-08 21:57:09,575 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-08 21:57:09,575 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1558503444] [2025-03-08 21:57:09,575 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1558503444] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-08 21:57:09,575 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-08 21:57:09,575 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-03-08 21:57:09,575 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [269896704] [2025-03-08 21:57:09,575 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-08 21:57:09,576 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-03-08 21:57:09,577 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-08 21:57:09,577 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-03-08 21:57:09,577 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-03-08 21:57:09,588 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 232 out of 273 [2025-03-08 21:57:09,589 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 223 places, 221 transitions, 450 flow. Second operand has 3 states, 3 states have (on average 233.33333333333334) internal successors, (700), 3 states have internal predecessors, (700), 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-03-08 21:57:09,589 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-08 21:57:09,589 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 232 of 273 [2025-03-08 21:57:09,589 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-08 21:57:09,670 INFO L124 PetriNetUnfolderBase]: 67/705 cut-off events. [2025-03-08 21:57:09,671 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2025-03-08 21:57:09,673 INFO L83 FinitePrefix]: Finished finitePrefix Result has 789 conditions, 705 events. 67/705 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 31. Compared 4516 event pairs, 16 based on Foata normal form. 0/591 useless extension candidates. Maximal degree in co-relation 757. Up to 70 conditions per place. [2025-03-08 21:57:09,676 INFO L140 encePairwiseOnDemand]: 269/273 looper letters, 14 selfloop transitions, 2 changer transitions 0/222 dead transitions. [2025-03-08 21:57:09,677 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 215 places, 222 transitions, 485 flow [2025-03-08 21:57:09,677 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-03-08 21:57:09,677 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-03-08 21:57:09,679 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 714 transitions. [2025-03-08 21:57:09,680 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.8717948717948718 [2025-03-08 21:57:09,680 INFO L175 Difference]: Start difference. First operand has 223 places, 221 transitions, 450 flow. Second operand 3 states and 714 transitions. [2025-03-08 21:57:09,680 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 215 places, 222 transitions, 485 flow [2025-03-08 21:57:09,682 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 213 places, 222 transitions, 481 flow, removed 0 selfloop flow, removed 2 redundant places. [2025-03-08 21:57:09,687 INFO L231 Difference]: Finished difference. Result has 214 places, 221 transitions, 456 flow [2025-03-08 21:57:09,687 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=273, PETRI_DIFFERENCE_MINUEND_FLOW=442, PETRI_DIFFERENCE_MINUEND_PLACES=211, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=219, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=217, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=456, PETRI_PLACES=214, PETRI_TRANSITIONS=221} [2025-03-08 21:57:09,689 INFO L279 CegarLoopForPetriNet]: 234 programPoint places, -20 predicate places. [2025-03-08 21:57:09,689 INFO L471 AbstractCegarLoop]: Abstraction has has 214 places, 221 transitions, 456 flow [2025-03-08 21:57:09,690 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 233.33333333333334) internal successors, (700), 3 states have internal predecessors, (700), 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-03-08 21:57:09,690 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:57:09,690 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:57:09,690 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-03-08 21:57:09,690 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr3ASSERT_VIOLATIONDATA_RACE === [monitor_threadErr5ASSERT_VIOLATIONDATA_RACE, monitor_threadErr4ASSERT_VIOLATIONDATA_RACE, monitor_threadErr2ASSERT_VIOLATIONDATA_RACE (and 26 more)] === [2025-03-08 21:57:09,691 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:57:09,691 INFO L85 PathProgramCache]: Analyzing trace with hash 457796775, now seen corresponding path program 1 times [2025-03-08 21:57:09,691 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:57:09,691 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [344295920] [2025-03-08 21:57:09,691 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:57:09,691 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:57:09,711 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 37 statements into 1 equivalence classes. [2025-03-08 21:57:09,715 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 37 of 37 statements. [2025-03-08 21:57:09,716 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:57:09,716 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 21:57:09,789 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-08 21:57:09,789 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-08 21:57:09,789 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [344295920] [2025-03-08 21:57:09,789 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [344295920] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-08 21:57:09,789 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-08 21:57:09,789 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-03-08 21:57:09,789 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [153271980] [2025-03-08 21:57:09,789 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-08 21:57:09,790 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-03-08 21:57:09,790 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-08 21:57:09,790 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-03-08 21:57:09,790 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-03-08 21:57:09,825 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 215 out of 273 [2025-03-08 21:57:09,826 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 214 places, 221 transitions, 456 flow. Second operand has 3 states, 3 states have (on average 216.0) internal successors, (648), 3 states have internal predecessors, (648), 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-03-08 21:57:09,826 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-08 21:57:09,826 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 215 of 273 [2025-03-08 21:57:09,826 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-08 21:57:10,024 INFO L124 PetriNetUnfolderBase]: 429/2235 cut-off events. [2025-03-08 21:57:10,024 INFO L125 PetriNetUnfolderBase]: For 8/13 co-relation queries the response was YES. [2025-03-08 21:57:10,030 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2749 conditions, 2235 events. 429/2235 cut-off events. For 8/13 co-relation queries the response was YES. Maximal size of possible extension queue 96. Compared 19438 event pairs, 163 based on Foata normal form. 2/1918 useless extension candidates. Maximal degree in co-relation 2475. Up to 449 conditions per place. [2025-03-08 21:57:10,036 INFO L140 encePairwiseOnDemand]: 257/273 looper letters, 26 selfloop transitions, 7 changer transitions 6/226 dead transitions. [2025-03-08 21:57:10,036 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 208 places, 226 transitions, 540 flow [2025-03-08 21:57:10,037 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-03-08 21:57:10,037 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-03-08 21:57:10,038 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 689 transitions. [2025-03-08 21:57:10,039 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.8412698412698413 [2025-03-08 21:57:10,039 INFO L175 Difference]: Start difference. First operand has 214 places, 221 transitions, 456 flow. Second operand 3 states and 689 transitions. [2025-03-08 21:57:10,039 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 208 places, 226 transitions, 540 flow [2025-03-08 21:57:10,041 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 208 places, 226 transitions, 540 flow, removed 0 selfloop flow, removed 0 redundant places. [2025-03-08 21:57:10,043 INFO L231 Difference]: Finished difference. Result has 209 places, 214 transitions, 474 flow [2025-03-08 21:57:10,044 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=273, PETRI_DIFFERENCE_MINUEND_FLOW=440, PETRI_DIFFERENCE_MINUEND_PLACES=206, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=213, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=206, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=474, PETRI_PLACES=209, PETRI_TRANSITIONS=214} [2025-03-08 21:57:10,045 INFO L279 CegarLoopForPetriNet]: 234 programPoint places, -25 predicate places. [2025-03-08 21:57:10,045 INFO L471 AbstractCegarLoop]: Abstraction has has 209 places, 214 transitions, 474 flow [2025-03-08 21:57:10,046 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 216.0) internal successors, (648), 3 states have internal predecessors, (648), 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-03-08 21:57:10,046 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:57:10,046 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:57:10,046 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2025-03-08 21:57:10,046 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting counter_threadErr2ASSERT_VIOLATIONDATA_RACE === [monitor_threadErr5ASSERT_VIOLATIONDATA_RACE, monitor_threadErr4ASSERT_VIOLATIONDATA_RACE, monitor_threadErr2ASSERT_VIOLATIONDATA_RACE (and 26 more)] === [2025-03-08 21:57:10,047 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:57:10,047 INFO L85 PathProgramCache]: Analyzing trace with hash -982321140, now seen corresponding path program 1 times [2025-03-08 21:57:10,047 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:57:10,047 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [775984758] [2025-03-08 21:57:10,047 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:57:10,047 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:57:10,069 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 47 statements into 1 equivalence classes. [2025-03-08 21:57:10,078 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 47 of 47 statements. [2025-03-08 21:57:10,078 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:57:10,078 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 21:57:10,127 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-08 21:57:10,127 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-08 21:57:10,127 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [775984758] [2025-03-08 21:57:10,127 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [775984758] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-08 21:57:10,127 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-08 21:57:10,127 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-03-08 21:57:10,127 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1860692656] [2025-03-08 21:57:10,128 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-08 21:57:10,128 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-03-08 21:57:10,128 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-08 21:57:10,128 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-03-08 21:57:10,128 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-03-08 21:57:10,145 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 228 out of 273 [2025-03-08 21:57:10,146 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 209 places, 214 transitions, 474 flow. Second operand has 3 states, 3 states have (on average 229.33333333333334) internal successors, (688), 3 states have internal predecessors, (688), 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-03-08 21:57:10,146 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-08 21:57:10,146 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 228 of 273 [2025-03-08 21:57:10,146 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-08 21:57:10,342 INFO L124 PetriNetUnfolderBase]: 281/2044 cut-off events. [2025-03-08 21:57:10,343 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2025-03-08 21:57:10,349 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2518 conditions, 2044 events. 281/2044 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 57. Compared 16574 event pairs, 31 based on Foata normal form. 0/1795 useless extension candidates. Maximal degree in co-relation 2317. Up to 162 conditions per place. [2025-03-08 21:57:10,355 INFO L140 encePairwiseOnDemand]: 262/273 looper letters, 24 selfloop transitions, 8 changer transitions 0/228 dead transitions. [2025-03-08 21:57:10,356 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 206 places, 228 transitions, 568 flow [2025-03-08 21:57:10,356 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-03-08 21:57:10,356 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-03-08 21:57:10,357 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 719 transitions. [2025-03-08 21:57:10,358 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.8778998778998779 [2025-03-08 21:57:10,358 INFO L175 Difference]: Start difference. First operand has 209 places, 214 transitions, 474 flow. Second operand 3 states and 719 transitions. [2025-03-08 21:57:10,358 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 206 places, 228 transitions, 568 flow [2025-03-08 21:57:10,359 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 206 places, 228 transitions, 568 flow, removed 0 selfloop flow, removed 0 redundant places. [2025-03-08 21:57:10,361 INFO L231 Difference]: Finished difference. Result has 208 places, 222 transitions, 544 flow [2025-03-08 21:57:10,361 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=273, PETRI_DIFFERENCE_MINUEND_FLOW=474, PETRI_DIFFERENCE_MINUEND_PLACES=204, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=214, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=206, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=544, PETRI_PLACES=208, PETRI_TRANSITIONS=222} [2025-03-08 21:57:10,362 INFO L279 CegarLoopForPetriNet]: 234 programPoint places, -26 predicate places. [2025-03-08 21:57:10,362 INFO L471 AbstractCegarLoop]: Abstraction has has 208 places, 222 transitions, 544 flow [2025-03-08 21:57:10,362 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 229.33333333333334) internal successors, (688), 3 states have internal predecessors, (688), 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-03-08 21:57:10,362 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:57:10,363 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:57:10,363 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2025-03-08 21:57:10,363 INFO L396 AbstractCegarLoop]: === Iteration 5 === Targeting counter_threadErr1ASSERT_VIOLATIONDATA_RACE === [monitor_threadErr5ASSERT_VIOLATIONDATA_RACE, monitor_threadErr4ASSERT_VIOLATIONDATA_RACE, monitor_threadErr2ASSERT_VIOLATIONDATA_RACE (and 26 more)] === [2025-03-08 21:57:10,363 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:57:10,363 INFO L85 PathProgramCache]: Analyzing trace with hash 1017685631, now seen corresponding path program 1 times [2025-03-08 21:57:10,363 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:57:10,363 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1960432150] [2025-03-08 21:57:10,363 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:57:10,363 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:57:10,379 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 52 statements into 1 equivalence classes. [2025-03-08 21:57:10,383 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 52 of 52 statements. [2025-03-08 21:57:10,383 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:57:10,383 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 21:57:10,426 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-08 21:57:10,427 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-08 21:57:10,427 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1960432150] [2025-03-08 21:57:10,427 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1960432150] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-08 21:57:10,427 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-08 21:57:10,427 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-03-08 21:57:10,427 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1286488445] [2025-03-08 21:57:10,428 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-08 21:57:10,428 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-03-08 21:57:10,428 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-08 21:57:10,429 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-03-08 21:57:10,429 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-03-08 21:57:10,452 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 231 out of 273 [2025-03-08 21:57:10,453 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 208 places, 222 transitions, 544 flow. Second operand has 3 states, 3 states have (on average 233.0) internal successors, (699), 3 states have internal predecessors, (699), 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-03-08 21:57:10,453 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-08 21:57:10,453 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 231 of 273 [2025-03-08 21:57:10,453 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-08 21:57:10,746 INFO L124 PetriNetUnfolderBase]: 481/3327 cut-off events. [2025-03-08 21:57:10,746 INFO L125 PetriNetUnfolderBase]: For 302/318 co-relation queries the response was YES. [2025-03-08 21:57:10,764 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4335 conditions, 3327 events. 481/3327 cut-off events. For 302/318 co-relation queries the response was YES. Maximal size of possible extension queue 97. Compared 30786 event pairs, 57 based on Foata normal form. 7/2927 useless extension candidates. Maximal degree in co-relation 4124. Up to 280 conditions per place. [2025-03-08 21:57:10,775 INFO L140 encePairwiseOnDemand]: 266/273 looper letters, 23 selfloop transitions, 11 changer transitions 0/236 dead transitions. [2025-03-08 21:57:10,776 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 210 places, 236 transitions, 664 flow [2025-03-08 21:57:10,776 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-03-08 21:57:10,776 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-03-08 21:57:10,778 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 720 transitions. [2025-03-08 21:57:10,778 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.8791208791208791 [2025-03-08 21:57:10,778 INFO L175 Difference]: Start difference. First operand has 208 places, 222 transitions, 544 flow. Second operand 3 states and 720 transitions. [2025-03-08 21:57:10,779 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 210 places, 236 transitions, 664 flow [2025-03-08 21:57:10,782 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 208 places, 236 transitions, 640 flow, removed 0 selfloop flow, removed 2 redundant places. [2025-03-08 21:57:10,786 INFO L231 Difference]: Finished difference. Result has 210 places, 230 transitions, 620 flow [2025-03-08 21:57:10,787 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=273, PETRI_DIFFERENCE_MINUEND_FLOW=528, PETRI_DIFFERENCE_MINUEND_PLACES=206, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=222, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=211, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=620, PETRI_PLACES=210, PETRI_TRANSITIONS=230} [2025-03-08 21:57:10,787 INFO L279 CegarLoopForPetriNet]: 234 programPoint places, -24 predicate places. [2025-03-08 21:57:10,788 INFO L471 AbstractCegarLoop]: Abstraction has has 210 places, 230 transitions, 620 flow [2025-03-08 21:57:10,788 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 233.0) internal successors, (699), 3 states have internal predecessors, (699), 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-03-08 21:57:10,789 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:57:10,789 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:57:10,789 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2025-03-08 21:57:10,789 INFO L396 AbstractCegarLoop]: === Iteration 6 === Targeting monitor_threadErr3ASSERT_VIOLATIONDATA_RACE === [monitor_threadErr5ASSERT_VIOLATIONDATA_RACE, monitor_threadErr4ASSERT_VIOLATIONDATA_RACE, monitor_threadErr2ASSERT_VIOLATIONDATA_RACE (and 26 more)] === [2025-03-08 21:57:10,791 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:57:10,791 INFO L85 PathProgramCache]: Analyzing trace with hash 696105011, now seen corresponding path program 1 times [2025-03-08 21:57:10,791 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:57:10,791 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1171783097] [2025-03-08 21:57:10,791 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:57:10,792 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:57:10,808 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 59 statements into 1 equivalence classes. [2025-03-08 21:57:10,816 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 59 of 59 statements. [2025-03-08 21:57:10,818 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:57:10,818 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 21:57:10,872 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-08 21:57:10,872 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-08 21:57:10,872 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1171783097] [2025-03-08 21:57:10,872 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1171783097] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-08 21:57:10,872 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-08 21:57:10,872 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-03-08 21:57:10,873 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1301964520] [2025-03-08 21:57:10,873 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-08 21:57:10,873 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-03-08 21:57:10,873 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-08 21:57:10,874 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-03-08 21:57:10,874 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-03-08 21:57:10,893 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 231 out of 273 [2025-03-08 21:57:10,894 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 210 places, 230 transitions, 620 flow. Second operand has 3 states, 3 states have (on average 233.33333333333334) internal successors, (700), 3 states have internal predecessors, (700), 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-03-08 21:57:10,894 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-08 21:57:10,894 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 231 of 273 [2025-03-08 21:57:10,894 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-08 21:57:11,216 INFO L124 PetriNetUnfolderBase]: 606/4064 cut-off events. [2025-03-08 21:57:11,216 INFO L125 PetriNetUnfolderBase]: For 825/845 co-relation queries the response was YES. [2025-03-08 21:57:11,230 INFO L83 FinitePrefix]: Finished finitePrefix Result has 5522 conditions, 4064 events. 606/4064 cut-off events. For 825/845 co-relation queries the response was YES. Maximal size of possible extension queue 125. Compared 39425 event pairs, 78 based on Foata normal form. 3/3558 useless extension candidates. Maximal degree in co-relation 5252. Up to 339 conditions per place. [2025-03-08 21:57:11,240 INFO L140 encePairwiseOnDemand]: 266/273 looper letters, 27 selfloop transitions, 14 changer transitions 0/244 dead transitions. [2025-03-08 21:57:11,240 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 212 places, 244 transitions, 775 flow [2025-03-08 21:57:11,241 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-03-08 21:57:11,241 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-03-08 21:57:11,242 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 718 transitions. [2025-03-08 21:57:11,242 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.8766788766788767 [2025-03-08 21:57:11,242 INFO L175 Difference]: Start difference. First operand has 210 places, 230 transitions, 620 flow. Second operand 3 states and 718 transitions. [2025-03-08 21:57:11,242 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 212 places, 244 transitions, 775 flow [2025-03-08 21:57:11,244 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 210 places, 244 transitions, 745 flow, removed 0 selfloop flow, removed 2 redundant places. [2025-03-08 21:57:11,246 INFO L231 Difference]: Finished difference. Result has 212 places, 240 transitions, 732 flow [2025-03-08 21:57:11,247 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=273, PETRI_DIFFERENCE_MINUEND_FLOW=598, PETRI_DIFFERENCE_MINUEND_PLACES=208, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=230, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=216, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=732, PETRI_PLACES=212, PETRI_TRANSITIONS=240} [2025-03-08 21:57:11,247 INFO L279 CegarLoopForPetriNet]: 234 programPoint places, -22 predicate places. [2025-03-08 21:57:11,247 INFO L471 AbstractCegarLoop]: Abstraction has has 212 places, 240 transitions, 732 flow [2025-03-08 21:57:11,248 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 233.33333333333334) internal successors, (700), 3 states have internal predecessors, (700), 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-03-08 21:57:11,248 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:57:11,248 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:57:11,248 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2025-03-08 21:57:11,248 INFO L396 AbstractCegarLoop]: === Iteration 7 === Targeting monitor_threadErr4ASSERT_VIOLATIONDATA_RACE === [monitor_threadErr5ASSERT_VIOLATIONDATA_RACE, monitor_threadErr4ASSERT_VIOLATIONDATA_RACE, monitor_threadErr2ASSERT_VIOLATIONDATA_RACE (and 26 more)] === [2025-03-08 21:57:11,249 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:57:11,249 INFO L85 PathProgramCache]: Analyzing trace with hash -887957665, now seen corresponding path program 1 times [2025-03-08 21:57:11,249 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:57:11,249 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1903622804] [2025-03-08 21:57:11,249 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:57:11,249 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:57:11,261 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 75 statements into 1 equivalence classes. [2025-03-08 21:57:11,274 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 75 of 75 statements. [2025-03-08 21:57:11,274 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:57:11,274 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 21:57:11,274 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-03-08 21:57:11,282 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 75 statements into 1 equivalence classes. [2025-03-08 21:57:11,292 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 75 of 75 statements. [2025-03-08 21:57:11,292 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:57:11,292 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 21:57:11,315 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-03-08 21:57:11,315 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-03-08 21:57:11,316 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location monitor_threadErr4ASSERT_VIOLATIONDATA_RACE (28 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr5ASSERT_VIOLATIONDATA_RACE (27 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr4ASSERT_VIOLATIONDATA_RACE (26 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr2ASSERT_VIOLATIONDATA_RACE (25 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr1ASSERT_VIOLATIONDATA_RACE (24 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr3ASSERT_VIOLATIONDATA_RACE (23 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr0ASSERT_VIOLATIONDATA_RACE (22 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location counter_threadErr4ASSERT_VIOLATIONDATA_RACE (21 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location counter_threadErr3ASSERT_VIOLATIONDATA_RACE (20 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location counter_threadErr2ASSERT_VIOLATIONDATA_RACE (19 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location counter_threadErr1ASSERT_VIOLATIONDATA_RACE (18 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location counter_threadErr0ASSERT_VIOLATIONDATA_RACE (17 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONDATA_RACE (16 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONDATA_RACE (15 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONDATA_RACE (14 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE (13 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (12 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (11 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (10 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr5ASSERT_VIOLATIONDATA_RACE (9 of 29 remaining) [2025-03-08 21:57:11,317 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr2ASSERT_VIOLATIONDATA_RACE (8 of 29 remaining) [2025-03-08 21:57:11,318 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr1ASSERT_VIOLATIONDATA_RACE (7 of 29 remaining) [2025-03-08 21:57:11,318 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr3ASSERT_VIOLATIONDATA_RACE (6 of 29 remaining) [2025-03-08 21:57:11,318 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location monitor_threadErr0ASSERT_VIOLATIONDATA_RACE (5 of 29 remaining) [2025-03-08 21:57:11,318 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location counter_threadErr4ASSERT_VIOLATIONDATA_RACE (4 of 29 remaining) [2025-03-08 21:57:11,318 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location counter_threadErr3ASSERT_VIOLATIONDATA_RACE (3 of 29 remaining) [2025-03-08 21:57:11,318 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location counter_threadErr2ASSERT_VIOLATIONDATA_RACE (2 of 29 remaining) [2025-03-08 21:57:11,318 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location counter_threadErr1ASSERT_VIOLATIONDATA_RACE (1 of 29 remaining) [2025-03-08 21:57:11,318 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location counter_threadErr0ASSERT_VIOLATIONDATA_RACE (0 of 29 remaining) [2025-03-08 21:57:11,318 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2025-03-08 21:57:11,318 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:57:11,365 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-03-08 21:57:11,365 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-03-08 21:57:11,368 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 08.03 09:57:11 BasicIcfg [2025-03-08 21:57:11,368 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-03-08 21:57:11,371 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-03-08 21:57:11,371 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-03-08 21:57:11,371 INFO L274 PluginConnector]: Witness Printer initialized [2025-03-08 21:57:11,372 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.03 09:57:08" (3/4) ... [2025-03-08 21:57:11,372 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2025-03-08 21:57:11,438 INFO L127 tionWitnessGenerator]: Generated YAML witness of length 9. [2025-03-08 21:57:11,473 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-03-08 21:57:11,473 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2025-03-08 21:57:11,473 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-03-08 21:57:11,474 INFO L158 Benchmark]: Toolchain (without parser) took 4107.58ms. Allocated memory was 167.8MB in the beginning and 234.9MB in the end (delta: 67.1MB). Free memory was 126.1MB in the beginning and 83.7MB in the end (delta: 42.4MB). Peak memory consumption was 107.5MB. Max. memory is 16.1GB. [2025-03-08 21:57:11,474 INFO L158 Benchmark]: CDTParser took 0.28ms. Allocated memory is still 201.3MB. Free memory is still 125.4MB. There was no memory consumed. Max. memory is 16.1GB. [2025-03-08 21:57:11,475 INFO L158 Benchmark]: CACSL2BoogieTranslator took 624.06ms. Allocated memory is still 167.8MB. Free memory was 126.1MB in the beginning and 67.9MB in the end (delta: 58.2MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. [2025-03-08 21:57:11,475 INFO L158 Benchmark]: Boogie Procedure Inliner took 66.01ms. Allocated memory is still 167.8MB. Free memory was 67.9MB in the beginning and 65.0MB in the end (delta: 3.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-03-08 21:57:11,475 INFO L158 Benchmark]: Boogie Preprocessor took 32.61ms. Allocated memory is still 167.8MB. Free memory was 65.0MB in the beginning and 62.9MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-08 21:57:11,475 INFO L158 Benchmark]: IcfgBuilder took 637.03ms. Allocated memory is still 167.8MB. Free memory was 62.9MB in the beginning and 116.5MB in the end (delta: -53.6MB). Peak memory consumption was 33.3MB. Max. memory is 16.1GB. [2025-03-08 21:57:11,475 INFO L158 Benchmark]: TraceAbstraction took 2637.54ms. Allocated memory was 167.8MB in the beginning and 234.9MB in the end (delta: 67.1MB). Free memory was 116.5MB in the beginning and 102.0MB in the end (delta: 14.4MB). Peak memory consumption was 82.6MB. Max. memory is 16.1GB. [2025-03-08 21:57:11,475 INFO L158 Benchmark]: Witness Printer took 102.40ms. Allocated memory is still 234.9MB. Free memory was 102.0MB in the beginning and 83.7MB in the end (delta: 18.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-03-08 21:57:11,478 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.28ms. Allocated memory is still 201.3MB. Free memory is still 125.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 624.06ms. Allocated memory is still 167.8MB. Free memory was 126.1MB in the beginning and 67.9MB in the end (delta: 58.2MB). Peak memory consumption was 58.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 66.01ms. Allocated memory is still 167.8MB. Free memory was 67.9MB in the beginning and 65.0MB in the end (delta: 3.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 32.61ms. Allocated memory is still 167.8MB. Free memory was 65.0MB in the beginning and 62.9MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 637.03ms. Allocated memory is still 167.8MB. Free memory was 62.9MB in the beginning and 116.5MB in the end (delta: -53.6MB). Peak memory consumption was 33.3MB. Max. memory is 16.1GB. * TraceAbstraction took 2637.54ms. Allocated memory was 167.8MB in the beginning and 234.9MB in the end (delta: 67.1MB). Free memory was 116.5MB in the beginning and 102.0MB in the end (delta: 14.4MB). Peak memory consumption was 82.6MB. Max. memory is 16.1GB. * Witness Printer took 102.40ms. Allocated memory is still 234.9MB. Free memory was 102.0MB in the beginning and 83.7MB in the end (delta: 18.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - DataRaceFoundResult [Line: 1830]: Data race detected Data race detected The following path leads to a data race: [L1797] 0 pthread_mutex_t mutex = { { 0, 0, 0, 0, 0, { { 0, 0 } } } }; VAL [mutex={1:0}] [L1798] 0 long counter; VAL [counter=0, mutex={1:0}] [L1799] 0 time_t end_time; VAL [counter=0, end_time=0, mutex={1:0}] [L1836] 0 int status; VAL [\old(argc)=1150, \old(argv)={1153:1151}, argc=1150, counter=0, end_time=0, mutex={1:0}] [L1837] 0 pthread_t counter_thread_id; VAL [\old(argc)=1150, \old(argv)={1153:1151}, argc=1150, counter=0, end_time=0, mutex={1:0}] [L1838] 0 pthread_t monitor_thread_id; VAL [\old(argc)=1150, \old(argv)={1153:1151}, argc=1150, counter=0, end_time=0, mutex={1:0}] [L1839] 0 end_time = time (((void *)0)) + 60 VAL [\old(argc)=1150, \old(argv)={1153:1151}, argc=1150, counter=0, end_time=60, mutex={1:0}] [L1840] EXPR, FCALL, FORK 0 pthread_create (&counter_thread_id, ((void *)0), counter_thread, ((void *)0)) VAL [\old(arg)={0:0}, \old(argc)=1150, \old(argv)={1153:1151}, argc=1150, counter=0, counter_thread_id=-1, end_time=60, mutex={1:0}] [L1801] 1 int status; VAL [\old(arg)={0:0}, arg={0:0}, counter=0, end_time=60, mutex={1:0}] [L1802] 1 int spin; VAL [\old(arg)={0:0}, arg={0:0}, counter=0, end_time=60, mutex={1:0}] [L1803] COND TRUE 1 time (((void *)0)) < end_time [L1803] 1 time (((void *)0)) < end_time VAL [\old(arg)={0:0}, arg={0:0}, counter=0, end_time=60, mutex={1:0}] [L1803] COND TRUE 1 time (((void *)0)) < end_time VAL [\old(arg)={0:0}, arg={0:0}, counter=0, end_time=60, mutex={1:0}] [L1804] 1 status = pthread_mutex_lock (&mutex) VAL [\old(arg)={0:0}, arg={0:0}, counter=0, end_time=60, mutex={1:0}, status=0] [L1805] COND FALSE 1 !(status != 0) VAL [\old(arg)={0:0}, arg={0:0}, counter=0, end_time=60, mutex={1:0}, status=0] [L1807] 1 spin = 0 VAL [\old(arg)={0:0}, arg={0:0}, counter=0, end_time=60, mutex={1:0}, spin=0, status=0] [L1807] COND TRUE 1 spin < 10000000 VAL [\old(arg)={0:0}, arg={0:0}, counter=0, end_time=60, mutex={1:0}, spin=0, status=0] [L1808] 1 counter++ VAL [\old(arg)={0:0}, arg={0:0}, counter=0, end_time=60, mutex={1:0}, spin=0, status=0] [L1840] 0 status = pthread_create (&counter_thread_id, ((void *)0), counter_thread, ((void *)0)) VAL [\old(arg)={0:0}, \old(argc)=1150, \old(argv)={1153:1151}, arg={0:0}, argc=1150, counter=0, counter_thread_id=-1, end_time=60, mutex={1:0}, spin=0, status=0, status=0] [L1841] COND FALSE 0 !(status != 0) VAL [\old(arg)={0:0}, \old(argc)=1150, \old(argv)={1153:1151}, arg={0:0}, argc=1150, counter=0, counter_thread_id=-1, end_time=60, mutex={1:0}, spin=0, status=0, status=0] [L1843] FCALL, FORK 0 pthread_create (&monitor_thread_id, ((void *)0), monitor_thread, ((void *)0)) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \old(argc)=1150, \old(argv)={1153:1151}, arg={0:0}, argc=1150, counter=0, counter_thread_id=-1, end_time=60, monitor_thread_id=0, mutex={1:0}, spin=0, status=0, status=0] [L1817] 2 int status; VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, counter=0, end_time=60, mutex={1:0}, spin=0, status=0] [L1818] 2 int misses = 0; VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, counter=0, end_time=60, misses=0, mutex={1:0}, spin=0, status=0] [L1819] COND TRUE 2 time (((void *)0)) < end_time [L1819] 2 time (((void *)0)) < end_time VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, counter=0, end_time=60, misses=0, mutex={1:0}, spin=0, status=0] [L1819] COND TRUE 2 time (((void *)0)) < end_time VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, counter=0, end_time=60, misses=0, mutex={1:0}, spin=0, status=0] [L1821] 2 status = pthread_mutex_trylock (&mutex) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, counter=0, end_time=60, misses=0, mutex={1:0}, spin=0, status=0, status=16] [L1822] COND FALSE 2 !(status != 16) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, counter=0, end_time=60, misses=0, mutex={1:0}, spin=0, status=0, status=16] [L1830] 2 counter++ VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, counter=0, end_time=60, misses=0, mutex={1:0}, spin=0, status=0, status=16] [L1808] 1 counter++ VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, counter=1, end_time=60, misses=0, mutex={1:0}, spin=0, status=0, status=16] [L1830] 2 counter++ VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, counter=1, end_time=60, misses=0, mutex={1:0}, spin=0, status=0, status=16] Now there is a data race on ~counter~0 between C: counter++ [1808] and C: counter++ [1830] - UnprovableResult [Line: 1819]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1824]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1825]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1830]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1828]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1803]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1806]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1808]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1808]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1811]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1839]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1842]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1845]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1848]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1851]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 1843]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 1840]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 367 locations, 426 edges, 29 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: 2.5s, OverallIterations: 7, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 1.5s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 198 SdHoareTripleChecker+Valid, 0.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 76 mSDsluCounter, 32 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 43 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 204 IncrementalHoareTripleChecker+Invalid, 247 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 43 mSolverCounterUnsat, 32 mSDtfsCounter, 204 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 12 GetRequests, 6 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=732occurred in iteration=6, InterpolantAutomatonStates: 18, 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.1s SatisfiabilityAnalysisTime, 0.4s InterpolantComputationTime, 331 NumberOfCodeBlocks, 331 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 250 ConstructedInterpolants, 0 QuantifiedInterpolants, 262 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 6 InterpolantComputations, 6 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 RESULT: Ultimate proved your program to be incorrect! [2025-03-08 21:57:11,491 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(DATA-RACE)