./Ultimate.py --spec ../sv-benchmarks/c/properties/no-data-race.prp --file ../sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for data races Using default analysis Version 4f9af400 extending candidate: java ['java'] extending candidate: /usr/bin/java ['java', '/usr/bin/java'] extending candidate: /opt/oracle-jdk-bin-*/bin/java ['java', '/usr/bin/java'] extending candidate: /opt/openjdk-*/bin/java ['java', '/usr/bin/java'] extending candidate: /usr/lib/jvm/java-*-openjdk-amd64/bin/java ['java', '/usr/bin/java', '/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java', '/usr/lib/jvm/java-17-openjdk-amd64/bin/java', '/usr/lib/jvm/java-11-openjdk-amd64/bin/java', '/usr/lib/jvm/java-1.17.0-openjdk-amd64/bin/java'] ['/root/.sdkman/candidates/java/21.0.5-tem/bin/java', '-Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config', '-Xmx15G', '-Xms4m', '-jar', '/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar', '-data', '@noDefault', '-ultimatedata', '/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data', '-tc', '/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml', '-i', '../sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i', '-s', '/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf', '--cacsl2boogietranslator.entry.function', 'main', '--witnessprinter.witness.directory', '/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux', '--witnessprinter.witness.filename', 'witness', '--witnessprinter.write.witness.besides.input.file', 'false', '--witnessprinter.graph.data.specification', 'CHECK( init(main()), LTL(G ! data-race) )\n\n', '--witnessprinter.graph.data.producer', 'Automizer', '--witnessprinter.graph.data.architecture', '32bit', '--witnessprinter.graph.data.programhash', '22ba795826618dfa50b90a88d5a4c30adee7dfead438325f939eb97a379da897'] Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! data-race) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 22ba795826618dfa50b90a88d5a4c30adee7dfead438325f939eb97a379da897 --- Real Ultimate output --- This is Ultimate 0.3.0-?-4f9af40 [2024-11-07 15:18:56,104 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-07 15:18:56,191 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DataRace-32bit-Automizer_Default.epf [2024-11-07 15:18:56,196 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-07 15:18:56,196 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-07 15:18:56,220 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-07 15:18:56,222 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-07 15:18:56,222 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-07 15:18:56,222 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-07 15:18:56,223 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-07 15:18:56,223 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-07 15:18:56,224 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-07 15:18:56,224 INFO L153 SettingsManager]: * Use SBE=true [2024-11-07 15:18:56,224 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-07 15:18:56,224 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-07 15:18:56,224 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-07 15:18:56,224 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * Check absence of data races in concurrent programs=true [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-07 15:18:56,225 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-07 15:18:56,225 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-07 15:18:56,226 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-07 15:18:56,226 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-07 15:18:56,226 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 15:18:56,226 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-07 15:18:56,226 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-07 15:18:56,226 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-07 15:18:56,226 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-07 15:18:56,227 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-07 15:18:56,227 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-07 15:18:56,227 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-07 15:18:56,227 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-07 15:18:56,227 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-07 15:18:56,227 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! data-race) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 22ba795826618dfa50b90a88d5a4c30adee7dfead438325f939eb97a379da897 [2024-11-07 15:18:56,486 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-07 15:18:56,492 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-07 15:18:56,493 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-07 15:18:56,494 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-07 15:18:56,494 INFO L274 PluginConnector]: CDTParser initialized [2024-11-07 15:18:56,495 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i [2024-11-07 15:18:57,739 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-07 15:18:58,020 INFO L384 CDTParser]: Found 1 translation units. [2024-11-07 15:18:58,021 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread-ext/35_double_lock_p3_vs.i [2024-11-07 15:18:58,031 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/f78a77582/fd77963bf0974105afb86c5e317ded18/FLAG6c4cb5d27 [2024-11-07 15:18:58,310 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/f78a77582/fd77963bf0974105afb86c5e317ded18 [2024-11-07 15:18:58,312 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-07 15:18:58,313 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-07 15:18:58,314 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-07 15:18:58,314 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-07 15:18:58,317 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-07 15:18:58,318 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,319 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@52a5af27 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58, skipping insertion in model container [2024-11-07 15:18:58,319 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,336 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-07 15:18:58,520 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 15:18:58,532 INFO L200 MainTranslator]: Completed pre-run [2024-11-07 15:18:58,558 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-07 15:18:58,582 INFO L204 MainTranslator]: Completed translation [2024-11-07 15:18:58,583 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58 WrapperNode [2024-11-07 15:18:58,583 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-07 15:18:58,584 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-07 15:18:58,584 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-07 15:18:58,584 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-07 15:18:58,589 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,599 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,617 INFO L138 Inliner]: procedures = 164, calls = 22, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 112 [2024-11-07 15:18:58,619 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-07 15:18:58,619 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-07 15:18:58,620 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-07 15:18:58,620 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-07 15:18:58,625 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,625 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,628 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,628 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,631 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,633 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,634 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,635 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,636 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-07 15:18:58,637 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-07 15:18:58,637 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-07 15:18:58,637 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-07 15:18:58,637 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (1/1) ... [2024-11-07 15:18:58,641 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-07 15:18:58,650 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2024-11-07 15:18:58,663 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-07 15:18:58,666 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-07 15:18:58,683 INFO L130 BoogieDeclarations]: Found specification of procedure thr2 [2024-11-07 15:18:58,683 INFO L138 BoogieDeclarations]: Found implementation of procedure thr2 [2024-11-07 15:18:58,683 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-11-07 15:18:58,683 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-11-07 15:18:58,684 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-07 15:18:58,684 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-07 15:18:58,684 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-07 15:18:58,684 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-07 15:18:58,684 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-07 15:18:58,684 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-07 15:18:58,685 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-07 15:18:58,804 INFO L238 CfgBuilder]: Building ICFG [2024-11-07 15:18:58,805 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-07 15:18:58,927 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-07 15:18:58,928 INFO L287 CfgBuilder]: Performing block encoding [2024-11-07 15:18:58,944 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-07 15:18:58,944 INFO L316 CfgBuilder]: Removed 2 assume(true) statements. [2024-11-07 15:18:58,945 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 03:18:58 BoogieIcfgContainer [2024-11-07 15:18:58,945 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-07 15:18:58,947 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-07 15:18:58,947 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-07 15:18:58,952 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-07 15:18:58,953 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 07.11 03:18:58" (1/3) ... [2024-11-07 15:18:58,953 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7c199531 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 03:18:58, skipping insertion in model container [2024-11-07 15:18:58,953 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 07.11 03:18:58" (2/3) ... [2024-11-07 15:18:58,953 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7c199531 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 07.11 03:18:58, skipping insertion in model container [2024-11-07 15:18:58,953 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 07.11 03:18:58" (3/3) ... [2024-11-07 15:18:58,954 INFO L112 eAbstractionObserver]: Analyzing ICFG 35_double_lock_p3_vs.i [2024-11-07 15:18:58,965 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-07 15:18:58,965 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 9 error locations. [2024-11-07 15:18:58,966 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-07 15:18:59,013 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-07 15:18:59,056 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 121 places, 121 transitions, 250 flow [2024-11-07 15:18:59,089 INFO L124 PetriNetUnfolderBase]: 7/129 cut-off events. [2024-11-07 15:18:59,090 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 15:18:59,094 INFO L83 FinitePrefix]: Finished finitePrefix Result has 136 conditions, 129 events. 7/129 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 157 event pairs, 0 based on Foata normal form. 0/111 useless extension candidates. Maximal degree in co-relation 110. Up to 4 conditions per place. [2024-11-07 15:18:59,095 INFO L82 GeneralOperation]: Start removeDead. Operand has 121 places, 121 transitions, 250 flow [2024-11-07 15:18:59,097 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 120 places, 120 transitions, 247 flow [2024-11-07 15:18:59,103 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 15:18:59,110 INFO L333 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@31c1c06e, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 15:18:59,110 INFO L334 AbstractCegarLoop]: Starting to check reachability of 20 error locations. [2024-11-07 15:18:59,119 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 15:18:59,119 INFO L124 PetriNetUnfolderBase]: 2/39 cut-off events. [2024-11-07 15:18:59,119 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 15:18:59,119 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 15:18:59,120 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 15:18:59,120 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONDATA_RACE === [thr2Err0ASSERT_VIOLATIONDATA_RACE, thr2Err1ASSERT_VIOLATIONDATA_RACE, thr2Err2ASSERT_VIOLATIONDATA_RACE, thr2Err3ASSERT_VIOLATIONDATA_RACE (and 16 more)] === [2024-11-07 15:18:59,123 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 15:18:59,123 INFO L85 PathProgramCache]: Analyzing trace with hash -1302984874, now seen corresponding path program 1 times [2024-11-07 15:18:59,128 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 15:18:59,129 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1738785127] [2024-11-07 15:18:59,129 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 15:18:59,129 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 15:18:59,193 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 15:18:59,250 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 15:18:59,250 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 15:18:59,251 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1738785127] [2024-11-07 15:18:59,251 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1738785127] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 15:18:59,251 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 15:18:59,251 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-07 15:18:59,252 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [946702868] [2024-11-07 15:18:59,253 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 15:18:59,257 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 15:18:59,260 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 15:18:59,273 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 15:18:59,273 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 15:18:59,309 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 87 out of 121 [2024-11-07 15:18:59,312 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 120 places, 120 transitions, 247 flow. Second operand has 3 states, 3 states have (on average 88.33333333333333) internal successors, (265), 3 states have internal predecessors, (265), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 15:18:59,313 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 15:18:59,313 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 87 of 121 [2024-11-07 15:18:59,313 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 15:18:59,419 INFO L124 PetriNetUnfolderBase]: 120/534 cut-off events. [2024-11-07 15:18:59,419 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2024-11-07 15:18:59,421 INFO L83 FinitePrefix]: Finished finitePrefix Result has 805 conditions, 534 events. 120/534 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 2324 event pairs, 28 based on Foata normal form. 225/711 useless extension candidates. Maximal degree in co-relation 777. Up to 176 conditions per place. [2024-11-07 15:18:59,424 INFO L140 encePairwiseOnDemand]: 100/121 looper letters, 26 selfloop transitions, 10 changer transitions 0/116 dead transitions. [2024-11-07 15:18:59,425 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 109 places, 116 transitions, 314 flow [2024-11-07 15:18:59,426 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 15:18:59,427 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 15:18:59,433 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 314 transitions. [2024-11-07 15:18:59,434 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.8650137741046832 [2024-11-07 15:18:59,435 INFO L175 Difference]: Start difference. First operand has 120 places, 120 transitions, 247 flow. Second operand 3 states and 314 transitions. [2024-11-07 15:18:59,436 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 109 places, 116 transitions, 314 flow [2024-11-07 15:18:59,439 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 108 places, 116 transitions, 313 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-07 15:18:59,442 INFO L231 Difference]: Finished difference. Result has 110 places, 109 transitions, 278 flow [2024-11-07 15:18:59,443 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=121, PETRI_DIFFERENCE_MINUEND_FLOW=212, PETRI_DIFFERENCE_MINUEND_PLACES=106, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=103, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=93, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=278, PETRI_PLACES=110, PETRI_TRANSITIONS=109} [2024-11-07 15:18:59,446 INFO L277 CegarLoopForPetriNet]: 120 programPoint places, -10 predicate places. [2024-11-07 15:18:59,446 INFO L471 AbstractCegarLoop]: Abstraction has has 110 places, 109 transitions, 278 flow [2024-11-07 15:18:59,446 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 88.33333333333333) internal successors, (265), 3 states have internal predecessors, (265), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 15:18:59,446 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 15:18:59,446 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 15:18:59,446 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-07 15:18:59,446 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr2Err0ASSERT_VIOLATIONDATA_RACE, thr2Err1ASSERT_VIOLATIONDATA_RACE, thr2Err2ASSERT_VIOLATIONDATA_RACE, thr2Err3ASSERT_VIOLATIONDATA_RACE (and 16 more)] === [2024-11-07 15:18:59,447 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 15:18:59,447 INFO L85 PathProgramCache]: Analyzing trace with hash -370913420, now seen corresponding path program 1 times [2024-11-07 15:18:59,447 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 15:18:59,447 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1802879427] [2024-11-07 15:18:59,447 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 15:18:59,447 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 15:18:59,462 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 15:18:59,462 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 15:18:59,493 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 15:18:59,517 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 15:18:59,517 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 15:18:59,518 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (19 of 20 remaining) [2024-11-07 15:18:59,521 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err0ASSERT_VIOLATIONDATA_RACE (18 of 20 remaining) [2024-11-07 15:18:59,521 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err1ASSERT_VIOLATIONDATA_RACE (17 of 20 remaining) [2024-11-07 15:18:59,521 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err2ASSERT_VIOLATIONDATA_RACE (16 of 20 remaining) [2024-11-07 15:18:59,522 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err3ASSERT_VIOLATIONDATA_RACE (15 of 20 remaining) [2024-11-07 15:18:59,522 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err4ASSERT_VIOLATIONDATA_RACE (14 of 20 remaining) [2024-11-07 15:18:59,522 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err5ASSERT_VIOLATIONDATA_RACE (13 of 20 remaining) [2024-11-07 15:18:59,522 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err6ASSERT_VIOLATIONDATA_RACE (12 of 20 remaining) [2024-11-07 15:18:59,522 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err7ASSERT_VIOLATIONDATA_RACE (11 of 20 remaining) [2024-11-07 15:18:59,522 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (10 of 20 remaining) [2024-11-07 15:18:59,522 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (9 of 20 remaining) [2024-11-07 15:18:59,522 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err0ASSERT_VIOLATIONDATA_RACE (8 of 20 remaining) [2024-11-07 15:18:59,522 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err1ASSERT_VIOLATIONDATA_RACE (7 of 20 remaining) [2024-11-07 15:18:59,522 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err2ASSERT_VIOLATIONDATA_RACE (6 of 20 remaining) [2024-11-07 15:18:59,523 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err3ASSERT_VIOLATIONDATA_RACE (5 of 20 remaining) [2024-11-07 15:18:59,523 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err4ASSERT_VIOLATIONDATA_RACE (4 of 20 remaining) [2024-11-07 15:18:59,523 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err5ASSERT_VIOLATIONDATA_RACE (3 of 20 remaining) [2024-11-07 15:18:59,523 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err6ASSERT_VIOLATIONDATA_RACE (2 of 20 remaining) [2024-11-07 15:18:59,523 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err7ASSERT_VIOLATIONDATA_RACE (1 of 20 remaining) [2024-11-07 15:18:59,523 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (0 of 20 remaining) [2024-11-07 15:18:59,523 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-07 15:18:59,524 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-07 15:18:59,526 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 15:18:59,526 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-07 15:18:59,575 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-07 15:18:59,579 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 206 places, 207 transitions, 434 flow [2024-11-07 15:18:59,604 INFO L124 PetriNetUnfolderBase]: 9/204 cut-off events. [2024-11-07 15:18:59,604 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-11-07 15:18:59,607 INFO L83 FinitePrefix]: Finished finitePrefix Result has 216 conditions, 204 events. 9/204 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 365 event pairs, 0 based on Foata normal form. 0/175 useless extension candidates. Maximal degree in co-relation 211. Up to 6 conditions per place. [2024-11-07 15:18:59,607 INFO L82 GeneralOperation]: Start removeDead. Operand has 206 places, 207 transitions, 434 flow [2024-11-07 15:18:59,609 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 185 places, 184 transitions, 381 flow [2024-11-07 15:18:59,610 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 15:18:59,610 INFO L333 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@31c1c06e, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 15:18:59,611 INFO L334 AbstractCegarLoop]: Starting to check reachability of 29 error locations. [2024-11-07 15:18:59,614 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 15:18:59,614 INFO L124 PetriNetUnfolderBase]: 2/41 cut-off events. [2024-11-07 15:18:59,614 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 15:18:59,615 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 15:18:59,615 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 15:18:59,615 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONDATA_RACE === [thr2Err0ASSERT_VIOLATIONDATA_RACE, thr2Err1ASSERT_VIOLATIONDATA_RACE, thr2Err2ASSERT_VIOLATIONDATA_RACE, thr2Err3ASSERT_VIOLATIONDATA_RACE (and 25 more)] === [2024-11-07 15:18:59,615 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 15:18:59,615 INFO L85 PathProgramCache]: Analyzing trace with hash -1350520838, now seen corresponding path program 1 times [2024-11-07 15:18:59,615 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 15:18:59,616 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [20881806] [2024-11-07 15:18:59,616 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 15:18:59,616 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 15:18:59,627 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 15:18:59,668 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 15:18:59,669 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 15:18:59,669 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [20881806] [2024-11-07 15:18:59,669 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [20881806] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 15:18:59,669 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 15:18:59,669 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-07 15:18:59,669 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [989078406] [2024-11-07 15:18:59,669 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 15:18:59,670 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 15:18:59,670 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 15:18:59,670 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 15:18:59,670 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 15:18:59,756 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 141 out of 207 [2024-11-07 15:18:59,757 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 185 places, 184 transitions, 381 flow. Second operand has 3 states, 3 states have (on average 142.33333333333334) internal successors, (427), 3 states have internal predecessors, (427), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 15:18:59,757 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 15:18:59,757 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 141 of 207 [2024-11-07 15:18:59,757 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-07 15:19:01,460 INFO L124 PetriNetUnfolderBase]: 6162/16651 cut-off events. [2024-11-07 15:19:01,460 INFO L125 PetriNetUnfolderBase]: For 414/414 co-relation queries the response was YES. [2024-11-07 15:19:01,570 INFO L83 FinitePrefix]: Finished finitePrefix Result has 26877 conditions, 16651 events. 6162/16651 cut-off events. For 414/414 co-relation queries the response was YES. Maximal size of possible extension queue 365. Compared 164341 event pairs, 1936 based on Foata normal form. 6183/21041 useless extension candidates. Maximal degree in co-relation 26848. Up to 6244 conditions per place. [2024-11-07 15:19:01,652 INFO L140 encePairwiseOnDemand]: 166/207 looper letters, 60 selfloop transitions, 26 changer transitions 0/209 dead transitions. [2024-11-07 15:19:01,652 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 178 places, 209 transitions, 611 flow [2024-11-07 15:19:01,652 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-07 15:19:01,652 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-07 15:19:01,654 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 530 transitions. [2024-11-07 15:19:01,656 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.8534621578099839 [2024-11-07 15:19:01,657 INFO L175 Difference]: Start difference. First operand has 185 places, 184 transitions, 381 flow. Second operand 3 states and 530 transitions. [2024-11-07 15:19:01,657 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 178 places, 209 transitions, 611 flow [2024-11-07 15:19:01,659 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 177 places, 209 transitions, 610 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-07 15:19:01,662 INFO L231 Difference]: Finished difference. Result has 179 places, 197 transitions, 580 flow [2024-11-07 15:19:01,663 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=207, PETRI_DIFFERENCE_MINUEND_FLOW=354, PETRI_DIFFERENCE_MINUEND_PLACES=175, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=171, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=145, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=580, PETRI_PLACES=179, PETRI_TRANSITIONS=197} [2024-11-07 15:19:01,664 INFO L277 CegarLoopForPetriNet]: 185 programPoint places, -6 predicate places. [2024-11-07 15:19:01,664 INFO L471 AbstractCegarLoop]: Abstraction has has 179 places, 197 transitions, 580 flow [2024-11-07 15:19:01,664 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 142.33333333333334) internal successors, (427), 3 states have internal predecessors, (427), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 15:19:01,665 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 15:19:01,665 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 3, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 15:19:01,665 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-11-07 15:19:01,665 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr2Err0ASSERT_VIOLATIONDATA_RACE, thr2Err1ASSERT_VIOLATIONDATA_RACE, thr2Err2ASSERT_VIOLATIONDATA_RACE, thr2Err3ASSERT_VIOLATIONDATA_RACE (and 25 more)] === [2024-11-07 15:19:01,666 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 15:19:01,666 INFO L85 PathProgramCache]: Analyzing trace with hash 198173084, now seen corresponding path program 1 times [2024-11-07 15:19:01,666 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 15:19:01,666 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [835986004] [2024-11-07 15:19:01,666 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 15:19:01,666 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 15:19:01,687 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 15:19:01,687 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-07 15:19:01,694 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-07 15:19:01,699 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-07 15:19:01,699 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-07 15:19:01,699 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (28 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err0ASSERT_VIOLATIONDATA_RACE (27 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err1ASSERT_VIOLATIONDATA_RACE (26 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err2ASSERT_VIOLATIONDATA_RACE (25 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err3ASSERT_VIOLATIONDATA_RACE (24 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err4ASSERT_VIOLATIONDATA_RACE (23 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err5ASSERT_VIOLATIONDATA_RACE (22 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err6ASSERT_VIOLATIONDATA_RACE (21 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err7ASSERT_VIOLATIONDATA_RACE (20 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (19 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (18 of 29 remaining) [2024-11-07 15:19:01,700 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err0ASSERT_VIOLATIONDATA_RACE (17 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err1ASSERT_VIOLATIONDATA_RACE (16 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err2ASSERT_VIOLATIONDATA_RACE (15 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err3ASSERT_VIOLATIONDATA_RACE (14 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err4ASSERT_VIOLATIONDATA_RACE (13 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err5ASSERT_VIOLATIONDATA_RACE (12 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err6ASSERT_VIOLATIONDATA_RACE (11 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err7ASSERT_VIOLATIONDATA_RACE (10 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err0ASSERT_VIOLATIONDATA_RACE (9 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err1ASSERT_VIOLATIONDATA_RACE (8 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err2ASSERT_VIOLATIONDATA_RACE (7 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err3ASSERT_VIOLATIONDATA_RACE (6 of 29 remaining) [2024-11-07 15:19:01,701 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err4ASSERT_VIOLATIONDATA_RACE (5 of 29 remaining) [2024-11-07 15:19:01,702 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err5ASSERT_VIOLATIONDATA_RACE (4 of 29 remaining) [2024-11-07 15:19:01,702 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err6ASSERT_VIOLATIONDATA_RACE (3 of 29 remaining) [2024-11-07 15:19:01,702 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr2Err7ASSERT_VIOLATIONDATA_RACE (2 of 29 remaining) [2024-11-07 15:19:01,702 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (1 of 29 remaining) [2024-11-07 15:19:01,702 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONDATA_RACE (0 of 29 remaining) [2024-11-07 15:19:01,702 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-07 15:19:01,702 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-07 15:19:01,703 WARN L244 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-07 15:19:01,703 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-11-07 15:19:01,740 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-07 15:19:01,743 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 291 places, 293 transitions, 622 flow [2024-11-07 15:19:01,768 INFO L124 PetriNetUnfolderBase]: 11/279 cut-off events. [2024-11-07 15:19:01,768 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2024-11-07 15:19:01,771 INFO L83 FinitePrefix]: Finished finitePrefix Result has 297 conditions, 279 events. 11/279 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 684 event pairs, 0 based on Foata normal form. 0/239 useless extension candidates. Maximal degree in co-relation 290. Up to 8 conditions per place. [2024-11-07 15:19:01,771 INFO L82 GeneralOperation]: Start removeDead. Operand has 291 places, 293 transitions, 622 flow [2024-11-07 15:19:01,774 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 250 places, 248 transitions, 517 flow [2024-11-07 15:19:01,775 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-07 15:19:01,776 INFO L333 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@31c1c06e, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-07 15:19:01,776 INFO L334 AbstractCegarLoop]: Starting to check reachability of 38 error locations. [2024-11-07 15:19:01,780 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-07 15:19:01,780 INFO L124 PetriNetUnfolderBase]: 2/41 cut-off events. [2024-11-07 15:19:01,780 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-07 15:19:01,780 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-07 15:19:01,780 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-07 15:19:01,781 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONDATA_RACE === [thr2Err0ASSERT_VIOLATIONDATA_RACE, thr2Err1ASSERT_VIOLATIONDATA_RACE, thr2Err2ASSERT_VIOLATIONDATA_RACE, thr2Err3ASSERT_VIOLATIONDATA_RACE (and 34 more)] === [2024-11-07 15:19:01,781 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-07 15:19:01,782 INFO L85 PathProgramCache]: Analyzing trace with hash -648055532, now seen corresponding path program 1 times [2024-11-07 15:19:01,782 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-07 15:19:01,782 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1923874865] [2024-11-07 15:19:01,782 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-07 15:19:01,782 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-07 15:19:01,799 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-07 15:19:01,841 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-07 15:19:01,842 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-07 15:19:01,842 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1923874865] [2024-11-07 15:19:01,842 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1923874865] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-07 15:19:01,842 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-07 15:19:01,842 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-07 15:19:01,842 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1496430985] [2024-11-07 15:19:01,842 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-07 15:19:01,842 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-07 15:19:01,842 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-07 15:19:01,843 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-07 15:19:01,843 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-07 15:19:01,933 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 195 out of 293 [2024-11-07 15:19:01,934 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 250 places, 248 transitions, 517 flow. Second operand has 3 states, 3 states have (on average 196.33333333333334) internal successors, (589), 3 states have internal predecessors, (589), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-07 15:19:01,934 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-07 15:19:01,934 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 195 of 293 [2024-11-07 15:19:01,934 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand