./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/no-data-race.prp --file ../../../trunk/examples/svcomp/goblint-regression/03-practical_07-nonterm.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/03-practical_07-nonterm.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 1a5c45a44223147f393b74702a24905a50f014553bda5f1e486b1b813907bad6 --- Real Ultimate output --- This is Ultimate 0.3.0-wip.fs.system-includes-da04345-m [2025-04-29 11:07:48,784 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-04-29 11:07:48,838 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:48,842 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-04-29 11:07:48,842 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-04-29 11:07:48,856 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-04-29 11:07:48,858 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-04-29 11:07:48,858 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-04-29 11:07:48,858 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-04-29 11:07:48,859 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-04-29 11:07:48,859 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-04-29 11:07:48,860 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-04-29 11:07:48,860 INFO L153 SettingsManager]: * Use SBE=true [2025-04-29 11:07:48,860 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-04-29 11:07:48,860 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-04-29 11:07:48,860 INFO L153 SettingsManager]: * sizeof long=4 [2025-04-29 11:07:48,860 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-04-29 11:07:48,860 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-04-29 11:07:48,860 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-04-29 11:07:48,861 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-04-29 11:07:48,861 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-04-29 11:07:48,861 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-04-29 11:07:48,861 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2025-04-29 11:07:48,861 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-04-29 11:07:48,861 INFO L153 SettingsManager]: * sizeof long double=12 [2025-04-29 11:07:48,861 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-04-29 11:07:48,861 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-04-29 11:07:48,861 INFO L153 SettingsManager]: * Use constant arrays=true [2025-04-29 11:07:48,861 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-04-29 11:07:48,861 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-29 11:07:48,862 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-29 11:07:48,862 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-29 11:07:48,862 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-04-29 11:07:48,862 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-29 11:07:48,862 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-29 11:07:48,862 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-29 11:07:48,862 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-04-29 11:07:48,862 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-04-29 11:07:48,862 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-04-29 11:07:48,862 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-04-29 11:07:48,862 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-04-29 11:07:48,863 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-04-29 11:07:48,863 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-04-29 11:07:48,863 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-04-29 11:07:48,863 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-04-29 11:07:48,863 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 -> 1a5c45a44223147f393b74702a24905a50f014553bda5f1e486b1b813907bad6 [2025-04-29 11:07:49,096 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-04-29 11:07:49,101 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-04-29 11:07:49,104 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-04-29 11:07:49,105 INFO L270 PluginConnector]: Initializing CDTParser... [2025-04-29 11:07:49,105 INFO L274 PluginConnector]: CDTParser initialized [2025-04-29 11:07:49,106 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/03-practical_07-nonterm.c [2025-04-29 11:07:50,352 INFO L538 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b7ad0d252/1319021ea1db4b6a8628d5f82241c9da/FLAG05a5e161e [2025-04-29 11:07:50,581 INFO L389 CDTParser]: Found 1 translation units. [2025-04-29 11:07:50,582 INFO L178 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/03-practical_07-nonterm.c [2025-04-29 11:07:50,583 WARN L117 ultiparseSymbolTable]: System include pthread.h could not be resolved by CDT -- only built-in system includes are available. [2025-04-29 11:07:50,583 WARN L117 ultiparseSymbolTable]: System include stdio.h could not be resolved by CDT -- only built-in system includes are available. [2025-04-29 11:07:50,587 INFO L432 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b7ad0d252/1319021ea1db4b6a8628d5f82241c9da/FLAG05a5e161e [2025-04-29 11:07:51,403 INFO L440 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b7ad0d252/1319021ea1db4b6a8628d5f82241c9da [2025-04-29 11:07:51,404 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-04-29 11:07:51,405 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-04-29 11:07:51,406 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-04-29 11:07:51,406 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-04-29 11:07:51,409 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-04-29 11:07:51,409 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,410 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7e975e2b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51, skipping insertion in model container [2025-04-29 11:07:51,410 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,419 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-04-29 11:07:51,533 INFO L211 PostProcessor]: Analyzing one entry point: main [2025-04-29 11:07:51,538 INFO L200 MainTranslator]: Completed pre-run [2025-04-29 11:07:51,553 INFO L211 PostProcessor]: Analyzing one entry point: main [2025-04-29 11:07:51,563 INFO L204 MainTranslator]: Completed translation [2025-04-29 11:07:51,563 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51 WrapperNode [2025-04-29 11:07:51,563 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-04-29 11:07:51,564 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-04-29 11:07:51,564 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-04-29 11:07:51,564 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-04-29 11:07:51,568 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:07:51" (1/1) ... [2025-04-29 11:07:51,573 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:07:51" (1/1) ... [2025-04-29 11:07:51,583 INFO L138 Inliner]: procedures = 11, calls = 11, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 38 [2025-04-29 11:07:51,583 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-04-29 11:07:51,584 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-04-29 11:07:51,584 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-04-29 11:07:51,584 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-04-29 11:07:51,588 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,588 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,589 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,590 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,591 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,592 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,593 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,594 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,594 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,596 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-04-29 11:07:51,597 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2025-04-29 11:07:51,597 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2025-04-29 11:07:51,597 INFO L274 PluginConnector]: RCFGBuilder initialized [2025-04-29 11:07:51,598 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (1/1) ... [2025-04-29 11:07:51,606 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-29 11:07:51,614 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-04-29 11:07:51,627 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:07:51,630 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:07:51,648 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-04-29 11:07:51,649 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-04-29 11:07:51,649 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-04-29 11:07:51,649 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-04-29 11:07:51,649 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-04-29 11:07:51,649 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2025-04-29 11:07:51,649 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2025-04-29 11:07:51,649 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2025-04-29 11:07:51,650 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:07:51,718 INFO L234 CfgBuilder]: Building ICFG [2025-04-29 11:07:51,720 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2025-04-29 11:07:51,841 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-04-29 11:07:51,841 INFO L283 CfgBuilder]: Performing block encoding [2025-04-29 11:07:51,864 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-04-29 11:07:51,864 INFO L312 CfgBuilder]: Removed 1 assume(true) statements. [2025-04-29 11:07:51,864 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.04 11:07:51 BoogieIcfgContainer [2025-04-29 11:07:51,864 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2025-04-29 11:07:51,866 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-04-29 11:07:51,866 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-04-29 11:07:51,869 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-04-29 11:07:51,869 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.04 11:07:51" (1/3) ... [2025-04-29 11:07:51,870 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1f1bf7b5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.04 11:07:51, skipping insertion in model container [2025-04-29 11:07:51,870 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 11:07:51" (2/3) ... [2025-04-29 11:07:51,870 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1f1bf7b5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.04 11:07:51, skipping insertion in model container [2025-04-29 11:07:51,870 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.04 11:07:51" (3/3) ... [2025-04-29 11:07:51,871 INFO L128 eAbstractionObserver]: Analyzing ICFG 03-practical_07-nonterm.c [2025-04-29 11:07:51,880 INFO L217 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-04-29 11:07:51,882 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG 03-practical_07-nonterm.c that has 2 procedures, 60 locations, 59 edges, 1 initial locations, 1 loop locations, and 5 error locations. [2025-04-29 11:07:51,883 INFO L490 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-04-29 11:07:51,921 INFO L143 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2025-04-29 11:07:51,956 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 63 places, 60 transitions, 127 flow [2025-04-29 11:07:51,985 INFO L116 PetriNetUnfolderBase]: 1/59 cut-off events. [2025-04-29 11:07:51,989 INFO L117 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2025-04-29 11:07:51,991 INFO L83 FinitePrefix]: Finished finitePrefix Result has 64 conditions, 59 events. 1/59 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 39 event pairs, 0 based on Foata normal form. 0/53 useless extension candidates. Maximal degree in co-relation 33. Up to 2 conditions per place. [2025-04-29 11:07:51,992 INFO L82 GeneralOperation]: Start removeDead. Operand has 63 places, 60 transitions, 127 flow [2025-04-29 11:07:51,995 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 56 places, 53 transitions, 112 flow [2025-04-29 11:07:52,003 INFO L339 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-04-29 11:07:52,013 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;@3e0216c4, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-04-29 11:07:52,014 INFO L341 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2025-04-29 11:07:52,024 INFO L177 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-04-29 11:07:52,024 INFO L116 PetriNetUnfolderBase]: 0/24 cut-off events. [2025-04-29 11:07:52,024 INFO L117 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-04-29 11:07:52,024 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-29 11:07:52,025 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-29 11:07:52,025 INFO L403 AbstractCegarLoop]: === Iteration 1 === Targeting t_funErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr2ASSERT_VIOLATIONDATA_RACE (and 5 more)] === [2025-04-29 11:07:52,030 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 11:07:52,030 INFO L85 PathProgramCache]: Analyzing trace with hash 996946820, now seen corresponding path program 1 times [2025-04-29 11:07:52,035 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 11:07:52,035 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1808876821] [2025-04-29 11:07:52,036 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 11:07:52,036 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 11:07:52,091 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 21 statements into 1 equivalence classes. [2025-04-29 11:07:52,103 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 21 of 21 statements. [2025-04-29 11:07:52,103 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 11:07:52,104 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-29 11:07:52,190 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:07:52,190 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-29 11:07:52,191 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1808876821] [2025-04-29 11:07:52,193 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1808876821] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-29 11:07:52,193 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-29 11:07:52,194 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-29 11:07:52,195 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [107672285] [2025-04-29 11:07:52,195 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-29 11:07:52,201 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-04-29 11:07:52,204 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-29 11:07:52,221 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-04-29 11:07:52,222 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-04-29 11:07:52,262 INFO L464 CegarLoopForPetriNet]: Number of universal loopers: 42 out of 60 [2025-04-29 11:07:52,264 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 56 places, 53 transitions, 112 flow. Second operand has 3 states, 3 states have (on average 43.333333333333336) internal successors, (130), 3 states have internal predecessors, (130), 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:07:52,265 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-04-29 11:07:52,265 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 42 of 60 [2025-04-29 11:07:52,266 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-04-29 11:07:52,336 INFO L116 PetriNetUnfolderBase]: 37/164 cut-off events. [2025-04-29 11:07:52,336 INFO L117 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2025-04-29 11:07:52,337 INFO L83 FinitePrefix]: Finished finitePrefix Result has 248 conditions, 164 events. 37/164 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 651 event pairs, 13 based on Foata normal form. 9/156 useless extension candidates. Maximal degree in co-relation 226. Up to 44 conditions per place. [2025-04-29 11:07:52,339 INFO L140 encePairwiseOnDemand]: 51/60 looper letters, 17 selfloop transitions, 6 changer transitions 0/56 dead transitions. [2025-04-29 11:07:52,339 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 51 places, 56 transitions, 161 flow [2025-04-29 11:07:52,340 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-04-29 11:07:52,342 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-04-29 11:07:52,347 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 153 transitions. [2025-04-29 11:07:52,348 INFO L509 CegarLoopForPetriNet]: DFA transition density 0.85 [2025-04-29 11:07:52,350 INFO L175 Difference]: Start difference. First operand has 56 places, 53 transitions, 112 flow. Second operand 3 states and 153 transitions. [2025-04-29 11:07:52,350 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 51 places, 56 transitions, 161 flow [2025-04-29 11:07:52,354 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 50 places, 56 transitions, 160 flow, removed 0 selfloop flow, removed 1 redundant places. [2025-04-29 11:07:52,356 INFO L231 Difference]: Finished difference. Result has 52 places, 52 transitions, 146 flow [2025-04-29 11:07:52,358 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=60, PETRI_DIFFERENCE_MINUEND_FLOW=94, PETRI_DIFFERENCE_MINUEND_PLACES=48, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=46, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=40, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=146, PETRI_PLACES=52, PETRI_TRANSITIONS=52} [2025-04-29 11:07:52,360 INFO L279 CegarLoopForPetriNet]: 56 programPoint places, -4 predicate places. [2025-04-29 11:07:52,361 INFO L485 AbstractCegarLoop]: Abstraction has has 52 places, 52 transitions, 146 flow [2025-04-29 11:07:52,361 INFO L486 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 43.333333333333336) internal successors, (130), 3 states have internal predecessors, (130), 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:07:52,361 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-29 11:07:52,361 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-29 11:07:52,361 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-04-29 11:07:52,362 INFO L403 AbstractCegarLoop]: === Iteration 2 === Targeting t_funErr1ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr2ASSERT_VIOLATIONDATA_RACE (and 5 more)] === [2025-04-29 11:07:52,362 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 11:07:52,362 INFO L85 PathProgramCache]: Analyzing trace with hash 2075230599, now seen corresponding path program 1 times [2025-04-29 11:07:52,362 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 11:07:52,362 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [290663152] [2025-04-29 11:07:52,362 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 11:07:52,362 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 11:07:52,369 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 25 statements into 1 equivalence classes. [2025-04-29 11:07:52,380 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 25 of 25 statements. [2025-04-29 11:07:52,386 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 11:07:52,386 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-29 11:07:52,428 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:07:52,428 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-29 11:07:52,428 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [290663152] [2025-04-29 11:07:52,428 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [290663152] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-29 11:07:52,428 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-29 11:07:52,429 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-29 11:07:52,429 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2118215728] [2025-04-29 11:07:52,429 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-29 11:07:52,430 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-04-29 11:07:52,431 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-29 11:07:52,431 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-04-29 11:07:52,432 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-04-29 11:07:52,461 INFO L464 CegarLoopForPetriNet]: Number of universal loopers: 44 out of 60 [2025-04-29 11:07:52,462 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 52 places, 52 transitions, 146 flow. Second operand has 3 states, 3 states have (on average 46.0) internal successors, (138), 3 states have internal predecessors, (138), 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:07:52,463 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-04-29 11:07:52,463 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 44 of 60 [2025-04-29 11:07:52,463 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-04-29 11:07:52,508 INFO L116 PetriNetUnfolderBase]: 53/205 cut-off events. [2025-04-29 11:07:52,509 INFO L117 PetriNetUnfolderBase]: For 89/93 co-relation queries the response was YES. [2025-04-29 11:07:52,511 INFO L83 FinitePrefix]: Finished finitePrefix Result has 409 conditions, 205 events. 53/205 cut-off events. For 89/93 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 896 event pairs, 21 based on Foata normal form. 3/192 useless extension candidates. Maximal degree in co-relation 386. Up to 86 conditions per place. [2025-04-29 11:07:52,513 INFO L140 encePairwiseOnDemand]: 54/60 looper letters, 16 selfloop transitions, 7 changer transitions 1/59 dead transitions. [2025-04-29 11:07:52,513 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 54 places, 59 transitions, 218 flow [2025-04-29 11:07:52,514 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-04-29 11:07:52,514 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-04-29 11:07:52,514 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 152 transitions. [2025-04-29 11:07:52,515 INFO L509 CegarLoopForPetriNet]: DFA transition density 0.8444444444444444 [2025-04-29 11:07:52,515 INFO L175 Difference]: Start difference. First operand has 52 places, 52 transitions, 146 flow. Second operand 3 states and 152 transitions. [2025-04-29 11:07:52,515 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 54 places, 59 transitions, 218 flow [2025-04-29 11:07:52,516 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 52 places, 59 transitions, 202 flow, removed 0 selfloop flow, removed 2 redundant places. [2025-04-29 11:07:52,517 INFO L231 Difference]: Finished difference. Result has 54 places, 57 transitions, 190 flow [2025-04-29 11:07:52,517 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=60, PETRI_DIFFERENCE_MINUEND_FLOW=134, PETRI_DIFFERENCE_MINUEND_PLACES=50, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=52, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=45, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=190, PETRI_PLACES=54, PETRI_TRANSITIONS=57} [2025-04-29 11:07:52,519 INFO L279 CegarLoopForPetriNet]: 56 programPoint places, -2 predicate places. [2025-04-29 11:07:52,519 INFO L485 AbstractCegarLoop]: Abstraction has has 54 places, 57 transitions, 190 flow [2025-04-29 11:07:52,520 INFO L486 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 46.0) internal successors, (138), 3 states have internal predecessors, (138), 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:07:52,520 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-29 11:07:52,520 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-29 11:07:52,520 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-04-29 11:07:52,520 INFO L403 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr2ASSERT_VIOLATIONDATA_RACE (and 5 more)] === [2025-04-29 11:07:52,521 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 11:07:52,521 INFO L85 PathProgramCache]: Analyzing trace with hash 1282523625, now seen corresponding path program 1 times [2025-04-29 11:07:52,521 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 11:07:52,521 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [248630500] [2025-04-29 11:07:52,522 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 11:07:52,522 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 11:07:52,530 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 26 statements into 1 equivalence classes. [2025-04-29 11:07:52,538 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 26 of 26 statements. [2025-04-29 11:07:52,539 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 11:07:52,540 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-29 11:07:52,584 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:07:52,584 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-29 11:07:52,584 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [248630500] [2025-04-29 11:07:52,584 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [248630500] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-29 11:07:52,585 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-29 11:07:52,585 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-29 11:07:52,585 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1357230880] [2025-04-29 11:07:52,585 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-29 11:07:52,585 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-04-29 11:07:52,585 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-29 11:07:52,586 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-04-29 11:07:52,586 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-04-29 11:07:52,606 INFO L464 CegarLoopForPetriNet]: Number of universal loopers: 42 out of 60 [2025-04-29 11:07:52,607 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 54 places, 57 transitions, 190 flow. Second operand has 3 states, 3 states have (on average 44.333333333333336) internal successors, (133), 3 states have internal predecessors, (133), 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:07:52,607 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-04-29 11:07:52,607 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 42 of 60 [2025-04-29 11:07:52,607 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-04-29 11:07:52,657 INFO L116 PetriNetUnfolderBase]: 69/243 cut-off events. [2025-04-29 11:07:52,657 INFO L117 PetriNetUnfolderBase]: For 171/175 co-relation queries the response was YES. [2025-04-29 11:07:52,658 INFO L83 FinitePrefix]: Finished finitePrefix Result has 556 conditions, 243 events. 69/243 cut-off events. For 171/175 co-relation queries the response was YES. Maximal size of possible extension queue 22. Compared 1093 event pairs, 21 based on Foata normal form. 1/228 useless extension candidates. Maximal degree in co-relation 531. Up to 100 conditions per place. [2025-04-29 11:07:52,659 INFO L140 encePairwiseOnDemand]: 54/60 looper letters, 16 selfloop transitions, 8 changer transitions 6/64 dead transitions. [2025-04-29 11:07:52,659 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 56 places, 64 transitions, 274 flow [2025-04-29 11:07:52,660 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-04-29 11:07:52,660 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-04-29 11:07:52,661 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 147 transitions. [2025-04-29 11:07:52,661 INFO L509 CegarLoopForPetriNet]: DFA transition density 0.8166666666666667 [2025-04-29 11:07:52,661 INFO L175 Difference]: Start difference. First operand has 54 places, 57 transitions, 190 flow. Second operand 3 states and 147 transitions. [2025-04-29 11:07:52,661 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 56 places, 64 transitions, 274 flow [2025-04-29 11:07:52,662 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 64 transitions, 256 flow, removed 0 selfloop flow, removed 2 redundant places. [2025-04-29 11:07:52,666 INFO L231 Difference]: Finished difference. Result has 56 places, 57 transitions, 214 flow [2025-04-29 11:07:52,666 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=60, PETRI_DIFFERENCE_MINUEND_FLOW=176, PETRI_DIFFERENCE_MINUEND_PLACES=52, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=57, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=5, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=49, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=214, PETRI_PLACES=56, PETRI_TRANSITIONS=57} [2025-04-29 11:07:52,667 INFO L279 CegarLoopForPetriNet]: 56 programPoint places, 0 predicate places. [2025-04-29 11:07:52,667 INFO L485 AbstractCegarLoop]: Abstraction has has 56 places, 57 transitions, 214 flow [2025-04-29 11:07:52,667 INFO L486 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 44.333333333333336) internal successors, (133), 3 states have internal predecessors, (133), 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:07:52,667 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-04-29 11:07:52,667 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-29 11:07:52,667 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2025-04-29 11:07:52,668 INFO L403 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr2ASSERT_VIOLATIONDATA_RACE (and 5 more)] === [2025-04-29 11:07:52,669 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 11:07:52,669 INFO L85 PathProgramCache]: Analyzing trace with hash 971502043, now seen corresponding path program 1 times [2025-04-29 11:07:52,669 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 11:07:52,670 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1914587671] [2025-04-29 11:07:52,670 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 11:07:52,670 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 11:07:52,677 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 30 statements into 1 equivalence classes. [2025-04-29 11:07:52,682 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 30 of 30 statements. [2025-04-29 11:07:52,682 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 11:07:52,682 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-04-29 11:07:52,682 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-04-29 11:07:52,685 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 30 statements into 1 equivalence classes. [2025-04-29 11:07:52,688 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 30 of 30 statements. [2025-04-29 11:07:52,689 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 11:07:52,689 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-04-29 11:07:52,703 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-04-29 11:07:52,703 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-04-29 11:07:52,704 INFO L790 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (7 of 8 remaining) [2025-04-29 11:07:52,706 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONDATA_RACE (6 of 8 remaining) [2025-04-29 11:07:52,706 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONDATA_RACE (5 of 8 remaining) [2025-04-29 11:07:52,706 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 8 remaining) [2025-04-29 11:07:52,707 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr0ASSERT_VIOLATIONDATA_RACE (3 of 8 remaining) [2025-04-29 11:07:52,707 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr1ASSERT_VIOLATIONDATA_RACE (2 of 8 remaining) [2025-04-29 11:07:52,707 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr0ASSERT_VIOLATIONDATA_RACE (1 of 8 remaining) [2025-04-29 11:07:52,707 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location t_funErr1ASSERT_VIOLATIONDATA_RACE (0 of 8 remaining) [2025-04-29 11:07:52,707 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2025-04-29 11:07:52,707 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2025-04-29 11:07:52,745 INFO L242 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-04-29 11:07:52,745 INFO L171 ceAbstractionStarter]: Computing trace abstraction results [2025-04-29 11:07:52,751 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 29.04 11:07:52 BasicIcfg [2025-04-29 11:07:52,752 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-04-29 11:07:52,753 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-04-29 11:07:52,753 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-04-29 11:07:52,753 INFO L274 PluginConnector]: Witness Printer initialized [2025-04-29 11:07:52,754 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.04 11:07:51" (3/4) ... [2025-04-29 11:07:52,754 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2025-04-29 11:07:52,784 INFO L127 tionWitnessGenerator]: Generated YAML witness of length 1. [2025-04-29 11:07:52,809 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-04-29 11:07:52,809 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2025-04-29 11:07:52,809 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-04-29 11:07:52,810 INFO L158 Benchmark]: Toolchain (without parser) took 1404.16ms. Allocated memory is still 142.6MB. Free memory was 107.2MB in the beginning and 78.3MB in the end (delta: 28.9MB). Peak memory consumption was 30.9MB. Max. memory is 16.1GB. [2025-04-29 11:07:52,810 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 201.3MB. Free memory was 125.7MB in the beginning and 125.4MB in the end (delta: 307.6kB). There was no memory consumed. Max. memory is 16.1GB. [2025-04-29 11:07:52,810 INFO L158 Benchmark]: CACSL2BoogieTranslator took 157.30ms. Allocated memory is still 142.6MB. Free memory was 106.2MB in the beginning and 93.0MB in the end (delta: 13.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-04-29 11:07:52,810 INFO L158 Benchmark]: Boogie Procedure Inliner took 19.39ms. Allocated memory is still 142.6MB. Free memory was 93.0MB in the beginning and 92.0MB in the end (delta: 991.2kB). There was no memory consumed. Max. memory is 16.1GB. [2025-04-29 11:07:52,810 INFO L158 Benchmark]: Boogie Preprocessor took 12.89ms. Allocated memory is still 142.6MB. Free memory was 92.0MB in the beginning and 91.0MB in the end (delta: 999.6kB). There was no memory consumed. Max. memory is 16.1GB. [2025-04-29 11:07:52,811 INFO L158 Benchmark]: RCFGBuilder took 267.37ms. Allocated memory is still 142.6MB. Free memory was 91.0MB in the beginning and 78.6MB in the end (delta: 12.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-29 11:07:52,811 INFO L158 Benchmark]: TraceAbstraction took 886.63ms. Allocated memory is still 142.6MB. Free memory was 77.6MB in the beginning and 85.2MB in the end (delta: -7.6MB). There was no memory consumed. Max. memory is 16.1GB. [2025-04-29 11:07:52,811 INFO L158 Benchmark]: Witness Printer took 56.17ms. Allocated memory is still 142.6MB. Free memory was 85.2MB in the beginning and 78.3MB in the end (delta: 6.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-29 11:07:52,812 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.24ms. Allocated memory is still 201.3MB. Free memory was 125.7MB in the beginning and 125.4MB in the end (delta: 307.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 157.30ms. Allocated memory is still 142.6MB. Free memory was 106.2MB in the beginning and 93.0MB in the end (delta: 13.2MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 19.39ms. Allocated memory is still 142.6MB. Free memory was 93.0MB in the beginning and 92.0MB in the end (delta: 991.2kB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 12.89ms. Allocated memory is still 142.6MB. Free memory was 92.0MB in the beginning and 91.0MB in the end (delta: 999.6kB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 267.37ms. Allocated memory is still 142.6MB. Free memory was 91.0MB in the beginning and 78.6MB in the end (delta: 12.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * TraceAbstraction took 886.63ms. Allocated memory is still 142.6MB. Free memory was 77.6MB in the beginning and 85.2MB in the end (delta: -7.6MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 56.17ms. Allocated memory is still 142.6MB. Free memory was 85.2MB in the beginning and 78.3MB in the end (delta: 6.9MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - DataRaceFoundResult [Line: 27]: Data race detected Data race detected The following path leads to a data race: [L11] 0 int myglobal; VAL [myglobal=0] [L12] 0 pthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER; VAL [mutex1={1:0}, myglobal=0] [L13] 0 pthread_mutex_t mutex2 = PTHREAD_MUTEX_INITIALIZER; VAL [mutex1={1:0}, mutex2={2:0}, myglobal=0] [L24] 0 pthread_t id; VAL [mutex1={1:0}, mutex2={2:0}, myglobal=0] [L25] FCALL, FORK 0 pthread_create(&id, NULL, t_fun, NULL) VAL [\at(arg, Pre)={0:0}, id=-1, mutex1={1:0}, mutex2={2:0}, myglobal=0] [L17] EXPR 1 myglobal+1 VAL [\at(arg, Pre)={0:0}, arg={0:0}, mutex1={1:0}, mutex2={2:0}, myglobal=0] [L27] 0 myglobal+1 VAL [\at(arg, Pre)={0:0}, arg={0:0}, id=-1, mutex1={1:0}, mutex2={2:0}, myglobal=0] [L17] 1 myglobal=myglobal+1 VAL [\at(arg, Pre)={0:0}, arg={0:0}, mutex1={1:0}, mutex2={2:0}, myglobal=1] [L27] 0 myglobal+1 VAL [\at(arg, Pre)={0:0}, arg={0:0}, id=-1, mutex1={1:0}, mutex2={2:0}, myglobal=1] Now there is a data race on ~myglobal~0 between C: myglobal=myglobal+1 [17] and C: myglobal+1 [27] - UnprovableResult [Line: 27]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 30]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 25]: 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: 17]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 17]: 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, 79 locations, 80 edges, 8 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.8s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.3s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 102 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 32 mSDsluCounter, 19 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 9 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 107 IncrementalHoareTripleChecker+Invalid, 116 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 9 mSolverCounterUnsat, 19 mSDtfsCounter, 107 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=214occurred 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.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 102 NumberOfCodeBlocks, 102 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 69 ConstructedInterpolants, 0 QuantifiedInterpolants, 75 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:07:52,824 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)