./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/no-data-race.prp --file ../../../trunk/examples/svcomp/goblint-regression/04-mutex_20-stdfun_rc.c --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.c -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 4d52250703906ce0df99088915fecaf1c85dd61c9c2804930b60f620b64dfa32 --- Real Ultimate output --- This is Ultimate 0.3.0-wip.fs.system-includes-da04345-m [2025-04-29 11:07:58,892 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-04-29 11:07:58,945 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf [2025-04-29 11:07:58,950 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-04-29 11:07:58,952 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-04-29 11:07:58,972 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-04-29 11:07:58,973 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-04-29 11:07:58,974 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-04-29 11:07:58,974 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-04-29 11:07:58,974 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-04-29 11:07:58,975 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-04-29 11:07:58,975 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-04-29 11:07:58,975 INFO L153 SettingsManager]: * Use SBE=true [2025-04-29 11:07:58,975 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-04-29 11:07:58,975 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-04-29 11:07:58,975 INFO L153 SettingsManager]: * sizeof long=4 [2025-04-29 11:07:58,976 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-04-29 11:07:58,976 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-04-29 11:07:58,976 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-04-29 11:07:58,976 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-04-29 11:07:58,976 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-04-29 11:07:58,976 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-04-29 11:07:58,976 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2025-04-29 11:07:58,976 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-04-29 11:07:58,976 INFO L153 SettingsManager]: * sizeof long double=12 [2025-04-29 11:07:58,977 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-04-29 11:07:58,977 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-04-29 11:07:58,977 INFO L153 SettingsManager]: * Use constant arrays=true [2025-04-29 11:07:58,977 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-04-29 11:07:58,977 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-29 11:07:58,977 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-29 11:07:58,977 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-29 11:07:58,977 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-04-29 11:07:58,977 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-29 11:07:58,978 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-29 11:07:58,978 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-29 11:07:58,978 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-04-29 11:07:58,978 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-04-29 11:07:58,978 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-04-29 11:07:58,978 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-04-29 11:07:58,978 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-04-29 11:07:58,978 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-04-29 11:07:58,978 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-04-29 11:07:58,978 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-04-29 11:07:58,978 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-04-29 11:07:58,979 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 -> 4d52250703906ce0df99088915fecaf1c85dd61c9c2804930b60f620b64dfa32 [2025-04-29 11:07:59,227 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-04-29 11:07:59,234 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-04-29 11:07:59,235 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-04-29 11:07:59,237 INFO L270 PluginConnector]: Initializing CDTParser... [2025-04-29 11:07:59,238 INFO L274 PluginConnector]: CDTParser initialized [2025-04-29 11:07:59,239 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.c [2025-04-29 11:08:00,581 INFO L538 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/14a27a032/8a968dc71be64845a6d054237c9899b0/FLAGcb3e65ccb [2025-04-29 11:08:00,757 INFO L389 CDTParser]: Found 1 translation units. [2025-04-29 11:08:00,757 INFO L178 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/04-mutex_20-stdfun_rc.c [2025-04-29 11:08:00,760 WARN L117 ultiparseSymbolTable]: System include pthread.h could not be resolved by CDT -- only built-in system includes are available. [2025-04-29 11:08:00,760 WARN L117 ultiparseSymbolTable]: System include stdio.h could not be resolved by CDT -- only built-in system includes are available. [2025-04-29 11:08:00,765 INFO L432 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/14a27a032/8a968dc71be64845a6d054237c9899b0/FLAGcb3e65ccb [2025-04-29 11:08:01,731 INFO L440 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/14a27a032/8a968dc71be64845a6d054237c9899b0 [2025-04-29 11:08:01,734 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-04-29 11:08:01,735 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-04-29 11:08:01,736 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-04-29 11:08:01,736 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-04-29 11:08:01,740 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-04-29 11:08:01,740 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,741 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@26f636f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01, skipping insertion in model container [2025-04-29 11:08:01,742 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,753 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-04-29 11:08:01,903 INFO L211 PostProcessor]: Analyzing one entry point: main [2025-04-29 11:08:01,909 INFO L200 MainTranslator]: Completed pre-run [2025-04-29 11:08:01,926 INFO L211 PostProcessor]: Analyzing one entry point: main [2025-04-29 11:08:01,938 INFO L204 MainTranslator]: Completed translation [2025-04-29 11:08:01,939 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01 WrapperNode [2025-04-29 11:08:01,939 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-04-29 11:08:01,940 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-04-29 11:08:01,940 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-04-29 11:08:01,940 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-04-29 11:08:01,945 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,950 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,963 INFO L138 Inliner]: procedures = 5, calls = 3, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 23 [2025-04-29 11:08:01,963 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-04-29 11:08:01,964 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-04-29 11:08:01,964 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-04-29 11:08:01,964 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-04-29 11:08:01,968 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,969 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,970 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,970 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,971 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,972 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,973 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,973 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,973 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,975 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-04-29 11:08:01,976 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2025-04-29 11:08:01,976 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2025-04-29 11:08:01,976 INFO L274 PluginConnector]: RCFGBuilder initialized [2025-04-29 11:08:01,978 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (1/1) ... [2025-04-29 11:08:01,981 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-29 11:08:01,992 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-04-29 11:08:02,010 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-29 11:08:02,011 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-29 11:08:02,026 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-04-29 11:08:02,026 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-04-29 11:08:02,026 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2025-04-29 11:08:02,026 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2025-04-29 11:08:02,027 WARN L203 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-04-29 11:08:02,069 INFO L234 CfgBuilder]: Building ICFG [2025-04-29 11:08:02,070 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2025-04-29 11:08:02,129 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-04-29 11:08:02,129 INFO L283 CfgBuilder]: Performing block encoding [2025-04-29 11:08:02,135 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-04-29 11:08:02,135 INFO L312 CfgBuilder]: Removed 0 assume(true) statements. [2025-04-29 11:08:02,136 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.04 11:08:02 BoogieIcfgContainer [2025-04-29 11:08:02,136 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2025-04-29 11:08:02,138 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-04-29 11:08:02,138 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-04-29 11:08:02,141 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-04-29 11:08:02,141 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.04 11:08:01" (1/3) ... [2025-04-29 11:08:02,142 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3c070644 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.04 11:08:02, skipping insertion in model container [2025-04-29 11:08:02,143 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:08:01" (2/3) ... [2025-04-29 11:08:02,143 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3c070644 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.04 11:08:02, skipping insertion in model container [2025-04-29 11:08:02,143 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.04 11:08:02" (3/3) ... [2025-04-29 11:08:02,144 INFO L128 eAbstractionObserver]: Analyzing ICFG 04-mutex_20-stdfun_rc.c [2025-04-29 11:08:02,156 INFO L217 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-04-29 11:08:02,158 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG 04-mutex_20-stdfun_rc.c that has 2 procedures, 40 locations, 38 edges, 1 initial locations, 0 loop locations, and 3 error locations. [2025-04-29 11:08:02,158 INFO L490 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-04-29 11:08:02,191 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2025-04-29 11:08:02,218 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 43 places, 39 transitions, 82 flow [2025-04-29 11:08:02,241 INFO L116 PetriNetUnfolderBase]: 0/38 cut-off events. [2025-04-29 11:08:02,242 INFO L117 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-04-29 11:08:02,244 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 29 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-29 11:08:02,244 INFO L82 GeneralOperation]: Start removeDead. Operand has 43 places, 39 transitions, 82 flow [2025-04-29 11:08:02,247 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 42 places, 38 transitions, 79 flow [2025-04-29 11:08:02,253 INFO L339 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-04-29 11:08:02,260 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;@3d85de1a, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-04-29 11:08:02,260 INFO L341 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2025-04-29 11:08:02,269 INFO L177 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-04-29 11:08:02,269 INFO L116 PetriNetUnfolderBase]: 0/15 cut-off events. [2025-04-29 11:08:02,269 INFO L117 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-04-29 11:08:02,270 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-29 11:08:02,270 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-29 11:08:02,270 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-29 11:08:02,274 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 11:08:02,275 INFO L85 PathProgramCache]: Analyzing trace with hash -1372380722, now seen corresponding path program 1 times [2025-04-29 11:08:02,280 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 11:08:02,280 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [862191106] [2025-04-29 11:08:02,280 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 11:08:02,281 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 11:08:02,325 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 13 statements into 1 equivalence classes. [2025-04-29 11:08:02,332 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 13 of 13 statements. [2025-04-29 11:08:02,332 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 11:08:02,332 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-29 11:08:02,392 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-29 11:08:02,392 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-29 11:08:02,392 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [862191106] [2025-04-29 11:08:02,393 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [862191106] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-29 11:08:02,393 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-29 11:08:02,393 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-29 11:08:02,395 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [26747932] [2025-04-29 11:08:02,396 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-29 11:08:02,401 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-04-29 11:08:02,403 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-29 11:08:02,419 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-04-29 11:08:02,419 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-04-29 11:08:02,448 INFO L464 CegarLoopForPetriNet]: Number of universal loopers: 33 out of 39 [2025-04-29 11:08:02,450 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-29 11:08:02,450 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-04-29 11:08:02,450 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 33 of 39 [2025-04-29 11:08:02,451 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-04-29 11:08:02,471 INFO L116 PetriNetUnfolderBase]: 3/73 cut-off events. [2025-04-29 11:08:02,471 INFO L117 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2025-04-29 11:08:02,472 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 195 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-29 11:08:02,473 INFO L140 encePairwiseOnDemand]: 34/39 looper letters, 5 selfloop transitions, 4 changer transitions 0/41 dead transitions. [2025-04-29 11:08:02,473 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 41 transitions, 103 flow [2025-04-29 11:08:02,474 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-04-29 11:08:02,476 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-04-29 11:08:02,483 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 109 transitions. [2025-04-29 11:08:02,485 INFO L509 CegarLoopForPetriNet]: DFA transition density 0.9316239316239316 [2025-04-29 11:08:02,486 INFO L175 Difference]: Start difference. First operand has 42 places, 38 transitions, 79 flow. Second operand 3 states and 109 transitions. [2025-04-29 11:08:02,486 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 41 transitions, 103 flow [2025-04-29 11:08:02,489 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 43 places, 41 transitions, 102 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-04-29 11:08:02,491 INFO L231 Difference]: Finished difference. Result has 45 places, 41 transitions, 108 flow [2025-04-29 11:08:02,493 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-29 11:08:02,495 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 3 predicate places. [2025-04-29 11:08:02,497 INFO L485 AbstractCegarLoop]: Abstraction has has 45 places, 41 transitions, 108 flow [2025-04-29 11:08:02,497 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-29 11:08:02,497 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-29 11:08:02,497 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-29 11:08:02,498 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-04-29 11:08:02,499 INFO L403 AbstractCegarLoop]: === Iteration 2 === Targeting t_funErr1ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, t_funErr0ASSERT_VIOLATIONDATA_RACE (and 3 more)] === [2025-04-29 11:08:02,499 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 11:08:02,499 INFO L85 PathProgramCache]: Analyzing trace with hash 960899793, now seen corresponding path program 1 times [2025-04-29 11:08:02,499 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 11:08:02,499 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1746500827] [2025-04-29 11:08:02,500 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 11:08:02,500 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 11:08:02,508 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 17 statements into 1 equivalence classes. [2025-04-29 11:08:02,514 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 17 of 17 statements. [2025-04-29 11:08:02,514 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 11:08:02,514 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-29 11:08:02,533 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-29 11:08:02,533 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-29 11:08:02,533 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1746500827] [2025-04-29 11:08:02,533 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1746500827] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-29 11:08:02,533 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-29 11:08:02,533 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-29 11:08:02,533 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1887278083] [2025-04-29 11:08:02,533 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-29 11:08:02,534 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-04-29 11:08:02,534 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-29 11:08:02,534 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-04-29 11:08:02,534 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-04-29 11:08:02,553 INFO L464 CegarLoopForPetriNet]: Number of universal loopers: 31 out of 39 [2025-04-29 11:08:02,553 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 45 places, 41 transitions, 108 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-29 11:08:02,553 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-04-29 11:08:02,553 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 31 of 39 [2025-04-29 11:08:02,553 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-04-29 11:08:02,581 INFO L116 PetriNetUnfolderBase]: 6/98 cut-off events. [2025-04-29 11:08:02,581 INFO L117 PetriNetUnfolderBase]: For 17/21 co-relation queries the response was YES. [2025-04-29 11:08:02,581 INFO L83 FinitePrefix]: Finished finitePrefix Result has 151 conditions, 98 events. 6/98 cut-off events. For 17/21 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 343 event pairs, 2 based on Foata normal form. 0/90 useless extension candidates. Maximal degree in co-relation 134. Up to 18 conditions per place. [2025-04-29 11:08:02,583 INFO L140 encePairwiseOnDemand]: 34/39 looper letters, 8 selfloop transitions, 5 changer transitions 0/44 dead transitions. [2025-04-29 11:08:02,583 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 47 places, 44 transitions, 142 flow [2025-04-29 11:08:02,583 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-04-29 11:08:02,583 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-04-29 11:08:02,584 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 105 transitions. [2025-04-29 11:08:02,585 INFO L509 CegarLoopForPetriNet]: DFA transition density 0.8974358974358975 [2025-04-29 11:08:02,585 INFO L175 Difference]: Start difference. First operand has 45 places, 41 transitions, 108 flow. Second operand 3 states and 105 transitions. [2025-04-29 11:08:02,585 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 47 places, 44 transitions, 142 flow [2025-04-29 11:08:02,585 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 45 places, 44 transitions, 134 flow, removed 0 selfloop flow, removed 2 redundant places. [2025-04-29 11:08:02,586 INFO L231 Difference]: Finished difference. Result has 47 places, 44 transitions, 136 flow [2025-04-29 11:08:02,586 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=36, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=136, PETRI_PLACES=47, PETRI_TRANSITIONS=44} [2025-04-29 11:08:02,587 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 5 predicate places. [2025-04-29 11:08:02,587 INFO L485 AbstractCegarLoop]: Abstraction has has 47 places, 44 transitions, 136 flow [2025-04-29 11:08:02,587 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-29 11:08:02,587 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-29 11:08:02,587 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-29 11:08:02,587 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-04-29 11:08:02,587 INFO L403 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, t_funErr0ASSERT_VIOLATIONDATA_RACE (and 3 more)] === [2025-04-29 11:08:02,588 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 11:08:02,588 INFO L85 PathProgramCache]: Analyzing trace with hash -420664734, now seen corresponding path program 1 times [2025-04-29 11:08:02,589 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 11:08:02,589 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1177950981] [2025-04-29 11:08:02,589 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 11:08:02,589 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 11:08:02,596 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 17 statements into 1 equivalence classes. [2025-04-29 11:08:02,599 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 17 of 17 statements. [2025-04-29 11:08:02,600 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 11:08:02,600 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-29 11:08:02,621 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-29 11:08:02,621 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-29 11:08:02,621 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1177950981] [2025-04-29 11:08:02,621 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1177950981] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-29 11:08:02,621 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-29 11:08:02,621 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-29 11:08:02,621 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2086153435] [2025-04-29 11:08:02,621 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-29 11:08:02,622 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-04-29 11:08:02,622 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-29 11:08:02,622 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-04-29 11:08:02,623 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-04-29 11:08:02,657 INFO L464 CegarLoopForPetriNet]: Number of universal loopers: 29 out of 39 [2025-04-29 11:08:02,657 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 47 places, 44 transitions, 136 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-29 11:08:02,657 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-04-29 11:08:02,657 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 29 of 39 [2025-04-29 11:08:02,657 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-04-29 11:08:02,694 INFO L116 PetriNetUnfolderBase]: 22/160 cut-off events. [2025-04-29 11:08:02,694 INFO L117 PetriNetUnfolderBase]: For 120/126 co-relation queries the response was YES. [2025-04-29 11:08:02,695 INFO L83 FinitePrefix]: Finished finitePrefix Result has 326 conditions, 160 events. 22/160 cut-off events. For 120/126 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 695 event pairs, 6 based on Foata normal form. 4/157 useless extension candidates. Maximal degree in co-relation 307. Up to 48 conditions per place. [2025-04-29 11:08:02,695 INFO L140 encePairwiseOnDemand]: 33/39 looper letters, 8 selfloop transitions, 7 changer transitions 5/49 dead transitions. [2025-04-29 11:08:02,695 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 49 places, 49 transitions, 196 flow [2025-04-29 11:08:02,696 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-04-29 11:08:02,697 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-04-29 11:08:02,697 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 102 transitions. [2025-04-29 11:08:02,697 INFO L509 CegarLoopForPetriNet]: DFA transition density 0.8717948717948718 [2025-04-29 11:08:02,697 INFO L175 Difference]: Start difference. First operand has 47 places, 44 transitions, 136 flow. Second operand 3 states and 102 transitions. [2025-04-29 11:08:02,697 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 49 places, 49 transitions, 196 flow [2025-04-29 11:08:02,699 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 49 transitions, 180 flow, removed 1 selfloop flow, removed 2 redundant places. [2025-04-29 11:08:02,700 INFO L231 Difference]: Finished difference. Result has 49 places, 44 transitions, 162 flow [2025-04-29 11:08:02,700 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=39, PETRI_DIFFERENCE_MINUEND_FLOW=124, PETRI_DIFFERENCE_MINUEND_PLACES=45, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=44, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=5, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=37, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=162, PETRI_PLACES=49, PETRI_TRANSITIONS=44} [2025-04-29 11:08:02,700 INFO L279 CegarLoopForPetriNet]: 42 programPoint places, 7 predicate places. [2025-04-29 11:08:02,700 INFO L485 AbstractCegarLoop]: Abstraction has has 49 places, 44 transitions, 162 flow [2025-04-29 11:08:02,701 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-29 11:08:02,701 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-29 11:08:02,701 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-29 11:08:02,701 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2025-04-29 11:08:02,701 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-29 11:08:02,702 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 11:08:02,702 INFO L85 PathProgramCache]: Analyzing trace with hash -531279125, now seen corresponding path program 1 times [2025-04-29 11:08:02,702 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 11:08:02,702 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1882819522] [2025-04-29 11:08:02,702 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 11:08:02,702 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 11:08:02,706 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 19 statements into 1 equivalence classes. [2025-04-29 11:08:02,710 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 19 of 19 statements. [2025-04-29 11:08:02,710 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 11:08:02,710 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-04-29 11:08:02,710 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-04-29 11:08:02,711 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 19 statements into 1 equivalence classes. [2025-04-29 11:08:02,713 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 19 of 19 statements. [2025-04-29 11:08:02,713 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 11:08:02,713 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-04-29 11:08:02,723 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-04-29 11:08:02,723 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-04-29 11:08:02,724 INFO L790 garLoopResultBuilder]: Registering result UNSAFE for location t_funErr0ASSERT_VIOLATIONDATA_RACE (5 of 6 remaining) [2025-04-29 11:08:02,725 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (4 of 6 remaining) [2025-04-29 11:08:02,725 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 6 remaining) [2025-04-29 11:08:02,725 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr0ASSERT_VIOLATIONDATA_RACE (2 of 6 remaining) [2025-04-29 11:08:02,725 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr1ASSERT_VIOLATIONDATA_RACE (1 of 6 remaining) [2025-04-29 11:08:02,725 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr1ASSERT_VIOLATIONDATA_RACE (0 of 6 remaining) [2025-04-29 11:08:02,725 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2025-04-29 11:08:02,725 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2025-04-29 11:08:02,744 INFO L242 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-04-29 11:08:02,744 INFO L171 ceAbstractionStarter]: Computing trace abstraction results [2025-04-29 11:08:02,747 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 29.04 11:08:02 BasicIcfg [2025-04-29 11:08:02,747 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-04-29 11:08:02,747 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-04-29 11:08:02,747 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-04-29 11:08:02,747 INFO L274 PluginConnector]: Witness Printer initialized [2025-04-29 11:08:02,748 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.04 11:08:02" (3/4) ... [2025-04-29 11:08:02,748 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2025-04-29 11:08:02,772 INFO L127 tionWitnessGenerator]: Generated YAML witness of length 1. [2025-04-29 11:08:02,812 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-04-29 11:08:02,812 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2025-04-29 11:08:02,812 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-04-29 11:08:02,813 INFO L158 Benchmark]: Toolchain (without parser) took 1078.02ms. Allocated memory is still 142.6MB. Free memory was 108.1MB in the beginning and 104.5MB in the end (delta: 3.7MB). Peak memory consumption was 80.8MB. Max. memory is 16.1GB. [2025-04-29 11:08:02,813 INFO L158 Benchmark]: CDTParser took 1.25ms. Allocated memory is still 201.3MB. Free memory is still 130.2MB. There was no memory consumed. Max. memory is 16.1GB. [2025-04-29 11:08:02,813 INFO L158 Benchmark]: CACSL2BoogieTranslator took 202.97ms. Allocated memory is still 142.6MB. Free memory was 107.2MB in the beginning and 94.7MB in the end (delta: 12.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-29 11:08:02,813 INFO L158 Benchmark]: Boogie Procedure Inliner took 23.48ms. Allocated memory is still 142.6MB. Free memory was 94.7MB in the beginning and 93.1MB in the end (delta: 1.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-29 11:08:02,813 INFO L158 Benchmark]: Boogie Preprocessor took 11.79ms. Allocated memory is still 142.6MB. Free memory was 93.1MB in the beginning and 92.1MB in the end (delta: 955.1kB). There was no memory consumed. Max. memory is 16.1GB. [2025-04-29 11:08:02,814 INFO L158 Benchmark]: RCFGBuilder took 159.88ms. Allocated memory is still 142.6MB. Free memory was 92.1MB in the beginning and 82.7MB in the end (delta: 9.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-29 11:08:02,814 INFO L158 Benchmark]: TraceAbstraction took 608.75ms. Allocated memory is still 142.6MB. Free memory was 81.8MB in the beginning and 39.9MB in the end (delta: 41.9MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2025-04-29 11:08:02,814 INFO L158 Benchmark]: Witness Printer took 64.92ms. Allocated memory is still 142.6MB. Free memory was 39.9MB in the beginning and 104.5MB in the end (delta: -64.6MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. [2025-04-29 11:08:02,815 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.25ms. Allocated memory is still 201.3MB. Free memory is still 130.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 202.97ms. Allocated memory is still 142.6MB. Free memory was 107.2MB in the beginning and 94.7MB in the end (delta: 12.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 23.48ms. Allocated memory is still 142.6MB. Free memory was 94.7MB in the beginning and 93.1MB in the end (delta: 1.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 11.79ms. Allocated memory is still 142.6MB. Free memory was 93.1MB in the beginning and 92.1MB in the end (delta: 955.1kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 159.88ms. Allocated memory is still 142.6MB. Free memory was 92.1MB in the beginning and 82.7MB in the end (delta: 9.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * TraceAbstraction took 608.75ms. Allocated memory is still 142.6MB. Free memory was 81.8MB in the beginning and 39.9MB in the end (delta: 41.9MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * Witness Printer took 64.92ms. Allocated memory is still 142.6MB. Free memory was 39.9MB in the beginning and 104.5MB in the end (delta: -64.6MB). Peak memory consumption was 13.7MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - DataRaceFoundResult [Line: 14]: Data race detected Data race detected The following path leads to a data race: [L11] 0 int myglobal; VAL [myglobal=0] [L19] 0 pthread_t id; VAL [myglobal=0] [L20] FCALL, FORK 0 pthread_create(&id, NULL, t_fun, NULL) VAL [\at(arg, Pre)={0:0}, id=-1, myglobal=0] [L14] 1 myglobal+1 VAL [\at(arg, Pre)={0:0}, arg={0:0}, myglobal=0] [L14] 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) [21] and C: myglobal+1 [14] - UnprovableResult [Line: 21]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 20]: 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: 14]: 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.5s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.2s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 61 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 12 mSDsluCounter, 23 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, 23 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=162occurred 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-29 11:08:02,826 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, 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)