./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread-ext/39_rand_lock_p0_vs.i --full-output --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability 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/39_rand_lock_p0_vs.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-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 ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 13ffae79fd42fd88852ffaba2bbbf2601df90fdda2b5dc6bd9b6228e2cf540c7 --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-30 16:36:09,667 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-30 16:36:09,669 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-30 16:36:09,707 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-30 16:36:09,707 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-30 16:36:09,717 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-30 16:36:09,719 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-30 16:36:09,721 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-30 16:36:09,722 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-30 16:36:09,726 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-30 16:36:09,727 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-30 16:36:09,731 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-30 16:36:09,731 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-30 16:36:09,733 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-30 16:36:09,734 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-30 16:36:09,737 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-30 16:36:09,737 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-30 16:36:09,738 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-30 16:36:09,739 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-30 16:36:09,744 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-30 16:36:09,745 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-30 16:36:09,746 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-30 16:36:09,746 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-30 16:36:09,747 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-30 16:36:09,752 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-30 16:36:09,752 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-30 16:36:09,752 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-30 16:36:09,754 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-30 16:36:09,754 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-30 16:36:09,755 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-30 16:36:09,755 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-30 16:36:09,756 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-30 16:36:09,758 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-30 16:36:09,758 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-30 16:36:09,759 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-30 16:36:09,759 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-30 16:36:09,759 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-30 16:36:09,760 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-30 16:36:09,760 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-30 16:36:09,760 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-30 16:36:09,761 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-30 16:36:09,762 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2023-08-30 16:36:09,789 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-30 16:36:09,789 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-30 16:36:09,790 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-30 16:36:09,790 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-30 16:36:09,791 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-30 16:36:09,791 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-30 16:36:09,791 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-30 16:36:09,791 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-30 16:36:09,791 INFO L138 SettingsManager]: * Use SBE=true [2023-08-30 16:36:09,792 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-30 16:36:09,792 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-30 16:36:09,792 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-30 16:36:09,793 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-30 16:36:09,793 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-30 16:36:09,793 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-08-30 16:36:09,793 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-30 16:36:09,793 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-08-30 16:36:09,793 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-30 16:36:09,793 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2023-08-30 16:36:09,793 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-30 16:36:09,794 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-08-30 16:36:09,794 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-30 16:36:09,794 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-30 16:36:09,794 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-30 16:36:09,794 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-30 16:36:09,794 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-30 16:36:09,794 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-30 16:36:09,795 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-08-30 16:36:09,795 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-30 16:36:09,795 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-30 16:36:09,795 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-30 16:36:09,795 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-08-30 16:36:09,795 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-30 16:36:09,795 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-30 16:36:09,796 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-30 16:36:09,796 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 ! call(reach_error())) ) 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 -> 13ffae79fd42fd88852ffaba2bbbf2601df90fdda2b5dc6bd9b6228e2cf540c7 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-30 16:36:10,054 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-30 16:36:10,068 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-30 16:36:10,070 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-30 16:36:10,070 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-30 16:36:10,071 INFO L275 PluginConnector]: CDTParser initialized [2023-08-30 16:36:10,072 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/39_rand_lock_p0_vs.i [2023-08-30 16:36:11,051 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-30 16:36:11,225 INFO L351 CDTParser]: Found 1 translation units. [2023-08-30 16:36:11,226 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/39_rand_lock_p0_vs.i [2023-08-30 16:36:11,255 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/bcfe3226a/6a5cd3183560441d8a27691a085bf0c7/FLAG9721b6eb7 [2023-08-30 16:36:11,264 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/bcfe3226a/6a5cd3183560441d8a27691a085bf0c7 [2023-08-30 16:36:11,266 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-30 16:36:11,267 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-30 16:36:11,268 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-30 16:36:11,268 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-30 16:36:11,270 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-30 16:36:11,270 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,271 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@f7460b9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11, skipping insertion in model container [2023-08-30 16:36:11,271 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,275 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-30 16:36:11,312 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-30 16:36:11,455 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-30 16:36:11,555 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/39_rand_lock_p0_vs.i[30959,30972] [2023-08-30 16:36:11,563 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-30 16:36:11,570 INFO L203 MainTranslator]: Completed pre-run [2023-08-30 16:36:11,588 WARN L633 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-08-30 16:36:11,602 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/39_rand_lock_p0_vs.i[30959,30972] [2023-08-30 16:36:11,628 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-30 16:36:11,653 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-08-30 16:36:11,653 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-08-30 16:36:11,653 WARN L667 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-08-30 16:36:11,658 INFO L208 MainTranslator]: Completed translation [2023-08-30 16:36:11,658 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11 WrapperNode [2023-08-30 16:36:11,658 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-30 16:36:11,659 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-30 16:36:11,659 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-30 16:36:11,659 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-30 16:36:11,664 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,688 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,706 INFO L138 Inliner]: procedures = 176, calls = 21, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 76 [2023-08-30 16:36:11,706 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-30 16:36:11,707 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-30 16:36:11,707 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-30 16:36:11,708 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-30 16:36:11,713 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,713 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,719 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,720 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,732 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,734 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,739 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,740 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,742 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-30 16:36:11,742 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-30 16:36:11,743 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-30 16:36:11,743 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-30 16:36:11,743 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (1/1) ... [2023-08-30 16:36:11,749 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-30 16:36:11,758 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-30 16:36:11,785 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-30 16:36:11,804 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-30 16:36:11,814 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-30 16:36:11,814 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-30 16:36:11,814 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-30 16:36:11,815 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-08-30 16:36:11,815 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-30 16:36:11,815 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-30 16:36:11,815 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-30 16:36:11,815 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-30 16:36:11,815 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-08-30 16:36:11,815 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-30 16:36:11,815 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-30 16:36:11,816 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-30 16:36:11,899 INFO L236 CfgBuilder]: Building ICFG [2023-08-30 16:36:11,900 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-30 16:36:12,044 INFO L277 CfgBuilder]: Performing block encoding [2023-08-30 16:36:12,069 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-30 16:36:12,070 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-08-30 16:36:12,071 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.08 04:36:12 BoogieIcfgContainer [2023-08-30 16:36:12,071 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-30 16:36:12,073 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-30 16:36:12,073 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-30 16:36:12,075 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-30 16:36:12,075 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 30.08 04:36:11" (1/3) ... [2023-08-30 16:36:12,076 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@43bf8e80 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 30.08 04:36:12, skipping insertion in model container [2023-08-30 16:36:12,076 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 30.08 04:36:11" (2/3) ... [2023-08-30 16:36:12,076 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@43bf8e80 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 30.08 04:36:12, skipping insertion in model container [2023-08-30 16:36:12,076 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 30.08 04:36:12" (3/3) ... [2023-08-30 16:36:12,077 INFO L112 eAbstractionObserver]: Analyzing ICFG 39_rand_lock_p0_vs.i [2023-08-30 16:36:12,082 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-08-30 16:36:12,095 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-30 16:36:12,095 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-08-30 16:36:12,096 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-30 16:36:12,142 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-30 16:36:12,165 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:12,208 INFO L130 PetriNetUnfolder]: 4/72 cut-off events. [2023-08-30 16:36:12,208 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:12,212 INFO L83 FinitePrefix]: Finished finitePrefix Result has 77 conditions, 72 events. 4/72 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 58 event pairs, 0 based on Foata normal form. 0/65 useless extension candidates. Maximal degree in co-relation 48. Up to 4 conditions per place. [2023-08-30 16:36:12,212 INFO L82 GeneralOperation]: Start removeDead. Operand has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:12,215 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:12,217 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:12,225 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:12,229 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:12,230 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:12,251 INFO L130 PetriNetUnfolder]: 4/72 cut-off events. [2023-08-30 16:36:12,251 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:12,252 INFO L83 FinitePrefix]: Finished finitePrefix Result has 77 conditions, 72 events. 4/72 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 58 event pairs, 0 based on Foata normal form. 0/65 useless extension candidates. Maximal degree in co-relation 48. Up to 4 conditions per place. [2023-08-30 16:36:12,253 INFO L119 LiptonReduction]: Number of co-enabled transitions 936 [2023-08-30 16:36:13,511 INFO L134 LiptonReduction]: Checked pairs total: 751 [2023-08-30 16:36:13,511 INFO L136 LiptonReduction]: Total number of compositions: 61 [2023-08-30 16:36:13,519 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-30 16:36:13,523 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:13,523 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-08-30 16:36:13,525 INFO L130 PetriNetUnfolder]: 0/5 cut-off events. [2023-08-30 16:36:13,525 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:13,525 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:13,526 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2023-08-30 16:36:13,526 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-08-30 16:36:13,529 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:13,529 INFO L85 PathProgramCache]: Analyzing trace with hash 9800033, now seen corresponding path program 1 times [2023-08-30 16:36:13,534 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:13,534 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1608687599] [2023-08-30 16:36:13,534 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:13,535 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:13,592 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-30 16:36:13,664 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-30 16:36:13,664 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-30 16:36:13,664 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1608687599] [2023-08-30 16:36:13,665 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1608687599] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-30 16:36:13,665 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-30 16:36:13,665 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-30 16:36:13,666 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [722348005] [2023-08-30 16:36:13,666 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-30 16:36:13,671 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-30 16:36:13,674 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-30 16:36:13,686 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-30 16:36:13,686 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-30 16:36:13,691 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 52 out of 123 [2023-08-30 16:36:13,693 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 12 places, 10 transitions, 25 flow. Second operand has 3 states, 3 states have (on average 53.333333333333336) internal successors, (160), 3 states have internal predecessors, (160), 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-30 16:36:13,693 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-30 16:36:13,693 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 52 of 123 [2023-08-30 16:36:13,693 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-30 16:36:13,706 INFO L130 PetriNetUnfolder]: 7/20 cut-off events. [2023-08-30 16:36:13,707 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:13,707 INFO L83 FinitePrefix]: Finished finitePrefix Result has 45 conditions, 20 events. 7/20 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 29 event pairs, 2 based on Foata normal form. 0/17 useless extension candidates. Maximal degree in co-relation 30. Up to 13 conditions per place. [2023-08-30 16:36:13,708 INFO L137 encePairwiseOnDemand]: 119/123 looper letters, 0 selfloop transitions, 0 changer transitions 10/10 dead transitions. [2023-08-30 16:36:13,708 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 12 places, 10 transitions, 43 flow [2023-08-30 16:36:13,709 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-30 16:36:13,710 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-30 16:36:13,715 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 168 transitions. [2023-08-30 16:36:13,716 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.45528455284552843 [2023-08-30 16:36:13,716 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 168 transitions. [2023-08-30 16:36:13,717 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 168 transitions. [2023-08-30 16:36:13,717 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-30 16:36:13,719 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 168 transitions. [2023-08-30 16:36:13,720 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 56.0) internal successors, (168), 3 states have internal predecessors, (168), 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-30 16:36:13,723 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 123.0) internal successors, (492), 4 states have internal predecessors, (492), 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-30 16:36:13,723 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 123.0) internal successors, (492), 4 states have internal predecessors, (492), 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-30 16:36:13,734 INFO L175 Difference]: Start difference. First operand has 12 places, 10 transitions, 25 flow. Second operand 3 states and 168 transitions. [2023-08-30 16:36:13,735 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 12 places, 10 transitions, 43 flow [2023-08-30 16:36:13,736 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 12 places, 10 transitions, 43 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-30 16:36:13,736 INFO L231 Difference]: Finished difference. Result has 12 places, 0 transitions, 0 flow [2023-08-30 16:36:13,738 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=123, PETRI_DIFFERENCE_MINUEND_FLOW=21, PETRI_DIFFERENCE_MINUEND_PLACES=10, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=8, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=8, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=12, PETRI_TRANSITIONS=0} [2023-08-30 16:36:13,740 INFO L281 CegarLoopForPetriNet]: 12 programPoint places, 0 predicate places. [2023-08-30 16:36:13,740 INFO L495 AbstractCegarLoop]: Abstraction has has 12 places, 0 transitions, 0 flow [2023-08-30 16:36:13,740 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 53.333333333333336) internal successors, (160), 3 states have internal predecessors, (160), 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-30 16:36:13,741 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 2 remaining) [2023-08-30 16:36:13,742 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 2 remaining) [2023-08-30 16:36:13,742 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-30 16:36:13,742 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-30 16:36:13,744 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE (1/2) [2023-08-30 16:36:13,747 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:13,753 INFO L130 PetriNetUnfolder]: 4/72 cut-off events. [2023-08-30 16:36:13,754 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:13,754 INFO L83 FinitePrefix]: Finished finitePrefix Result has 77 conditions, 72 events. 4/72 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 58 event pairs, 0 based on Foata normal form. 0/65 useless extension candidates. Maximal degree in co-relation 48. Up to 4 conditions per place. [2023-08-30 16:36:13,754 INFO L82 GeneralOperation]: Start removeDead. Operand has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:13,755 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:13,755 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:13,755 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:13,755 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:13,755 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 62 places, 62 transitions, 129 flow [2023-08-30 16:36:13,761 INFO L130 PetriNetUnfolder]: 4/72 cut-off events. [2023-08-30 16:36:13,762 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:13,763 INFO L83 FinitePrefix]: Finished finitePrefix Result has 77 conditions, 72 events. 4/72 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 58 event pairs, 0 based on Foata normal form. 0/65 useless extension candidates. Maximal degree in co-relation 48. Up to 4 conditions per place. [2023-08-30 16:36:13,764 INFO L119 LiptonReduction]: Number of co-enabled transitions 936 [2023-08-30 16:36:15,026 INFO L134 LiptonReduction]: Checked pairs total: 792 [2023-08-30 16:36:15,026 INFO L136 LiptonReduction]: Total number of compositions: 61 [2023-08-30 16:36:15,028 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-30 16:36:15,028 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:15,028 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-30 16:36:15,030 INFO L130 PetriNetUnfolder]: 1/11 cut-off events. [2023-08-30 16:36:15,030 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:15,030 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:15,030 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-08-30 16:36:15,031 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-30 16:36:15,031 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:15,031 INFO L85 PathProgramCache]: Analyzing trace with hash -1632927665, now seen corresponding path program 1 times [2023-08-30 16:36:15,031 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:15,031 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [901138554] [2023-08-30 16:36:15,031 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:15,032 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:15,045 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-30 16:36:15,046 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-30 16:36:15,051 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-30 16:36:15,062 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-30 16:36:15,070 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-30 16:36:15,070 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-30 16:36:15,070 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-30 16:36:15,070 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-30 16:36:15,071 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-30 16:36:15,072 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-30 16:36:15,072 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-30 16:36:15,084 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-30 16:36:15,090 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:15,116 INFO L130 PetriNetUnfolder]: 7/121 cut-off events. [2023-08-30 16:36:15,116 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-30 16:36:15,117 INFO L83 FinitePrefix]: Finished finitePrefix Result has 131 conditions, 121 events. 7/121 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 194 event pairs, 0 based on Foata normal form. 0/109 useless extension candidates. Maximal degree in co-relation 84. Up to 6 conditions per place. [2023-08-30 16:36:15,119 INFO L82 GeneralOperation]: Start removeDead. Operand has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:15,120 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:15,120 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:15,121 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:15,121 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:15,121 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:15,140 INFO L130 PetriNetUnfolder]: 7/121 cut-off events. [2023-08-30 16:36:15,143 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-30 16:36:15,144 INFO L83 FinitePrefix]: Finished finitePrefix Result has 131 conditions, 121 events. 7/121 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 194 event pairs, 0 based on Foata normal form. 0/109 useless extension candidates. Maximal degree in co-relation 84. Up to 6 conditions per place. [2023-08-30 16:36:15,148 INFO L119 LiptonReduction]: Number of co-enabled transitions 4536 [2023-08-30 16:36:16,461 INFO L134 LiptonReduction]: Checked pairs total: 5748 [2023-08-30 16:36:16,462 INFO L136 LiptonReduction]: Total number of compositions: 92 [2023-08-30 16:36:16,463 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-30 16:36:16,464 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:16,464 INFO L358 AbstractCegarLoop]: Starting to check reachability of 3 error locations. [2023-08-30 16:36:16,465 INFO L130 PetriNetUnfolder]: 0/6 cut-off events. [2023-08-30 16:36:16,465 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:16,465 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:16,465 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2023-08-30 16:36:16,465 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-08-30 16:36:16,465 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:16,465 INFO L85 PathProgramCache]: Analyzing trace with hash 18687923, now seen corresponding path program 1 times [2023-08-30 16:36:16,466 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:16,466 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [464739769] [2023-08-30 16:36:16,466 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:16,466 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:16,473 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-30 16:36:16,506 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-30 16:36:16,506 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-30 16:36:16,506 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [464739769] [2023-08-30 16:36:16,507 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [464739769] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-30 16:36:16,507 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-30 16:36:16,507 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-30 16:36:16,507 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1487454332] [2023-08-30 16:36:16,507 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-30 16:36:16,507 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-30 16:36:16,508 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-30 16:36:16,508 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-30 16:36:16,508 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-30 16:36:16,514 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 82 out of 191 [2023-08-30 16:36:16,514 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 25 places, 22 transitions, 56 flow. Second operand has 3 states, 3 states have (on average 83.33333333333333) internal successors, (250), 3 states have internal predecessors, (250), 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-30 16:36:16,514 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-30 16:36:16,514 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 82 of 191 [2023-08-30 16:36:16,514 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-30 16:36:16,554 INFO L130 PetriNetUnfolder]: 129/237 cut-off events. [2023-08-30 16:36:16,555 INFO L131 PetriNetUnfolder]: For 20/20 co-relation queries the response was YES. [2023-08-30 16:36:16,555 INFO L83 FinitePrefix]: Finished finitePrefix Result has 492 conditions, 237 events. 129/237 cut-off events. For 20/20 co-relation queries the response was YES. Maximal size of possible extension queue 25. Compared 936 event pairs, 47 based on Foata normal form. 0/198 useless extension candidates. Maximal degree in co-relation 198. Up to 125 conditions per place. [2023-08-30 16:36:16,556 INFO L137 encePairwiseOnDemand]: 185/191 looper letters, 17 selfloop transitions, 3 changer transitions 10/33 dead transitions. [2023-08-30 16:36:16,556 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 26 places, 33 transitions, 143 flow [2023-08-30 16:36:16,556 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-30 16:36:16,556 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-30 16:36:16,557 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 280 transitions. [2023-08-30 16:36:16,558 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4886561954624782 [2023-08-30 16:36:16,558 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 280 transitions. [2023-08-30 16:36:16,558 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 280 transitions. [2023-08-30 16:36:16,559 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-30 16:36:16,559 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 280 transitions. [2023-08-30 16:36:16,560 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 93.33333333333333) internal successors, (280), 3 states have internal predecessors, (280), 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-30 16:36:16,561 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 191.0) internal successors, (764), 4 states have internal predecessors, (764), 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-30 16:36:16,561 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 191.0) internal successors, (764), 4 states have internal predecessors, (764), 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-30 16:36:16,561 INFO L175 Difference]: Start difference. First operand has 25 places, 22 transitions, 56 flow. Second operand 3 states and 280 transitions. [2023-08-30 16:36:16,562 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 26 places, 33 transitions, 143 flow [2023-08-30 16:36:16,562 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 26 places, 33 transitions, 141 flow, removed 1 selfloop flow, removed 0 redundant places. [2023-08-30 16:36:16,563 INFO L231 Difference]: Finished difference. Result has 27 places, 21 transitions, 65 flow [2023-08-30 16:36:16,563 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=191, PETRI_DIFFERENCE_MINUEND_FLOW=52, PETRI_DIFFERENCE_MINUEND_PLACES=24, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=21, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=18, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=65, PETRI_PLACES=27, PETRI_TRANSITIONS=21} [2023-08-30 16:36:16,564 INFO L281 CegarLoopForPetriNet]: 25 programPoint places, 2 predicate places. [2023-08-30 16:36:16,564 INFO L495 AbstractCegarLoop]: Abstraction has has 27 places, 21 transitions, 65 flow [2023-08-30 16:36:16,564 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 83.33333333333333) internal successors, (250), 3 states have internal predecessors, (250), 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-30 16:36:16,564 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:16,564 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-30 16:36:16,564 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-08-30 16:36:16,564 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-08-30 16:36:16,565 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:16,565 INFO L85 PathProgramCache]: Analyzing trace with hash -1992675438, now seen corresponding path program 1 times [2023-08-30 16:36:16,565 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:16,565 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1351900] [2023-08-30 16:36:16,565 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:16,565 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:16,576 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-30 16:36:16,641 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-08-30 16:36:16,642 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-30 16:36:16,642 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1351900] [2023-08-30 16:36:16,642 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1351900] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-30 16:36:16,642 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-30 16:36:16,642 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-08-30 16:36:16,642 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1251679764] [2023-08-30 16:36:16,643 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-30 16:36:16,643 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-30 16:36:16,643 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-30 16:36:16,644 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-30 16:36:16,644 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-30 16:36:16,649 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 82 out of 191 [2023-08-30 16:36:16,649 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 27 places, 21 transitions, 65 flow. Second operand has 3 states, 3 states have (on average 85.0) internal successors, (255), 3 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-30 16:36:16,649 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-30 16:36:16,649 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 82 of 191 [2023-08-30 16:36:16,649 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-30 16:36:16,675 INFO L130 PetriNetUnfolder]: 109/201 cut-off events. [2023-08-30 16:36:16,675 INFO L131 PetriNetUnfolder]: For 28/28 co-relation queries the response was YES. [2023-08-30 16:36:16,676 INFO L83 FinitePrefix]: Finished finitePrefix Result has 455 conditions, 201 events. 109/201 cut-off events. For 28/28 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 741 event pairs, 83 based on Foata normal form. 8/203 useless extension candidates. Maximal degree in co-relation 228. Up to 187 conditions per place. [2023-08-30 16:36:16,676 INFO L137 encePairwiseOnDemand]: 188/191 looper letters, 0 selfloop transitions, 0 changer transitions 19/19 dead transitions. [2023-08-30 16:36:16,676 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 27 places, 19 transitions, 89 flow [2023-08-30 16:36:16,677 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-30 16:36:16,677 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-30 16:36:16,678 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 264 transitions. [2023-08-30 16:36:16,678 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4607329842931937 [2023-08-30 16:36:16,678 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 264 transitions. [2023-08-30 16:36:16,679 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 264 transitions. [2023-08-30 16:36:16,679 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-30 16:36:16,679 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 264 transitions. [2023-08-30 16:36:16,680 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 88.0) internal successors, (264), 3 states have internal predecessors, (264), 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-30 16:36:16,681 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 191.0) internal successors, (764), 4 states have internal predecessors, (764), 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-30 16:36:16,681 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 191.0) internal successors, (764), 4 states have internal predecessors, (764), 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-30 16:36:16,681 INFO L175 Difference]: Start difference. First operand has 27 places, 21 transitions, 65 flow. Second operand 3 states and 264 transitions. [2023-08-30 16:36:16,681 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 27 places, 19 transitions, 89 flow [2023-08-30 16:36:16,682 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 25 places, 19 transitions, 83 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-30 16:36:16,682 INFO L231 Difference]: Finished difference. Result has 25 places, 0 transitions, 0 flow [2023-08-30 16:36:16,682 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=191, PETRI_DIFFERENCE_MINUEND_FLOW=51, PETRI_DIFFERENCE_MINUEND_PLACES=23, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=19, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=19, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=25, PETRI_TRANSITIONS=0} [2023-08-30 16:36:16,683 INFO L281 CegarLoopForPetriNet]: 25 programPoint places, 0 predicate places. [2023-08-30 16:36:16,683 INFO L495 AbstractCegarLoop]: Abstraction has has 25 places, 0 transitions, 0 flow [2023-08-30 16:36:16,683 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 85.0) internal successors, (255), 3 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-30 16:36:16,683 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (2 of 3 remaining) [2023-08-30 16:36:16,684 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 3 remaining) [2023-08-30 16:36:16,684 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 3 remaining) [2023-08-30 16:36:16,684 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-30 16:36:16,684 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-30 16:36:16,685 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE (1/2) [2023-08-30 16:36:16,686 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:16,693 INFO L130 PetriNetUnfolder]: 7/121 cut-off events. [2023-08-30 16:36:16,693 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-30 16:36:16,693 INFO L83 FinitePrefix]: Finished finitePrefix Result has 131 conditions, 121 events. 7/121 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 194 event pairs, 0 based on Foata normal form. 0/109 useless extension candidates. Maximal degree in co-relation 84. Up to 6 conditions per place. [2023-08-30 16:36:16,693 INFO L82 GeneralOperation]: Start removeDead. Operand has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:16,694 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:16,694 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:16,694 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:16,694 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:16,695 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 99 places, 99 transitions, 210 flow [2023-08-30 16:36:16,701 INFO L130 PetriNetUnfolder]: 7/121 cut-off events. [2023-08-30 16:36:16,701 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-30 16:36:16,702 INFO L83 FinitePrefix]: Finished finitePrefix Result has 131 conditions, 121 events. 7/121 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 194 event pairs, 0 based on Foata normal form. 0/109 useless extension candidates. Maximal degree in co-relation 84. Up to 6 conditions per place. [2023-08-30 16:36:16,703 INFO L119 LiptonReduction]: Number of co-enabled transitions 4536 [2023-08-30 16:36:17,980 INFO L134 LiptonReduction]: Checked pairs total: 5665 [2023-08-30 16:36:17,981 INFO L136 LiptonReduction]: Total number of compositions: 92 [2023-08-30 16:36:17,982 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-30 16:36:17,982 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:17,982 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-30 16:36:17,986 INFO L130 PetriNetUnfolder]: 2/25 cut-off events. [2023-08-30 16:36:17,986 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-30 16:36:17,986 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:17,986 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2023-08-30 16:36:17,986 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-30 16:36:17,987 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:17,987 INFO L85 PathProgramCache]: Analyzing trace with hash 2147270299, now seen corresponding path program 1 times [2023-08-30 16:36:17,987 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:17,987 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [182630875] [2023-08-30 16:36:17,987 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:17,987 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:17,995 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-30 16:36:17,995 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-30 16:36:17,999 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-30 16:36:18,002 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-30 16:36:18,002 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-30 16:36:18,002 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-30 16:36:18,002 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-30 16:36:18,002 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-30 16:36:18,003 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-30 16:36:18,003 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-30 16:36:18,003 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-08-30 16:36:18,018 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-30 16:36:18,020 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:18,030 INFO L130 PetriNetUnfolder]: 10/170 cut-off events. [2023-08-30 16:36:18,030 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-30 16:36:18,031 INFO L83 FinitePrefix]: Finished finitePrefix Result has 186 conditions, 170 events. 10/170 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 388 event pairs, 0 based on Foata normal form. 0/153 useless extension candidates. Maximal degree in co-relation 125. Up to 8 conditions per place. [2023-08-30 16:36:18,031 INFO L82 GeneralOperation]: Start removeDead. Operand has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:18,032 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:18,032 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:18,032 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:18,032 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:18,032 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:18,042 INFO L130 PetriNetUnfolder]: 10/170 cut-off events. [2023-08-30 16:36:18,042 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-30 16:36:18,043 INFO L83 FinitePrefix]: Finished finitePrefix Result has 186 conditions, 170 events. 10/170 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 388 event pairs, 0 based on Foata normal form. 0/153 useless extension candidates. Maximal degree in co-relation 125. Up to 8 conditions per place. [2023-08-30 16:36:18,047 INFO L119 LiptonReduction]: Number of co-enabled transitions 10800 [2023-08-30 16:36:19,813 INFO L134 LiptonReduction]: Checked pairs total: 13802 [2023-08-30 16:36:19,813 INFO L136 LiptonReduction]: Total number of compositions: 127 [2023-08-30 16:36:19,814 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-30 16:36:19,815 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:19,815 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-08-30 16:36:19,816 INFO L130 PetriNetUnfolder]: 0/6 cut-off events. [2023-08-30 16:36:19,816 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:19,816 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:19,816 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2023-08-30 16:36:19,816 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-08-30 16:36:19,816 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:19,816 INFO L85 PathProgramCache]: Analyzing trace with hash 30581154, now seen corresponding path program 1 times [2023-08-30 16:36:19,816 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:19,816 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [375032811] [2023-08-30 16:36:19,816 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:19,817 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:19,821 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-30 16:36:19,832 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-30 16:36:19,832 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-30 16:36:19,832 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [375032811] [2023-08-30 16:36:19,832 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [375032811] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-30 16:36:19,833 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-30 16:36:19,833 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-30 16:36:19,833 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [330550715] [2023-08-30 16:36:19,833 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-30 16:36:19,833 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-30 16:36:19,833 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-30 16:36:19,834 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-30 16:36:19,834 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-30 16:36:19,842 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 112 out of 263 [2023-08-30 16:36:19,842 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 34 places, 30 transitions, 81 flow. Second operand has 3 states, 3 states have (on average 113.33333333333333) internal successors, (340), 3 states have internal predecessors, (340), 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-30 16:36:19,843 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-30 16:36:19,843 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 112 of 263 [2023-08-30 16:36:19,843 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-30 16:36:20,024 INFO L130 PetriNetUnfolder]: 1525/2241 cut-off events. [2023-08-30 16:36:20,025 INFO L131 PetriNetUnfolder]: For 292/292 co-relation queries the response was YES. [2023-08-30 16:36:20,029 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4657 conditions, 2241 events. 1525/2241 cut-off events. For 292/292 co-relation queries the response was YES. Maximal size of possible extension queue 158. Compared 10963 event pairs, 461 based on Foata normal form. 0/1800 useless extension candidates. Maximal degree in co-relation 862. Up to 1621 conditions per place. [2023-08-30 16:36:20,033 INFO L137 encePairwiseOnDemand]: 255/263 looper letters, 40 selfloop transitions, 4 changer transitions 0/47 dead transitions. [2023-08-30 16:36:20,033 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 35 places, 47 transitions, 215 flow [2023-08-30 16:36:20,033 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-30 16:36:20,033 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-30 16:36:20,035 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 385 transitions. [2023-08-30 16:36:20,036 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4879594423320659 [2023-08-30 16:36:20,036 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 385 transitions. [2023-08-30 16:36:20,036 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 385 transitions. [2023-08-30 16:36:20,036 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-30 16:36:20,036 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 385 transitions. [2023-08-30 16:36:20,037 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 128.33333333333334) internal successors, (385), 3 states have internal predecessors, (385), 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-30 16:36:20,039 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 263.0) internal successors, (1052), 4 states have internal predecessors, (1052), 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-30 16:36:20,040 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 263.0) internal successors, (1052), 4 states have internal predecessors, (1052), 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-30 16:36:20,040 INFO L175 Difference]: Start difference. First operand has 34 places, 30 transitions, 81 flow. Second operand 3 states and 385 transitions. [2023-08-30 16:36:20,040 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 35 places, 47 transitions, 215 flow [2023-08-30 16:36:20,041 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 35 places, 47 transitions, 207 flow, removed 4 selfloop flow, removed 0 redundant places. [2023-08-30 16:36:20,042 INFO L231 Difference]: Finished difference. Result has 36 places, 32 transitions, 103 flow [2023-08-30 16:36:20,042 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=263, PETRI_DIFFERENCE_MINUEND_FLOW=73, PETRI_DIFFERENCE_MINUEND_PLACES=33, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=29, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=25, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=103, PETRI_PLACES=36, PETRI_TRANSITIONS=32} [2023-08-30 16:36:20,043 INFO L281 CegarLoopForPetriNet]: 34 programPoint places, 2 predicate places. [2023-08-30 16:36:20,043 INFO L495 AbstractCegarLoop]: Abstraction has has 36 places, 32 transitions, 103 flow [2023-08-30 16:36:20,045 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 113.33333333333333) internal successors, (340), 3 states have internal predecessors, (340), 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-30 16:36:20,045 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:20,045 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-30 16:36:20,046 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-08-30 16:36:20,046 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION] === [2023-08-30 16:36:20,046 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:20,046 INFO L85 PathProgramCache]: Analyzing trace with hash 1866549389, now seen corresponding path program 1 times [2023-08-30 16:36:20,046 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:20,048 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [777283148] [2023-08-30 16:36:20,048 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:20,049 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:20,059 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-30 16:36:20,107 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-08-30 16:36:20,107 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-30 16:36:20,107 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [777283148] [2023-08-30 16:36:20,107 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [777283148] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-30 16:36:20,107 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-30 16:36:20,107 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-08-30 16:36:20,107 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1841483662] [2023-08-30 16:36:20,107 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-30 16:36:20,108 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-30 16:36:20,108 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-30 16:36:20,108 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-30 16:36:20,108 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-30 16:36:20,114 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 112 out of 263 [2023-08-30 16:36:20,114 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 36 places, 32 transitions, 103 flow. Second operand has 3 states, 3 states have (on average 115.0) internal successors, (345), 3 states have internal predecessors, (345), 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-30 16:36:20,114 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-30 16:36:20,114 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 112 of 263 [2023-08-30 16:36:20,114 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-30 16:36:20,272 INFO L130 PetriNetUnfolder]: 1237/1837 cut-off events. [2023-08-30 16:36:20,273 INFO L131 PetriNetUnfolder]: For 326/326 co-relation queries the response was YES. [2023-08-30 16:36:20,274 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4108 conditions, 1837 events. 1237/1837 cut-off events. For 326/326 co-relation queries the response was YES. Maximal size of possible extension queue 108. Compared 8346 event pairs, 935 based on Foata normal form. 128/1928 useless extension candidates. Maximal degree in co-relation 2052. Up to 1755 conditions per place. [2023-08-30 16:36:20,276 INFO L137 encePairwiseOnDemand]: 259/263 looper letters, 0 selfloop transitions, 0 changer transitions 29/29 dead transitions. [2023-08-30 16:36:20,276 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 35 places, 29 transitions, 143 flow [2023-08-30 16:36:20,276 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-30 16:36:20,276 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-30 16:36:20,277 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 362 transitions. [2023-08-30 16:36:20,277 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.458808618504436 [2023-08-30 16:36:20,278 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 362 transitions. [2023-08-30 16:36:20,278 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 362 transitions. [2023-08-30 16:36:20,278 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-30 16:36:20,278 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 362 transitions. [2023-08-30 16:36:20,279 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 120.66666666666667) internal successors, (362), 3 states have internal predecessors, (362), 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-30 16:36:20,280 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 263.0) internal successors, (1052), 4 states have internal predecessors, (1052), 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-30 16:36:20,280 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 263.0) internal successors, (1052), 4 states have internal predecessors, (1052), 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-30 16:36:20,281 INFO L175 Difference]: Start difference. First operand has 36 places, 32 transitions, 103 flow. Second operand 3 states and 362 transitions. [2023-08-30 16:36:20,281 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 35 places, 29 transitions, 143 flow [2023-08-30 16:36:20,283 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 34 places, 29 transitions, 139 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-30 16:36:20,283 INFO L231 Difference]: Finished difference. Result has 34 places, 0 transitions, 0 flow [2023-08-30 16:36:20,283 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=263, PETRI_DIFFERENCE_MINUEND_FLOW=87, PETRI_DIFFERENCE_MINUEND_PLACES=32, 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=3, PETRI_FLOW=0, PETRI_PLACES=34, PETRI_TRANSITIONS=0} [2023-08-30 16:36:20,284 INFO L281 CegarLoopForPetriNet]: 34 programPoint places, 0 predicate places. [2023-08-30 16:36:20,284 INFO L495 AbstractCegarLoop]: Abstraction has has 34 places, 0 transitions, 0 flow [2023-08-30 16:36:20,285 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 115.0) internal successors, (345), 3 states have internal predecessors, (345), 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-30 16:36:20,285 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (3 of 4 remaining) [2023-08-30 16:36:20,285 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (2 of 4 remaining) [2023-08-30 16:36:20,285 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 4 remaining) [2023-08-30 16:36:20,285 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2023-08-30 16:36:20,286 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-08-30 16:36:20,286 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-30 16:36:20,286 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-30 16:36:20,290 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:20,301 INFO L130 PetriNetUnfolder]: 10/170 cut-off events. [2023-08-30 16:36:20,301 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-30 16:36:20,302 INFO L83 FinitePrefix]: Finished finitePrefix Result has 186 conditions, 170 events. 10/170 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 388 event pairs, 0 based on Foata normal form. 0/153 useless extension candidates. Maximal degree in co-relation 125. Up to 8 conditions per place. [2023-08-30 16:36:20,302 INFO L82 GeneralOperation]: Start removeDead. Operand has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:20,302 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:20,302 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:20,303 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:20,303 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:20,303 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 136 places, 136 transitions, 293 flow [2023-08-30 16:36:20,314 INFO L130 PetriNetUnfolder]: 10/170 cut-off events. [2023-08-30 16:36:20,314 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-30 16:36:20,315 INFO L83 FinitePrefix]: Finished finitePrefix Result has 186 conditions, 170 events. 10/170 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 388 event pairs, 0 based on Foata normal form. 0/153 useless extension candidates. Maximal degree in co-relation 125. Up to 8 conditions per place. [2023-08-30 16:36:20,319 INFO L119 LiptonReduction]: Number of co-enabled transitions 10800 [2023-08-30 16:36:21,847 INFO L134 LiptonReduction]: Checked pairs total: 13054 [2023-08-30 16:36:21,847 INFO L136 LiptonReduction]: Total number of compositions: 125 [2023-08-30 16:36:21,849 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-30 16:36:21,854 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:21,854 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-30 16:36:21,857 INFO L130 PetriNetUnfolder]: 3/37 cut-off events. [2023-08-30 16:36:21,857 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-30 16:36:21,857 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:21,857 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1] [2023-08-30 16:36:21,857 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-30 16:36:21,858 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:21,858 INFO L85 PathProgramCache]: Analyzing trace with hash -1396170759, now seen corresponding path program 1 times [2023-08-30 16:36:21,858 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:21,873 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1649167032] [2023-08-30 16:36:21,873 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:21,873 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:21,892 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-30 16:36:21,893 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-30 16:36:21,896 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-30 16:36:21,899 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-30 16:36:21,899 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-30 16:36:21,899 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-30 16:36:21,899 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-08-30 16:36:21,899 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-30 16:36:21,900 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-30 16:36:21,900 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-30 16:36:21,900 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-08-30 16:36:21,915 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-30 16:36:21,919 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:21,942 INFO L130 PetriNetUnfolder]: 13/219 cut-off events. [2023-08-30 16:36:21,942 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-30 16:36:21,943 INFO L83 FinitePrefix]: Finished finitePrefix Result has 242 conditions, 219 events. 13/219 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 600 event pairs, 0 based on Foata normal form. 0/197 useless extension candidates. Maximal degree in co-relation 178. Up to 10 conditions per place. [2023-08-30 16:36:21,944 INFO L82 GeneralOperation]: Start removeDead. Operand has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:21,945 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:21,945 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:21,945 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:21,946 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:21,946 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:21,959 INFO L130 PetriNetUnfolder]: 13/219 cut-off events. [2023-08-30 16:36:21,959 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-30 16:36:21,960 INFO L83 FinitePrefix]: Finished finitePrefix Result has 242 conditions, 219 events. 13/219 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 600 event pairs, 0 based on Foata normal form. 0/197 useless extension candidates. Maximal degree in co-relation 178. Up to 10 conditions per place. [2023-08-30 16:36:21,968 INFO L119 LiptonReduction]: Number of co-enabled transitions 19728 [2023-08-30 16:36:24,147 INFO L134 LiptonReduction]: Checked pairs total: 23690 [2023-08-30 16:36:24,147 INFO L136 LiptonReduction]: Total number of compositions: 166 [2023-08-30 16:36:24,148 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-30 16:36:24,148 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:24,148 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-08-30 16:36:24,149 INFO L130 PetriNetUnfolder]: 0/5 cut-off events. [2023-08-30 16:36:24,149 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:24,149 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:24,149 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2023-08-30 16:36:24,149 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (and 1 more)] === [2023-08-30 16:36:24,150 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:24,150 INFO L85 PathProgramCache]: Analyzing trace with hash 45902757, now seen corresponding path program 1 times [2023-08-30 16:36:24,150 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:24,150 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [900645302] [2023-08-30 16:36:24,150 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:24,150 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:24,158 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-30 16:36:24,179 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-30 16:36:24,180 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-30 16:36:24,180 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [900645302] [2023-08-30 16:36:24,180 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [900645302] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-30 16:36:24,180 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-30 16:36:24,180 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-30 16:36:24,180 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [225537469] [2023-08-30 16:36:24,180 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-30 16:36:24,181 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-30 16:36:24,181 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-30 16:36:24,181 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-30 16:36:24,181 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-30 16:36:24,195 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 142 out of 339 [2023-08-30 16:36:24,196 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 43 places, 38 transitions, 108 flow. Second operand has 3 states, 3 states have (on average 143.33333333333334) internal successors, (430), 3 states have internal predecessors, (430), 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-30 16:36:24,196 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-30 16:36:24,196 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 142 of 339 [2023-08-30 16:36:24,196 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-30 16:36:25,416 INFO L130 PetriNetUnfolder]: 15543/20499 cut-off events. [2023-08-30 16:36:25,416 INFO L131 PetriNetUnfolder]: For 3384/3384 co-relation queries the response was YES. [2023-08-30 16:36:25,437 INFO L83 FinitePrefix]: Finished finitePrefix Result has 42616 conditions, 20499 events. 15543/20499 cut-off events. For 3384/3384 co-relation queries the response was YES. Maximal size of possible extension queue 1015. Compared 110513 event pairs, 4221 based on Foata normal form. 0/15984 useless extension candidates. Maximal degree in co-relation 4715. Up to 17335 conditions per place. [2023-08-30 16:36:25,497 INFO L137 encePairwiseOnDemand]: 329/339 looper letters, 53 selfloop transitions, 5 changer transitions 0/61 dead transitions. [2023-08-30 16:36:25,497 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 61 transitions, 291 flow [2023-08-30 16:36:25,498 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-30 16:36:25,498 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-30 16:36:25,499 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 490 transitions. [2023-08-30 16:36:25,499 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.48180924287118976 [2023-08-30 16:36:25,499 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 490 transitions. [2023-08-30 16:36:25,499 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 490 transitions. [2023-08-30 16:36:25,500 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-30 16:36:25,500 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 490 transitions. [2023-08-30 16:36:25,500 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 163.33333333333334) internal successors, (490), 3 states have internal predecessors, (490), 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-30 16:36:25,502 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 339.0) internal successors, (1356), 4 states have internal predecessors, (1356), 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-30 16:36:25,502 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 339.0) internal successors, (1356), 4 states have internal predecessors, (1356), 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-30 16:36:25,502 INFO L175 Difference]: Start difference. First operand has 43 places, 38 transitions, 108 flow. Second operand 3 states and 490 transitions. [2023-08-30 16:36:25,502 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 61 transitions, 291 flow [2023-08-30 16:36:25,506 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 44 places, 61 transitions, 273 flow, removed 9 selfloop flow, removed 0 redundant places. [2023-08-30 16:36:25,507 INFO L231 Difference]: Finished difference. Result has 45 places, 41 transitions, 133 flow [2023-08-30 16:36:25,507 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=339, PETRI_DIFFERENCE_MINUEND_FLOW=94, PETRI_DIFFERENCE_MINUEND_PLACES=42, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=37, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=32, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=133, PETRI_PLACES=45, PETRI_TRANSITIONS=41} [2023-08-30 16:36:25,509 INFO L281 CegarLoopForPetriNet]: 43 programPoint places, 2 predicate places. [2023-08-30 16:36:25,509 INFO L495 AbstractCegarLoop]: Abstraction has has 45 places, 41 transitions, 133 flow [2023-08-30 16:36:25,510 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 143.33333333333334) internal successors, (430), 3 states have internal predecessors, (430), 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-30 16:36:25,510 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:25,510 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-30 16:36:25,510 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-08-30 16:36:25,511 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (and 1 more)] === [2023-08-30 16:36:25,511 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:25,511 INFO L85 PathProgramCache]: Analyzing trace with hash -1697605108, now seen corresponding path program 1 times [2023-08-30 16:36:25,511 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:25,511 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1934054047] [2023-08-30 16:36:25,511 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:25,511 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:25,522 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-30 16:36:25,567 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-08-30 16:36:25,567 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-30 16:36:25,567 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1934054047] [2023-08-30 16:36:25,568 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1934054047] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-30 16:36:25,568 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-30 16:36:25,568 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-08-30 16:36:25,568 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1126526229] [2023-08-30 16:36:25,568 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-30 16:36:25,569 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-30 16:36:25,569 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-30 16:36:25,569 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-30 16:36:25,569 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-30 16:36:25,578 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 142 out of 339 [2023-08-30 16:36:25,579 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 45 places, 41 transitions, 133 flow. Second operand has 3 states, 3 states have (on average 145.0) internal successors, (435), 3 states have internal predecessors, (435), 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-30 16:36:25,579 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-30 16:36:25,579 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 142 of 339 [2023-08-30 16:36:25,579 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-30 16:36:26,574 INFO L130 PetriNetUnfolder]: 10525/14077 cut-off events. [2023-08-30 16:36:26,574 INFO L131 PetriNetUnfolder]: For 2790/2790 co-relation queries the response was YES. [2023-08-30 16:36:26,593 INFO L83 FinitePrefix]: Finished finitePrefix Result has 31221 conditions, 14077 events. 10525/14077 cut-off events. For 2790/2790 co-relation queries the response was YES. Maximal size of possible extension queue 575. Compared 70158 event pairs, 7967 based on Foata normal form. 1344/15217 useless extension candidates. Maximal degree in co-relation 15760. Up to 13635 conditions per place. [2023-08-30 16:36:26,600 INFO L137 encePairwiseOnDemand]: 334/339 looper letters, 0 selfloop transitions, 0 changer transitions 37/37 dead transitions. [2023-08-30 16:36:26,600 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 43 places, 37 transitions, 185 flow [2023-08-30 16:36:26,600 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-30 16:36:26,601 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-30 16:36:26,602 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 460 transitions. [2023-08-30 16:36:26,602 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4523107177974435 [2023-08-30 16:36:26,602 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 460 transitions. [2023-08-30 16:36:26,602 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 460 transitions. [2023-08-30 16:36:26,602 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-30 16:36:26,602 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 460 transitions. [2023-08-30 16:36:26,603 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 153.33333333333334) internal successors, (460), 3 states have internal predecessors, (460), 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-30 16:36:26,604 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 339.0) internal successors, (1356), 4 states have internal predecessors, (1356), 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-30 16:36:26,605 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 339.0) internal successors, (1356), 4 states have internal predecessors, (1356), 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-30 16:36:26,605 INFO L175 Difference]: Start difference. First operand has 45 places, 41 transitions, 133 flow. Second operand 3 states and 460 transitions. [2023-08-30 16:36:26,605 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 43 places, 37 transitions, 185 flow [2023-08-30 16:36:26,607 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 42 places, 37 transitions, 180 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-30 16:36:26,607 INFO L231 Difference]: Finished difference. Result has 42 places, 0 transitions, 0 flow [2023-08-30 16:36:26,608 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=339, PETRI_DIFFERENCE_MINUEND_FLOW=112, PETRI_DIFFERENCE_MINUEND_PLACES=40, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=37, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=37, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=42, PETRI_TRANSITIONS=0} [2023-08-30 16:36:26,608 INFO L281 CegarLoopForPetriNet]: 43 programPoint places, -1 predicate places. [2023-08-30 16:36:26,608 INFO L495 AbstractCegarLoop]: Abstraction has has 42 places, 0 transitions, 0 flow [2023-08-30 16:36:26,610 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 145.0) internal successors, (435), 3 states have internal predecessors, (435), 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-30 16:36:26,610 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (4 of 5 remaining) [2023-08-30 16:36:26,610 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (3 of 5 remaining) [2023-08-30 16:36:26,610 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (2 of 5 remaining) [2023-08-30 16:36:26,611 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 5 remaining) [2023-08-30 16:36:26,611 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 5 remaining) [2023-08-30 16:36:26,611 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-08-30 16:36:26,611 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-30 16:36:26,612 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-30 16:36:26,613 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:26,626 INFO L130 PetriNetUnfolder]: 13/219 cut-off events. [2023-08-30 16:36:26,626 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-30 16:36:26,627 INFO L83 FinitePrefix]: Finished finitePrefix Result has 242 conditions, 219 events. 13/219 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 600 event pairs, 0 based on Foata normal form. 0/197 useless extension candidates. Maximal degree in co-relation 178. Up to 10 conditions per place. [2023-08-30 16:36:26,627 INFO L82 GeneralOperation]: Start removeDead. Operand has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:26,630 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:26,630 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:26,630 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:26,630 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:26,631 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 173 places, 173 transitions, 378 flow [2023-08-30 16:36:26,643 INFO L130 PetriNetUnfolder]: 13/219 cut-off events. [2023-08-30 16:36:26,643 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-30 16:36:26,645 INFO L83 FinitePrefix]: Finished finitePrefix Result has 242 conditions, 219 events. 13/219 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 600 event pairs, 0 based on Foata normal form. 0/197 useless extension candidates. Maximal degree in co-relation 178. Up to 10 conditions per place. [2023-08-30 16:36:26,648 INFO L119 LiptonReduction]: Number of co-enabled transitions 19728 [2023-08-30 16:36:28,790 INFO L134 LiptonReduction]: Checked pairs total: 23682 [2023-08-30 16:36:28,791 INFO L136 LiptonReduction]: Total number of compositions: 164 [2023-08-30 16:36:28,792 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-30 16:36:28,793 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:28,793 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-30 16:36:28,795 INFO L130 PetriNetUnfolder]: 4/49 cut-off events. [2023-08-30 16:36:28,796 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-30 16:36:28,796 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:28,796 INFO L208 CegarLoopForPetriNet]: trace histogram [5, 4, 4, 1, 1, 1, 1, 1, 1] [2023-08-30 16:36:28,796 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-30 16:36:28,796 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:28,796 INFO L85 PathProgramCache]: Analyzing trace with hash 1189340209, now seen corresponding path program 1 times [2023-08-30 16:36:28,796 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:28,796 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1121770640] [2023-08-30 16:36:28,797 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:28,797 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:28,817 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-30 16:36:28,817 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-30 16:36:28,821 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-30 16:36:28,830 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-30 16:36:28,831 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-30 16:36:28,831 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-30 16:36:28,831 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10 [2023-08-30 16:36:28,831 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-30 16:36:28,833 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-30 16:36:28,833 WARN L233 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-30 16:36:28,833 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2023-08-30 16:36:28,862 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-30 16:36:28,863 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:28,880 INFO L130 PetriNetUnfolder]: 16/268 cut-off events. [2023-08-30 16:36:28,880 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-30 16:36:28,881 INFO L83 FinitePrefix]: Finished finitePrefix Result has 299 conditions, 268 events. 16/268 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 815 event pairs, 0 based on Foata normal form. 0/241 useless extension candidates. Maximal degree in co-relation 232. Up to 12 conditions per place. [2023-08-30 16:36:28,881 INFO L82 GeneralOperation]: Start removeDead. Operand has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:28,883 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:28,883 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:28,883 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:28,883 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:28,883 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:28,899 INFO L130 PetriNetUnfolder]: 16/268 cut-off events. [2023-08-30 16:36:28,900 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-30 16:36:28,901 INFO L83 FinitePrefix]: Finished finitePrefix Result has 299 conditions, 268 events. 16/268 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 815 event pairs, 0 based on Foata normal form. 0/241 useless extension candidates. Maximal degree in co-relation 232. Up to 12 conditions per place. [2023-08-30 16:36:28,905 INFO L119 LiptonReduction]: Number of co-enabled transitions 31320 [2023-08-30 16:36:31,222 INFO L134 LiptonReduction]: Checked pairs total: 37497 [2023-08-30 16:36:31,223 INFO L136 LiptonReduction]: Total number of compositions: 199 [2023-08-30 16:36:31,225 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-30 16:36:31,226 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:31,226 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-30 16:36:31,233 INFO L130 PetriNetUnfolder]: 0/6 cut-off events. [2023-08-30 16:36:31,244 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:31,245 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:31,245 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2023-08-30 16:36:31,245 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (and 2 more)] === [2023-08-30 16:36:31,245 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:31,245 INFO L85 PathProgramCache]: Analyzing trace with hash 65047036, now seen corresponding path program 1 times [2023-08-30 16:36:31,245 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:31,246 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [411684076] [2023-08-30 16:36:31,246 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:31,246 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:31,267 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-30 16:36:31,283 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-30 16:36:31,283 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-30 16:36:31,283 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [411684076] [2023-08-30 16:36:31,283 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [411684076] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-30 16:36:31,283 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-30 16:36:31,284 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-30 16:36:31,284 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [937348851] [2023-08-30 16:36:31,284 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-30 16:36:31,284 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-30 16:36:31,285 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-30 16:36:31,285 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-30 16:36:31,285 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-30 16:36:31,297 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 172 out of 409 [2023-08-30 16:36:31,298 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 52 places, 46 transitions, 137 flow. Second operand has 3 states, 3 states have (on average 173.33333333333334) internal successors, (520), 3 states have internal predecessors, (520), 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-30 16:36:31,298 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-30 16:36:31,298 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 172 of 409 [2023-08-30 16:36:31,298 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-30 16:36:41,322 INFO L130 PetriNetUnfolder]: 146239/181311 cut-off events. [2023-08-30 16:36:41,323 INFO L131 PetriNetUnfolder]: For 35720/35720 co-relation queries the response was YES. [2023-08-30 16:36:41,638 INFO L83 FinitePrefix]: Finished finitePrefix Result has 376753 conditions, 181311 events. 146239/181311 cut-off events. For 35720/35720 co-relation queries the response was YES. Maximal size of possible extension queue 6701. Compared 1020175 event pairs, 38427 based on Foata normal form. 0/138378 useless extension candidates. Maximal degree in co-relation 43003. Up to 165923 conditions per place. [2023-08-30 16:36:42,161 INFO L137 encePairwiseOnDemand]: 397/409 looper letters, 66 selfloop transitions, 6 changer transitions 0/75 dead transitions. [2023-08-30 16:36:42,162 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 53 places, 75 transitions, 371 flow [2023-08-30 16:36:42,162 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-30 16:36:42,162 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-30 16:36:42,164 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 595 transitions. [2023-08-30 16:36:42,164 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4849225753871231 [2023-08-30 16:36:42,165 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 595 transitions. [2023-08-30 16:36:42,165 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 595 transitions. [2023-08-30 16:36:42,165 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-30 16:36:42,165 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 595 transitions. [2023-08-30 16:36:42,166 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 198.33333333333334) internal successors, (595), 3 states have internal predecessors, (595), 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-30 16:36:42,168 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 409.0) internal successors, (1636), 4 states have internal predecessors, (1636), 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-30 16:36:42,168 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 409.0) internal successors, (1636), 4 states have internal predecessors, (1636), 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-30 16:36:42,168 INFO L175 Difference]: Start difference. First operand has 52 places, 46 transitions, 137 flow. Second operand 3 states and 595 transitions. [2023-08-30 16:36:42,168 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 53 places, 75 transitions, 371 flow [2023-08-30 16:36:42,190 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 53 places, 75 transitions, 339 flow, removed 16 selfloop flow, removed 0 redundant places. [2023-08-30 16:36:42,191 INFO L231 Difference]: Finished difference. Result has 54 places, 50 transitions, 163 flow [2023-08-30 16:36:42,191 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=409, PETRI_DIFFERENCE_MINUEND_FLOW=115, PETRI_DIFFERENCE_MINUEND_PLACES=51, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=45, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=39, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=163, PETRI_PLACES=54, PETRI_TRANSITIONS=50} [2023-08-30 16:36:42,192 INFO L281 CegarLoopForPetriNet]: 52 programPoint places, 2 predicate places. [2023-08-30 16:36:42,192 INFO L495 AbstractCegarLoop]: Abstraction has has 54 places, 50 transitions, 163 flow [2023-08-30 16:36:42,192 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 173.33333333333334) internal successors, (520), 3 states have internal predecessors, (520), 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-30 16:36:42,192 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:42,192 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-30 16:36:42,192 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2023-08-30 16:36:42,193 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (and 2 more)] === [2023-08-30 16:36:42,193 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:42,193 INFO L85 PathProgramCache]: Analyzing trace with hash -1436794962, now seen corresponding path program 1 times [2023-08-30 16:36:42,193 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:42,193 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1075268871] [2023-08-30 16:36:42,193 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:42,193 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:42,216 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-30 16:36:42,253 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-08-30 16:36:42,253 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-30 16:36:42,253 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1075268871] [2023-08-30 16:36:42,253 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1075268871] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-30 16:36:42,253 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-30 16:36:42,254 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-08-30 16:36:42,254 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2131200090] [2023-08-30 16:36:42,254 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-30 16:36:42,254 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-30 16:36:42,254 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-30 16:36:42,255 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-30 16:36:42,255 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-30 16:36:42,264 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 172 out of 409 [2023-08-30 16:36:42,264 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 54 places, 50 transitions, 163 flow. Second operand has 3 states, 3 states have (on average 175.0) internal successors, (525), 3 states have internal predecessors, (525), 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-30 16:36:42,265 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-30 16:36:42,265 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 172 of 409 [2023-08-30 16:36:42,265 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-30 16:36:48,238 INFO L130 PetriNetUnfolder]: 81805/102893 cut-off events. [2023-08-30 16:36:48,239 INFO L131 PetriNetUnfolder]: For 21702/21702 co-relation queries the response was YES. [2023-08-30 16:36:48,449 INFO L83 FinitePrefix]: Finished finitePrefix Result has 226854 conditions, 102893 events. 81805/102893 cut-off events. For 21702/21702 co-relation queries the response was YES. Maximal size of possible extension queue 3167. Compared 543477 event pairs, 62095 based on Foata normal form. 11744/113472 useless extension candidates. Maximal degree in co-relation 114504. Up to 100467 conditions per place. [2023-08-30 16:36:48,503 INFO L137 encePairwiseOnDemand]: 403/409 looper letters, 0 selfloop transitions, 0 changer transitions 45/45 dead transitions. [2023-08-30 16:36:48,503 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 51 places, 45 transitions, 227 flow [2023-08-30 16:36:48,504 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-30 16:36:48,504 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-30 16:36:48,505 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 558 transitions. [2023-08-30 16:36:48,505 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4547677261613692 [2023-08-30 16:36:48,505 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 558 transitions. [2023-08-30 16:36:48,505 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 558 transitions. [2023-08-30 16:36:48,505 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-30 16:36:48,506 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 558 transitions. [2023-08-30 16:36:48,506 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 186.0) internal successors, (558), 3 states have internal predecessors, (558), 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-30 16:36:48,508 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 409.0) internal successors, (1636), 4 states have internal predecessors, (1636), 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-30 16:36:48,508 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 409.0) internal successors, (1636), 4 states have internal predecessors, (1636), 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-30 16:36:48,508 INFO L175 Difference]: Start difference. First operand has 54 places, 50 transitions, 163 flow. Second operand 3 states and 558 transitions. [2023-08-30 16:36:48,509 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 51 places, 45 transitions, 227 flow [2023-08-30 16:36:48,523 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 50 places, 45 transitions, 221 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-30 16:36:48,523 INFO L231 Difference]: Finished difference. Result has 50 places, 0 transitions, 0 flow [2023-08-30 16:36:48,524 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=409, PETRI_DIFFERENCE_MINUEND_FLOW=137, PETRI_DIFFERENCE_MINUEND_PLACES=48, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=45, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=45, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=50, PETRI_TRANSITIONS=0} [2023-08-30 16:36:48,524 INFO L281 CegarLoopForPetriNet]: 52 programPoint places, -2 predicate places. [2023-08-30 16:36:48,524 INFO L495 AbstractCegarLoop]: Abstraction has has 50 places, 0 transitions, 0 flow [2023-08-30 16:36:48,524 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 175.0) internal successors, (525), 3 states have internal predecessors, (525), 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-30 16:36:48,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (5 of 6 remaining) [2023-08-30 16:36:48,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (4 of 6 remaining) [2023-08-30 16:36:48,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (3 of 6 remaining) [2023-08-30 16:36:48,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (2 of 6 remaining) [2023-08-30 16:36:48,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (1 of 6 remaining) [2023-08-30 16:36:48,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (0 of 6 remaining) [2023-08-30 16:36:48,525 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12 [2023-08-30 16:36:48,525 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-30 16:36:48,526 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-30 16:36:48,527 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:48,543 INFO L130 PetriNetUnfolder]: 16/268 cut-off events. [2023-08-30 16:36:48,543 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-30 16:36:48,545 INFO L83 FinitePrefix]: Finished finitePrefix Result has 299 conditions, 268 events. 16/268 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 815 event pairs, 0 based on Foata normal form. 0/241 useless extension candidates. Maximal degree in co-relation 232. Up to 12 conditions per place. [2023-08-30 16:36:48,545 INFO L82 GeneralOperation]: Start removeDead. Operand has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:48,546 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:48,546 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:48,546 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:48,546 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:48,546 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 210 places, 210 transitions, 465 flow [2023-08-30 16:36:48,562 INFO L130 PetriNetUnfolder]: 16/268 cut-off events. [2023-08-30 16:36:48,562 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-30 16:36:48,563 INFO L83 FinitePrefix]: Finished finitePrefix Result has 299 conditions, 268 events. 16/268 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 815 event pairs, 0 based on Foata normal form. 0/241 useless extension candidates. Maximal degree in co-relation 232. Up to 12 conditions per place. [2023-08-30 16:36:48,568 INFO L119 LiptonReduction]: Number of co-enabled transitions 31320 [2023-08-30 16:36:51,228 INFO L134 LiptonReduction]: Checked pairs total: 38964 [2023-08-30 16:36:51,229 INFO L136 LiptonReduction]: Total number of compositions: 201 [2023-08-30 16:36:51,230 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-30 16:36:51,231 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:51,231 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-30 16:36:51,234 INFO L130 PetriNetUnfolder]: 5/61 cut-off events. [2023-08-30 16:36:51,234 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-30 16:36:51,235 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:51,235 INFO L208 CegarLoopForPetriNet]: trace histogram [6, 5, 5, 1, 1, 1, 1, 1, 1, 1] [2023-08-30 16:36:51,235 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-30 16:36:51,235 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:51,235 INFO L85 PathProgramCache]: Analyzing trace with hash -697707837, now seen corresponding path program 1 times [2023-08-30 16:36:51,235 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:51,238 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1497558909] [2023-08-30 16:36:51,239 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:51,239 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:51,271 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-30 16:36:51,273 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-30 16:36:51,278 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-30 16:36:51,284 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-30 16:36:51,289 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-30 16:36:51,289 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-30 16:36:51,289 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable13 [2023-08-30 16:36:51,289 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-30 16:36:51,290 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-30 16:36:51,290 WARN L233 ceAbstractionStarter]: 5 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-30 16:36:51,290 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 6 thread instances. [2023-08-30 16:36:51,331 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-30 16:36:51,332 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 247 places, 247 transitions, 554 flow [2023-08-30 16:36:51,355 INFO L130 PetriNetUnfolder]: 19/317 cut-off events. [2023-08-30 16:36:51,355 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-30 16:36:51,358 INFO L83 FinitePrefix]: Finished finitePrefix Result has 357 conditions, 317 events. 19/317 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 1026 event pairs, 0 based on Foata normal form. 0/285 useless extension candidates. Maximal degree in co-relation 289. Up to 14 conditions per place. [2023-08-30 16:36:51,358 INFO L82 GeneralOperation]: Start removeDead. Operand has 247 places, 247 transitions, 554 flow [2023-08-30 16:36:51,359 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 247 places, 247 transitions, 554 flow [2023-08-30 16:36:51,359 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-30 16:36:51,359 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 247 places, 247 transitions, 554 flow [2023-08-30 16:36:51,360 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 247 places, 247 transitions, 554 flow [2023-08-30 16:36:51,360 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 247 places, 247 transitions, 554 flow [2023-08-30 16:36:51,383 INFO L130 PetriNetUnfolder]: 19/317 cut-off events. [2023-08-30 16:36:51,383 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-30 16:36:51,385 INFO L83 FinitePrefix]: Finished finitePrefix Result has 357 conditions, 317 events. 19/317 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 1026 event pairs, 0 based on Foata normal form. 0/285 useless extension candidates. Maximal degree in co-relation 289. Up to 14 conditions per place. [2023-08-30 16:36:51,392 INFO L119 LiptonReduction]: Number of co-enabled transitions 45576 [2023-08-30 16:36:54,361 INFO L134 LiptonReduction]: Checked pairs total: 57177 [2023-08-30 16:36:54,362 INFO L136 LiptonReduction]: Total number of compositions: 239 [2023-08-30 16:36:54,363 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-30 16:36:54,363 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;@26ed9446, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-30 16:36:54,363 INFO L358 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2023-08-30 16:36:54,364 INFO L130 PetriNetUnfolder]: 0/6 cut-off events. [2023-08-30 16:36:54,364 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-30 16:36:54,364 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-30 16:36:54,364 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2023-08-30 16:36:54,364 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONERROR_FUNCTION === [thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION, thr1Err0ASSERT_VIOLATIONERROR_FUNCTION (and 3 more)] === [2023-08-30 16:36:54,365 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-30 16:36:54,365 INFO L85 PathProgramCache]: Analyzing trace with hash 87043138, now seen corresponding path program 1 times [2023-08-30 16:36:54,365 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-30 16:36:54,365 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [568474590] [2023-08-30 16:36:54,365 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-30 16:36:54,365 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-30 16:36:54,383 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-30 16:36:54,391 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-30 16:36:54,392 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-30 16:36:54,392 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [568474590] [2023-08-30 16:36:54,392 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [568474590] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-30 16:36:54,392 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-30 16:36:54,392 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-30 16:36:54,392 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1755663772] [2023-08-30 16:36:54,392 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-30 16:36:54,393 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-30 16:36:54,393 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-30 16:36:54,393 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-30 16:36:54,393 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-30 16:36:54,406 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 202 out of 486 [2023-08-30 16:36:54,406 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 61 places, 54 transitions, 168 flow. Second operand has 3 states, 3 states have (on average 203.33333333333334) internal successors, (610), 3 states have internal predecessors, (610), 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-30 16:36:54,407 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-30 16:36:54,407 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 202 of 486 [2023-08-30 16:36:54,407 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand