./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/no-data-race.prp --file ../../../trunk/examples/svcomp/goblint-regression/04-mutex_20-stdfun_rc.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for data races Using default analysis Version da043454 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 ../../../trunk/examples/svcomp/goblint-regression/04-mutex_20-stdfun_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 14021be990ac15ab4220d2b72ebb5203b2152775e4c1d32aaa66b7b14032d7f7 --- Real Ultimate output --- This is Ultimate 0.3.0-wip.fs.system-includes-da04345-m [2025-04-30 10:26:08,824 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-04-30 10:26:08,874 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf [2025-04-30 10:26:08,879 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-04-30 10:26:08,879 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-04-30 10:26:08,903 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-04-30 10:26:08,904 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-04-30 10:26:08,904 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-04-30 10:26:08,905 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-04-30 10:26:08,905 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-04-30 10:26:08,906 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-04-30 10:26:08,906 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-04-30 10:26:08,906 INFO L153 SettingsManager]: * Use SBE=true [2025-04-30 10:26:08,906 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * sizeof long=4 [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-04-30 10:26:08,907 INFO L153 SettingsManager]: * sizeof long double=12 [2025-04-30 10:26:08,908 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-04-30 10:26:08,908 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-04-30 10:26:08,908 INFO L153 SettingsManager]: * Use constant arrays=true [2025-04-30 10:26:08,908 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-04-30 10:26:08,908 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-30 10:26:08,908 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-30 10:26:08,909 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-30 10:26:08,909 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-04-30 10:26:08,909 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-30 10:26:08,909 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-30 10:26:08,909 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-30 10:26:08,909 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-04-30 10:26:08,909 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-04-30 10:26:08,909 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-04-30 10:26:08,909 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-04-30 10:26:08,910 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-04-30 10:26:08,910 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-04-30 10:26:08,910 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-04-30 10:26:08,910 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-04-30 10:26:08,910 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-04-30 10:26:08,910 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 -> 14021be990ac15ab4220d2b72ebb5203b2152775e4c1d32aaa66b7b14032d7f7 [2025-04-30 10:26:09,121 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-04-30 10:26:09,129 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-04-30 10:26:09,131 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-04-30 10:26:09,132 INFO L270 PluginConnector]: Initializing CDTParser... [2025-04-30 10:26:09,132 INFO L274 PluginConnector]: CDTParser initialized [2025-04-30 10:26:09,133 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/04-mutex_20-stdfun_rc.i [2025-04-30 10:26:10,407 INFO L538 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b856b78ef/19fda02feb5448adb5aa5ae9cd72645d/FLAGb44b65a1e [2025-04-30 10:26:10,644 INFO L389 CDTParser]: Found 1 translation units. [2025-04-30 10:26:10,645 INFO L178 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/04-mutex_20-stdfun_rc.i [2025-04-30 10:26:10,658 INFO L432 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b856b78ef/19fda02feb5448adb5aa5ae9cd72645d/FLAGb44b65a1e [2025-04-30 10:26:11,407 INFO L440 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b856b78ef/19fda02feb5448adb5aa5ae9cd72645d [2025-04-30 10:26:11,409 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-04-30 10:26:11,410 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-04-30 10:26:11,411 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-04-30 10:26:11,411 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-04-30 10:26:11,414 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-04-30 10:26:11,415 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,415 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1cf57c92 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11, skipping insertion in model container [2025-04-30 10:26:11,415 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,437 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-04-30 10:26:11,709 INFO L211 PostProcessor]: Analyzing one entry point: main [2025-04-30 10:26:11,713 INFO L200 MainTranslator]: Completed pre-run [2025-04-30 10:26:11,789 INFO L211 PostProcessor]: Analyzing one entry point: main [2025-04-30 10:26:11,824 INFO L204 MainTranslator]: Completed translation [2025-04-30 10:26:11,825 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11 WrapperNode [2025-04-30 10:26:11,825 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-04-30 10:26:11,826 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-04-30 10:26:11,826 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-04-30 10:26:11,826 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-04-30 10:26:11,830 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,845 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,860 INFO L138 Inliner]: procedures = 256, calls = 3, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 23 [2025-04-30 10:26:11,861 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-04-30 10:26:11,861 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-04-30 10:26:11,861 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-04-30 10:26:11,862 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-04-30 10:26:11,866 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,866 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,868 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,868 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,870 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,871 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,872 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,872 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,873 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,875 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-04-30 10:26:11,876 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2025-04-30 10:26:11,876 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2025-04-30 10:26:11,876 INFO L274 PluginConnector]: RCFGBuilder initialized [2025-04-30 10:26:11,876 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (1/1) ... [2025-04-30 10:26:11,880 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-30 10:26:11,890 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-04-30 10:26:11,914 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-04-30 10:26:11,917 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-04-30 10:26:11,938 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2025-04-30 10:26:11,938 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2025-04-30 10:26:11,938 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-04-30 10:26:11,938 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-04-30 10:26:11,939 WARN L203 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-04-30 10:26:12,030 INFO L234 CfgBuilder]: Building ICFG [2025-04-30 10:26:12,031 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2025-04-30 10:26:12,094 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-04-30 10:26:12,095 INFO L283 CfgBuilder]: Performing block encoding [2025-04-30 10:26:12,104 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-04-30 10:26:12,104 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2025-04-30 10:26:12,105 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.04 10:26:12 BoogieIcfgContainer [2025-04-30 10:26:12,105 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2025-04-30 10:26:12,107 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-04-30 10:26:12,107 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-04-30 10:26:12,110 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-04-30 10:26:12,110 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 30.04 10:26:11" (1/3) ... [2025-04-30 10:26:12,111 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3b15ad5b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 30.04 10:26:12, skipping insertion in model container [2025-04-30 10:26:12,111 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.04 10:26:11" (2/3) ... [2025-04-30 10:26:12,112 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3b15ad5b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 30.04 10:26:12, skipping insertion in model container [2025-04-30 10:26:12,112 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.04 10:26:12" (3/3) ... [2025-04-30 10:26:12,118 INFO L128 eAbstractionObserver]: Analyzing ICFG 04-mutex_20-stdfun_rc.i [2025-04-30 10:26:12,131 INFO L217 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-04-30 10:26:12,133 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG 04-mutex_20-stdfun_rc.i that has 2 procedures, 40 locations, 38 edges, 1 initial locations, 0 loop locations, and 3 error locations. [2025-04-30 10:26:12,134 INFO L490 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-04-30 10:26:12,164 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2025-04-30 10:26:12,200 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 43 places, 39 transitions, 82 flow [2025-04-30 10:26:12,224 INFO L116 PetriNetUnfolderBase]: 0/38 cut-off events. [2025-04-30 10:26:12,226 INFO L117 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-04-30 10:26:12,227 INFO L83 FinitePrefix]: Finished finitePrefix Result has 42 conditions, 38 events. 0/38 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 30 event pairs, 0 based on Foata normal form. 0/35 useless extension candidates. Maximal degree in co-relation 0. Up to 1 conditions per place. [2025-04-30 10:26:12,227 INFO L82 GeneralOperation]: Start removeDead. Operand has 43 places, 39 transitions, 82 flow [2025-04-30 10:26:12,229 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 42 places, 38 transitions, 79 flow [2025-04-30 10:26:12,238 INFO L339 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-04-30 10:26:12,248 INFO L340 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@61769f7e, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-04-30 10:26:12,248 INFO L341 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2025-04-30 10:26:12,256 INFO L177 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-04-30 10:26:12,256 INFO L116 PetriNetUnfolderBase]: 0/15 cut-off events. [2025-04-30 10:26:12,256 INFO L117 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-04-30 10:26:12,258 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-30 10:26:12,258 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-30 10:26:12,259 INFO L403 AbstractCegarLoop]: === Iteration 1 === Targeting t_funErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, t_funErr0ASSERT_VIOLATIONDATA_RACE (and 3 more)] === [2025-04-30 10:26:12,263 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-30 10:26:12,263 INFO L85 PathProgramCache]: Analyzing trace with hash -339015500, now seen corresponding path program 1 times [2025-04-30 10:26:12,269 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-30 10:26:12,270 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1871481584] [2025-04-30 10:26:12,270 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-30 10:26:12,271 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-30 10:26:12,343 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 13 statements into 1 equivalence classes. [2025-04-30 10:26:12,351 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 13 of 13 statements. [2025-04-30 10:26:12,352 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-30 10:26:12,352 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-30 10:26:12,411 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-04-30 10:26:12,412 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-30 10:26:12,412 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1871481584] [2025-04-30 10:26:12,413 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1871481584] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-30 10:26:12,413 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-30 10:26:12,413 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-30 10:26:12,414 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1757316165] [2025-04-30 10:26:12,414 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-30 10:26:12,419 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-04-30 10:26:12,422 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-30 10:26:12,438 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-04-30 10:26:12,439 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-04-30 10:26:12,468 INFO L464 CegarLoopForPetriNet]: Number of universal loopers: 33 out of 39 [2025-04-30 10:26:12,471 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 42 places, 38 transitions, 79 flow. Second operand has 3 states, 3 states have (on average 34.0) internal successors, (102), 3 states have internal predecessors, (102), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-04-30 10:26:12,471 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-04-30 10:26:12,471 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 33 of 39 [2025-04-30 10:26:12,472 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-04-30 10:26:12,492 INFO L116 PetriNetUnfolderBase]: 3/73 cut-off events. [2025-04-30 10:26:12,494 INFO L117 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2025-04-30 10:26:12,495 INFO L83 FinitePrefix]: Finished finitePrefix Result has 92 conditions, 73 events. 3/73 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 205 event pairs, 1 based on Foata normal form. 0/66 useless extension candidates. Maximal degree in co-relation 76. Up to 10 conditions per place. [2025-04-30 10:26:12,496 INFO L140 encePairwiseOnDemand]: 34/39 looper letters, 5 selfloop transitions, 4 changer transitions 0/41 dead transitions. [2025-04-30 10:26:12,496 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 41 transitions, 103 flow [2025-04-30 10:26:12,498 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-04-30 10:26:12,500 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-04-30 10:26:12,506 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 109 transitions. [2025-04-30 10:26:12,508 INFO L509 CegarLoopForPetriNet]: DFA transition density 0.9316239316239316 [2025-04-30 10:26:12,510 INFO L175 Difference]: Start difference. First operand has 42 places, 38 transitions, 79 flow. Second operand 3 states and 109 transitions. [2025-04-30 10:26:12,511 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 41 transitions, 103 flow [2025-04-30 10:26:12,513 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 43 places, 41 transitions, 102 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-04-30 10:26:12,518 INFO L231 Difference]: Finished difference. Result has 45 places, 41 transitions, 108 flow [2025-04-30 10:26:12,519 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=39, PETRI_DIFFERENCE_MINUEND_FLOW=78, PETRI_DIFFERENCE_MINUEND_PLACES=41, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=38, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=34, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=108, PETRI_PLACES=45, PETRI_TRANSITIONS=41} [2025-04-30 10:26:12,524 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 3 predicate places. [2025-04-30 10:26:12,524 INFO L485 AbstractCegarLoop]: Abstraction has has 45 places, 41 transitions, 108 flow [2025-04-30 10:26:12,525 INFO L486 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 34.0) internal successors, (102), 3 states have internal predecessors, (102), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-04-30 10:26:12,525 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-30 10:26:12,525 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-30 10:26:12,525 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-04-30 10:26:12,525 INFO L403 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, t_funErr0ASSERT_VIOLATIONDATA_RACE (and 3 more)] === [2025-04-30 10:26:12,528 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-30 10:26:12,528 INFO L85 PathProgramCache]: Analyzing trace with hash -1557886439, now seen corresponding path program 1 times [2025-04-30 10:26:12,528 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-30 10:26:12,528 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [172092902] [2025-04-30 10:26:12,528 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-30 10:26:12,528 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-30 10:26:12,544 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 17 statements into 1 equivalence classes. [2025-04-30 10:26:12,551 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 17 of 17 statements. [2025-04-30 10:26:12,552 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-30 10:26:12,552 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-30 10:26:12,593 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-04-30 10:26:12,593 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-30 10:26:12,593 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [172092902] [2025-04-30 10:26:12,593 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [172092902] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-30 10:26:12,594 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-30 10:26:12,594 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-30 10:26:12,596 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1591697059] [2025-04-30 10:26:12,598 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-30 10:26:12,599 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-04-30 10:26:12,599 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-30 10:26:12,600 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-04-30 10:26:12,600 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-04-30 10:26:12,623 INFO L464 CegarLoopForPetriNet]: Number of universal loopers: 29 out of 39 [2025-04-30 10:26:12,624 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 45 places, 41 transitions, 108 flow. Second operand has 3 states, 3 states have (on average 30.666666666666668) internal successors, (92), 3 states have internal predecessors, (92), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-04-30 10:26:12,624 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-04-30 10:26:12,624 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 29 of 39 [2025-04-30 10:26:12,624 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-04-30 10:26:12,648 INFO L116 PetriNetUnfolderBase]: 19/132 cut-off events. [2025-04-30 10:26:12,648 INFO L117 PetriNetUnfolderBase]: For 59/65 co-relation queries the response was YES. [2025-04-30 10:26:12,648 INFO L83 FinitePrefix]: Finished finitePrefix Result has 244 conditions, 132 events. 19/132 cut-off events. For 59/65 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 546 event pairs, 5 based on Foata normal form. 4/126 useless extension candidates. Maximal degree in co-relation 226. Up to 42 conditions per place. [2025-04-30 10:26:12,649 INFO L140 encePairwiseOnDemand]: 33/39 looper letters, 10 selfloop transitions, 7 changer transitions 0/46 dead transitions. [2025-04-30 10:26:12,649 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 47 places, 46 transitions, 162 flow [2025-04-30 10:26:12,649 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-04-30 10:26:12,649 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-04-30 10:26:12,650 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 102 transitions. [2025-04-30 10:26:12,650 INFO L509 CegarLoopForPetriNet]: DFA transition density 0.8717948717948718 [2025-04-30 10:26:12,650 INFO L175 Difference]: Start difference. First operand has 45 places, 41 transitions, 108 flow. Second operand 3 states and 102 transitions. [2025-04-30 10:26:12,650 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 47 places, 46 transitions, 162 flow [2025-04-30 10:26:12,651 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 45 places, 46 transitions, 150 flow, removed 0 selfloop flow, removed 2 redundant places. [2025-04-30 10:26:12,651 INFO L231 Difference]: Finished difference. Result has 47 places, 46 transitions, 156 flow [2025-04-30 10:26:12,652 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=39, PETRI_DIFFERENCE_MINUEND_FLOW=100, PETRI_DIFFERENCE_MINUEND_PLACES=43, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=41, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=34, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=156, PETRI_PLACES=47, PETRI_TRANSITIONS=46} [2025-04-30 10:26:12,652 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 5 predicate places. [2025-04-30 10:26:12,652 INFO L485 AbstractCegarLoop]: Abstraction has has 47 places, 46 transitions, 156 flow [2025-04-30 10:26:12,652 INFO L486 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 30.666666666666668) internal successors, (92), 3 states have internal predecessors, (92), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-04-30 10:26:12,652 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-30 10:26:12,652 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-30 10:26:12,652 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-04-30 10:26:12,653 INFO L403 AbstractCegarLoop]: === Iteration 3 === Targeting t_funErr1ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, t_funErr0ASSERT_VIOLATIONDATA_RACE (and 3 more)] === [2025-04-30 10:26:12,653 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-30 10:26:12,653 INFO L85 PathProgramCache]: Analyzing trace with hash -1994117449, now seen corresponding path program 1 times [2025-04-30 10:26:12,653 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-30 10:26:12,653 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1795579464] [2025-04-30 10:26:12,653 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-30 10:26:12,653 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-30 10:26:12,660 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 17 statements into 1 equivalence classes. [2025-04-30 10:26:12,664 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 17 of 17 statements. [2025-04-30 10:26:12,664 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-30 10:26:12,664 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-30 10:26:12,682 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-04-30 10:26:12,682 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-30 10:26:12,682 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1795579464] [2025-04-30 10:26:12,682 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1795579464] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-30 10:26:12,682 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-30 10:26:12,682 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-30 10:26:12,683 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [599624244] [2025-04-30 10:26:12,683 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-30 10:26:12,683 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-04-30 10:26:12,683 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-30 10:26:12,683 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-04-30 10:26:12,683 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-04-30 10:26:12,696 INFO L464 CegarLoopForPetriNet]: Number of universal loopers: 31 out of 39 [2025-04-30 10:26:12,696 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 47 places, 46 transitions, 156 flow. Second operand has 3 states, 3 states have (on average 32.666666666666664) internal successors, (98), 3 states have internal predecessors, (98), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-04-30 10:26:12,696 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-04-30 10:26:12,696 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 31 of 39 [2025-04-30 10:26:12,696 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-04-30 10:26:12,722 INFO L116 PetriNetUnfolderBase]: 16/137 cut-off events. [2025-04-30 10:26:12,723 INFO L117 PetriNetUnfolderBase]: For 87/100 co-relation queries the response was YES. [2025-04-30 10:26:12,723 INFO L83 FinitePrefix]: Finished finitePrefix Result has 282 conditions, 137 events. 16/137 cut-off events. For 87/100 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 590 event pairs, 2 based on Foata normal form. 1/132 useless extension candidates. Maximal degree in co-relation 264. Up to 29 conditions per place. [2025-04-30 10:26:12,723 INFO L140 encePairwiseOnDemand]: 34/39 looper letters, 8 selfloop transitions, 5 changer transitions 5/49 dead transitions. [2025-04-30 10:26:12,724 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 49 places, 49 transitions, 200 flow [2025-04-30 10:26:12,724 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-04-30 10:26:12,724 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-04-30 10:26:12,724 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 105 transitions. [2025-04-30 10:26:12,725 INFO L509 CegarLoopForPetriNet]: DFA transition density 0.8974358974358975 [2025-04-30 10:26:12,725 INFO L175 Difference]: Start difference. First operand has 47 places, 46 transitions, 156 flow. Second operand 3 states and 105 transitions. [2025-04-30 10:26:12,725 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 49 places, 49 transitions, 200 flow [2025-04-30 10:26:12,726 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 49 transitions, 184 flow, removed 0 selfloop flow, removed 2 redundant places. [2025-04-30 10:26:12,727 INFO L231 Difference]: Finished difference. Result has 49 places, 44 transitions, 160 flow [2025-04-30 10:26:12,727 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=39, PETRI_DIFFERENCE_MINUEND_FLOW=142, PETRI_DIFFERENCE_MINUEND_PLACES=45, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=46, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=41, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=160, PETRI_PLACES=49, PETRI_TRANSITIONS=44} [2025-04-30 10:26:12,727 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 7 predicate places. [2025-04-30 10:26:12,727 INFO L485 AbstractCegarLoop]: Abstraction has has 49 places, 44 transitions, 160 flow [2025-04-30 10:26:12,727 INFO L486 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 32.666666666666664) internal successors, (98), 3 states have internal predecessors, (98), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-04-30 10:26:12,728 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-30 10:26:12,728 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-30 10:26:12,728 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2025-04-30 10:26:12,728 INFO L403 AbstractCegarLoop]: === Iteration 4 === Targeting t_funErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, t_funErr0ASSERT_VIOLATIONDATA_RACE (and 3 more)] === [2025-04-30 10:26:12,728 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-30 10:26:12,728 INFO L85 PathProgramCache]: Analyzing trace with hash 1189439505, now seen corresponding path program 1 times [2025-04-30 10:26:12,728 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-30 10:26:12,728 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1776534664] [2025-04-30 10:26:12,729 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-30 10:26:12,729 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-30 10:26:12,735 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 19 statements into 1 equivalence classes. [2025-04-30 10:26:12,739 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 19 of 19 statements. [2025-04-30 10:26:12,739 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-30 10:26:12,739 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-04-30 10:26:12,739 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-04-30 10:26:12,741 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 19 statements into 1 equivalence classes. [2025-04-30 10:26:12,743 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 19 of 19 statements. [2025-04-30 10:26:12,743 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-30 10:26:12,743 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-04-30 10:26:12,754 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-04-30 10:26:12,754 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-04-30 10:26:12,754 INFO L790 garLoopResultBuilder]: Registering result UNSAFE for location t_funErr0ASSERT_VIOLATIONDATA_RACE (5 of 6 remaining) [2025-04-30 10:26:12,755 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (4 of 6 remaining) [2025-04-30 10:26:12,756 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 6 remaining) [2025-04-30 10:26:12,756 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr0ASSERT_VIOLATIONDATA_RACE (2 of 6 remaining) [2025-04-30 10:26:12,756 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr1ASSERT_VIOLATIONDATA_RACE (1 of 6 remaining) [2025-04-30 10:26:12,756 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr1ASSERT_VIOLATIONDATA_RACE (0 of 6 remaining) [2025-04-30 10:26:12,756 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2025-04-30 10:26:12,756 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2025-04-30 10:26:12,777 INFO L242 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-04-30 10:26:12,777 INFO L171 ceAbstractionStarter]: Computing trace abstraction results [2025-04-30 10:26:12,780 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 30.04 10:26:12 BasicIcfg [2025-04-30 10:26:12,780 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-04-30 10:26:12,780 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-04-30 10:26:12,781 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-04-30 10:26:12,781 INFO L274 PluginConnector]: Witness Printer initialized [2025-04-30 10:26:12,781 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.04 10:26:12" (3/4) ... [2025-04-30 10:26:12,782 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2025-04-30 10:26:12,813 INFO L127 tionWitnessGenerator]: Generated YAML witness of length 1. [2025-04-30 10:26:12,839 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-04-30 10:26:12,840 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2025-04-30 10:26:12,840 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-04-30 10:26:12,840 INFO L158 Benchmark]: Toolchain (without parser) took 1430.11ms. Allocated memory is still 201.3MB. Free memory was 158.2MB in the beginning and 61.5MB in the end (delta: 96.6MB). Peak memory consumption was 92.3MB. Max. memory is 16.1GB. [2025-04-30 10:26:12,841 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 201.3MB. Free memory is still 117.4MB. There was no memory consumed. Max. memory is 16.1GB. [2025-04-30 10:26:12,841 INFO L158 Benchmark]: CACSL2BoogieTranslator took 414.04ms. Allocated memory is still 201.3MB. Free memory was 158.2MB in the beginning and 129.1MB in the end (delta: 29.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-04-30 10:26:12,841 INFO L158 Benchmark]: Boogie Procedure Inliner took 35.36ms. Allocated memory is still 201.3MB. Free memory was 129.1MB in the beginning and 127.1MB in the end (delta: 2.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-30 10:26:12,841 INFO L158 Benchmark]: Boogie Preprocessor took 13.66ms. Allocated memory is still 201.3MB. Free memory was 127.1MB in the beginning and 126.3MB in the end (delta: 850.7kB). There was no memory consumed. Max. memory is 16.1GB. [2025-04-30 10:26:12,841 INFO L158 Benchmark]: RCFGBuilder took 229.60ms. Allocated memory is still 201.3MB. Free memory was 126.0MB in the beginning and 114.7MB in the end (delta: 11.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-30 10:26:12,842 INFO L158 Benchmark]: TraceAbstraction took 673.19ms. Allocated memory is still 201.3MB. Free memory was 113.9MB in the beginning and 67.1MB in the end (delta: 46.8MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. [2025-04-30 10:26:12,842 INFO L158 Benchmark]: Witness Printer took 59.32ms. Allocated memory is still 201.3MB. Free memory was 67.1MB in the beginning and 61.5MB in the end (delta: 5.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-30 10:26:12,843 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.13ms. Allocated memory is still 201.3MB. Free memory is still 117.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 414.04ms. Allocated memory is still 201.3MB. Free memory was 158.2MB in the beginning and 129.1MB in the end (delta: 29.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 35.36ms. Allocated memory is still 201.3MB. Free memory was 129.1MB in the beginning and 127.1MB in the end (delta: 2.0MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 13.66ms. Allocated memory is still 201.3MB. Free memory was 127.1MB in the beginning and 126.3MB in the end (delta: 850.7kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 229.60ms. Allocated memory is still 201.3MB. Free memory was 126.0MB in the beginning and 114.7MB in the end (delta: 11.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * TraceAbstraction took 673.19ms. Allocated memory is still 201.3MB. Free memory was 113.9MB in the beginning and 67.1MB in the end (delta: 46.8MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. * Witness Printer took 59.32ms. Allocated memory is still 201.3MB. Free memory was 67.1MB in the beginning and 61.5MB in the end (delta: 5.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - DataRaceFoundResult [Line: 919]: Data race detected Data race detected The following path leads to a data race: [L917] 0 int myglobal; VAL [myglobal=0] [L923] 0 pthread_t id; VAL [myglobal=0] [L924] FCALL, FORK 0 pthread_create(&id, ((void *)0), t_fun, ((void *)0)) VAL [\at(arg, Pre)={0:0}, id=-1, myglobal=0] [L919] 1 myglobal+1 VAL [\at(arg, Pre)={0:0}, arg={0:0}, myglobal=0] [L919] 1 myglobal+1 VAL [\at(arg, Pre)={0:0}, arg={0:0}, myglobal=0] Now there is a data race on ~myglobal~0 between C: scanf("%d", &myglobal) [925] and C: myglobal+1 [919] - UnprovableResult [Line: 925]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 924]: 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: 919]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 54 locations, 52 edges, 6 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 0.6s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.2s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 59 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 12 mSDsluCounter, 21 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 60 IncrementalHoareTripleChecker+Invalid, 63 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 21 mSDtfsCounter, 60 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 6 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=160occurred in iteration=3, InterpolantAutomatonStates: 9, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 66 NumberOfCodeBlocks, 66 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 44 ConstructedInterpolants, 0 QuantifiedInterpolants, 50 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 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-04-30 10:26:12,855 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)