./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/no-data-race.prp --file ../../../trunk/examples/svcomp/pthread-ext/45_monabsex1_vs.i --full-output --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --architecture 32bit -------------------------------------------------------------------------------- Checking for data races Using default analysis Version b8dbc81d Calling Ultimate with: /usr/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 ../../../trunk/examples/svcomp/pthread-ext/45_monabsex1_vs.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.graphml --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 43a7b886f1e454dafac7facab2674c64a0fa591a6bf106acb1f8b320d6c92508 --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --- Real Ultimate output --- This is Ultimate 0.2.3-?-b8dbc81 [2023-08-28 18:07:09,067 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-28 18:07:09,070 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-28 18:07:09,112 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-28 18:07:09,113 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-28 18:07:09,116 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-28 18:07:09,118 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-28 18:07:09,120 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-28 18:07:09,124 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-28 18:07:09,129 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-28 18:07:09,130 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-28 18:07:09,132 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-28 18:07:09,133 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-28 18:07:09,135 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-28 18:07:09,136 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-28 18:07:09,139 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-28 18:07:09,140 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-28 18:07:09,142 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-28 18:07:09,143 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-28 18:07:09,148 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-28 18:07:09,158 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-28 18:07:09,160 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-28 18:07:09,160 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-28 18:07:09,161 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-28 18:07:09,168 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-28 18:07:09,169 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-28 18:07:09,169 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-28 18:07:09,171 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-28 18:07:09,171 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-28 18:07:09,172 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-28 18:07:09,172 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-28 18:07:09,174 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-28 18:07:09,175 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-28 18:07:09,176 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-28 18:07:09,177 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-28 18:07:09,177 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-28 18:07:09,178 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-28 18:07:09,178 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-28 18:07:09,178 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-28 18:07:09,179 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-28 18:07:09,179 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-28 18:07:09,181 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf [2023-08-28 18:07:09,215 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-28 18:07:09,215 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-28 18:07:09,216 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-28 18:07:09,216 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-28 18:07:09,217 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-28 18:07:09,218 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-28 18:07:09,218 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-28 18:07:09,218 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-28 18:07:09,219 INFO L138 SettingsManager]: * Use SBE=true [2023-08-28 18:07:09,219 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-28 18:07:09,220 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-28 18:07:09,220 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-28 18:07:09,220 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-28 18:07:09,220 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-28 18:07:09,221 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-28 18:07:09,221 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-08-28 18:07:09,221 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-28 18:07:09,221 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-08-28 18:07:09,221 INFO L138 SettingsManager]: * Check absence of data races in concurrent programs=true [2023-08-28 18:07:09,221 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-28 18:07:09,222 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2023-08-28 18:07:09,222 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-28 18:07:09,222 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-08-28 18:07:09,222 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-28 18:07:09,222 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-28 18:07:09,223 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-28 18:07:09,223 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-28 18:07:09,223 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-28 18:07:09,223 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-28 18:07:09,223 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-08-28 18:07:09,224 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-28 18:07:09,224 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-28 18:07:09,224 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-28 18:07:09,224 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-08-28 18:07:09,225 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-28 18:07:09,225 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-28 18:07:09,225 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-28 18:07:09,225 INFO L138 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.graphml 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 -> 43a7b886f1e454dafac7facab2674c64a0fa591a6bf106acb1f8b320d6c92508 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: When to check the insufficient erros location relative to the other error locations -> AFTER [2023-08-28 18:07:09,529 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-28 18:07:09,550 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-28 18:07:09,554 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-28 18:07:09,555 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-28 18:07:09,556 INFO L275 PluginConnector]: CDTParser initialized [2023-08-28 18:07:09,558 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/45_monabsex1_vs.i [2023-08-28 18:07:10,865 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-28 18:07:11,154 INFO L351 CDTParser]: Found 1 translation units. [2023-08-28 18:07:11,162 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/45_monabsex1_vs.i [2023-08-28 18:07:11,174 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f8ccde798/1fee39cbdd744cf0980841d6726e8490/FLAG97892d87f [2023-08-28 18:07:11,187 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f8ccde798/1fee39cbdd744cf0980841d6726e8490 [2023-08-28 18:07:11,189 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-28 18:07:11,190 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-28 18:07:11,191 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-28 18:07:11,191 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-28 18:07:11,194 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-28 18:07:11,194 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,195 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1a9a5c25 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11, skipping insertion in model container [2023-08-28 18:07:11,196 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,202 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-28 18:07:11,244 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-28 18:07:11,403 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-28 18:07:11,558 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/45_monabsex1_vs.i[30633,30646] [2023-08-28 18:07:11,565 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-28 18:07:11,574 INFO L203 MainTranslator]: Completed pre-run [2023-08-28 18:07:11,595 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-28 18:07:11,623 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/45_monabsex1_vs.i[30633,30646] [2023-08-28 18:07:11,625 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-28 18:07:11,665 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-08-28 18:07:11,665 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-08-28 18:07:11,665 WARN L667 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-08-28 18:07:11,671 INFO L208 MainTranslator]: Completed translation [2023-08-28 18:07:11,672 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11 WrapperNode [2023-08-28 18:07:11,673 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-28 18:07:11,674 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-28 18:07:11,674 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-28 18:07:11,674 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-28 18:07:11,680 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,711 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,732 INFO L138 Inliner]: procedures = 171, calls = 15, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 31 [2023-08-28 18:07:11,733 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-28 18:07:11,734 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-28 18:07:11,734 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-28 18:07:11,734 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-28 18:07:11,741 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,742 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,746 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,747 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,759 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,765 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,770 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,771 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,775 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-28 18:07:11,777 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-28 18:07:11,778 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-28 18:07:11,778 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-28 18:07:11,779 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (1/1) ... [2023-08-28 18:07:11,783 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-28 18:07:11,795 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-28 18:07:11,810 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-08-28 18:07:11,826 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-08-28 18:07:11,850 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-28 18:07:11,850 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-28 18:07:11,851 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-28 18:07:11,851 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-08-28 18:07:11,851 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-28 18:07:11,851 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-28 18:07:11,851 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-28 18:07:11,851 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-28 18:07:11,851 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-08-28 18:07:11,852 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-28 18:07:11,852 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-28 18:07:11,853 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-28 18:07:12,022 INFO L236 CfgBuilder]: Building ICFG [2023-08-28 18:07:12,023 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-28 18:07:12,115 INFO L277 CfgBuilder]: Performing block encoding [2023-08-28 18:07:12,142 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-28 18:07:12,142 INFO L302 CfgBuilder]: Removed 1 assume(true) statements. [2023-08-28 18:07:12,144 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.08 06:07:12 BoogieIcfgContainer [2023-08-28 18:07:12,144 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-28 18:07:12,146 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-28 18:07:12,146 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-28 18:07:12,149 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-28 18:07:12,149 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 28.08 06:07:11" (1/3) ... [2023-08-28 18:07:12,150 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@623cd66a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.08 06:07:12, skipping insertion in model container [2023-08-28 18:07:12,150 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.08 06:07:11" (2/3) ... [2023-08-28 18:07:12,150 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@623cd66a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.08 06:07:12, skipping insertion in model container [2023-08-28 18:07:12,150 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.08 06:07:12" (3/3) ... [2023-08-28 18:07:12,151 INFO L112 eAbstractionObserver]: Analyzing ICFG 45_monabsex1_vs.i [2023-08-28 18:07:12,158 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-08-28 18:07:12,166 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-28 18:07:12,166 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 3 error locations. [2023-08-28 18:07:12,166 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-28 18:07:12,197 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-28 18:07:12,223 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 48 places, 46 transitions, 97 flow [2023-08-28 18:07:12,252 INFO L130 PetriNetUnfolder]: 2/56 cut-off events. [2023-08-28 18:07:12,252 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:12,256 INFO L83 FinitePrefix]: Finished finitePrefix Result has 61 conditions, 56 events. 2/56 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 53 event pairs, 0 based on Foata normal form. 0/49 useless extension candidates. Maximal degree in co-relation 30. Up to 4 conditions per place. [2023-08-28 18:07:12,256 INFO L82 GeneralOperation]: Start removeDead. Operand has 48 places, 46 transitions, 97 flow [2023-08-28 18:07:12,259 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 48 places, 46 transitions, 97 flow [2023-08-28 18:07:12,262 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:12,270 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 48 places, 46 transitions, 97 flow [2023-08-28 18:07:12,273 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 48 places, 46 transitions, 97 flow [2023-08-28 18:07:12,273 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 48 places, 46 transitions, 97 flow [2023-08-28 18:07:12,285 INFO L130 PetriNetUnfolder]: 2/56 cut-off events. [2023-08-28 18:07:12,285 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:12,286 INFO L83 FinitePrefix]: Finished finitePrefix Result has 61 conditions, 56 events. 2/56 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 53 event pairs, 0 based on Foata normal form. 0/49 useless extension candidates. Maximal degree in co-relation 30. Up to 4 conditions per place. [2023-08-28 18:07:12,287 INFO L119 LiptonReduction]: Number of co-enabled transitions 312 [2023-08-28 18:07:13,514 INFO L134 LiptonReduction]: Checked pairs total: 309 [2023-08-28 18:07:13,514 INFO L136 LiptonReduction]: Total number of compositions: 49 [2023-08-28 18:07:13,534 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-28 18:07:13,544 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:13,545 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-08-28 18:07:13,546 INFO L130 PetriNetUnfolder]: 0/0 cut-off events. [2023-08-28 18:07:13,546 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:13,546 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:13,547 INFO L208 CegarLoopForPetriNet]: trace histogram [1] [2023-08-28 18:07:13,548 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE (and 1 more)] === [2023-08-28 18:07:13,553 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:13,554 INFO L85 PathProgramCache]: Analyzing trace with hash 216, now seen corresponding path program 1 times [2023-08-28 18:07:13,563 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:13,563 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1385968428] [2023-08-28 18:07:13,564 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:13,564 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:13,644 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-28 18:07:13,672 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-28 18:07:13,673 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-28 18:07:13,673 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1385968428] [2023-08-28 18:07:13,674 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1385968428] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-28 18:07:13,674 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-28 18:07:13,674 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2023-08-28 18:07:13,675 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1220885854] [2023-08-28 18:07:13,676 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-28 18:07:13,682 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-28 18:07:13,687 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-28 18:07:13,709 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-28 18:07:13,709 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-28 18:07:13,711 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 39 out of 95 [2023-08-28 18:07:13,714 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 13 places, 10 transitions, 25 flow. Second operand has 2 states, 2 states have (on average 39.5) internal successors, (79), 2 states have internal predecessors, (79), 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) [2023-08-28 18:07:13,714 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-28 18:07:13,714 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 39 of 95 [2023-08-28 18:07:13,715 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-28 18:07:13,731 INFO L130 PetriNetUnfolder]: 2/12 cut-off events. [2023-08-28 18:07:13,731 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:13,732 INFO L83 FinitePrefix]: Finished finitePrefix Result has 29 conditions, 12 events. 2/12 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 10 event pairs, 2 based on Foata normal form. 0/12 useless extension candidates. Maximal degree in co-relation 14. Up to 11 conditions per place. [2023-08-28 18:07:13,733 INFO L137 encePairwiseOnDemand]: 91/95 looper letters, 0 selfloop transitions, 0 changer transitions 6/6 dead transitions. [2023-08-28 18:07:13,733 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 10 places, 6 transitions, 27 flow [2023-08-28 18:07:13,734 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-28 18:07:13,736 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-28 18:07:13,743 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 87 transitions. [2023-08-28 18:07:13,745 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.45789473684210524 [2023-08-28 18:07:13,746 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 87 transitions. [2023-08-28 18:07:13,746 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 87 transitions. [2023-08-28 18:07:13,747 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-28 18:07:13,749 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 87 transitions. [2023-08-28 18:07:13,752 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 43.5) internal successors, (87), 2 states have internal predecessors, (87), 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) [2023-08-28 18:07:13,758 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 95.0) internal successors, (285), 3 states have internal predecessors, (285), 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) [2023-08-28 18:07:13,758 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 95.0) internal successors, (285), 3 states have internal predecessors, (285), 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) [2023-08-28 18:07:13,760 INFO L175 Difference]: Start difference. First operand has 13 places, 10 transitions, 25 flow. Second operand 2 states and 87 transitions. [2023-08-28 18:07:13,761 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 10 places, 6 transitions, 27 flow [2023-08-28 18:07:13,763 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 10 places, 6 transitions, 27 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-28 18:07:13,764 INFO L231 Difference]: Finished difference. Result has 10 places, 0 transitions, 0 flow [2023-08-28 18:07:13,765 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=95, PETRI_DIFFERENCE_MINUEND_FLOW=17, PETRI_DIFFERENCE_MINUEND_PLACES=9, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=6, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=6, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=10, PETRI_TRANSITIONS=0} [2023-08-28 18:07:13,769 INFO L281 CegarLoopForPetriNet]: 13 programPoint places, -3 predicate places. [2023-08-28 18:07:13,770 INFO L495 AbstractCegarLoop]: Abstraction has has 10 places, 0 transitions, 0 flow [2023-08-28 18:07:13,771 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 39.5) internal successors, (79), 2 states have internal predecessors, (79), 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) [2023-08-28 18:07:13,776 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (4 of 5 remaining) [2023-08-28 18:07:13,779 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (3 of 5 remaining) [2023-08-28 18:07:13,780 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (2 of 5 remaining) [2023-08-28 18:07:13,780 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (1 of 5 remaining) [2023-08-28 18:07:13,781 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (0 of 5 remaining) [2023-08-28 18:07:13,781 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-28 18:07:13,782 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:13,786 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-28 18:07:13,795 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 48 places, 46 transitions, 97 flow [2023-08-28 18:07:13,815 INFO L130 PetriNetUnfolder]: 2/56 cut-off events. [2023-08-28 18:07:13,815 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:13,821 INFO L83 FinitePrefix]: Finished finitePrefix Result has 61 conditions, 56 events. 2/56 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 53 event pairs, 0 based on Foata normal form. 0/49 useless extension candidates. Maximal degree in co-relation 30. Up to 4 conditions per place. [2023-08-28 18:07:13,821 INFO L82 GeneralOperation]: Start removeDead. Operand has 48 places, 46 transitions, 97 flow [2023-08-28 18:07:13,823 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 42 places, 39 transitions, 83 flow [2023-08-28 18:07:13,823 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:13,823 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 42 places, 39 transitions, 83 flow [2023-08-28 18:07:13,824 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 42 places, 39 transitions, 83 flow [2023-08-28 18:07:13,824 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 42 places, 39 transitions, 83 flow [2023-08-28 18:07:13,833 INFO L130 PetriNetUnfolder]: 0/43 cut-off events. [2023-08-28 18:07:13,833 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:13,833 INFO L83 FinitePrefix]: Finished finitePrefix Result has 48 conditions, 43 events. 0/43 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 19 event pairs, 0 based on Foata normal form. 0/41 useless extension candidates. Maximal degree in co-relation 0. Up to 2 conditions per place. [2023-08-28 18:07:13,834 INFO L119 LiptonReduction]: Number of co-enabled transitions 168 [2023-08-28 18:07:14,897 INFO L134 LiptonReduction]: Checked pairs total: 188 [2023-08-28 18:07:14,897 INFO L136 LiptonReduction]: Total number of compositions: 42 [2023-08-28 18:07:14,899 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-28 18:07:14,899 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:14,900 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-28 18:07:14,901 INFO L130 PetriNetUnfolder]: 0/6 cut-off events. [2023-08-28 18:07:14,901 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:14,901 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:14,901 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2023-08-28 18:07:14,901 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-28 18:07:14,902 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:14,902 INFO L85 PathProgramCache]: Analyzing trace with hash 7886414, now seen corresponding path program 1 times [2023-08-28 18:07:14,902 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:14,902 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1649425971] [2023-08-28 18:07:14,902 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:14,902 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:14,943 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:14,945 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-28 18:07:14,965 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:14,988 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-28 18:07:14,989 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-28 18:07:14,989 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-28 18:07:14,989 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-28 18:07:14,989 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:14,990 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-28 18:07:14,990 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-28 18:07:14,991 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-28 18:07:15,013 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-28 18:07:15,015 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 63 places, 59 transitions, 130 flow [2023-08-28 18:07:15,028 INFO L130 PetriNetUnfolder]: 3/81 cut-off events. [2023-08-28 18:07:15,028 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-28 18:07:15,029 INFO L83 FinitePrefix]: Finished finitePrefix Result has 91 conditions, 81 events. 3/81 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 103 event pairs, 0 based on Foata normal form. 0/70 useless extension candidates. Maximal degree in co-relation 57. Up to 6 conditions per place. [2023-08-28 18:07:15,029 INFO L82 GeneralOperation]: Start removeDead. Operand has 63 places, 59 transitions, 130 flow [2023-08-28 18:07:15,030 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 63 places, 59 transitions, 130 flow [2023-08-28 18:07:15,030 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:15,030 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 63 places, 59 transitions, 130 flow [2023-08-28 18:07:15,030 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 63 places, 59 transitions, 130 flow [2023-08-28 18:07:15,031 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 63 places, 59 transitions, 130 flow [2023-08-28 18:07:15,039 INFO L130 PetriNetUnfolder]: 3/81 cut-off events. [2023-08-28 18:07:15,039 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-28 18:07:15,047 INFO L83 FinitePrefix]: Finished finitePrefix Result has 91 conditions, 81 events. 3/81 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 103 event pairs, 0 based on Foata normal form. 0/70 useless extension candidates. Maximal degree in co-relation 57. Up to 6 conditions per place. [2023-08-28 18:07:15,048 INFO L119 LiptonReduction]: Number of co-enabled transitions 936 [2023-08-28 18:07:16,014 INFO L134 LiptonReduction]: Checked pairs total: 1250 [2023-08-28 18:07:16,014 INFO L136 LiptonReduction]: Total number of compositions: 51 [2023-08-28 18:07:16,016 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-28 18:07:16,017 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:16,017 INFO L358 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2023-08-28 18:07:16,018 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-28 18:07:16,018 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:16,018 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:16,018 INFO L208 CegarLoopForPetriNet]: trace histogram [1] [2023-08-28 18:07:16,018 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE (and 3 more)] === [2023-08-28 18:07:16,018 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:16,019 INFO L85 PathProgramCache]: Analyzing trace with hash 383, now seen corresponding path program 1 times [2023-08-28 18:07:16,019 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:16,019 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1081069996] [2023-08-28 18:07:16,019 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:16,019 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:16,025 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-28 18:07:16,029 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-28 18:07:16,029 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-28 18:07:16,029 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1081069996] [2023-08-28 18:07:16,030 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1081069996] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-28 18:07:16,030 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-28 18:07:16,030 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2023-08-28 18:07:16,030 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1191226803] [2023-08-28 18:07:16,030 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-28 18:07:16,031 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-28 18:07:16,031 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-28 18:07:16,031 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-28 18:07:16,031 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-28 18:07:16,032 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 47 out of 110 [2023-08-28 18:07:16,032 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 22 places, 17 transitions, 46 flow. Second operand has 2 states, 2 states have (on average 47.5) internal successors, (95), 2 states have internal predecessors, (95), 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) [2023-08-28 18:07:16,032 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-28 18:07:16,032 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 47 of 110 [2023-08-28 18:07:16,033 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-28 18:07:16,047 INFO L130 PetriNetUnfolder]: 20/57 cut-off events. [2023-08-28 18:07:16,048 INFO L131 PetriNetUnfolder]: For 10/10 co-relation queries the response was YES. [2023-08-28 18:07:16,048 INFO L83 FinitePrefix]: Finished finitePrefix Result has 124 conditions, 57 events. 20/57 cut-off events. For 10/10 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 162 event pairs, 20 based on Foata normal form. 0/53 useless extension candidates. Maximal degree in co-relation 28. Up to 47 conditions per place. [2023-08-28 18:07:16,048 INFO L137 encePairwiseOnDemand]: 104/110 looper letters, 0 selfloop transitions, 0 changer transitions 11/11 dead transitions. [2023-08-28 18:07:16,049 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 17 places, 11 transitions, 50 flow [2023-08-28 18:07:16,049 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-28 18:07:16,049 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-28 18:07:16,050 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 108 transitions. [2023-08-28 18:07:16,050 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4909090909090909 [2023-08-28 18:07:16,050 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 108 transitions. [2023-08-28 18:07:16,051 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 108 transitions. [2023-08-28 18:07:16,051 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-28 18:07:16,051 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 108 transitions. [2023-08-28 18:07:16,052 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 54.0) internal successors, (108), 2 states have internal predecessors, (108), 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) [2023-08-28 18:07:16,053 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 110.0) internal successors, (330), 3 states have internal predecessors, (330), 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) [2023-08-28 18:07:16,053 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 110.0) internal successors, (330), 3 states have internal predecessors, (330), 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) [2023-08-28 18:07:16,053 INFO L175 Difference]: Start difference. First operand has 22 places, 17 transitions, 46 flow. Second operand 2 states and 108 transitions. [2023-08-28 18:07:16,053 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 17 places, 11 transitions, 50 flow [2023-08-28 18:07:16,054 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 17 places, 11 transitions, 48 flow, removed 1 selfloop flow, removed 0 redundant places. [2023-08-28 18:07:16,054 INFO L231 Difference]: Finished difference. Result has 17 places, 0 transitions, 0 flow [2023-08-28 18:07:16,054 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=110, PETRI_DIFFERENCE_MINUEND_FLOW=32, PETRI_DIFFERENCE_MINUEND_PLACES=16, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=11, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=11, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=17, PETRI_TRANSITIONS=0} [2023-08-28 18:07:16,055 INFO L281 CegarLoopForPetriNet]: 22 programPoint places, -5 predicate places. [2023-08-28 18:07:16,055 INFO L495 AbstractCegarLoop]: Abstraction has has 17 places, 0 transitions, 0 flow [2023-08-28 18:07:16,055 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 47.5) internal successors, (95), 2 states have internal predecessors, (95), 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) [2023-08-28 18:07:16,056 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (6 of 7 remaining) [2023-08-28 18:07:16,056 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (5 of 7 remaining) [2023-08-28 18:07:16,056 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (4 of 7 remaining) [2023-08-28 18:07:16,056 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (3 of 7 remaining) [2023-08-28 18:07:16,057 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (2 of 7 remaining) [2023-08-28 18:07:16,057 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (1 of 7 remaining) [2023-08-28 18:07:16,057 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (0 of 7 remaining) [2023-08-28 18:07:16,057 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-08-28 18:07:16,057 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:16,058 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-28 18:07:16,060 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 63 places, 59 transitions, 130 flow [2023-08-28 18:07:16,080 INFO L130 PetriNetUnfolder]: 3/81 cut-off events. [2023-08-28 18:07:16,081 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-28 18:07:16,081 INFO L83 FinitePrefix]: Finished finitePrefix Result has 91 conditions, 81 events. 3/81 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 103 event pairs, 0 based on Foata normal form. 0/70 useless extension candidates. Maximal degree in co-relation 57. Up to 6 conditions per place. [2023-08-28 18:07:16,081 INFO L82 GeneralOperation]: Start removeDead. Operand has 63 places, 59 transitions, 130 flow [2023-08-28 18:07:16,082 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 57 places, 52 transitions, 116 flow [2023-08-28 18:07:16,082 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:16,082 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 57 places, 52 transitions, 116 flow [2023-08-28 18:07:16,083 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 57 places, 52 transitions, 116 flow [2023-08-28 18:07:16,083 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 57 places, 52 transitions, 116 flow [2023-08-28 18:07:16,089 INFO L130 PetriNetUnfolder]: 0/62 cut-off events. [2023-08-28 18:07:16,089 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-28 18:07:16,090 INFO L83 FinitePrefix]: Finished finitePrefix Result has 72 conditions, 62 events. 0/62 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 50 event pairs, 0 based on Foata normal form. 0/58 useless extension candidates. Maximal degree in co-relation 0. Up to 3 conditions per place. [2023-08-28 18:07:16,090 INFO L119 LiptonReduction]: Number of co-enabled transitions 648 [2023-08-28 18:07:17,155 INFO L134 LiptonReduction]: Checked pairs total: 960 [2023-08-28 18:07:17,155 INFO L136 LiptonReduction]: Total number of compositions: 46 [2023-08-28 18:07:17,157 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-28 18:07:17,158 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:17,158 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-28 18:07:17,161 INFO L130 PetriNetUnfolder]: 0/15 cut-off events. [2023-08-28 18:07:17,161 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-28 18:07:17,161 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:17,161 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2023-08-28 18:07:17,162 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-28 18:07:17,162 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:17,162 INFO L85 PathProgramCache]: Analyzing trace with hash -1765852227, now seen corresponding path program 1 times [2023-08-28 18:07:17,162 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:17,163 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [44847331] [2023-08-28 18:07:17,163 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:17,163 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:17,179 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:17,180 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-28 18:07:17,189 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:17,196 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-28 18:07:17,199 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-28 18:07:17,199 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-28 18:07:17,200 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-28 18:07:17,200 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:17,201 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-28 18:07:17,201 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-28 18:07:17,201 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-08-28 18:07:17,216 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-28 18:07:17,221 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 78 places, 72 transitions, 165 flow [2023-08-28 18:07:17,237 INFO L130 PetriNetUnfolder]: 4/106 cut-off events. [2023-08-28 18:07:17,237 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-28 18:07:17,238 INFO L83 FinitePrefix]: Finished finitePrefix Result has 122 conditions, 106 events. 4/106 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 170 event pairs, 0 based on Foata normal form. 0/91 useless extension candidates. Maximal degree in co-relation 85. Up to 8 conditions per place. [2023-08-28 18:07:17,238 INFO L82 GeneralOperation]: Start removeDead. Operand has 78 places, 72 transitions, 165 flow [2023-08-28 18:07:17,239 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 78 places, 72 transitions, 165 flow [2023-08-28 18:07:17,239 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:17,239 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 78 places, 72 transitions, 165 flow [2023-08-28 18:07:17,240 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 78 places, 72 transitions, 165 flow [2023-08-28 18:07:17,240 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 78 places, 72 transitions, 165 flow [2023-08-28 18:07:17,259 INFO L130 PetriNetUnfolder]: 4/106 cut-off events. [2023-08-28 18:07:17,259 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-28 18:07:17,262 INFO L83 FinitePrefix]: Finished finitePrefix Result has 122 conditions, 106 events. 4/106 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 170 event pairs, 0 based on Foata normal form. 0/91 useless extension candidates. Maximal degree in co-relation 85. Up to 8 conditions per place. [2023-08-28 18:07:17,265 INFO L119 LiptonReduction]: Number of co-enabled transitions 1872 [2023-08-28 18:07:18,378 INFO L134 LiptonReduction]: Checked pairs total: 2844 [2023-08-28 18:07:18,378 INFO L136 LiptonReduction]: Total number of compositions: 61 [2023-08-28 18:07:18,380 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-28 18:07:18,381 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:18,381 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2023-08-28 18:07:18,382 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-28 18:07:18,382 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:18,382 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:18,382 INFO L208 CegarLoopForPetriNet]: trace histogram [1] [2023-08-28 18:07:18,382 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [thr1Err1ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 5 more)] === [2023-08-28 18:07:18,383 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:18,383 INFO L85 PathProgramCache]: Analyzing trace with hash 576, now seen corresponding path program 1 times [2023-08-28 18:07:18,383 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:18,383 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1620807229] [2023-08-28 18:07:18,383 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:18,383 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:18,389 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-28 18:07:18,393 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-28 18:07:18,393 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-28 18:07:18,393 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1620807229] [2023-08-28 18:07:18,393 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1620807229] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-28 18:07:18,394 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-28 18:07:18,394 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2023-08-28 18:07:18,394 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [540827349] [2023-08-28 18:07:18,394 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-28 18:07:18,394 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-28 18:07:18,395 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-28 18:07:18,395 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-28 18:07:18,395 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-28 18:07:18,396 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 55 out of 133 [2023-08-28 18:07:18,396 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 29 places, 22 transitions, 65 flow. Second operand has 2 states, 2 states have (on average 55.5) internal successors, (111), 2 states have internal predecessors, (111), 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) [2023-08-28 18:07:18,396 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-28 18:07:18,396 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 55 of 133 [2023-08-28 18:07:18,396 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-28 18:07:18,429 INFO L130 PetriNetUnfolder]: 110/225 cut-off events. [2023-08-28 18:07:18,430 INFO L131 PetriNetUnfolder]: For 79/79 co-relation queries the response was YES. [2023-08-28 18:07:18,431 INFO L83 FinitePrefix]: Finished finitePrefix Result has 494 conditions, 225 events. 110/225 cut-off events. For 79/79 co-relation queries the response was YES. Maximal size of possible extension queue 24. Compared 899 event pairs, 110 based on Foata normal form. 0/211 useless extension candidates. Maximal degree in co-relation 127. Up to 191 conditions per place. [2023-08-28 18:07:18,431 INFO L137 encePairwiseOnDemand]: 125/133 looper letters, 0 selfloop transitions, 0 changer transitions 14/14 dead transitions. [2023-08-28 18:07:18,431 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 22 places, 14 transitions, 71 flow [2023-08-28 18:07:18,441 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-28 18:07:18,441 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-28 18:07:18,444 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 129 transitions. [2023-08-28 18:07:18,446 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4849624060150376 [2023-08-28 18:07:18,446 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 129 transitions. [2023-08-28 18:07:18,446 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 129 transitions. [2023-08-28 18:07:18,447 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-28 18:07:18,447 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 129 transitions. [2023-08-28 18:07:18,449 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 64.5) internal successors, (129), 2 states have internal predecessors, (129), 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) [2023-08-28 18:07:18,450 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 133.0) internal successors, (399), 3 states have internal predecessors, (399), 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) [2023-08-28 18:07:18,450 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 133.0) internal successors, (399), 3 states have internal predecessors, (399), 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) [2023-08-28 18:07:18,450 INFO L175 Difference]: Start difference. First operand has 29 places, 22 transitions, 65 flow. Second operand 2 states and 129 transitions. [2023-08-28 18:07:18,450 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 22 places, 14 transitions, 71 flow [2023-08-28 18:07:18,452 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 22 places, 14 transitions, 65 flow, removed 3 selfloop flow, removed 0 redundant places. [2023-08-28 18:07:18,453 INFO L231 Difference]: Finished difference. Result has 22 places, 0 transitions, 0 flow [2023-08-28 18:07:18,453 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=133, PETRI_DIFFERENCE_MINUEND_FLOW=43, PETRI_DIFFERENCE_MINUEND_PLACES=21, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=14, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=14, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=22, PETRI_TRANSITIONS=0} [2023-08-28 18:07:18,454 INFO L281 CegarLoopForPetriNet]: 29 programPoint places, -7 predicate places. [2023-08-28 18:07:18,455 INFO L495 AbstractCegarLoop]: Abstraction has has 22 places, 0 transitions, 0 flow [2023-08-28 18:07:18,455 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 55.5) internal successors, (111), 2 states have internal predecessors, (111), 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) [2023-08-28 18:07:18,455 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (8 of 9 remaining) [2023-08-28 18:07:18,455 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (7 of 9 remaining) [2023-08-28 18:07:18,455 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (6 of 9 remaining) [2023-08-28 18:07:18,456 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (5 of 9 remaining) [2023-08-28 18:07:18,456 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (4 of 9 remaining) [2023-08-28 18:07:18,456 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (3 of 9 remaining) [2023-08-28 18:07:18,456 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (2 of 9 remaining) [2023-08-28 18:07:18,456 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (1 of 9 remaining) [2023-08-28 18:07:18,456 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (0 of 9 remaining) [2023-08-28 18:07:18,457 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-28 18:07:18,457 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:18,458 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-28 18:07:18,462 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 78 places, 72 transitions, 165 flow [2023-08-28 18:07:18,479 INFO L130 PetriNetUnfolder]: 4/106 cut-off events. [2023-08-28 18:07:18,479 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-28 18:07:18,479 INFO L83 FinitePrefix]: Finished finitePrefix Result has 122 conditions, 106 events. 4/106 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 170 event pairs, 0 based on Foata normal form. 0/91 useless extension candidates. Maximal degree in co-relation 85. Up to 8 conditions per place. [2023-08-28 18:07:18,480 INFO L82 GeneralOperation]: Start removeDead. Operand has 78 places, 72 transitions, 165 flow [2023-08-28 18:07:18,481 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 72 places, 65 transitions, 151 flow [2023-08-28 18:07:18,481 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:18,481 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 72 places, 65 transitions, 151 flow [2023-08-28 18:07:18,481 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 72 places, 65 transitions, 151 flow [2023-08-28 18:07:18,481 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 72 places, 65 transitions, 151 flow [2023-08-28 18:07:18,489 INFO L130 PetriNetUnfolder]: 0/81 cut-off events. [2023-08-28 18:07:18,490 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-28 18:07:18,490 INFO L83 FinitePrefix]: Finished finitePrefix Result has 97 conditions, 81 events. 0/81 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 86 event pairs, 0 based on Foata normal form. 0/75 useless extension candidates. Maximal degree in co-relation 0. Up to 4 conditions per place. [2023-08-28 18:07:18,491 INFO L119 LiptonReduction]: Number of co-enabled transitions 1440 [2023-08-28 18:07:19,632 INFO L134 LiptonReduction]: Checked pairs total: 2352 [2023-08-28 18:07:19,632 INFO L136 LiptonReduction]: Total number of compositions: 56 [2023-08-28 18:07:19,634 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-28 18:07:19,635 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:19,635 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-28 18:07:19,638 INFO L130 PetriNetUnfolder]: 0/22 cut-off events. [2023-08-28 18:07:19,638 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-28 18:07:19,638 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:19,638 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 3, 1, 1, 1, 1, 1] [2023-08-28 18:07:19,639 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-28 18:07:19,639 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:19,639 INFO L85 PathProgramCache]: Analyzing trace with hash -805692382, now seen corresponding path program 1 times [2023-08-28 18:07:19,639 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:19,639 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2058904925] [2023-08-28 18:07:19,639 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:19,640 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:19,662 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:19,662 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-28 18:07:19,673 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:19,679 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-28 18:07:19,679 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-28 18:07:19,679 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-28 18:07:19,680 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-08-28 18:07:19,680 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:19,680 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-28 18:07:19,680 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-28 18:07:19,681 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-08-28 18:07:19,694 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-28 18:07:19,695 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 93 places, 85 transitions, 202 flow [2023-08-28 18:07:19,706 INFO L130 PetriNetUnfolder]: 5/131 cut-off events. [2023-08-28 18:07:19,706 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-28 18:07:19,707 INFO L83 FinitePrefix]: Finished finitePrefix Result has 154 conditions, 131 events. 5/131 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 224 event pairs, 0 based on Foata normal form. 0/112 useless extension candidates. Maximal degree in co-relation 114. Up to 10 conditions per place. [2023-08-28 18:07:19,707 INFO L82 GeneralOperation]: Start removeDead. Operand has 93 places, 85 transitions, 202 flow [2023-08-28 18:07:19,708 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 93 places, 85 transitions, 202 flow [2023-08-28 18:07:19,708 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:19,708 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 93 places, 85 transitions, 202 flow [2023-08-28 18:07:19,708 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 93 places, 85 transitions, 202 flow [2023-08-28 18:07:19,709 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 93 places, 85 transitions, 202 flow [2023-08-28 18:07:19,718 INFO L130 PetriNetUnfolder]: 5/131 cut-off events. [2023-08-28 18:07:19,718 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-28 18:07:19,719 INFO L83 FinitePrefix]: Finished finitePrefix Result has 154 conditions, 131 events. 5/131 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 224 event pairs, 0 based on Foata normal form. 0/112 useless extension candidates. Maximal degree in co-relation 114. Up to 10 conditions per place. [2023-08-28 18:07:19,721 INFO L119 LiptonReduction]: Number of co-enabled transitions 3120 [2023-08-28 18:07:20,955 INFO L134 LiptonReduction]: Checked pairs total: 5169 [2023-08-28 18:07:20,955 INFO L136 LiptonReduction]: Total number of compositions: 68 [2023-08-28 18:07:20,956 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-28 18:07:20,957 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:20,957 INFO L358 AbstractCegarLoop]: Starting to check reachability of 11 error locations. [2023-08-28 18:07:20,958 INFO L130 PetriNetUnfolder]: 0/0 cut-off events. [2023-08-28 18:07:20,958 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:20,958 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:20,958 INFO L208 CegarLoopForPetriNet]: trace histogram [1] [2023-08-28 18:07:20,958 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [thr1Err0ASSERT_VIOLATIONDATA_RACE, ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE (and 7 more)] === [2023-08-28 18:07:20,958 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:20,959 INFO L85 PathProgramCache]: Analyzing trace with hash 797, now seen corresponding path program 1 times [2023-08-28 18:07:20,959 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:20,960 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1493254521] [2023-08-28 18:07:20,960 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:20,960 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:20,970 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-28 18:07:20,978 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-28 18:07:20,978 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-28 18:07:20,978 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1493254521] [2023-08-28 18:07:20,978 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1493254521] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-28 18:07:20,979 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-28 18:07:20,979 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2023-08-28 18:07:20,979 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1777187134] [2023-08-28 18:07:20,979 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-28 18:07:20,979 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-28 18:07:20,980 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-28 18:07:20,980 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-28 18:07:20,980 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-28 18:07:20,981 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 63 out of 153 [2023-08-28 18:07:20,981 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 36 places, 27 transitions, 86 flow. Second operand has 2 states, 2 states have (on average 63.5) internal successors, (127), 2 states have internal predecessors, (127), 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) [2023-08-28 18:07:20,981 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-28 18:07:20,981 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 63 of 153 [2023-08-28 18:07:20,981 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-28 18:07:21,071 INFO L130 PetriNetUnfolder]: 488/837 cut-off events. [2023-08-28 18:07:21,072 INFO L131 PetriNetUnfolder]: For 448/448 co-relation queries the response was YES. [2023-08-28 18:07:21,074 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1863 conditions, 837 events. 488/837 cut-off events. For 448/448 co-relation queries the response was YES. Maximal size of possible extension queue 64. Compared 3921 event pairs, 488 based on Foata normal form. 0/796 useless extension candidates. Maximal degree in co-relation 511. Up to 731 conditions per place. [2023-08-28 18:07:21,075 INFO L137 encePairwiseOnDemand]: 143/153 looper letters, 0 selfloop transitions, 0 changer transitions 17/17 dead transitions. [2023-08-28 18:07:21,075 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 27 places, 17 transitions, 94 flow [2023-08-28 18:07:21,076 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-28 18:07:21,076 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-28 18:07:21,077 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 150 transitions. [2023-08-28 18:07:21,078 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.49019607843137253 [2023-08-28 18:07:21,078 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 150 transitions. [2023-08-28 18:07:21,078 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 150 transitions. [2023-08-28 18:07:21,078 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-28 18:07:21,078 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 150 transitions. [2023-08-28 18:07:21,079 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 75.0) internal successors, (150), 2 states have internal predecessors, (150), 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) [2023-08-28 18:07:21,080 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 153.0) internal successors, (459), 3 states have internal predecessors, (459), 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) [2023-08-28 18:07:21,080 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 153.0) internal successors, (459), 3 states have internal predecessors, (459), 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) [2023-08-28 18:07:21,080 INFO L175 Difference]: Start difference. First operand has 36 places, 27 transitions, 86 flow. Second operand 2 states and 150 transitions. [2023-08-28 18:07:21,080 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 27 places, 17 transitions, 94 flow [2023-08-28 18:07:21,084 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 27 places, 17 transitions, 82 flow, removed 6 selfloop flow, removed 0 redundant places. [2023-08-28 18:07:21,084 INFO L231 Difference]: Finished difference. Result has 27 places, 0 transitions, 0 flow [2023-08-28 18:07:21,084 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=153, PETRI_DIFFERENCE_MINUEND_FLOW=54, PETRI_DIFFERENCE_MINUEND_PLACES=26, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=17, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=17, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=27, PETRI_TRANSITIONS=0} [2023-08-28 18:07:21,085 INFO L281 CegarLoopForPetriNet]: 36 programPoint places, -9 predicate places. [2023-08-28 18:07:21,085 INFO L495 AbstractCegarLoop]: Abstraction has has 27 places, 0 transitions, 0 flow [2023-08-28 18:07:21,085 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 63.5) internal successors, (127), 2 states have internal predecessors, (127), 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) [2023-08-28 18:07:21,086 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (10 of 11 remaining) [2023-08-28 18:07:21,086 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (9 of 11 remaining) [2023-08-28 18:07:21,086 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (8 of 11 remaining) [2023-08-28 18:07:21,086 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (7 of 11 remaining) [2023-08-28 18:07:21,086 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (6 of 11 remaining) [2023-08-28 18:07:21,087 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (5 of 11 remaining) [2023-08-28 18:07:21,087 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (4 of 11 remaining) [2023-08-28 18:07:21,087 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (3 of 11 remaining) [2023-08-28 18:07:21,087 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (2 of 11 remaining) [2023-08-28 18:07:21,087 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (1 of 11 remaining) [2023-08-28 18:07:21,087 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (0 of 11 remaining) [2023-08-28 18:07:21,087 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-08-28 18:07:21,088 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:21,088 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-28 18:07:21,091 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 93 places, 85 transitions, 202 flow [2023-08-28 18:07:21,107 INFO L130 PetriNetUnfolder]: 5/131 cut-off events. [2023-08-28 18:07:21,108 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-28 18:07:21,109 INFO L83 FinitePrefix]: Finished finitePrefix Result has 154 conditions, 131 events. 5/131 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 224 event pairs, 0 based on Foata normal form. 0/112 useless extension candidates. Maximal degree in co-relation 114. Up to 10 conditions per place. [2023-08-28 18:07:21,109 INFO L82 GeneralOperation]: Start removeDead. Operand has 93 places, 85 transitions, 202 flow [2023-08-28 18:07:21,110 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 87 places, 78 transitions, 188 flow [2023-08-28 18:07:21,110 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:21,110 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 87 places, 78 transitions, 188 flow [2023-08-28 18:07:21,110 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 87 places, 78 transitions, 188 flow [2023-08-28 18:07:21,110 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 87 places, 78 transitions, 188 flow [2023-08-28 18:07:21,118 INFO L130 PetriNetUnfolder]: 0/100 cut-off events. [2023-08-28 18:07:21,118 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-28 18:07:21,119 INFO L83 FinitePrefix]: Finished finitePrefix Result has 123 conditions, 100 events. 0/100 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 119 event pairs, 0 based on Foata normal form. 0/92 useless extension candidates. Maximal degree in co-relation 0. Up to 5 conditions per place. [2023-08-28 18:07:21,121 INFO L119 LiptonReduction]: Number of co-enabled transitions 2544 [2023-08-28 18:07:22,344 INFO L134 LiptonReduction]: Checked pairs total: 4544 [2023-08-28 18:07:22,345 INFO L136 LiptonReduction]: Total number of compositions: 65 [2023-08-28 18:07:22,346 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-28 18:07:22,346 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:22,347 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-28 18:07:22,350 INFO L130 PetriNetUnfolder]: 0/29 cut-off events. [2023-08-28 18:07:22,351 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-28 18:07:22,351 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:22,351 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 4, 1, 1, 1, 1, 1, 1] [2023-08-28 18:07:22,351 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-28 18:07:22,352 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:22,352 INFO L85 PathProgramCache]: Analyzing trace with hash -1222223370, now seen corresponding path program 1 times [2023-08-28 18:07:22,352 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:22,352 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1403731252] [2023-08-28 18:07:22,352 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:22,352 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:22,371 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:22,371 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-28 18:07:22,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:22,387 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-28 18:07:22,387 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-28 18:07:22,388 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-28 18:07:22,388 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-08-28 18:07:22,388 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:22,389 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-28 18:07:22,389 WARN L233 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-28 18:07:22,389 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2023-08-28 18:07:22,406 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-28 18:07:22,407 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 108 places, 98 transitions, 241 flow [2023-08-28 18:07:22,422 INFO L130 PetriNetUnfolder]: 6/156 cut-off events. [2023-08-28 18:07:22,422 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-28 18:07:22,423 INFO L83 FinitePrefix]: Finished finitePrefix Result has 187 conditions, 156 events. 6/156 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 295 event pairs, 0 based on Foata normal form. 0/133 useless extension candidates. Maximal degree in co-relation 144. Up to 12 conditions per place. [2023-08-28 18:07:22,423 INFO L82 GeneralOperation]: Start removeDead. Operand has 108 places, 98 transitions, 241 flow [2023-08-28 18:07:22,424 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 108 places, 98 transitions, 241 flow [2023-08-28 18:07:22,424 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:22,425 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 108 places, 98 transitions, 241 flow [2023-08-28 18:07:22,425 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 108 places, 98 transitions, 241 flow [2023-08-28 18:07:22,425 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 108 places, 98 transitions, 241 flow [2023-08-28 18:07:22,437 INFO L130 PetriNetUnfolder]: 6/156 cut-off events. [2023-08-28 18:07:22,438 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-28 18:07:22,439 INFO L83 FinitePrefix]: Finished finitePrefix Result has 187 conditions, 156 events. 6/156 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 295 event pairs, 0 based on Foata normal form. 0/133 useless extension candidates. Maximal degree in co-relation 144. Up to 12 conditions per place. [2023-08-28 18:07:22,442 INFO L119 LiptonReduction]: Number of co-enabled transitions 4680 [2023-08-28 18:07:23,785 INFO L134 LiptonReduction]: Checked pairs total: 7529 [2023-08-28 18:07:23,785 INFO L136 LiptonReduction]: Total number of compositions: 86 [2023-08-28 18:07:23,787 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-28 18:07:23,787 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:23,787 INFO L358 AbstractCegarLoop]: Starting to check reachability of 13 error locations. [2023-08-28 18:07:23,788 INFO L130 PetriNetUnfolder]: 0/0 cut-off events. [2023-08-28 18:07:23,788 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:23,788 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:23,788 INFO L208 CegarLoopForPetriNet]: trace histogram [1] [2023-08-28 18:07:23,788 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 9 more)] === [2023-08-28 18:07:23,789 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:23,789 INFO L85 PathProgramCache]: Analyzing trace with hash 1059, now seen corresponding path program 1 times [2023-08-28 18:07:23,789 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:23,789 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [165894120] [2023-08-28 18:07:23,789 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:23,789 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:23,794 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-28 18:07:23,797 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-28 18:07:23,797 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-28 18:07:23,797 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [165894120] [2023-08-28 18:07:23,797 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [165894120] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-28 18:07:23,797 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-28 18:07:23,798 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2023-08-28 18:07:23,798 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [456718827] [2023-08-28 18:07:23,798 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-28 18:07:23,798 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-28 18:07:23,798 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-28 18:07:23,799 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-28 18:07:23,799 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-28 18:07:23,800 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 71 out of 184 [2023-08-28 18:07:23,800 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 43 places, 32 transitions, 109 flow. Second operand has 2 states, 2 states have (on average 71.5) internal successors, (143), 2 states have internal predecessors, (143), 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) [2023-08-28 18:07:23,800 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-28 18:07:23,800 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 71 of 184 [2023-08-28 18:07:23,800 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-28 18:07:24,088 INFO L130 PetriNetUnfolder]: 1946/2997 cut-off events. [2023-08-28 18:07:24,089 INFO L131 PetriNetUnfolder]: For 2176/2176 co-relation queries the response was YES. [2023-08-28 18:07:24,094 INFO L83 FinitePrefix]: Finished finitePrefix Result has 6751 conditions, 2997 events. 1946/2997 cut-off events. For 2176/2176 co-relation queries the response was YES. Maximal size of possible extension queue 177. Compared 15460 event pairs, 1946 based on Foata normal form. 0/2876 useless extension candidates. Maximal degree in co-relation 1924. Up to 2675 conditions per place. [2023-08-28 18:07:24,098 INFO L137 encePairwiseOnDemand]: 172/184 looper letters, 0 selfloop transitions, 0 changer transitions 20/20 dead transitions. [2023-08-28 18:07:24,098 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 32 places, 20 transitions, 119 flow [2023-08-28 18:07:24,099 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-28 18:07:24,099 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-28 18:07:24,099 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 171 transitions. [2023-08-28 18:07:24,100 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.46467391304347827 [2023-08-28 18:07:24,100 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 171 transitions. [2023-08-28 18:07:24,100 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 171 transitions. [2023-08-28 18:07:24,100 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-28 18:07:24,101 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 171 transitions. [2023-08-28 18:07:24,101 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 85.5) internal successors, (171), 2 states have internal predecessors, (171), 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) [2023-08-28 18:07:24,104 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 184.0) internal successors, (552), 3 states have internal predecessors, (552), 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) [2023-08-28 18:07:24,104 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 184.0) internal successors, (552), 3 states have internal predecessors, (552), 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) [2023-08-28 18:07:24,104 INFO L175 Difference]: Start difference. First operand has 43 places, 32 transitions, 109 flow. Second operand 2 states and 171 transitions. [2023-08-28 18:07:24,104 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 32 places, 20 transitions, 119 flow [2023-08-28 18:07:24,107 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 32 places, 20 transitions, 99 flow, removed 10 selfloop flow, removed 0 redundant places. [2023-08-28 18:07:24,107 INFO L231 Difference]: Finished difference. Result has 32 places, 0 transitions, 0 flow [2023-08-28 18:07:24,107 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=184, PETRI_DIFFERENCE_MINUEND_FLOW=65, PETRI_DIFFERENCE_MINUEND_PLACES=31, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=20, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=20, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=32, PETRI_TRANSITIONS=0} [2023-08-28 18:07:24,109 INFO L281 CegarLoopForPetriNet]: 43 programPoint places, -11 predicate places. [2023-08-28 18:07:24,109 INFO L495 AbstractCegarLoop]: Abstraction has has 32 places, 0 transitions, 0 flow [2023-08-28 18:07:24,109 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 71.5) internal successors, (143), 2 states have internal predecessors, (143), 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) [2023-08-28 18:07:24,110 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (12 of 13 remaining) [2023-08-28 18:07:24,110 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (11 of 13 remaining) [2023-08-28 18:07:24,111 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (10 of 13 remaining) [2023-08-28 18:07:24,111 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (9 of 13 remaining) [2023-08-28 18:07:24,111 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (8 of 13 remaining) [2023-08-28 18:07:24,111 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (7 of 13 remaining) [2023-08-28 18:07:24,111 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (6 of 13 remaining) [2023-08-28 18:07:24,111 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (5 of 13 remaining) [2023-08-28 18:07:24,112 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (4 of 13 remaining) [2023-08-28 18:07:24,112 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (3 of 13 remaining) [2023-08-28 18:07:24,112 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (2 of 13 remaining) [2023-08-28 18:07:24,112 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (1 of 13 remaining) [2023-08-28 18:07:24,113 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (0 of 13 remaining) [2023-08-28 18:07:24,113 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-08-28 18:07:24,113 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:24,114 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-28 18:07:24,116 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 108 places, 98 transitions, 241 flow [2023-08-28 18:07:24,127 INFO L130 PetriNetUnfolder]: 6/156 cut-off events. [2023-08-28 18:07:24,128 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-28 18:07:24,128 INFO L83 FinitePrefix]: Finished finitePrefix Result has 187 conditions, 156 events. 6/156 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 295 event pairs, 0 based on Foata normal form. 0/133 useless extension candidates. Maximal degree in co-relation 144. Up to 12 conditions per place. [2023-08-28 18:07:24,129 INFO L82 GeneralOperation]: Start removeDead. Operand has 108 places, 98 transitions, 241 flow [2023-08-28 18:07:24,129 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 102 places, 91 transitions, 227 flow [2023-08-28 18:07:24,130 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:24,130 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 102 places, 91 transitions, 227 flow [2023-08-28 18:07:24,130 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 102 places, 91 transitions, 227 flow [2023-08-28 18:07:24,130 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 102 places, 91 transitions, 227 flow [2023-08-28 18:07:24,143 INFO L130 PetriNetUnfolder]: 0/119 cut-off events. [2023-08-28 18:07:24,143 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-28 18:07:24,143 INFO L83 FinitePrefix]: Finished finitePrefix Result has 150 conditions, 119 events. 0/119 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 155 event pairs, 0 based on Foata normal form. 0/109 useless extension candidates. Maximal degree in co-relation 0. Up to 6 conditions per place. [2023-08-28 18:07:24,146 INFO L119 LiptonReduction]: Number of co-enabled transitions 3960 [2023-08-28 18:07:25,547 INFO L134 LiptonReduction]: Checked pairs total: 6556 [2023-08-28 18:07:25,548 INFO L136 LiptonReduction]: Total number of compositions: 80 [2023-08-28 18:07:25,549 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-28 18:07:25,549 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:25,549 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-28 18:07:25,554 INFO L130 PetriNetUnfolder]: 0/36 cut-off events. [2023-08-28 18:07:25,554 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-28 18:07:25,554 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:25,554 INFO L208 CegarLoopForPetriNet]: trace histogram [5, 5, 1, 1, 1, 1, 1, 1, 1] [2023-08-28 18:07:25,554 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-28 18:07:25,555 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:25,555 INFO L85 PathProgramCache]: Analyzing trace with hash -1371792842, now seen corresponding path program 1 times [2023-08-28 18:07:25,555 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:25,555 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1403691738] [2023-08-28 18:07:25,555 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:25,555 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:25,572 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:25,573 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-28 18:07:25,583 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:25,589 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-28 18:07:25,589 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-28 18:07:25,590 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-28 18:07:25,590 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-08-28 18:07:25,590 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:25,590 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-28 18:07:25,591 WARN L233 ceAbstractionStarter]: 5 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-28 18:07:25,591 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 6 thread instances. [2023-08-28 18:07:25,607 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-28 18:07:25,609 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 123 places, 111 transitions, 282 flow [2023-08-28 18:07:25,624 INFO L130 PetriNetUnfolder]: 7/181 cut-off events. [2023-08-28 18:07:25,624 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-28 18:07:25,625 INFO L83 FinitePrefix]: Finished finitePrefix Result has 221 conditions, 181 events. 7/181 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 333 event pairs, 0 based on Foata normal form. 0/154 useless extension candidates. Maximal degree in co-relation 175. Up to 14 conditions per place. [2023-08-28 18:07:25,625 INFO L82 GeneralOperation]: Start removeDead. Operand has 123 places, 111 transitions, 282 flow [2023-08-28 18:07:25,627 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 123 places, 111 transitions, 282 flow [2023-08-28 18:07:25,627 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:25,627 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 123 places, 111 transitions, 282 flow [2023-08-28 18:07:25,627 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 123 places, 111 transitions, 282 flow [2023-08-28 18:07:25,627 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 123 places, 111 transitions, 282 flow [2023-08-28 18:07:25,642 INFO L130 PetriNetUnfolder]: 7/181 cut-off events. [2023-08-28 18:07:25,643 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-28 18:07:25,644 INFO L83 FinitePrefix]: Finished finitePrefix Result has 221 conditions, 181 events. 7/181 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 333 event pairs, 0 based on Foata normal form. 0/154 useless extension candidates. Maximal degree in co-relation 175. Up to 14 conditions per place. [2023-08-28 18:07:25,657 INFO L119 LiptonReduction]: Number of co-enabled transitions 6552 [2023-08-28 18:07:27,143 INFO L134 LiptonReduction]: Checked pairs total: 10167 [2023-08-28 18:07:27,144 INFO L136 LiptonReduction]: Total number of compositions: 94 [2023-08-28 18:07:27,145 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-28 18:07:27,145 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:27,145 INFO L358 AbstractCegarLoop]: Starting to check reachability of 15 error locations. [2023-08-28 18:07:27,146 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-28 18:07:27,146 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:27,146 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:27,146 INFO L208 CegarLoopForPetriNet]: trace histogram [1] [2023-08-28 18:07:27,146 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 11 more)] === [2023-08-28 18:07:27,147 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:27,147 INFO L85 PathProgramCache]: Analyzing trace with hash 1358, now seen corresponding path program 1 times [2023-08-28 18:07:27,147 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:27,147 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1212555084] [2023-08-28 18:07:27,147 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:27,148 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:27,152 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-28 18:07:27,154 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-28 18:07:27,154 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-28 18:07:27,154 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1212555084] [2023-08-28 18:07:27,155 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1212555084] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-28 18:07:27,155 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-28 18:07:27,155 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2023-08-28 18:07:27,155 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1218943405] [2023-08-28 18:07:27,155 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-28 18:07:27,155 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-28 18:07:27,156 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-28 18:07:27,156 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-28 18:07:27,156 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-28 18:07:27,157 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 79 out of 205 [2023-08-28 18:07:27,157 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 50 places, 37 transitions, 134 flow. Second operand has 2 states, 2 states have (on average 79.5) internal successors, (159), 2 states have internal predecessors, (159), 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) [2023-08-28 18:07:27,157 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-28 18:07:27,157 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 79 of 205 [2023-08-28 18:07:27,157 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-28 18:07:28,146 INFO L130 PetriNetUnfolder]: 7292/10449 cut-off events. [2023-08-28 18:07:28,146 INFO L131 PetriNetUnfolder]: For 9628/9628 co-relation queries the response was YES. [2023-08-28 18:07:28,175 INFO L83 FinitePrefix]: Finished finitePrefix Result has 23762 conditions, 10449 events. 7292/10449 cut-off events. For 9628/9628 co-relation queries the response was YES. Maximal size of possible extension queue 499. Compared 57321 event pairs, 7292 based on Foata normal form. 0/10085 useless extension candidates. Maximal degree in co-relation 6946. Up to 9479 conditions per place. [2023-08-28 18:07:28,187 INFO L137 encePairwiseOnDemand]: 191/205 looper letters, 0 selfloop transitions, 0 changer transitions 23/23 dead transitions. [2023-08-28 18:07:28,187 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 37 places, 23 transitions, 146 flow [2023-08-28 18:07:28,188 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-28 18:07:28,188 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-28 18:07:28,189 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 192 transitions. [2023-08-28 18:07:28,189 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4682926829268293 [2023-08-28 18:07:28,189 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 192 transitions. [2023-08-28 18:07:28,189 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 192 transitions. [2023-08-28 18:07:28,189 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-28 18:07:28,189 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 192 transitions. [2023-08-28 18:07:28,190 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 96.0) internal successors, (192), 2 states have internal predecessors, (192), 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) [2023-08-28 18:07:28,192 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 205.0) internal successors, (615), 3 states have internal predecessors, (615), 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) [2023-08-28 18:07:28,192 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 205.0) internal successors, (615), 3 states have internal predecessors, (615), 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) [2023-08-28 18:07:28,193 INFO L175 Difference]: Start difference. First operand has 50 places, 37 transitions, 134 flow. Second operand 2 states and 192 transitions. [2023-08-28 18:07:28,193 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 37 places, 23 transitions, 146 flow [2023-08-28 18:07:28,201 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 37 places, 23 transitions, 116 flow, removed 15 selfloop flow, removed 0 redundant places. [2023-08-28 18:07:28,202 INFO L231 Difference]: Finished difference. Result has 37 places, 0 transitions, 0 flow [2023-08-28 18:07:28,202 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=205, PETRI_DIFFERENCE_MINUEND_FLOW=76, PETRI_DIFFERENCE_MINUEND_PLACES=36, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=23, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=23, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=37, PETRI_TRANSITIONS=0} [2023-08-28 18:07:28,203 INFO L281 CegarLoopForPetriNet]: 50 programPoint places, -13 predicate places. [2023-08-28 18:07:28,203 INFO L495 AbstractCegarLoop]: Abstraction has has 37 places, 0 transitions, 0 flow [2023-08-28 18:07:28,204 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 79.5) internal successors, (159), 2 states have internal predecessors, (159), 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) [2023-08-28 18:07:28,204 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (14 of 15 remaining) [2023-08-28 18:07:28,204 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (13 of 15 remaining) [2023-08-28 18:07:28,204 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (12 of 15 remaining) [2023-08-28 18:07:28,204 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (11 of 15 remaining) [2023-08-28 18:07:28,205 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (10 of 15 remaining) [2023-08-28 18:07:28,205 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (9 of 15 remaining) [2023-08-28 18:07:28,205 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (8 of 15 remaining) [2023-08-28 18:07:28,205 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (7 of 15 remaining) [2023-08-28 18:07:28,205 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (6 of 15 remaining) [2023-08-28 18:07:28,205 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (5 of 15 remaining) [2023-08-28 18:07:28,206 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (4 of 15 remaining) [2023-08-28 18:07:28,206 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (3 of 15 remaining) [2023-08-28 18:07:28,206 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (2 of 15 remaining) [2023-08-28 18:07:28,206 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (1 of 15 remaining) [2023-08-28 18:07:28,206 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (0 of 15 remaining) [2023-08-28 18:07:28,206 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10 [2023-08-28 18:07:28,206 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:28,209 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-28 18:07:28,210 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 123 places, 111 transitions, 282 flow [2023-08-28 18:07:28,223 INFO L130 PetriNetUnfolder]: 7/181 cut-off events. [2023-08-28 18:07:28,224 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-28 18:07:28,225 INFO L83 FinitePrefix]: Finished finitePrefix Result has 221 conditions, 181 events. 7/181 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 333 event pairs, 0 based on Foata normal form. 0/154 useless extension candidates. Maximal degree in co-relation 175. Up to 14 conditions per place. [2023-08-28 18:07:28,225 INFO L82 GeneralOperation]: Start removeDead. Operand has 123 places, 111 transitions, 282 flow [2023-08-28 18:07:28,226 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 117 places, 104 transitions, 268 flow [2023-08-28 18:07:28,226 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:28,228 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 117 places, 104 transitions, 268 flow [2023-08-28 18:07:28,228 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 117 places, 104 transitions, 268 flow [2023-08-28 18:07:28,228 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 117 places, 104 transitions, 268 flow [2023-08-28 18:07:28,239 INFO L130 PetriNetUnfolder]: 0/138 cut-off events. [2023-08-28 18:07:28,239 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-28 18:07:28,239 INFO L83 FinitePrefix]: Finished finitePrefix Result has 178 conditions, 138 events. 0/138 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 173 event pairs, 0 based on Foata normal form. 0/126 useless extension candidates. Maximal degree in co-relation 0. Up to 7 conditions per place. [2023-08-28 18:07:28,243 INFO L119 LiptonReduction]: Number of co-enabled transitions 5688 [2023-08-28 18:07:29,893 INFO L134 LiptonReduction]: Checked pairs total: 9031 [2023-08-28 18:07:29,893 INFO L136 LiptonReduction]: Total number of compositions: 89 [2023-08-28 18:07:29,895 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-28 18:07:29,895 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:29,895 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-28 18:07:29,900 INFO L130 PetriNetUnfolder]: 0/43 cut-off events. [2023-08-28 18:07:29,900 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-28 18:07:29,901 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:29,901 INFO L208 CegarLoopForPetriNet]: trace histogram [6, 6, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-28 18:07:29,901 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-28 18:07:29,901 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:29,902 INFO L85 PathProgramCache]: Analyzing trace with hash -750735423, now seen corresponding path program 1 times [2023-08-28 18:07:29,902 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:29,902 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1874878439] [2023-08-28 18:07:29,902 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:29,902 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:29,923 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:29,923 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-28 18:07:29,933 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:29,940 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-28 18:07:29,941 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-28 18:07:29,941 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-28 18:07:29,941 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2023-08-28 18:07:29,941 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:29,942 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-28 18:07:29,942 WARN L233 ceAbstractionStarter]: 6 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-28 18:07:29,942 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 7 thread instances. [2023-08-28 18:07:29,962 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-28 18:07:29,964 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 138 places, 124 transitions, 325 flow [2023-08-28 18:07:29,986 INFO L130 PetriNetUnfolder]: 8/206 cut-off events. [2023-08-28 18:07:29,986 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-28 18:07:29,988 INFO L83 FinitePrefix]: Finished finitePrefix Result has 256 conditions, 206 events. 8/206 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 431 event pairs, 0 based on Foata normal form. 0/175 useless extension candidates. Maximal degree in co-relation 207. Up to 16 conditions per place. [2023-08-28 18:07:29,988 INFO L82 GeneralOperation]: Start removeDead. Operand has 138 places, 124 transitions, 325 flow [2023-08-28 18:07:29,990 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 138 places, 124 transitions, 325 flow [2023-08-28 18:07:29,990 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:29,990 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 138 places, 124 transitions, 325 flow [2023-08-28 18:07:29,991 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 138 places, 124 transitions, 325 flow [2023-08-28 18:07:29,991 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 138 places, 124 transitions, 325 flow [2023-08-28 18:07:30,043 INFO L130 PetriNetUnfolder]: 8/206 cut-off events. [2023-08-28 18:07:30,044 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-28 18:07:30,045 INFO L83 FinitePrefix]: Finished finitePrefix Result has 256 conditions, 206 events. 8/206 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 431 event pairs, 0 based on Foata normal form. 0/175 useless extension candidates. Maximal degree in co-relation 207. Up to 16 conditions per place. [2023-08-28 18:07:30,051 INFO L119 LiptonReduction]: Number of co-enabled transitions 8736 [2023-08-28 18:07:31,459 INFO L134 LiptonReduction]: Checked pairs total: 15867 [2023-08-28 18:07:31,459 INFO L136 LiptonReduction]: Total number of compositions: 100 [2023-08-28 18:07:31,461 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-28 18:07:31,461 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:31,461 INFO L358 AbstractCegarLoop]: Starting to check reachability of 17 error locations. [2023-08-28 18:07:31,462 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-28 18:07:31,462 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:31,462 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:31,462 INFO L208 CegarLoopForPetriNet]: trace histogram [1] [2023-08-28 18:07:31,462 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 13 more)] === [2023-08-28 18:07:31,463 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:31,463 INFO L85 PathProgramCache]: Analyzing trace with hash 1684, now seen corresponding path program 1 times [2023-08-28 18:07:31,463 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:31,463 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1698027384] [2023-08-28 18:07:31,463 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:31,463 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:31,468 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-28 18:07:31,470 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-28 18:07:31,470 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-28 18:07:31,470 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1698027384] [2023-08-28 18:07:31,470 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1698027384] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-28 18:07:31,470 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-28 18:07:31,470 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2023-08-28 18:07:31,471 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1175362340] [2023-08-28 18:07:31,471 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-28 18:07:31,471 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-28 18:07:31,471 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-28 18:07:31,472 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-28 18:07:31,472 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-28 18:07:31,472 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 87 out of 224 [2023-08-28 18:07:31,473 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 57 places, 42 transitions, 161 flow. Second operand has 2 states, 2 states have (on average 87.5) internal successors, (175), 2 states have internal predecessors, (175), 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) [2023-08-28 18:07:31,473 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-28 18:07:31,473 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 87 of 224 [2023-08-28 18:07:31,473 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-28 18:07:34,485 INFO L130 PetriNetUnfolder]: 26246/35721 cut-off events. [2023-08-28 18:07:34,486 INFO L131 PetriNetUnfolder]: For 40003/40003 co-relation queries the response was YES. [2023-08-28 18:07:34,620 INFO L83 FinitePrefix]: Finished finitePrefix Result has 81840 conditions, 35721 events. 26246/35721 cut-off events. For 40003/40003 co-relation queries the response was YES. Maximal size of possible extension queue 1425. Compared 206003 event pairs, 26246 based on Foata normal form. 0/34627 useless extension candidates. Maximal degree in co-relation 24361. Up to 32807 conditions per place. [2023-08-28 18:07:34,652 INFO L137 encePairwiseOnDemand]: 208/224 looper letters, 0 selfloop transitions, 0 changer transitions 26/26 dead transitions. [2023-08-28 18:07:34,652 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 42 places, 26 transitions, 175 flow [2023-08-28 18:07:34,653 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-28 18:07:34,653 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-28 18:07:34,654 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 213 transitions. [2023-08-28 18:07:34,654 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.47544642857142855 [2023-08-28 18:07:34,654 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 213 transitions. [2023-08-28 18:07:34,655 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 213 transitions. [2023-08-28 18:07:34,655 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-28 18:07:34,655 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 213 transitions. [2023-08-28 18:07:34,656 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 106.5) internal successors, (213), 2 states have internal predecessors, (213), 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) [2023-08-28 18:07:34,657 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 224.0) internal successors, (672), 3 states have internal predecessors, (672), 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) [2023-08-28 18:07:34,657 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 224.0) internal successors, (672), 3 states have internal predecessors, (672), 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) [2023-08-28 18:07:34,658 INFO L175 Difference]: Start difference. First operand has 57 places, 42 transitions, 161 flow. Second operand 2 states and 213 transitions. [2023-08-28 18:07:34,658 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 42 places, 26 transitions, 175 flow [2023-08-28 18:07:34,733 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 42 places, 26 transitions, 133 flow, removed 21 selfloop flow, removed 0 redundant places. [2023-08-28 18:07:34,733 INFO L231 Difference]: Finished difference. Result has 42 places, 0 transitions, 0 flow [2023-08-28 18:07:34,733 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=224, PETRI_DIFFERENCE_MINUEND_FLOW=87, PETRI_DIFFERENCE_MINUEND_PLACES=41, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=26, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=26, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=42, PETRI_TRANSITIONS=0} [2023-08-28 18:07:34,735 INFO L281 CegarLoopForPetriNet]: 57 programPoint places, -15 predicate places. [2023-08-28 18:07:34,735 INFO L495 AbstractCegarLoop]: Abstraction has has 42 places, 0 transitions, 0 flow [2023-08-28 18:07:34,735 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 87.5) internal successors, (175), 2 states have internal predecessors, (175), 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) [2023-08-28 18:07:34,735 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (16 of 17 remaining) [2023-08-28 18:07:34,736 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (15 of 17 remaining) [2023-08-28 18:07:34,736 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (14 of 17 remaining) [2023-08-28 18:07:34,736 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (13 of 17 remaining) [2023-08-28 18:07:34,736 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (12 of 17 remaining) [2023-08-28 18:07:34,736 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (11 of 17 remaining) [2023-08-28 18:07:34,737 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (10 of 17 remaining) [2023-08-28 18:07:34,737 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (9 of 17 remaining) [2023-08-28 18:07:34,737 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (8 of 17 remaining) [2023-08-28 18:07:34,737 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (7 of 17 remaining) [2023-08-28 18:07:34,737 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (6 of 17 remaining) [2023-08-28 18:07:34,737 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (5 of 17 remaining) [2023-08-28 18:07:34,738 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (4 of 17 remaining) [2023-08-28 18:07:34,738 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (3 of 17 remaining) [2023-08-28 18:07:34,738 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (2 of 17 remaining) [2023-08-28 18:07:34,738 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (1 of 17 remaining) [2023-08-28 18:07:34,738 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (0 of 17 remaining) [2023-08-28 18:07:34,739 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12 [2023-08-28 18:07:34,739 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:34,740 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-28 18:07:34,742 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 138 places, 124 transitions, 325 flow [2023-08-28 18:07:34,765 INFO L130 PetriNetUnfolder]: 8/206 cut-off events. [2023-08-28 18:07:34,765 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-28 18:07:34,766 INFO L83 FinitePrefix]: Finished finitePrefix Result has 256 conditions, 206 events. 8/206 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 431 event pairs, 0 based on Foata normal form. 0/175 useless extension candidates. Maximal degree in co-relation 207. Up to 16 conditions per place. [2023-08-28 18:07:34,766 INFO L82 GeneralOperation]: Start removeDead. Operand has 138 places, 124 transitions, 325 flow [2023-08-28 18:07:34,767 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 132 places, 117 transitions, 311 flow [2023-08-28 18:07:34,767 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:34,767 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 132 places, 117 transitions, 311 flow [2023-08-28 18:07:34,768 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 132 places, 117 transitions, 311 flow [2023-08-28 18:07:34,768 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 132 places, 117 transitions, 311 flow [2023-08-28 18:07:34,782 INFO L130 PetriNetUnfolder]: 0/157 cut-off events. [2023-08-28 18:07:34,782 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-28 18:07:34,782 INFO L83 FinitePrefix]: Finished finitePrefix Result has 207 conditions, 157 events. 0/157 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 227 event pairs, 0 based on Foata normal form. 0/143 useless extension candidates. Maximal degree in co-relation 0. Up to 8 conditions per place. [2023-08-28 18:07:34,894 INFO L119 LiptonReduction]: Number of co-enabled transitions 7728 [2023-08-28 18:07:36,606 INFO L134 LiptonReduction]: Checked pairs total: 14449 [2023-08-28 18:07:36,607 INFO L136 LiptonReduction]: Total number of compositions: 96 [2023-08-28 18:07:36,608 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-28 18:07:36,608 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:36,608 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-28 18:07:36,613 INFO L130 PetriNetUnfolder]: 0/50 cut-off events. [2023-08-28 18:07:36,614 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-28 18:07:36,614 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:36,614 INFO L208 CegarLoopForPetriNet]: trace histogram [7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-28 18:07:36,614 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-28 18:07:36,614 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:36,615 INFO L85 PathProgramCache]: Analyzing trace with hash 577295683, now seen corresponding path program 1 times [2023-08-28 18:07:36,615 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:36,615 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1232517338] [2023-08-28 18:07:36,615 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:36,615 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:36,649 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:36,649 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-28 18:07:36,666 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:36,687 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-28 18:07:36,688 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-28 18:07:36,688 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-28 18:07:36,688 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable13 [2023-08-28 18:07:36,688 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:36,689 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-28 18:07:36,691 WARN L233 ceAbstractionStarter]: 7 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-28 18:07:36,692 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 8 thread instances. [2023-08-28 18:07:36,715 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-28 18:07:36,718 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 153 places, 137 transitions, 370 flow [2023-08-28 18:07:36,737 INFO L130 PetriNetUnfolder]: 9/231 cut-off events. [2023-08-28 18:07:36,737 INFO L131 PetriNetUnfolder]: For 112/112 co-relation queries the response was YES. [2023-08-28 18:07:36,739 INFO L83 FinitePrefix]: Finished finitePrefix Result has 292 conditions, 231 events. 9/231 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 480 event pairs, 0 based on Foata normal form. 0/196 useless extension candidates. Maximal degree in co-relation 240. Up to 18 conditions per place. [2023-08-28 18:07:36,739 INFO L82 GeneralOperation]: Start removeDead. Operand has 153 places, 137 transitions, 370 flow [2023-08-28 18:07:36,740 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 153 places, 137 transitions, 370 flow [2023-08-28 18:07:36,740 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:36,740 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 153 places, 137 transitions, 370 flow [2023-08-28 18:07:36,741 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 153 places, 137 transitions, 370 flow [2023-08-28 18:07:36,741 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 153 places, 137 transitions, 370 flow [2023-08-28 18:07:36,759 INFO L130 PetriNetUnfolder]: 9/231 cut-off events. [2023-08-28 18:07:36,760 INFO L131 PetriNetUnfolder]: For 112/112 co-relation queries the response was YES. [2023-08-28 18:07:36,761 INFO L83 FinitePrefix]: Finished finitePrefix Result has 292 conditions, 231 events. 9/231 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 480 event pairs, 0 based on Foata normal form. 0/196 useless extension candidates. Maximal degree in co-relation 240. Up to 18 conditions per place. [2023-08-28 18:07:36,765 INFO L119 LiptonReduction]: Number of co-enabled transitions 11232 [2023-08-28 18:07:38,399 INFO L134 LiptonReduction]: Checked pairs total: 18949 [2023-08-28 18:07:38,399 INFO L136 LiptonReduction]: Total number of compositions: 114 [2023-08-28 18:07:38,401 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-28 18:07:38,401 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:38,401 INFO L358 AbstractCegarLoop]: Starting to check reachability of 19 error locations. [2023-08-28 18:07:38,402 INFO L130 PetriNetUnfolder]: 0/0 cut-off events. [2023-08-28 18:07:38,402 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:38,402 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:38,402 INFO L208 CegarLoopForPetriNet]: trace histogram [1] [2023-08-28 18:07:38,403 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE (and 15 more)] === [2023-08-28 18:07:38,403 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:38,403 INFO L85 PathProgramCache]: Analyzing trace with hash 2043, now seen corresponding path program 1 times [2023-08-28 18:07:38,403 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:38,403 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [86887291] [2023-08-28 18:07:38,404 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:38,404 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:38,408 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-28 18:07:38,410 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-28 18:07:38,410 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-28 18:07:38,410 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [86887291] [2023-08-28 18:07:38,410 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [86887291] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-28 18:07:38,410 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-28 18:07:38,411 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2023-08-28 18:07:38,411 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [509513256] [2023-08-28 18:07:38,411 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-28 18:07:38,411 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-28 18:07:38,411 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-28 18:07:38,412 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-28 18:07:38,412 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-28 18:07:38,413 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 95 out of 251 [2023-08-28 18:07:38,413 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 64 places, 47 transitions, 190 flow. Second operand has 2 states, 2 states have (on average 95.5) internal successors, (191), 2 states have internal predecessors, (191), 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) [2023-08-28 18:07:38,413 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-28 18:07:38,413 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 95 of 251 [2023-08-28 18:07:38,413 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-28 18:07:46,694 INFO L130 PetriNetUnfolder]: 91856/120285 cut-off events. [2023-08-28 18:07:46,694 INFO L131 PetriNetUnfolder]: For 158830/158830 co-relation queries the response was YES. [2023-08-28 18:07:47,210 INFO L83 FinitePrefix]: Finished finitePrefix Result has 277213 conditions, 120285 events. 91856/120285 cut-off events. For 158830/158830 co-relation queries the response was YES. Maximal size of possible extension queue 4108. Compared 717009 event pairs, 91856 based on Foata normal form. 0/117004 useless extension candidates. Maximal degree in co-relation 83653. Up to 111539 conditions per place. [2023-08-28 18:07:47,302 INFO L137 encePairwiseOnDemand]: 233/251 looper letters, 0 selfloop transitions, 0 changer transitions 29/29 dead transitions. [2023-08-28 18:07:47,302 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 47 places, 29 transitions, 206 flow [2023-08-28 18:07:47,303 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-28 18:07:47,303 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-28 18:07:47,303 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 234 transitions. [2023-08-28 18:07:47,304 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.46613545816733065 [2023-08-28 18:07:47,304 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 234 transitions. [2023-08-28 18:07:47,304 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 234 transitions. [2023-08-28 18:07:47,305 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-28 18:07:47,305 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 234 transitions. [2023-08-28 18:07:47,306 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 117.0) internal successors, (234), 2 states have internal predecessors, (234), 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) [2023-08-28 18:07:47,307 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 251.0) internal successors, (753), 3 states have internal predecessors, (753), 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) [2023-08-28 18:07:47,308 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 251.0) internal successors, (753), 3 states have internal predecessors, (753), 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) [2023-08-28 18:07:47,308 INFO L175 Difference]: Start difference. First operand has 64 places, 47 transitions, 190 flow. Second operand 2 states and 234 transitions. [2023-08-28 18:07:47,308 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 47 places, 29 transitions, 206 flow [2023-08-28 18:07:47,537 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 29 transitions, 150 flow, removed 28 selfloop flow, removed 0 redundant places. [2023-08-28 18:07:47,537 INFO L231 Difference]: Finished difference. Result has 47 places, 0 transitions, 0 flow [2023-08-28 18:07:47,537 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=251, PETRI_DIFFERENCE_MINUEND_FLOW=98, PETRI_DIFFERENCE_MINUEND_PLACES=46, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=29, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=47, PETRI_TRANSITIONS=0} [2023-08-28 18:07:47,538 INFO L281 CegarLoopForPetriNet]: 64 programPoint places, -17 predicate places. [2023-08-28 18:07:47,538 INFO L495 AbstractCegarLoop]: Abstraction has has 47 places, 0 transitions, 0 flow [2023-08-28 18:07:47,538 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 95.5) internal successors, (191), 2 states have internal predecessors, (191), 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) [2023-08-28 18:07:47,539 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (18 of 19 remaining) [2023-08-28 18:07:47,539 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (17 of 19 remaining) [2023-08-28 18:07:47,539 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (16 of 19 remaining) [2023-08-28 18:07:47,539 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (15 of 19 remaining) [2023-08-28 18:07:47,539 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (14 of 19 remaining) [2023-08-28 18:07:47,539 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (13 of 19 remaining) [2023-08-28 18:07:47,539 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (12 of 19 remaining) [2023-08-28 18:07:47,540 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (11 of 19 remaining) [2023-08-28 18:07:47,540 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (10 of 19 remaining) [2023-08-28 18:07:47,540 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (9 of 19 remaining) [2023-08-28 18:07:47,540 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (8 of 19 remaining) [2023-08-28 18:07:47,540 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (7 of 19 remaining) [2023-08-28 18:07:47,540 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (6 of 19 remaining) [2023-08-28 18:07:47,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (5 of 19 remaining) [2023-08-28 18:07:47,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (4 of 19 remaining) [2023-08-28 18:07:47,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (3 of 19 remaining) [2023-08-28 18:07:47,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (2 of 19 remaining) [2023-08-28 18:07:47,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (1 of 19 remaining) [2023-08-28 18:07:47,541 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (0 of 19 remaining) [2023-08-28 18:07:47,542 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable14 [2023-08-28 18:07:47,542 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:47,542 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-28 18:07:47,544 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 153 places, 137 transitions, 370 flow [2023-08-28 18:07:47,558 INFO L130 PetriNetUnfolder]: 9/231 cut-off events. [2023-08-28 18:07:47,558 INFO L131 PetriNetUnfolder]: For 112/112 co-relation queries the response was YES. [2023-08-28 18:07:47,559 INFO L83 FinitePrefix]: Finished finitePrefix Result has 292 conditions, 231 events. 9/231 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 480 event pairs, 0 based on Foata normal form. 0/196 useless extension candidates. Maximal degree in co-relation 240. Up to 18 conditions per place. [2023-08-28 18:07:47,559 INFO L82 GeneralOperation]: Start removeDead. Operand has 153 places, 137 transitions, 370 flow [2023-08-28 18:07:47,560 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 147 places, 130 transitions, 356 flow [2023-08-28 18:07:47,560 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:47,560 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 147 places, 130 transitions, 356 flow [2023-08-28 18:07:47,560 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 147 places, 130 transitions, 356 flow [2023-08-28 18:07:47,560 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 147 places, 130 transitions, 356 flow [2023-08-28 18:07:47,571 INFO L130 PetriNetUnfolder]: 0/176 cut-off events. [2023-08-28 18:07:47,571 INFO L131 PetriNetUnfolder]: For 112/112 co-relation queries the response was YES. [2023-08-28 18:07:47,571 INFO L83 FinitePrefix]: Finished finitePrefix Result has 237 conditions, 176 events. 0/176 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 265 event pairs, 0 based on Foata normal form. 0/160 useless extension candidates. Maximal degree in co-relation 0. Up to 9 conditions per place. [2023-08-28 18:07:47,574 INFO L119 LiptonReduction]: Number of co-enabled transitions 10080 [2023-08-28 18:07:49,155 INFO L134 LiptonReduction]: Checked pairs total: 18572 [2023-08-28 18:07:49,155 INFO L136 LiptonReduction]: Total number of compositions: 108 [2023-08-28 18:07:49,156 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-28 18:07:49,156 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:49,156 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-28 18:07:49,160 INFO L130 PetriNetUnfolder]: 0/57 cut-off events. [2023-08-28 18:07:49,160 INFO L131 PetriNetUnfolder]: For 112/112 co-relation queries the response was YES. [2023-08-28 18:07:49,161 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:49,161 INFO L208 CegarLoopForPetriNet]: trace histogram [8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-28 18:07:49,161 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-28 18:07:49,161 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:49,161 INFO L85 PathProgramCache]: Analyzing trace with hash 1857793527, now seen corresponding path program 1 times [2023-08-28 18:07:49,161 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:49,161 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [542065449] [2023-08-28 18:07:49,161 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:49,161 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:49,176 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:49,176 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-28 18:07:49,185 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:07:49,190 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-28 18:07:49,191 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-28 18:07:49,191 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-28 18:07:49,191 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable15 [2023-08-28 18:07:49,191 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:07:49,192 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-28 18:07:49,192 WARN L233 ceAbstractionStarter]: 8 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-28 18:07:49,192 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 9 thread instances. [2023-08-28 18:07:49,210 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-28 18:07:49,212 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 168 places, 150 transitions, 417 flow [2023-08-28 18:07:49,235 INFO L130 PetriNetUnfolder]: 10/256 cut-off events. [2023-08-28 18:07:49,235 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-28 18:07:49,237 INFO L83 FinitePrefix]: Finished finitePrefix Result has 329 conditions, 256 events. 10/256 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 527 event pairs, 0 based on Foata normal form. 0/217 useless extension candidates. Maximal degree in co-relation 274. Up to 20 conditions per place. [2023-08-28 18:07:49,237 INFO L82 GeneralOperation]: Start removeDead. Operand has 168 places, 150 transitions, 417 flow [2023-08-28 18:07:49,239 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 168 places, 150 transitions, 417 flow [2023-08-28 18:07:49,239 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:07:49,239 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 168 places, 150 transitions, 417 flow [2023-08-28 18:07:49,239 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 168 places, 150 transitions, 417 flow [2023-08-28 18:07:49,240 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 168 places, 150 transitions, 417 flow [2023-08-28 18:07:49,258 INFO L130 PetriNetUnfolder]: 10/256 cut-off events. [2023-08-28 18:07:49,259 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-28 18:07:49,260 INFO L83 FinitePrefix]: Finished finitePrefix Result has 329 conditions, 256 events. 10/256 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 527 event pairs, 0 based on Foata normal form. 0/217 useless extension candidates. Maximal degree in co-relation 274. Up to 20 conditions per place. [2023-08-28 18:07:49,265 INFO L119 LiptonReduction]: Number of co-enabled transitions 14040 [2023-08-28 18:07:50,929 INFO L134 LiptonReduction]: Checked pairs total: 24768 [2023-08-28 18:07:50,929 INFO L136 LiptonReduction]: Total number of compositions: 127 [2023-08-28 18:07:50,933 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-28 18:07:50,935 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:07:50,935 INFO L358 AbstractCegarLoop]: Starting to check reachability of 21 error locations. [2023-08-28 18:07:50,936 INFO L130 PetriNetUnfolder]: 0/0 cut-off events. [2023-08-28 18:07:50,936 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:07:50,936 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:07:50,936 INFO L208 CegarLoopForPetriNet]: trace histogram [1] [2023-08-28 18:07:50,936 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 17 more)] === [2023-08-28 18:07:50,936 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:07:50,937 INFO L85 PathProgramCache]: Analyzing trace with hash 2441, now seen corresponding path program 1 times [2023-08-28 18:07:50,937 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:07:50,937 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1133754050] [2023-08-28 18:07:50,937 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:07:50,937 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:07:50,942 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-28 18:07:50,944 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-28 18:07:50,944 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-28 18:07:50,944 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1133754050] [2023-08-28 18:07:50,944 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1133754050] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-28 18:07:50,944 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-28 18:07:50,945 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2023-08-28 18:07:50,945 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [32363939] [2023-08-28 18:07:50,945 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-28 18:07:50,945 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-28 18:07:50,946 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-28 18:07:50,946 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-28 18:07:50,946 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-28 18:07:50,947 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 103 out of 277 [2023-08-28 18:07:50,947 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 71 places, 52 transitions, 221 flow. Second operand has 2 states, 2 states have (on average 103.5) internal successors, (207), 2 states have internal predecessors, (207), 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) [2023-08-28 18:07:50,947 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-28 18:07:50,947 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 103 of 277 [2023-08-28 18:07:50,947 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-28 18:08:21,968 INFO L130 PetriNetUnfolder]: 314930/400221 cut-off events. [2023-08-28 18:08:21,969 INFO L131 PetriNetUnfolder]: For 609352/609352 co-relation queries the response was YES. [2023-08-28 18:08:23,337 INFO L83 FinitePrefix]: Finished finitePrefix Result has 926753 conditions, 400221 events. 314930/400221 cut-off events. For 609352/609352 co-relation queries the response was YES. Maximal size of possible extension queue 11911. Compared 2454234 event pairs, 314930 based on Foata normal form. 0/390380 useless extension candidates. Maximal degree in co-relation 282670. Up to 373979 conditions per place. [2023-08-28 18:08:23,586 INFO L137 encePairwiseOnDemand]: 257/277 looper letters, 0 selfloop transitions, 0 changer transitions 32/32 dead transitions. [2023-08-28 18:08:23,586 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 52 places, 32 transitions, 239 flow [2023-08-28 18:08:23,587 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-28 18:08:23,587 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-28 18:08:23,587 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 255 transitions. [2023-08-28 18:08:23,587 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4602888086642599 [2023-08-28 18:08:23,588 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 255 transitions. [2023-08-28 18:08:23,588 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 255 transitions. [2023-08-28 18:08:23,588 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-28 18:08:23,588 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 255 transitions. [2023-08-28 18:08:23,589 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 127.5) internal successors, (255), 2 states have internal predecessors, (255), 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) [2023-08-28 18:08:23,589 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 277.0) internal successors, (831), 3 states have internal predecessors, (831), 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) [2023-08-28 18:08:23,590 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 277.0) internal successors, (831), 3 states have internal predecessors, (831), 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) [2023-08-28 18:08:23,590 INFO L175 Difference]: Start difference. First operand has 71 places, 52 transitions, 221 flow. Second operand 2 states and 255 transitions. [2023-08-28 18:08:23,590 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 52 places, 32 transitions, 239 flow [2023-08-28 18:08:24,835 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 52 places, 32 transitions, 167 flow, removed 36 selfloop flow, removed 0 redundant places. [2023-08-28 18:08:24,836 INFO L231 Difference]: Finished difference. Result has 52 places, 0 transitions, 0 flow [2023-08-28 18:08:24,836 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=277, PETRI_DIFFERENCE_MINUEND_FLOW=109, PETRI_DIFFERENCE_MINUEND_PLACES=51, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=32, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=32, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=0, PETRI_PLACES=52, PETRI_TRANSITIONS=0} [2023-08-28 18:08:24,836 INFO L281 CegarLoopForPetriNet]: 71 programPoint places, -19 predicate places. [2023-08-28 18:08:24,836 INFO L495 AbstractCegarLoop]: Abstraction has has 52 places, 0 transitions, 0 flow [2023-08-28 18:08:24,837 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 103.5) internal successors, (207), 2 states have internal predecessors, (207), 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) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (20 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (19 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (18 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (17 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (16 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (15 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (14 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (13 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (12 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (11 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (10 of 21 remaining) [2023-08-28 18:08:24,837 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE (9 of 21 remaining) [2023-08-28 18:08:24,838 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (8 of 21 remaining) [2023-08-28 18:08:24,838 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (7 of 21 remaining) [2023-08-28 18:08:24,838 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (6 of 21 remaining) [2023-08-28 18:08:24,838 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (5 of 21 remaining) [2023-08-28 18:08:24,838 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (4 of 21 remaining) [2023-08-28 18:08:24,838 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (3 of 21 remaining) [2023-08-28 18:08:24,838 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (2 of 21 remaining) [2023-08-28 18:08:24,838 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (1 of 21 remaining) [2023-08-28 18:08:24,838 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err1ASSERT_VIOLATIONDATA_RACE (0 of 21 remaining) [2023-08-28 18:08:24,838 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable16 [2023-08-28 18:08:24,838 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:08:24,839 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-28 18:08:24,840 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 168 places, 150 transitions, 417 flow [2023-08-28 18:08:24,864 INFO L130 PetriNetUnfolder]: 10/256 cut-off events. [2023-08-28 18:08:24,864 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-28 18:08:24,867 INFO L83 FinitePrefix]: Finished finitePrefix Result has 329 conditions, 256 events. 10/256 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 527 event pairs, 0 based on Foata normal form. 0/217 useless extension candidates. Maximal degree in co-relation 274. Up to 20 conditions per place. [2023-08-28 18:08:24,867 INFO L82 GeneralOperation]: Start removeDead. Operand has 168 places, 150 transitions, 417 flow [2023-08-28 18:08:24,868 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 162 places, 143 transitions, 403 flow [2023-08-28 18:08:24,868 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:08:24,868 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 162 places, 143 transitions, 403 flow [2023-08-28 18:08:24,868 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 162 places, 143 transitions, 403 flow [2023-08-28 18:08:24,868 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 162 places, 143 transitions, 403 flow [2023-08-28 18:08:24,887 INFO L130 PetriNetUnfolder]: 0/195 cut-off events. [2023-08-28 18:08:24,887 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-28 18:08:24,887 INFO L83 FinitePrefix]: Finished finitePrefix Result has 268 conditions, 195 events. 0/195 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 291 event pairs, 0 based on Foata normal form. 0/177 useless extension candidates. Maximal degree in co-relation 0. Up to 10 conditions per place. [2023-08-28 18:08:24,891 INFO L119 LiptonReduction]: Number of co-enabled transitions 12744 [2023-08-28 18:08:26,668 INFO L134 LiptonReduction]: Checked pairs total: 21758 [2023-08-28 18:08:26,668 INFO L136 LiptonReduction]: Total number of compositions: 119 [2023-08-28 18:08:26,669 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-28 18:08:26,669 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:08:26,669 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-28 18:08:26,674 INFO L130 PetriNetUnfolder]: 0/64 cut-off events. [2023-08-28 18:08:26,674 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-28 18:08:26,674 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:08:26,674 INFO L208 CegarLoopForPetriNet]: trace histogram [9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-28 18:08:26,674 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-28 18:08:26,674 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:08:26,674 INFO L85 PathProgramCache]: Analyzing trace with hash 1691253416, now seen corresponding path program 1 times [2023-08-28 18:08:26,674 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:08:26,674 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1663459862] [2023-08-28 18:08:26,674 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:08:26,674 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:08:26,692 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:08:26,692 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-28 18:08:26,700 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-28 18:08:26,707 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-28 18:08:26,707 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-28 18:08:26,707 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-28 18:08:26,707 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable17 [2023-08-28 18:08:26,708 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-28 18:08:26,708 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-28 18:08:26,708 WARN L233 ceAbstractionStarter]: 9 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-28 18:08:26,708 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 10 thread instances. [2023-08-28 18:08:26,729 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-28 18:08:26,731 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 183 places, 163 transitions, 466 flow [2023-08-28 18:08:26,757 INFO L130 PetriNetUnfolder]: 11/281 cut-off events. [2023-08-28 18:08:26,758 INFO L131 PetriNetUnfolder]: For 210/210 co-relation queries the response was YES. [2023-08-28 18:08:26,760 INFO L83 FinitePrefix]: Finished finitePrefix Result has 367 conditions, 281 events. 11/281 cut-off events. For 210/210 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 573 event pairs, 0 based on Foata normal form. 0/238 useless extension candidates. Maximal degree in co-relation 311. Up to 22 conditions per place. [2023-08-28 18:08:26,760 INFO L82 GeneralOperation]: Start removeDead. Operand has 183 places, 163 transitions, 466 flow [2023-08-28 18:08:26,762 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 183 places, 163 transitions, 466 flow [2023-08-28 18:08:26,762 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-28 18:08:26,762 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 183 places, 163 transitions, 466 flow [2023-08-28 18:08:26,762 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 183 places, 163 transitions, 466 flow [2023-08-28 18:08:26,762 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 183 places, 163 transitions, 466 flow [2023-08-28 18:08:26,780 INFO L130 PetriNetUnfolder]: 11/281 cut-off events. [2023-08-28 18:08:26,780 INFO L131 PetriNetUnfolder]: For 210/210 co-relation queries the response was YES. [2023-08-28 18:08:26,782 INFO L83 FinitePrefix]: Finished finitePrefix Result has 367 conditions, 281 events. 11/281 cut-off events. For 210/210 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 573 event pairs, 0 based on Foata normal form. 0/238 useless extension candidates. Maximal degree in co-relation 311. Up to 22 conditions per place. [2023-08-28 18:08:26,785 INFO L119 LiptonReduction]: Number of co-enabled transitions 17160 [2023-08-28 18:08:28,775 INFO L134 LiptonReduction]: Checked pairs total: 28541 [2023-08-28 18:08:28,775 INFO L136 LiptonReduction]: Total number of compositions: 136 [2023-08-28 18:08:28,777 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-28 18:08:28,777 INFO L357 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, mHoare=true, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, 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;@7997b7f2, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-28 18:08:28,777 INFO L358 AbstractCegarLoop]: Starting to check reachability of 23 error locations. [2023-08-28 18:08:28,777 INFO L130 PetriNetUnfolder]: 0/0 cut-off events. [2023-08-28 18:08:28,778 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-28 18:08:28,778 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-28 18:08:28,778 INFO L208 CegarLoopForPetriNet]: trace histogram [1] [2023-08-28 18:08:28,778 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONDATA_RACE === [thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE (and 19 more)] === [2023-08-28 18:08:28,778 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-28 18:08:28,778 INFO L85 PathProgramCache]: Analyzing trace with hash 2872, now seen corresponding path program 1 times [2023-08-28 18:08:28,779 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-28 18:08:28,779 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1031096636] [2023-08-28 18:08:28,779 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-28 18:08:28,779 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-28 18:08:28,783 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-28 18:08:28,785 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-28 18:08:28,785 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-28 18:08:28,785 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1031096636] [2023-08-28 18:08:28,786 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1031096636] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-28 18:08:28,786 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-28 18:08:28,786 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2023-08-28 18:08:28,786 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2077076183] [2023-08-28 18:08:28,786 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-28 18:08:28,786 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-28 18:08:28,787 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-28 18:08:28,787 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-28 18:08:28,787 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-28 18:08:28,788 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 111 out of 299 [2023-08-28 18:08:28,788 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 78 places, 57 transitions, 254 flow. Second operand has 2 states, 2 states have (on average 111.5) internal successors, (223), 2 states have internal predecessors, (223), 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) [2023-08-28 18:08:28,788 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-28 18:08:28,788 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 111 of 299 [2023-08-28 18:08:28,788 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand