./Ultimate.py --spec ../sv-benchmarks/c/properties/no-data-race.prp --file ../sv-benchmarks/c/pthread-ext/38_rand_cas_vs_concur.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/pthread-ext/38_rand_cas_vs_concur.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 628ef5ad19754647fb807fc1cc13e384334d380a6e3691b7b5f1842f42e5f662 --- Real Ultimate output --- This is Ultimate 0.3.0-?-e2fb8be-m [2025-03-08 21:38:59,414 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-08 21:38:59,461 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf [2025-03-08 21:38:59,465 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-08 21:38:59,467 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-08 21:38:59,485 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-08 21:38:59,486 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-08 21:38:59,486 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-08 21:38:59,487 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-08 21:38:59,487 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-08 21:38:59,487 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-08 21:38:59,488 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-08 21:38:59,488 INFO L153 SettingsManager]: * Use SBE=true [2025-03-08 21:38:59,488 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-08 21:38:59,488 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-03-08 21:38:59,488 INFO L153 SettingsManager]: * sizeof long=4 [2025-03-08 21:38:59,488 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-03-08 21:38:59,488 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-03-08 21:38:59,488 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-08 21:38:59,488 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-03-08 21:38:59,488 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-08 21:38:59,488 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * sizeof long double=12 [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-08 21:38:59,489 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-08 21:38:59,489 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-03-08 21:38:59,489 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-03-08 21:38:59,490 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-03-08 21:38:59,490 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-03-08 21:38:59,490 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-08 21:38:59,490 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-08 21:38:59,490 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-08 21:38:59,490 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-08 21:38:59,490 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 -> 628ef5ad19754647fb807fc1cc13e384334d380a6e3691b7b5f1842f42e5f662 [2025-03-08 21:38:59,703 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-08 21:38:59,709 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-08 21:38:59,712 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-08 21:38:59,713 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-08 21:38:59,713 INFO L274 PluginConnector]: CDTParser initialized [2025-03-08 21:38:59,714 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-ext/38_rand_cas_vs_concur.i [2025-03-08 21:39:00,842 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8540f498a/bd877ce1775c4b7ba8702a895bb68e53/FLAG665b22ee9 [2025-03-08 21:39:01,159 INFO L384 CDTParser]: Found 1 translation units. [2025-03-08 21:39:01,159 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/38_rand_cas_vs_concur.i [2025-03-08 21:39:01,177 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8540f498a/bd877ce1775c4b7ba8702a895bb68e53/FLAG665b22ee9 [2025-03-08 21:39:01,417 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8540f498a/bd877ce1775c4b7ba8702a895bb68e53 [2025-03-08 21:39:01,419 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-08 21:39:01,420 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-08 21:39:01,421 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-08 21:39:01,421 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-08 21:39:01,424 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-08 21:39:01,425 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,425 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@48c12871 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01, skipping insertion in model container [2025-03-08 21:39:01,425 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,447 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-08 21:39:01,703 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-08 21:39:01,710 INFO L200 MainTranslator]: Completed pre-run [2025-03-08 21:39:01,749 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-08 21:39:01,773 INFO L204 MainTranslator]: Completed translation [2025-03-08 21:39:01,773 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01 WrapperNode [2025-03-08 21:39:01,774 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-08 21:39:01,775 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-08 21:39:01,775 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-08 21:39:01,775 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-08 21:39:01,779 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:39:01" (1/1) ... [2025-03-08 21:39:01,790 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:39:01" (1/1) ... [2025-03-08 21:39:01,807 INFO L138 Inliner]: procedures = 170, calls = 22, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 116 [2025-03-08 21:39:01,807 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-08 21:39:01,808 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-08 21:39:01,808 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-08 21:39:01,808 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-08 21:39:01,814 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,814 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,817 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,817 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,827 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,828 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,834 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,835 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,837 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-08 21:39:01,838 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-08 21:39:01,838 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-08 21:39:01,838 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-08 21:39:01,839 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01" (1/1) ... [2025-03-08 21:39:01,844 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-08 21:39:01,854 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-08 21:39:01,869 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-03-08 21:39:01,871 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:39:01,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2025-03-08 21:39:01,887 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2025-03-08 21:39:01,887 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2025-03-08 21:39:01,887 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2025-03-08 21:39:01,887 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-08 21:39:01,887 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-03-08 21:39:01,887 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-03-08 21:39:01,887 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2025-03-08 21:39:01,887 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-08 21:39:01,887 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-08 21:39:01,888 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:39:01,985 INFO L256 CfgBuilder]: Building ICFG [2025-03-08 21:39:01,987 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-08 21:39:02,185 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L712: havoc PseudoRandomUsingAtomic_nex_~#casret~0#1.base, PseudoRandomUsingAtomic_nex_~#casret~0#1.offset; [2025-03-08 21:39:02,186 INFO L1307 $ProcedureCfgBuilder]: dead code at ProgramPoint L712-1: SUMMARY for call ULTIMATE.dealloc(PseudoRandomUsingAtomic_nex_~#casret~0#1.base, PseudoRandomUsingAtomic_nex_~#casret~0#1.offset); srcloc: null [2025-03-08 21:39:02,212 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-03-08 21:39:02,212 INFO L307 CfgBuilder]: Performing block encoding [2025-03-08 21:39:02,304 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-03-08 21:39:02,304 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2025-03-08 21:39:02,304 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.03 09:39:02 BoogieIcfgContainer [2025-03-08 21:39:02,304 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-03-08 21:39:02,306 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-03-08 21:39:02,306 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-03-08 21:39:02,309 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-03-08 21:39:02,310 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.03 09:39:01" (1/3) ... [2025-03-08 21:39:02,310 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2e1e0a8f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.03 09:39:02, skipping insertion in model container [2025-03-08 21:39:02,310 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.03 09:39:01" (2/3) ... [2025-03-08 21:39:02,310 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2e1e0a8f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.03 09:39:02, skipping insertion in model container [2025-03-08 21:39:02,311 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.03 09:39:02" (3/3) ... [2025-03-08 21:39:02,312 INFO L128 eAbstractionObserver]: Analyzing ICFG 38_rand_cas_vs_concur.i [2025-03-08 21:39:02,323 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-03-08 21:39:02,325 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG 38_rand_cas_vs_concur.i that has 2 procedures, 88 locations, 1 initial locations, 3 loop locations, and 6 error locations. [2025-03-08 21:39:02,326 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-03-08 21:39:02,388 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2025-03-08 21:39:02,421 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 91 places, 94 transitions, 192 flow [2025-03-08 21:39:02,467 INFO L124 PetriNetUnfolderBase]: 6/101 cut-off events. [2025-03-08 21:39:02,468 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-03-08 21:39:02,474 INFO L83 FinitePrefix]: Finished finitePrefix Result has 105 conditions, 101 events. 6/101 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 114 event pairs, 0 based on Foata normal form. 0/87 useless extension candidates. Maximal degree in co-relation 80. Up to 2 conditions per place. [2025-03-08 21:39:02,474 INFO L82 GeneralOperation]: Start removeDead. Operand has 91 places, 94 transitions, 192 flow [2025-03-08 21:39:02,477 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 91 places, 94 transitions, 192 flow [2025-03-08 21:39:02,482 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-08 21:39:02,494 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;@2d665cd8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-08 21:39:02,494 INFO L334 AbstractCegarLoop]: Starting to check reachability of 13 error locations. [2025-03-08 21:39:02,502 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-03-08 21:39:02,502 INFO L124 PetriNetUnfolderBase]: 0/33 cut-off events. [2025-03-08 21:39:02,502 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-03-08 21:39:02,503 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:39:02,503 INFO L206 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:39:02,503 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err5ASSERT_VIOLATIONDATA_RACE, thr1Err4ASSERT_VIOLATIONDATA_RACE, thr1Err2ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 9 more)] === [2025-03-08 21:39:02,507 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:39:02,508 INFO L85 PathProgramCache]: Analyzing trace with hash -128625131, now seen corresponding path program 1 times [2025-03-08 21:39:02,514 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:39:02,514 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1944719620] [2025-03-08 21:39:02,514 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:39:02,516 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:39:02,568 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 22 statements into 1 equivalence classes. [2025-03-08 21:39:02,581 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 22 of 22 statements. [2025-03-08 21:39:02,581 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:02,581 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 21:39:02,581 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-03-08 21:39:02,584 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 22 statements into 1 equivalence classes. [2025-03-08 21:39:02,590 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 22 of 22 statements. [2025-03-08 21:39:02,590 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:02,590 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 21:39:02,605 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-03-08 21:39:02,606 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-03-08 21:39:02,607 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (12 of 13 remaining) [2025-03-08 21:39:02,609 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (11 of 13 remaining) [2025-03-08 21:39:02,609 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (10 of 13 remaining) [2025-03-08 21:39:02,609 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (9 of 13 remaining) [2025-03-08 21:39:02,609 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (8 of 13 remaining) [2025-03-08 21:39:02,609 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (7 of 13 remaining) [2025-03-08 21:39:02,610 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (6 of 13 remaining) [2025-03-08 21:39:02,611 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (5 of 13 remaining) [2025-03-08 21:39:02,611 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (4 of 13 remaining) [2025-03-08 21:39:02,611 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (3 of 13 remaining) [2025-03-08 21:39:02,611 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (2 of 13 remaining) [2025-03-08 21:39:02,611 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (1 of 13 remaining) [2025-03-08 21:39:02,611 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (0 of 13 remaining) [2025-03-08 21:39:02,612 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-03-08 21:39:02,612 INFO L422 BasicCegarLoop]: Path program histogram: [1] [2025-03-08 21:39:02,615 WARN L246 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2025-03-08 21:39:02,617 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2025-03-08 21:39:02,707 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2025-03-08 21:39:02,712 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 159 places, 166 transitions, 342 flow [2025-03-08 21:39:02,754 INFO L124 PetriNetUnfolderBase]: 12/182 cut-off events. [2025-03-08 21:39:02,754 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2025-03-08 21:39:02,757 INFO L83 FinitePrefix]: Finished finitePrefix Result has 190 conditions, 182 events. 12/182 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 450 event pairs, 0 based on Foata normal form. 0/155 useless extension candidates. Maximal degree in co-relation 151. Up to 3 conditions per place. [2025-03-08 21:39:02,757 INFO L82 GeneralOperation]: Start removeDead. Operand has 159 places, 166 transitions, 342 flow [2025-03-08 21:39:02,758 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 159 places, 166 transitions, 342 flow [2025-03-08 21:39:02,759 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-08 21:39:02,760 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;@2d665cd8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-08 21:39:02,760 INFO L334 AbstractCegarLoop]: Starting to check reachability of 19 error locations. [2025-03-08 21:39:02,766 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-03-08 21:39:02,766 INFO L124 PetriNetUnfolderBase]: 0/58 cut-off events. [2025-03-08 21:39:02,766 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2025-03-08 21:39:02,767 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:39:02,767 INFO L206 CegarLoopForPetriNet]: trace histogram [3, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:39:02,767 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err5ASSERT_VIOLATIONDATA_RACE, thr1Err4ASSERT_VIOLATIONDATA_RACE, thr1Err2ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 15 more)] === [2025-03-08 21:39:02,767 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:39:02,767 INFO L85 PathProgramCache]: Analyzing trace with hash -470158045, now seen corresponding path program 1 times [2025-03-08 21:39:02,768 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:39:02,768 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1849027466] [2025-03-08 21:39:02,768 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:39:02,768 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:39:02,782 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 28 statements into 1 equivalence classes. [2025-03-08 21:39:02,791 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 28 of 28 statements. [2025-03-08 21:39:02,791 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:02,791 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 21:39:02,792 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-03-08 21:39:02,797 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 28 statements into 1 equivalence classes. [2025-03-08 21:39:02,807 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 28 of 28 statements. [2025-03-08 21:39:02,807 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:02,807 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 21:39:02,813 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-03-08 21:39:02,813 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-03-08 21:39:02,814 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (18 of 19 remaining) [2025-03-08 21:39:02,814 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (17 of 19 remaining) [2025-03-08 21:39:02,814 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (16 of 19 remaining) [2025-03-08 21:39:02,814 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (15 of 19 remaining) [2025-03-08 21:39:02,814 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (14 of 19 remaining) [2025-03-08 21:39:02,815 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (13 of 19 remaining) [2025-03-08 21:39:02,815 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (12 of 19 remaining) [2025-03-08 21:39:02,815 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (11 of 19 remaining) [2025-03-08 21:39:02,815 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (10 of 19 remaining) [2025-03-08 21:39:02,815 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (9 of 19 remaining) [2025-03-08 21:39:02,815 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (8 of 19 remaining) [2025-03-08 21:39:02,815 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (7 of 19 remaining) [2025-03-08 21:39:02,815 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (6 of 19 remaining) [2025-03-08 21:39:02,815 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (5 of 19 remaining) [2025-03-08 21:39:02,815 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (4 of 19 remaining) [2025-03-08 21:39:02,816 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (3 of 19 remaining) [2025-03-08 21:39:02,816 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (2 of 19 remaining) [2025-03-08 21:39:02,816 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (1 of 19 remaining) [2025-03-08 21:39:02,816 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (0 of 19 remaining) [2025-03-08 21:39:02,816 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-03-08 21:39:02,816 INFO L422 BasicCegarLoop]: Path program histogram: [1] [2025-03-08 21:39:02,816 WARN L246 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2025-03-08 21:39:02,816 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2025-03-08 21:39:02,876 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2025-03-08 21:39:02,879 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 227 places, 238 transitions, 494 flow [2025-03-08 21:39:02,928 INFO L124 PetriNetUnfolderBase]: 18/263 cut-off events. [2025-03-08 21:39:02,928 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2025-03-08 21:39:02,933 INFO L83 FinitePrefix]: Finished finitePrefix Result has 276 conditions, 263 events. 18/263 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 878 event pairs, 0 based on Foata normal form. 0/223 useless extension candidates. Maximal degree in co-relation 222. Up to 4 conditions per place. [2025-03-08 21:39:02,933 INFO L82 GeneralOperation]: Start removeDead. Operand has 227 places, 238 transitions, 494 flow [2025-03-08 21:39:02,936 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 227 places, 238 transitions, 494 flow [2025-03-08 21:39:02,937 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-08 21:39:02,938 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;@2d665cd8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-08 21:39:02,938 INFO L334 AbstractCegarLoop]: Starting to check reachability of 25 error locations. [2025-03-08 21:39:02,945 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-03-08 21:39:02,946 INFO L124 PetriNetUnfolderBase]: 0/67 cut-off events. [2025-03-08 21:39:02,946 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2025-03-08 21:39:02,947 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:39:02,947 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] [2025-03-08 21:39:02,947 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err5ASSERT_VIOLATIONDATA_RACE === [thr1Err5ASSERT_VIOLATIONDATA_RACE, thr1Err4ASSERT_VIOLATIONDATA_RACE, thr1Err2ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 21 more)] === [2025-03-08 21:39:02,948 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:39:02,948 INFO L85 PathProgramCache]: Analyzing trace with hash 1339236306, now seen corresponding path program 1 times [2025-03-08 21:39:02,948 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:39:02,948 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2016702138] [2025-03-08 21:39:02,948 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:39:02,948 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:39:02,964 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 29 statements into 1 equivalence classes. [2025-03-08 21:39:02,986 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 29 of 29 statements. [2025-03-08 21:39:02,987 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:02,987 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 21:39:03,422 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:39:03,425 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-08 21:39:03,425 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2016702138] [2025-03-08 21:39:03,425 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2016702138] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-08 21:39:03,425 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-08 21:39:03,426 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2025-03-08 21:39:03,426 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [77589026] [2025-03-08 21:39:03,426 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-08 21:39:03,430 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2025-03-08 21:39:03,434 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-08 21:39:03,447 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2025-03-08 21:39:03,447 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=15, Invalid=15, Unknown=0, NotChecked=0, Total=30 [2025-03-08 21:39:03,705 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 185 out of 238 [2025-03-08 21:39:03,710 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 227 places, 238 transitions, 494 flow. Second operand has 6 states, 6 states have (on average 186.16666666666666) internal successors, (1117), 6 states have internal predecessors, (1117), 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:39:03,710 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-08 21:39:03,710 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 185 of 238 [2025-03-08 21:39:03,712 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-08 21:39:05,198 INFO L124 PetriNetUnfolderBase]: 2059/10020 cut-off events. [2025-03-08 21:39:05,198 INFO L125 PetriNetUnfolderBase]: For 568/568 co-relation queries the response was YES. [2025-03-08 21:39:05,228 INFO L83 FinitePrefix]: Finished finitePrefix Result has 13363 conditions, 10020 events. 2059/10020 cut-off events. For 568/568 co-relation queries the response was YES. Maximal size of possible extension queue 316. Compared 110707 event pairs, 154 based on Foata normal form. 2605/11772 useless extension candidates. Maximal degree in co-relation 10384. Up to 1016 conditions per place. [2025-03-08 21:39:05,269 INFO L140 encePairwiseOnDemand]: 192/238 looper letters, 78 selfloop transitions, 36 changer transitions 0/293 dead transitions. [2025-03-08 21:39:05,269 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 210 places, 293 transitions, 880 flow [2025-03-08 21:39:05,270 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2025-03-08 21:39:05,272 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2025-03-08 21:39:05,281 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1352 transitions. [2025-03-08 21:39:05,287 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.9467787114845938 [2025-03-08 21:39:05,290 INFO L175 Difference]: Start difference. First operand has 227 places, 238 transitions, 494 flow. Second operand 6 states and 1352 transitions. [2025-03-08 21:39:05,291 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 210 places, 293 transitions, 880 flow [2025-03-08 21:39:05,298 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 210 places, 293 transitions, 870 flow, removed 5 selfloop flow, removed 0 redundant places. [2025-03-08 21:39:05,307 INFO L231 Difference]: Finished difference. Result has 215 places, 240 transitions, 682 flow [2025-03-08 21:39:05,309 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=238, PETRI_DIFFERENCE_MINUEND_FLOW=424, PETRI_DIFFERENCE_MINUEND_PLACES=205, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=204, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=6, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=186, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=682, PETRI_PLACES=215, PETRI_TRANSITIONS=240} [2025-03-08 21:39:05,314 INFO L279 CegarLoopForPetriNet]: 227 programPoint places, -12 predicate places. [2025-03-08 21:39:05,314 INFO L471 AbstractCegarLoop]: Abstraction has has 215 places, 240 transitions, 682 flow [2025-03-08 21:39:05,315 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 6 states have (on average 186.16666666666666) internal successors, (1117), 6 states have internal predecessors, (1117), 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:39:05,315 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:39:05,315 INFO L206 CegarLoopForPetriNet]: trace histogram [4, 4, 4, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:39:05,315 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2025-03-08 21:39:05,316 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err5ASSERT_VIOLATIONDATA_RACE, thr1Err4ASSERT_VIOLATIONDATA_RACE, thr1Err2ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 21 more)] === [2025-03-08 21:39:05,316 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:39:05,316 INFO L85 PathProgramCache]: Analyzing trace with hash -1328808128, now seen corresponding path program 1 times [2025-03-08 21:39:05,316 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:39:05,316 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [247098204] [2025-03-08 21:39:05,316 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:39:05,317 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:39:05,328 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 34 statements into 1 equivalence classes. [2025-03-08 21:39:05,334 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 34 of 34 statements. [2025-03-08 21:39:05,335 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:05,335 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 21:39:05,335 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-03-08 21:39:05,338 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 34 statements into 1 equivalence classes. [2025-03-08 21:39:05,341 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 34 of 34 statements. [2025-03-08 21:39:05,343 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:05,343 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 21:39:05,348 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-03-08 21:39:05,349 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (24 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (23 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (22 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (21 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (20 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (19 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (18 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (17 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (16 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (15 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (14 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (13 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (12 of 25 remaining) [2025-03-08 21:39:05,349 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (11 of 25 remaining) [2025-03-08 21:39:05,350 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (10 of 25 remaining) [2025-03-08 21:39:05,350 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (9 of 25 remaining) [2025-03-08 21:39:05,350 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (8 of 25 remaining) [2025-03-08 21:39:05,350 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (7 of 25 remaining) [2025-03-08 21:39:05,350 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (6 of 25 remaining) [2025-03-08 21:39:05,350 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (5 of 25 remaining) [2025-03-08 21:39:05,350 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (4 of 25 remaining) [2025-03-08 21:39:05,350 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (3 of 25 remaining) [2025-03-08 21:39:05,351 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (2 of 25 remaining) [2025-03-08 21:39:05,351 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (1 of 25 remaining) [2025-03-08 21:39:05,351 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (0 of 25 remaining) [2025-03-08 21:39:05,351 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2025-03-08 21:39:05,351 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1] [2025-03-08 21:39:05,351 WARN L246 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2025-03-08 21:39:05,351 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2025-03-08 21:39:05,408 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2025-03-08 21:39:05,411 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 295 places, 310 transitions, 648 flow [2025-03-08 21:39:05,477 INFO L124 PetriNetUnfolderBase]: 24/344 cut-off events. [2025-03-08 21:39:05,478 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2025-03-08 21:39:05,481 INFO L83 FinitePrefix]: Finished finitePrefix Result has 363 conditions, 344 events. 24/344 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1355 event pairs, 0 based on Foata normal form. 0/291 useless extension candidates. Maximal degree in co-relation 293. Up to 5 conditions per place. [2025-03-08 21:39:05,481 INFO L82 GeneralOperation]: Start removeDead. Operand has 295 places, 310 transitions, 648 flow [2025-03-08 21:39:05,485 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 295 places, 310 transitions, 648 flow [2025-03-08 21:39:05,486 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-08 21:39:05,486 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;@2d665cd8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-08 21:39:05,486 INFO L334 AbstractCegarLoop]: Starting to check reachability of 31 error locations. [2025-03-08 21:39:05,491 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-03-08 21:39:05,491 INFO L124 PetriNetUnfolderBase]: 0/67 cut-off events. [2025-03-08 21:39:05,491 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2025-03-08 21:39:05,491 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:39:05,491 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] [2025-03-08 21:39:05,491 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err5ASSERT_VIOLATIONDATA_RACE === [thr1Err5ASSERT_VIOLATIONDATA_RACE, thr1Err4ASSERT_VIOLATIONDATA_RACE, thr1Err2ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 27 more)] === [2025-03-08 21:39:05,492 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:39:05,492 INFO L85 PathProgramCache]: Analyzing trace with hash 1731233960, now seen corresponding path program 1 times [2025-03-08 21:39:05,492 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:39:05,492 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2104666576] [2025-03-08 21:39:05,492 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:39:05,492 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:39:05,499 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 29 statements into 1 equivalence classes. [2025-03-08 21:39:05,502 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 29 of 29 statements. [2025-03-08 21:39:05,503 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:05,503 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 21:39:05,708 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:39:05,709 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-08 21:39:05,709 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2104666576] [2025-03-08 21:39:05,709 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2104666576] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-08 21:39:05,709 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-08 21:39:05,709 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2025-03-08 21:39:05,709 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [681250689] [2025-03-08 21:39:05,709 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-08 21:39:05,709 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2025-03-08 21:39:05,709 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-08 21:39:05,710 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2025-03-08 21:39:05,710 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=15, Invalid=15, Unknown=0, NotChecked=0, Total=30 [2025-03-08 21:39:06,037 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 240 out of 310 [2025-03-08 21:39:06,039 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 295 places, 310 transitions, 648 flow. Second operand has 6 states, 6 states have (on average 241.16666666666666) internal successors, (1447), 6 states have internal predecessors, (1447), 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:39:06,039 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-08 21:39:06,039 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 240 of 310 [2025-03-08 21:39:06,039 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-08 21:39:16,730 INFO L124 PetriNetUnfolderBase]: 30584/104464 cut-off events. [2025-03-08 21:39:16,730 INFO L125 PetriNetUnfolderBase]: For 10334/10334 co-relation queries the response was YES. [2025-03-08 21:39:17,366 INFO L83 FinitePrefix]: Finished finitePrefix Result has 149371 conditions, 104464 events. 30584/104464 cut-off events. For 10334/10334 co-relation queries the response was YES. Maximal size of possible extension queue 3068. Compared 1536486 event pairs, 2775 based on Foata normal form. 30491/125495 useless extension candidates. Maximal degree in co-relation 111850. Up to 13444 conditions per place. [2025-03-08 21:39:17,910 INFO L140 encePairwiseOnDemand]: 249/310 looper letters, 105 selfloop transitions, 48 changer transitions 0/386 dead transitions. [2025-03-08 21:39:17,910 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 272 places, 386 transitions, 1190 flow [2025-03-08 21:39:17,911 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2025-03-08 21:39:17,911 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2025-03-08 21:39:17,913 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1762 transitions. [2025-03-08 21:39:17,914 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.9473118279569892 [2025-03-08 21:39:17,914 INFO L175 Difference]: Start difference. First operand has 295 places, 310 transitions, 648 flow. Second operand 6 states and 1762 transitions. [2025-03-08 21:39:17,914 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 272 places, 386 transitions, 1190 flow [2025-03-08 21:39:17,920 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 272 places, 386 transitions, 1160 flow, removed 15 selfloop flow, removed 0 redundant places. [2025-03-08 21:39:17,927 INFO L231 Difference]: Finished difference. Result has 277 places, 314 transitions, 898 flow [2025-03-08 21:39:17,927 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=310, PETRI_DIFFERENCE_MINUEND_FLOW=554, PETRI_DIFFERENCE_MINUEND_PLACES=267, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=266, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=8, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=242, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=898, PETRI_PLACES=277, PETRI_TRANSITIONS=314} [2025-03-08 21:39:17,929 INFO L279 CegarLoopForPetriNet]: 295 programPoint places, -18 predicate places. [2025-03-08 21:39:17,930 INFO L471 AbstractCegarLoop]: Abstraction has has 277 places, 314 transitions, 898 flow [2025-03-08 21:39:17,930 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 6 states have (on average 241.16666666666666) internal successors, (1447), 6 states have internal predecessors, (1447), 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:39:17,930 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:39:17,931 INFO L206 CegarLoopForPetriNet]: trace histogram [5, 5, 5, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-08 21:39:17,931 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2025-03-08 21:39:17,931 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err5ASSERT_VIOLATIONDATA_RACE, thr1Err4ASSERT_VIOLATIONDATA_RACE, thr1Err2ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 27 more)] === [2025-03-08 21:39:17,931 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:39:17,932 INFO L85 PathProgramCache]: Analyzing trace with hash 44027116, now seen corresponding path program 1 times [2025-03-08 21:39:17,932 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:39:17,932 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [298982679] [2025-03-08 21:39:17,932 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:39:17,932 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:39:17,943 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 40 statements into 1 equivalence classes. [2025-03-08 21:39:17,948 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 40 of 40 statements. [2025-03-08 21:39:17,949 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:17,949 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 21:39:17,949 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-03-08 21:39:17,953 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 40 statements into 1 equivalence classes. [2025-03-08 21:39:17,957 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 40 of 40 statements. [2025-03-08 21:39:17,959 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:17,959 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-08 21:39:17,967 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-03-08 21:39:17,967 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-03-08 21:39:17,967 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (30 of 31 remaining) [2025-03-08 21:39:17,967 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (29 of 31 remaining) [2025-03-08 21:39:17,967 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (28 of 31 remaining) [2025-03-08 21:39:17,967 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (27 of 31 remaining) [2025-03-08 21:39:17,967 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (26 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (25 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (24 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (23 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (22 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (21 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (20 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (19 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (18 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (17 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (16 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (15 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (14 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (13 of 31 remaining) [2025-03-08 21:39:17,968 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (12 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (11 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (10 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (9 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (8 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (7 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (6 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err5ASSERT_VIOLATIONDATA_RACE (5 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err4ASSERT_VIOLATIONDATA_RACE (4 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONDATA_RACE (3 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (2 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err3ASSERT_VIOLATIONDATA_RACE (1 of 31 remaining) [2025-03-08 21:39:17,969 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (0 of 31 remaining) [2025-03-08 21:39:17,969 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2025-03-08 21:39:17,969 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1] [2025-03-08 21:39:17,970 WARN L246 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2025-03-08 21:39:17,970 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2025-03-08 21:39:18,050 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2025-03-08 21:39:18,054 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 363 places, 382 transitions, 804 flow [2025-03-08 21:39:18,333 INFO L124 PetriNetUnfolderBase]: 30/425 cut-off events. [2025-03-08 21:39:18,333 INFO L125 PetriNetUnfolderBase]: For 30/30 co-relation queries the response was YES. [2025-03-08 21:39:18,337 INFO L83 FinitePrefix]: Finished finitePrefix Result has 451 conditions, 425 events. 30/425 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 1827 event pairs, 0 based on Foata normal form. 0/359 useless extension candidates. Maximal degree in co-relation 364. Up to 6 conditions per place. [2025-03-08 21:39:18,337 INFO L82 GeneralOperation]: Start removeDead. Operand has 363 places, 382 transitions, 804 flow [2025-03-08 21:39:18,340 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 363 places, 382 transitions, 804 flow [2025-03-08 21:39:18,341 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-08 21:39:18,341 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;@2d665cd8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-08 21:39:18,341 INFO L334 AbstractCegarLoop]: Starting to check reachability of 37 error locations. [2025-03-08 21:39:18,344 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-03-08 21:39:18,344 INFO L124 PetriNetUnfolderBase]: 0/67 cut-off events. [2025-03-08 21:39:18,344 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2025-03-08 21:39:18,344 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-08 21:39:18,344 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] [2025-03-08 21:39:18,344 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err5ASSERT_VIOLATIONDATA_RACE === [thr1Err5ASSERT_VIOLATIONDATA_RACE, thr1Err4ASSERT_VIOLATIONDATA_RACE, thr1Err2ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 33 more)] === [2025-03-08 21:39:18,345 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-08 21:39:18,345 INFO L85 PathProgramCache]: Analyzing trace with hash 1107393976, now seen corresponding path program 1 times [2025-03-08 21:39:18,345 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-08 21:39:18,345 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [664262789] [2025-03-08 21:39:18,345 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-08 21:39:18,345 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-08 21:39:18,351 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 29 statements into 1 equivalence classes. [2025-03-08 21:39:18,354 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 29 of 29 statements. [2025-03-08 21:39:18,354 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-08 21:39:18,354 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-08 21:39:18,503 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:39:18,504 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-08 21:39:18,504 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [664262789] [2025-03-08 21:39:18,504 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [664262789] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-08 21:39:18,504 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-08 21:39:18,504 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2025-03-08 21:39:18,505 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1275082785] [2025-03-08 21:39:18,505 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-08 21:39:18,505 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2025-03-08 21:39:18,505 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-08 21:39:18,505 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2025-03-08 21:39:18,505 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=15, Invalid=15, Unknown=0, NotChecked=0, Total=30 [2025-03-08 21:39:18,756 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 295 out of 382 [2025-03-08 21:39:18,758 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 363 places, 382 transitions, 804 flow. Second operand has 6 states, 6 states have (on average 296.1666666666667) internal successors, (1777), 6 states have internal predecessors, (1777), 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:39:18,759 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-08 21:39:18,759 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 295 of 382 [2025-03-08 21:39:18,759 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand