./Ultimate.py --spec ../sv-benchmarks/c/properties/no-data-race.prp --file ../sv-benchmarks/c/pthread-lit/fkp2013-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for data races Using default analysis Version 3289d67d Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/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.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/pthread-lit/fkp2013-1.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! data-race) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash ac100ce7c66b3266dc643fb77471441d693f59fe8c56e13ccaa684a73cdda8b0 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.fs.icfgbuilder-eval-3289d67-m [2024-11-16 23:29:48,028 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-16 23:29:48,088 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf [2024-11-16 23:29:48,095 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-16 23:29:48,095 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-16 23:29:48,126 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-16 23:29:48,126 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-16 23:29:48,127 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-16 23:29:48,127 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-16 23:29:48,128 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-16 23:29:48,128 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-16 23:29:48,129 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-16 23:29:48,129 INFO L153 SettingsManager]: * Use SBE=true [2024-11-16 23:29:48,129 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-16 23:29:48,130 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-16 23:29:48,130 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-16 23:29:48,130 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-16 23:29:48,131 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-16 23:29:48,131 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-16 23:29:48,131 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-16 23:29:48,132 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-16 23:29:48,136 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-16 23:29:48,137 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2024-11-16 23:29:48,137 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-16 23:29:48,137 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-16 23:29:48,137 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-16 23:29:48,137 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-16 23:29:48,138 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-16 23:29:48,138 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-16 23:29:48,138 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-16 23:29:48,138 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-16 23:29:48,138 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-16 23:29:48,139 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-16 23:29:48,139 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-16 23:29:48,139 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-16 23:29:48,139 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-16 23:29:48,140 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-16 23:29:48,140 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-16 23:29:48,140 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-16 23:29:48,142 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-16 23:29:48,142 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-16 23:29:48,143 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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 -> ac100ce7c66b3266dc643fb77471441d693f59fe8c56e13ccaa684a73cdda8b0 [2024-11-16 23:29:48,425 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-16 23:29:48,450 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-16 23:29:48,453 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-16 23:29:48,455 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-16 23:29:48,455 INFO L274 PluginConnector]: CDTParser initialized [2024-11-16 23:29:48,456 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-lit/fkp2013-1.i [2024-11-16 23:29:49,902 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-16 23:29:50,144 INFO L384 CDTParser]: Found 1 translation units. [2024-11-16 23:29:50,144 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-lit/fkp2013-1.i [2024-11-16 23:29:50,162 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/16f210e01/fdf8d12cfefb423e870a705276db5b0d/FLAGf3b76d33a [2024-11-16 23:29:50,179 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/16f210e01/fdf8d12cfefb423e870a705276db5b0d [2024-11-16 23:29:50,181 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-16 23:29:50,182 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-16 23:29:50,183 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-16 23:29:50,183 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-16 23:29:50,190 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-16 23:29:50,191 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,192 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3b5834 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50, skipping insertion in model container [2024-11-16 23:29:50,192 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,235 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-16 23:29:50,601 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-16 23:29:50,609 INFO L200 MainTranslator]: Completed pre-run [2024-11-16 23:29:50,669 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-16 23:29:50,713 INFO L204 MainTranslator]: Completed translation [2024-11-16 23:29:50,714 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50 WrapperNode [2024-11-16 23:29:50,714 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-16 23:29:50,715 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-16 23:29:50,715 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-16 23:29:50,715 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-16 23:29:50,722 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,734 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,756 INFO L138 Inliner]: procedures = 171, calls = 10, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 53 [2024-11-16 23:29:50,758 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-16 23:29:50,758 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-16 23:29:50,758 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-16 23:29:50,759 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-16 23:29:50,766 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,766 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,770 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,770 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,774 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,776 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,779 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,780 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,783 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-16 23:29:50,788 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-16 23:29:50,788 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-16 23:29:50,788 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-16 23:29:50,789 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (1/1) ... [2024-11-16 23:29:50,795 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-16 23:29:50,806 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-16 23:29:50,826 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) [2024-11-16 23:29:50,828 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 [2024-11-16 23:29:50,876 INFO L130 BoogieDeclarations]: Found specification of procedure thr2 [2024-11-16 23:29:50,876 INFO L138 BoogieDeclarations]: Found implementation of procedure thr2 [2024-11-16 23:29:50,877 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-11-16 23:29:50,877 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-11-16 23:29:50,877 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-16 23:29:50,877 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-16 23:29:50,877 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-16 23:29:50,877 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-16 23:29:50,879 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-16 23:29:51,061 INFO L256 CfgBuilder]: Building ICFG [2024-11-16 23:29:51,067 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-16 23:29:51,225 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-16 23:29:51,226 INFO L307 CfgBuilder]: Performing block encoding [2024-11-16 23:29:51,239 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-16 23:29:51,240 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-16 23:29:51,241 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 16.11 11:29:51 BoogieIcfgContainer [2024-11-16 23:29:51,241 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-11-16 23:29:51,244 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-16 23:29:51,245 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-16 23:29:51,247 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-16 23:29:51,248 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 16.11 11:29:50" (1/3) ... [2024-11-16 23:29:51,248 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@74f990a1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 16.11 11:29:51, skipping insertion in model container [2024-11-16 23:29:51,249 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 16.11 11:29:50" (2/3) ... [2024-11-16 23:29:51,249 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@74f990a1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 16.11 11:29:51, skipping insertion in model container [2024-11-16 23:29:51,250 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 16.11 11:29:51" (3/3) ... [2024-11-16 23:29:51,251 INFO L112 eAbstractionObserver]: Analyzing ICFG fkp2013-1.i [2024-11-16 23:29:51,264 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-16 23:29:51,264 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2024-11-16 23:29:51,264 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-16 23:29:51,318 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-16 23:29:51,365 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 83 places, 80 transitions, 168 flow [2024-11-16 23:29:51,410 INFO L124 PetriNetUnfolderBase]: 4/91 cut-off events. [2024-11-16 23:29:51,411 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-16 23:29:51,419 INFO L83 FinitePrefix]: Finished finitePrefix Result has 98 conditions, 91 events. 4/91 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 147 event pairs, 0 based on Foata normal form. 0/81 useless extension candidates. Maximal degree in co-relation 69. Up to 4 conditions per place. [2024-11-16 23:29:51,419 INFO L82 GeneralOperation]: Start removeDead. Operand has 83 places, 80 transitions, 168 flow [2024-11-16 23:29:51,423 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 82 places, 79 transitions, 165 flow [2024-11-16 23:29:51,435 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-16 23:29:51,444 INFO L333 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@240b0148, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-16 23:29:51,445 INFO L334 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2024-11-16 23:29:51,455 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-16 23:29:51,457 INFO L124 PetriNetUnfolderBase]: 0/18 cut-off events. [2024-11-16 23:29:51,457 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-16 23:29:51,457 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-16 23:29:51,458 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-16 23:29:51,458 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [thr2Err1ASSERT_VIOLATIONDATA_RACE, thr2Err0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (and 5 more)] === [2024-11-16 23:29:51,463 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-16 23:29:51,463 INFO L85 PathProgramCache]: Analyzing trace with hash 1940040456, now seen corresponding path program 1 times [2024-11-16 23:29:51,472 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-16 23:29:51,472 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [113389878] [2024-11-16 23:29:51,473 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-16 23:29:51,473 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-16 23:29:51,590 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-16 23:29:51,696 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-16 23:29:51,696 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-16 23:29:51,697 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [113389878] [2024-11-16 23:29:51,697 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [113389878] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-16 23:29:51,698 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-16 23:29:51,698 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-16 23:29:51,699 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [816955564] [2024-11-16 23:29:51,700 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-16 23:29:51,707 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-16 23:29:51,715 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-16 23:29:51,744 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-16 23:29:51,745 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-16 23:29:51,787 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 64 out of 80 [2024-11-16 23:29:51,790 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 82 places, 79 transitions, 165 flow. Second operand has 3 states, 3 states have (on average 65.33333333333333) internal successors, (196), 3 states have internal predecessors, (196), 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) [2024-11-16 23:29:51,791 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-16 23:29:51,791 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 64 of 80 [2024-11-16 23:29:51,792 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-16 23:29:51,864 INFO L124 PetriNetUnfolderBase]: 11/189 cut-off events. [2024-11-16 23:29:51,868 INFO L125 PetriNetUnfolderBase]: For 3/3 co-relation queries the response was YES. [2024-11-16 23:29:51,869 INFO L83 FinitePrefix]: Finished finitePrefix Result has 231 conditions, 189 events. 11/189 cut-off events. For 3/3 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 707 event pairs, 11 based on Foata normal form. 18/179 useless extension candidates. Maximal degree in co-relation 196. Up to 31 conditions per place. [2024-11-16 23:29:51,871 INFO L140 encePairwiseOnDemand]: 74/80 looper letters, 9 selfloop transitions, 2 changer transitions 0/73 dead transitions. [2024-11-16 23:29:51,871 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 81 places, 73 transitions, 175 flow [2024-11-16 23:29:51,874 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-16 23:29:51,877 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-16 23:29:51,884 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 207 transitions. [2024-11-16 23:29:51,886 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.8625 [2024-11-16 23:29:51,888 INFO L175 Difference]: Start difference. First operand has 82 places, 79 transitions, 165 flow. Second operand 3 states and 207 transitions. [2024-11-16 23:29:51,889 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 81 places, 73 transitions, 175 flow [2024-11-16 23:29:51,891 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 80 places, 73 transitions, 174 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-16 23:29:51,896 INFO L231 Difference]: Finished difference. Result has 80 places, 73 transitions, 156 flow [2024-11-16 23:29:51,898 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=80, PETRI_DIFFERENCE_MINUEND_FLOW=152, PETRI_DIFFERENCE_MINUEND_PLACES=78, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=73, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=71, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=156, PETRI_PLACES=80, PETRI_TRANSITIONS=73} [2024-11-16 23:29:51,902 INFO L277 CegarLoopForPetriNet]: 82 programPoint places, -2 predicate places. [2024-11-16 23:29:51,903 INFO L471 AbstractCegarLoop]: Abstraction has has 80 places, 73 transitions, 156 flow [2024-11-16 23:29:51,904 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 65.33333333333333) internal successors, (196), 3 states have internal predecessors, (196), 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) [2024-11-16 23:29:51,904 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-16 23:29:51,904 INFO L204 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] [2024-11-16 23:29:51,904 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-16 23:29:51,905 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONDATA_RACE === [thr2Err1ASSERT_VIOLATIONDATA_RACE, thr2Err0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (and 5 more)] === [2024-11-16 23:29:51,905 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-16 23:29:51,906 INFO L85 PathProgramCache]: Analyzing trace with hash 228367939, now seen corresponding path program 1 times [2024-11-16 23:29:51,906 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-16 23:29:51,907 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [27412483] [2024-11-16 23:29:51,907 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-16 23:29:51,907 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-16 23:29:51,936 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-16 23:29:51,980 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-16 23:29:51,980 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-16 23:29:51,980 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [27412483] [2024-11-16 23:29:51,981 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [27412483] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-16 23:29:51,981 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-16 23:29:51,981 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-16 23:29:51,981 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [121693698] [2024-11-16 23:29:51,981 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-16 23:29:51,983 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-16 23:29:51,984 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-16 23:29:51,986 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-16 23:29:51,986 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-16 23:29:52,009 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 66 out of 80 [2024-11-16 23:29:52,011 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 80 places, 73 transitions, 156 flow. Second operand has 3 states, 3 states have (on average 67.33333333333333) internal successors, (202), 3 states have internal predecessors, (202), 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) [2024-11-16 23:29:52,011 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-16 23:29:52,011 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 66 of 80 [2024-11-16 23:29:52,011 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-16 23:29:52,070 INFO L124 PetriNetUnfolderBase]: 7/168 cut-off events. [2024-11-16 23:29:52,074 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2024-11-16 23:29:52,075 INFO L83 FinitePrefix]: Finished finitePrefix Result has 208 conditions, 168 events. 7/168 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 14. Compared 628 event pairs, 3 based on Foata normal form. 0/155 useless extension candidates. Maximal degree in co-relation 182. Up to 19 conditions per place. [2024-11-16 23:29:52,076 INFO L140 encePairwiseOnDemand]: 74/80 looper letters, 9 selfloop transitions, 4 changer transitions 0/76 dead transitions. [2024-11-16 23:29:52,076 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 81 places, 76 transitions, 191 flow [2024-11-16 23:29:52,076 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-16 23:29:52,077 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-16 23:29:52,078 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 213 transitions. [2024-11-16 23:29:52,078 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.8875 [2024-11-16 23:29:52,078 INFO L175 Difference]: Start difference. First operand has 80 places, 73 transitions, 156 flow. Second operand 3 states and 213 transitions. [2024-11-16 23:29:52,079 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 81 places, 76 transitions, 191 flow [2024-11-16 23:29:52,079 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 79 places, 76 transitions, 187 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-16 23:29:52,086 INFO L231 Difference]: Finished difference. Result has 81 places, 75 transitions, 180 flow [2024-11-16 23:29:52,090 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=80, PETRI_DIFFERENCE_MINUEND_FLOW=150, PETRI_DIFFERENCE_MINUEND_PLACES=77, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=72, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=68, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=180, PETRI_PLACES=81, PETRI_TRANSITIONS=75} [2024-11-16 23:29:52,091 INFO L277 CegarLoopForPetriNet]: 82 programPoint places, -1 predicate places. [2024-11-16 23:29:52,091 INFO L471 AbstractCegarLoop]: Abstraction has has 81 places, 75 transitions, 180 flow [2024-11-16 23:29:52,092 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 67.33333333333333) internal successors, (202), 3 states have internal predecessors, (202), 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) [2024-11-16 23:29:52,092 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-16 23:29:52,092 INFO L204 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-16 23:29:52,092 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-16 23:29:52,092 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting thr2Err0ASSERT_VIOLATIONDATA_RACE === [thr2Err1ASSERT_VIOLATIONDATA_RACE, thr2Err0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (and 5 more)] === [2024-11-16 23:29:52,093 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-16 23:29:52,093 INFO L85 PathProgramCache]: Analyzing trace with hash 657821844, now seen corresponding path program 1 times [2024-11-16 23:29:52,093 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-16 23:29:52,094 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1790135324] [2024-11-16 23:29:52,094 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-16 23:29:52,094 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-16 23:29:52,124 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-16 23:29:52,206 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-16 23:29:52,207 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-16 23:29:52,207 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1790135324] [2024-11-16 23:29:52,207 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1790135324] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-16 23:29:52,208 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-16 23:29:52,208 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-16 23:29:52,208 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [653330289] [2024-11-16 23:29:52,208 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-16 23:29:52,210 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-16 23:29:52,211 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-16 23:29:52,212 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-16 23:29:52,212 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-16 23:29:52,250 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 66 out of 80 [2024-11-16 23:29:52,251 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 81 places, 75 transitions, 180 flow. Second operand has 3 states, 3 states have (on average 68.33333333333333) internal successors, (205), 3 states have internal predecessors, (205), 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) [2024-11-16 23:29:52,251 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-16 23:29:52,251 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 66 of 80 [2024-11-16 23:29:52,251 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-16 23:29:52,288 INFO L124 PetriNetUnfolderBase]: 6/181 cut-off events. [2024-11-16 23:29:52,292 INFO L125 PetriNetUnfolderBase]: For 23/25 co-relation queries the response was YES. [2024-11-16 23:29:52,293 INFO L83 FinitePrefix]: Finished finitePrefix Result has 252 conditions, 181 events. 6/181 cut-off events. For 23/25 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 662 event pairs, 2 based on Foata normal form. 0/169 useless extension candidates. Maximal degree in co-relation 220. Up to 23 conditions per place. [2024-11-16 23:29:52,294 INFO L140 encePairwiseOnDemand]: 75/80 looper letters, 11 selfloop transitions, 4 changer transitions 0/78 dead transitions. [2024-11-16 23:29:52,294 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 83 places, 78 transitions, 220 flow [2024-11-16 23:29:52,295 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-16 23:29:52,295 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-16 23:29:52,296 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 212 transitions. [2024-11-16 23:29:52,297 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.8833333333333333 [2024-11-16 23:29:52,297 INFO L175 Difference]: Start difference. First operand has 81 places, 75 transitions, 180 flow. Second operand 3 states and 212 transitions. [2024-11-16 23:29:52,297 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 83 places, 78 transitions, 220 flow [2024-11-16 23:29:52,299 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 81 places, 78 transitions, 210 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-16 23:29:52,301 INFO L231 Difference]: Finished difference. Result has 83 places, 78 transitions, 204 flow [2024-11-16 23:29:52,301 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=80, PETRI_DIFFERENCE_MINUEND_FLOW=172, PETRI_DIFFERENCE_MINUEND_PLACES=79, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=75, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=71, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=204, PETRI_PLACES=83, PETRI_TRANSITIONS=78} [2024-11-16 23:29:52,302 INFO L277 CegarLoopForPetriNet]: 82 programPoint places, 1 predicate places. [2024-11-16 23:29:52,303 INFO L471 AbstractCegarLoop]: Abstraction has has 83 places, 78 transitions, 204 flow [2024-11-16 23:29:52,303 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 68.33333333333333) internal successors, (205), 3 states have internal predecessors, (205), 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) [2024-11-16 23:29:52,304 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-16 23:29:52,304 INFO L204 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-16 23:29:52,304 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-11-16 23:29:52,305 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting thr1Err0ASSERT_VIOLATIONDATA_RACE === [thr2Err1ASSERT_VIOLATIONDATA_RACE, thr2Err0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (and 5 more)] === [2024-11-16 23:29:52,306 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-16 23:29:52,306 INFO L85 PathProgramCache]: Analyzing trace with hash 958545848, now seen corresponding path program 1 times [2024-11-16 23:29:52,306 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-16 23:29:52,307 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [485734545] [2024-11-16 23:29:52,308 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-16 23:29:52,308 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-16 23:29:52,332 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-16 23:29:52,332 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-16 23:29:52,341 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-16 23:29:52,364 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-16 23:29:52,365 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-16 23:29:52,366 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (8 of 9 remaining) [2024-11-16 23:29:52,367 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err1ASSERT_VIOLATIONDATA_RACE (7 of 9 remaining) [2024-11-16 23:29:52,368 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err0ASSERT_VIOLATIONDATA_RACE (6 of 9 remaining) [2024-11-16 23:29:52,368 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (5 of 9 remaining) [2024-11-16 23:29:52,368 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (4 of 9 remaining) [2024-11-16 23:29:52,369 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 9 remaining) [2024-11-16 23:29:52,369 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 9 remaining) [2024-11-16 23:29:52,369 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err1ASSERT_VIOLATIONDATA_RACE (1 of 9 remaining) [2024-11-16 23:29:52,369 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err0ASSERT_VIOLATIONDATA_RACE (0 of 9 remaining) [2024-11-16 23:29:52,370 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-16 23:29:52,370 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-16 23:29:52,421 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-16 23:29:52,422 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-16 23:29:52,426 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 16.11 11:29:52 BasicIcfg [2024-11-16 23:29:52,427 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-16 23:29:52,428 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-16 23:29:52,428 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-16 23:29:52,428 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-16 23:29:52,429 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 16.11 11:29:51" (3/4) ... [2024-11-16 23:29:52,430 INFO L137 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-16 23:29:52,495 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2024-11-16 23:29:52,496 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-16 23:29:52,500 INFO L158 Benchmark]: Toolchain (without parser) took 2314.40ms. Allocated memory is still 178.3MB. Free memory was 143.8MB in the beginning and 53.6MB in the end (delta: 90.3MB). Peak memory consumption was 89.2MB. Max. memory is 16.1GB. [2024-11-16 23:29:52,500 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 109.1MB. Free memory is still 79.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-16 23:29:52,500 INFO L158 Benchmark]: CACSL2BoogieTranslator took 531.57ms. Allocated memory is still 178.3MB. Free memory was 143.8MB in the beginning and 121.8MB in the end (delta: 22.0MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. [2024-11-16 23:29:52,500 INFO L158 Benchmark]: Boogie Procedure Inliner took 42.65ms. Allocated memory is still 178.3MB. Free memory was 121.8MB in the beginning and 119.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-16 23:29:52,501 INFO L158 Benchmark]: Boogie Preprocessor took 25.37ms. Allocated memory is still 178.3MB. Free memory was 119.7MB in the beginning and 118.7MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-16 23:29:52,501 INFO L158 Benchmark]: IcfgBuilder took 453.76ms. Allocated memory is still 178.3MB. Free memory was 118.7MB in the beginning and 139.6MB in the end (delta: -20.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2024-11-16 23:29:52,501 INFO L158 Benchmark]: TraceAbstraction took 1183.01ms. Allocated memory is still 178.3MB. Free memory was 138.5MB in the beginning and 58.8MB in the end (delta: 79.7MB). Peak memory consumption was 79.7MB. Max. memory is 16.1GB. [2024-11-16 23:29:52,501 INFO L158 Benchmark]: Witness Printer took 67.60ms. Allocated memory is still 178.3MB. Free memory was 58.8MB in the beginning and 53.6MB in the end (delta: 5.2MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2024-11-16 23:29:52,503 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.19ms. Allocated memory is still 109.1MB. Free memory is still 79.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 531.57ms. Allocated memory is still 178.3MB. Free memory was 143.8MB in the beginning and 121.8MB in the end (delta: 22.0MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 42.65ms. Allocated memory is still 178.3MB. Free memory was 121.8MB in the beginning and 119.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 25.37ms. Allocated memory is still 178.3MB. Free memory was 119.7MB in the beginning and 118.7MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 453.76ms. Allocated memory is still 178.3MB. Free memory was 118.7MB in the beginning and 139.6MB in the end (delta: -20.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * TraceAbstraction took 1183.01ms. Allocated memory is still 178.3MB. Free memory was 138.5MB in the beginning and 58.8MB in the end (delta: 79.7MB). Peak memory consumption was 79.7MB. Max. memory is 16.1GB. * Witness Printer took 67.60ms. Allocated memory is still 178.3MB. Free memory was 58.8MB in the beginning and 53.6MB in the end (delta: 5.2MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - DataRaceFoundResult [Line: 699]: Data race detected Data race detected The following path leads to a data race: [L697] 0 volatile int x; VAL [x=0] [L709] 0 pthread_t t1, t2; VAL [\old(argc)=51, \old(argv)={49:50}, argc=51, x=0] [L710] 0 int i; VAL [\old(argc)=51, \old(argv)={49:50}, argc=51, x=0] [L711] 0 x = 0 VAL [\old(argc)=51, \old(argv)={49:50}, argc=51, x=0] [L712] FCALL, FORK 0 pthread_create(&t1, 0, thr1, 0) VAL [\old(argc)=51, \old(argv)={49:50}, argc=51, t1=-1, x=0] [L713] 0 i = 0 VAL [\old(argc)=51, \old(argv)={49:50}, argc=51, i=0, t1=-1, x=0] [L713] COND TRUE 0 i < 50 VAL [\old(argc)=51, \old(argv)={49:50}, argc=51, i=0, t1=-1, x=0] [L714] FCALL, FORK 0 pthread_create(&t2, 0, thr2, 0) VAL [\old(arg)={0:0}, \old(argc)=51, \old(argv)={49:50}, argc=51, i=0, t1=-1, t2=0, x=0] [L699] 1 x < 50 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, x=0] [L703] 2 int t; VAL [\old(arg)={0:0}, arg={0:0}, x=0] [L704] 2 t = x VAL [\old(arg)={0:0}, arg={0:0}, t=0, x=0] [L705] 2 x = t + 1 VAL [\old(arg)={0:0}, arg={0:0}, t=0, x=1] [L699] 1 x < 50 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, t=0, x=1] Now there is a data race on ~x~0 between C: x = t + 1 [705] and C: x < 50 [699] - UnprovableResult [Line: 704]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 705]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 711]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - UnprovableResult [Line: 712]: 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: 714]: 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. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 112 locations, 9 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: 1.0s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.4s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 65 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 22 mSDsluCounter, 4 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 7 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 66 IncrementalHoareTripleChecker+Invalid, 73 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 7 mSolverCounterUnsat, 4 mSDtfsCounter, 66 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=204occurred 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, 128 NumberOfCodeBlocks, 128 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 82 ConstructedInterpolants, 0 QuantifiedInterpolants, 88 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 RESULT: Ultimate proved your program to be incorrect! [2024-11-16 23:29:52,532 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE