/root/.sdkman/candidates/java/21.0.5-tem/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata ./data -tc ../benchexec/../../../trunk/examples/toolchains/AutomizerCInline_IcfgBuilder.xml -s ../benchexec/../../../trunk/examples/settings/default/gemcutter/svcomp-Reach-32bit-GemCutter_Default.epf --preprocessor.replace.while.statements.and.if-then-else.statements false --cacsl2boogietranslator.check.unreachability.of.reach_error.function false --cacsl2boogietranslator.check.absence.of.data.races.in.concurrent.programs true --icfgbuilder.only.consider.context.switches.at.boundaries.of.atomic.blocks false --rcfgbuilder.only.consider.context.switches.at.boundaries.of.atomic.blocks false --traceabstraction.dfs.order.used.in.por BY_SERIAL_NUMBER --traceabstraction.abstraction.used.for.commutativity.in.por VARIABLES_GLOBAL --traceabstraction.commutativity.condition.synthesis NONE -i ../../../trunk/examples/svcomp/pthread/singleton-b.i -------------------------------------------------------------------------------- This is Ultimate 0.3.0-wip.dk.cfg-lbe-improvements-04aa6ae-m [2025-04-16 03:47:25,397 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-04-16 03:47:25,451 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../benchexec/../../../trunk/examples/settings/default/gemcutter/svcomp-Reach-32bit-GemCutter_Default.epf [2025-04-16 03:47:25,456 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-04-16 03:47:25,456 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-04-16 03:47:25,474 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-04-16 03:47:25,475 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-04-16 03:47:25,475 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-04-16 03:47:25,475 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-04-16 03:47:25,475 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-04-16 03:47:25,475 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-04-16 03:47:25,475 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-04-16 03:47:25,475 INFO L153 SettingsManager]: * Use SBE=true [2025-04-16 03:47:25,475 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-04-16 03:47:25,475 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-04-16 03:47:25,475 INFO L153 SettingsManager]: * sizeof long=4 [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * sizeof long double=12 [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Use constant arrays=true [2025-04-16 03:47:25,476 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-16 03:47:25,476 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-04-16 03:47:25,476 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-16 03:47:25,477 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * Commutativity condition synthesis=NECESSARY_AND_SUFFICIENT [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2025-04-16 03:47:25,477 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Replace while statements and if-then-else statements -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Check unreachability of reach_error function -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Check absence of data races in concurrent programs -> true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder: Only consider context switches at boundaries of atomic blocks -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder: Only consider context switches at boundaries of atomic blocks -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: DFS Order used in POR -> BY_SERIAL_NUMBER Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Abstraction used for commutativity in POR -> VARIABLES_GLOBAL Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Commutativity condition synthesis -> NONE [2025-04-16 03:47:25,690 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-04-16 03:47:25,697 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-04-16 03:47:25,699 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-04-16 03:47:25,700 INFO L270 PluginConnector]: Initializing CDTParser... [2025-04-16 03:47:25,700 INFO L274 PluginConnector]: CDTParser initialized [2025-04-16 03:47:25,702 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread/singleton-b.i [2025-04-16 03:47:27,035 INFO L538 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5ab72d7c0/8f1828eebec94e2791608a5ba2b5fc83/FLAG4916b35cf [2025-04-16 03:47:27,339 INFO L389 CDTParser]: Found 1 translation units. [2025-04-16 03:47:27,340 INFO L178 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/singleton-b.i [2025-04-16 03:47:27,360 INFO L432 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5ab72d7c0/8f1828eebec94e2791608a5ba2b5fc83/FLAG4916b35cf [2025-04-16 03:47:28,087 INFO L440 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5ab72d7c0/8f1828eebec94e2791608a5ba2b5fc83 [2025-04-16 03:47:28,089 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-04-16 03:47:28,090 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2025-04-16 03:47:28,091 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-04-16 03:47:28,091 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-04-16 03:47:28,095 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-04-16 03:47:28,096 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,097 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@33c77728 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28, skipping insertion in model container [2025-04-16 03:47:28,097 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,131 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-04-16 03:47:28,617 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-04-16 03:47:28,625 INFO L200 MainTranslator]: Completed pre-run [2025-04-16 03:47:28,700 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-04-16 03:47:28,744 INFO L204 MainTranslator]: Completed translation [2025-04-16 03:47:28,745 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28 WrapperNode [2025-04-16 03:47:28,745 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-04-16 03:47:28,746 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-04-16 03:47:28,746 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-04-16 03:47:28,746 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-04-16 03:47:28,750 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,763 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,780 INFO L138 Inliner]: procedures = 322, calls = 18, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 34 [2025-04-16 03:47:28,781 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-04-16 03:47:28,781 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-04-16 03:47:28,781 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-04-16 03:47:28,781 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-04-16 03:47:28,787 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,787 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,796 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,797 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,806 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,807 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,808 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,808 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,811 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-04-16 03:47:28,812 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-04-16 03:47:28,812 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-04-16 03:47:28,812 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-04-16 03:47:28,813 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (1/1) ... [2025-04-16 03:47:28,816 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-16 03:47:28,829 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-04-16 03:47:28,841 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-16 03:47:28,843 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-16 03:47:28,858 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2025-04-16 03:47:28,858 INFO L130 BoogieDeclarations]: Found specification of procedure thread0 [2025-04-16 03:47:28,858 INFO L138 BoogieDeclarations]: Found implementation of procedure thread0 [2025-04-16 03:47:28,858 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2025-04-16 03:47:28,858 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2025-04-16 03:47:28,858 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2025-04-16 03:47:28,858 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2025-04-16 03:47:28,858 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2025-04-16 03:47:28,858 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2025-04-16 03:47:28,858 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2025-04-16 03:47:28,858 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-04-16 03:47:28,858 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-04-16 03:47:28,859 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2025-04-16 03:47:28,859 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-04-16 03:47:28,859 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-04-16 03:47:28,859 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-04-16 03:47:28,946 INFO L256 CfgBuilder]: Building ICFG [2025-04-16 03:47:28,949 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-04-16 03:47:29,111 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-04-16 03:47:29,112 INFO L313 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-04-16 03:47:29,112 INFO L318 CfgBuilder]: Performing block encoding [2025-04-16 03:47:29,126 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-04-16 03:47:29,126 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 16.04 03:47:29 BoogieIcfgContainer [2025-04-16 03:47:29,126 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-04-16 03:47:29,128 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-04-16 03:47:29,128 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-04-16 03:47:29,131 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-04-16 03:47:29,131 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 16.04 03:47:28" (1/3) ... [2025-04-16 03:47:29,132 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@510ed38a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 16.04 03:47:29, skipping insertion in model container [2025-04-16 03:47:29,133 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.04 03:47:28" (2/3) ... [2025-04-16 03:47:29,133 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@510ed38a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 16.04 03:47:29, skipping insertion in model container [2025-04-16 03:47:29,133 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 16.04 03:47:29" (3/3) ... [2025-04-16 03:47:29,134 INFO L128 eAbstractionObserver]: Analyzing ICFG singleton-b.i [2025-04-16 03:47:29,144 INFO L217 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-04-16 03:47:29,146 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG singleton-b.i that has 5 procedures, 123 locations, 120 edges, 1 initial locations, 0 loop locations, and 7 error locations. [2025-04-16 03:47:29,146 INFO L490 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-04-16 03:47:29,266 INFO L143 ThreadInstanceAdder]: Constructed 21 joinOtherThreadTransitions. [2025-04-16 03:47:29,314 INFO L125 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-04-16 03:47:29,315 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2025-04-16 03:47:29,315 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-04-16 03:47:29,317 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2025-04-16 03:47:29,319 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2025-04-16 03:47:29,416 INFO L177 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2025-04-16 03:47:29,425 INFO L339 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == thread2Thread1of1ForFork3 ======== [2025-04-16 03:47:29,433 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=PARTIAL_ORDER_FA, 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;@389c98c0, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-04-16 03:47:29,433 INFO L341 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2025-04-16 03:47:29,692 INFO L403 AbstractCegarLoop]: === Iteration 1 === Targeting thread2Err0ASSERT_VIOLATIONDATA_RACE === [thread2Err1ASSERT_VIOLATIONDATA_RACE, thread2Err0ASSERT_VIOLATIONDATA_RACE] === [2025-04-16 03:47:29,696 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-16 03:47:29,696 INFO L85 PathProgramCache]: Analyzing trace with hash 2139075809, now seen corresponding path program 1 times [2025-04-16 03:47:29,701 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-16 03:47:29,702 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1501030853] [2025-04-16 03:47:29,702 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-16 03:47:29,702 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-16 03:47:29,767 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 50 statements into 1 equivalence classes. [2025-04-16 03:47:29,790 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 50 of 50 statements. [2025-04-16 03:47:29,790 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-16 03:47:29,790 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-16 03:47:29,982 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-16 03:47:29,982 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-16 03:47:29,982 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1501030853] [2025-04-16 03:47:29,983 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1501030853] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-16 03:47:29,984 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-16 03:47:29,984 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-16 03:47:29,985 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1418472015] [2025-04-16 03:47:29,985 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-16 03:47:29,988 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-04-16 03:47:29,988 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-16 03:47:30,002 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-04-16 03:47:30,003 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-04-16 03:47:30,003 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-04-16 03:47:30,006 INFO L485 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2025-04-16 03:47:30,007 INFO L486 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 25.0) internal successors, (50), 3 states have internal predecessors, (50), 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-16 03:47:30,007 INFO L153 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2025-04-16 03:47:30,310 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-04-16 03:47:30,311 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-04-16 03:47:30,311 INFO L403 AbstractCegarLoop]: === Iteration 2 === Targeting thread2Err0ASSERT_VIOLATIONDATA_RACE === [thread2Err1ASSERT_VIOLATIONDATA_RACE, thread2Err0ASSERT_VIOLATIONDATA_RACE] === [2025-04-16 03:47:30,312 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-16 03:47:30,312 INFO L85 PathProgramCache]: Analyzing trace with hash 1942363260, now seen corresponding path program 1 times [2025-04-16 03:47:30,312 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-16 03:47:30,312 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1619077891] [2025-04-16 03:47:30,312 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-16 03:47:30,312 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-16 03:47:30,336 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 76 statements into 1 equivalence classes. [2025-04-16 03:47:30,354 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 76 of 76 statements. [2025-04-16 03:47:30,355 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-16 03:47:30,355 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-04-16 03:47:30,355 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-04-16 03:47:30,360 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 76 statements into 1 equivalence classes. [2025-04-16 03:47:30,378 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 76 of 76 statements. [2025-04-16 03:47:30,378 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-16 03:47:30,378 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-04-16 03:47:30,407 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-04-16 03:47:30,407 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-04-16 03:47:30,408 INFO L790 garLoopResultBuilder]: Registering result UNSAFE for location thread2Err0ASSERT_VIOLATIONDATA_RACE (1 of 2 remaining) [2025-04-16 03:47:30,409 INFO L790 garLoopResultBuilder]: Registering result UNKNOWN for location thread2Err1ASSERT_VIOLATIONDATA_RACE (0 of 2 remaining) [2025-04-16 03:47:30,410 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-04-16 03:47:30,414 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1] [2025-04-16 03:47:30,415 INFO L320 ceAbstractionStarter]: Result for error location thread2Thread1of1ForFork3 was UNSAFE,UNKNOWN (1/7) [2025-04-16 03:47:30,489 INFO L242 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-04-16 03:47:30,489 INFO L171 ceAbstractionStarter]: Computing trace abstraction results [2025-04-16 03:47:30,499 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Ended with exit code 0 [2025-04-16 03:47:30,499 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 16.04 03:47:30 BasicIcfg [2025-04-16 03:47:30,499 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-04-16 03:47:30,500 INFO L158 Benchmark]: Toolchain (without parser) took 2409.95ms. Allocated memory is still 142.6MB. Free memory was 98.7MB in the beginning and 68.2MB in the end (delta: 30.5MB). Peak memory consumption was 31.2MB. Max. memory is 8.0GB. [2025-04-16 03:47:30,500 INFO L158 Benchmark]: CDTParser took 0.33ms. Allocated memory is still 155.2MB. Free memory is still 85.8MB. There was no memory consumed. Max. memory is 8.0GB. [2025-04-16 03:47:30,500 INFO L158 Benchmark]: CACSL2BoogieTranslator took 654.12ms. Allocated memory is still 142.6MB. Free memory was 98.7MB in the beginning and 63.1MB in the end (delta: 35.6MB). Peak memory consumption was 33.6MB. Max. memory is 8.0GB. [2025-04-16 03:47:30,500 INFO L158 Benchmark]: Boogie Procedure Inliner took 35.10ms. Allocated memory is still 142.6MB. Free memory was 63.1MB in the beginning and 61.0MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 8.0GB. [2025-04-16 03:47:30,501 INFO L158 Benchmark]: Boogie Preprocessor took 30.42ms. Allocated memory is still 142.6MB. Free memory was 61.0MB in the beginning and 59.7MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 8.0GB. [2025-04-16 03:47:30,501 INFO L158 Benchmark]: IcfgBuilder took 314.40ms. Allocated memory is still 142.6MB. Free memory was 59.7MB in the beginning and 45.0MB in the end (delta: 14.7MB). Peak memory consumption was 16.8MB. Max. memory is 8.0GB. [2025-04-16 03:47:30,501 INFO L158 Benchmark]: TraceAbstraction took 1371.33ms. Allocated memory is still 142.6MB. Free memory was 44.3MB in the beginning and 68.2MB in the end (delta: -23.9MB). There was no memory consumed. Max. memory is 8.0GB. [2025-04-16 03:47:30,502 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.33ms. Allocated memory is still 155.2MB. Free memory is still 85.8MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 654.12ms. Allocated memory is still 142.6MB. Free memory was 98.7MB in the beginning and 63.1MB in the end (delta: 35.6MB). Peak memory consumption was 33.6MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 35.10ms. Allocated memory is still 142.6MB. Free memory was 63.1MB in the beginning and 61.0MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 8.0GB. * Boogie Preprocessor took 30.42ms. Allocated memory is still 142.6MB. Free memory was 61.0MB in the beginning and 59.7MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 8.0GB. * IcfgBuilder took 314.40ms. Allocated memory is still 142.6MB. Free memory was 59.7MB in the beginning and 45.0MB in the end (delta: 14.7MB). Peak memory consumption was 16.8MB. Max. memory is 8.0GB. * TraceAbstraction took 1371.33ms. Allocated memory is still 142.6MB. Free memory was 44.3MB in the beginning and 68.2MB in the end (delta: -23.9MB). There was no memory consumed. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Partial order reduction statistics Independence relation #1 benchmarks: IndependenceRelationWithAbstraction.Independence Queries: [ total: 1961, independent: 1939, independent conditional: 13, independent unconditional: 1926, dependent: 22, dependent conditional: 3, dependent unconditional: 19, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 6272, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 73, dependent conditional: 11, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 6263, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 64, dependent conditional: 2, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 6263, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 64, dependent conditional: 2, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 66, dependent conditional: 4, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 0, independent unconditional: 6199, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 0, independent unconditional: 6199, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 4755, independent: 4702, independent conditional: 0, independent unconditional: 4702, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 4755, independent: 4702, independent conditional: 0, independent unconditional: 4702, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 53, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 53, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 237, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 237, dependent conditional: 0, dependent unconditional: 237, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Symbolic Condition Computations: 0, Symbolic Conditions with UNKNOWN Satisfiability: 0, Protected Queries: 0 ], Cache Queries: [ total: 6265, independent: 1497, independent conditional: 0, independent unconditional: 1497, dependent: 13, dependent conditional: 0, dependent unconditional: 13, unknown: 4755, unknown conditional: 0, unknown unconditional: 4755] , Statistics on independence cache: Total cache size (in pairs): 1945, Positive cache size: 1926, Positive conditional cache size: 0, Positive unconditional cache size: 1926, Negative cache size: 19, Negative conditional cache size: 0, Negative unconditional cache size: 19, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 13, Maximal queried relation: 0, Independence queries for same thread: 3, Statistics for Abstraction: , Persistent sets #1 benchmarks: Persistent set computation time: 0.2s, Number of persistent set computation: 50, Number of trivial persistent sets: 47, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1945, independent: 1926, independent conditional: 0, independent unconditional: 1926, dependent: 19, dependent conditional: 0, dependent unconditional: 19, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: IndependenceRelationWithAbstraction.Independence Queries: [ total: 1961, independent: 1939, independent conditional: 13, independent unconditional: 1926, dependent: 22, dependent conditional: 3, dependent unconditional: 19, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 6272, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 73, dependent conditional: 11, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 6263, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 64, dependent conditional: 2, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 6263, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 64, dependent conditional: 2, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 66, dependent conditional: 4, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 0, independent unconditional: 6199, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 0, independent unconditional: 6199, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 4755, independent: 4702, independent conditional: 0, independent unconditional: 4702, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 4755, independent: 4702, independent conditional: 0, independent unconditional: 4702, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 53, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 53, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 237, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 237, dependent conditional: 0, dependent unconditional: 237, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Symbolic Condition Computations: 0, Symbolic Conditions with UNKNOWN Satisfiability: 0, Protected Queries: 0 ], Cache Queries: [ total: 6265, independent: 1497, independent conditional: 0, independent unconditional: 1497, dependent: 13, dependent conditional: 0, dependent unconditional: 13, unknown: 4755, unknown conditional: 0, unknown unconditional: 4755] , Statistics on independence cache: Total cache size (in pairs): 1945, Positive cache size: 1926, Positive conditional cache size: 0, Positive unconditional cache size: 1926, Negative cache size: 19, Negative conditional cache size: 0, Negative unconditional cache size: 19, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 13, Maximal queried relation: 0, Independence queries for same thread: 3, Statistics for Abstraction: , Independence relation #2 benchmarks: IndependenceRelationWithAbstraction.Independence Queries: [ total: 4311, independent: 4260, independent conditional: 202, independent unconditional: 4058, dependent: 51, dependent conditional: 8, dependent unconditional: 43, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 6272, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 73, dependent conditional: 11, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 6263, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 64, dependent conditional: 2, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 6263, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 64, dependent conditional: 2, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 66, dependent conditional: 4, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 0, independent unconditional: 6199, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 0, independent unconditional: 6199, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 4755, independent: 4702, independent conditional: 0, independent unconditional: 4702, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 4755, independent: 4702, independent conditional: 0, independent unconditional: 4702, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 53, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 53, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 237, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 237, dependent conditional: 0, dependent unconditional: 237, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Symbolic Condition Computations: 0, Symbolic Conditions with UNKNOWN Satisfiability: 0, Protected Queries: 0 ], Cache Queries: [ total: 6265, independent: 1497, independent conditional: 0, independent unconditional: 1497, dependent: 13, dependent conditional: 0, dependent unconditional: 13, unknown: 4755, unknown conditional: 0, unknown unconditional: 4755] , Statistics on independence cache: Total cache size (in pairs): 4755, Positive cache size: 4702, Positive conditional cache size: 0, Positive unconditional cache size: 4702, Negative cache size: 53, Negative conditional cache size: 0, Negative unconditional cache size: 53, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 219, Maximal queried relation: 1, Independence queries for same thread: 9, Statistics for Abstraction: , Persistent sets #2 benchmarks: Persistent set computation time: 0.2s, Number of persistent set computation: 76, Number of trivial persistent sets: 73, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 4101, independent: 4058, independent conditional: 0, independent unconditional: 4058, dependent: 43, dependent conditional: 0, dependent unconditional: 43, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: IndependenceRelationWithAbstraction.Independence Queries: [ total: 4311, independent: 4260, independent conditional: 202, independent unconditional: 4058, dependent: 51, dependent conditional: 8, dependent unconditional: 43, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 6272, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 73, dependent conditional: 11, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 6263, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 64, dependent conditional: 2, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 6263, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 64, dependent conditional: 2, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 215, independent unconditional: 5984, dependent: 66, dependent conditional: 4, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 0, independent unconditional: 6199, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 6265, independent: 6199, independent conditional: 0, independent unconditional: 6199, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 4755, independent: 4702, independent conditional: 0, independent unconditional: 4702, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 4755, independent: 4702, independent conditional: 0, independent unconditional: 4702, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 53, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 53, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 53, dependent conditional: 0, dependent unconditional: 53, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 237, independent: 0, independent conditional: 0, independent unconditional: 0, dependent: 237, dependent conditional: 0, dependent unconditional: 237, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Symbolic Condition Computations: 0, Symbolic Conditions with UNKNOWN Satisfiability: 0, Protected Queries: 0 ], Cache Queries: [ total: 6265, independent: 1497, independent conditional: 0, independent unconditional: 1497, dependent: 13, dependent conditional: 0, dependent unconditional: 13, unknown: 4755, unknown conditional: 0, unknown unconditional: 4755] , Statistics on independence cache: Total cache size (in pairs): 4755, Positive cache size: 4702, Positive conditional cache size: 0, Positive unconditional cache size: 4702, Negative cache size: 53, Negative conditional cache size: 0, Negative unconditional cache size: 53, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 219, Maximal queried relation: 1, Independence queries for same thread: 9, Statistics for Abstraction: - DataRaceFoundResult [Line: 1116]: Data race detected Data race detected The following path leads to a data race: [L1108] 0 char *v; VAL [v={0:0}] [L1141] 0 pthread_t t; VAL [v={0:0}] [L1142] FCALL, FORK 0 pthread_create(&t, 0, thread0, 0) VAL [\at(arg, Pre)={0:0}, t=-5, v={0:0}] [L1126] 1 pthread_t t1, t2, t3, t4, t5; VAL [\at(arg, Pre)={0:0}, arg={0:0}, v={0:0}] [L1127] FCALL, FORK 1 pthread_create(&t1, 0, thread1, 0) VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, arg={0:0}, t1=-4, v={0:0}] [L1111] 2 v = malloc(sizeof(char)) VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, arg={0:0}, arg={0:0}, t1=-4, v={-1:0}] [L1112] 2 return 0; VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, t1=-4, v={-1:0}] [L1128] FCALL, JOIN 2 pthread_join(t1, 0) VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, t1=-4, v={-1:0}] [L1129] FCALL, FORK 1 pthread_create(&t2, 0, thread2, 0) VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, t1=-4, t2=-3, v={-1:0}] [L1116] EXPR 3 v[0] VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, t1=-4, t2=-3, v={-1:0}] [L1116] 3 v[0] = 'X' VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, t1=-4, t2=-3, v={-1:0}] [L1130] FCALL, FORK 1 pthread_create(&t3, 0, thread3, 0) VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, t1=-4, t2=-3, t3=-2, v={-1:0}] [L1131] FCALL, FORK 1 pthread_create(&t4, 0, thread2, 0) VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, t1=-4, t2=-3, t3=-2, t4=-1, v={-1:0}] [L1132] FCALL, FORK 1 pthread_create(&t5, 0, thread2, 0) VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, t1=-4, t2=-3, t3=-2, t4=-1, t5=0, v={-1:0}] [L1116] EXPR 6 v[0] VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, t1=-4, t2=-3, t3=-2, t4=-1, t5=0, v={-1:0}] [L1116] 6 v[0] = 'X' VAL [\at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \at(arg, Pre)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, t1=-4, t2=-3, t3=-2, t4=-1, t5=0, v={-1:0}] Now there is a data race, but we were unable to determine exactly which statements and variables are involved. There could be a race between one of the statements * C: v[0] [1116] * C: v = malloc(sizeof(char)) [1111] and C: v[0] = 'X' [1116] - UnprovableResult [Line: 1116]: 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 for errors in thread instance: thread2Thread1of1ForFork3 with 1 thread instances CFG has 11 procedures, 242 locations, 265 edges, 27 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.6s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 3, 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, 126 NumberOfCodeBlocks, 126 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 49 ConstructedInterpolants, 0 QuantifiedInterpolants, 55 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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-16 03:47:30,518 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request...