./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_71-funloop_racing.i --full-output --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations BEFORE --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) 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/AutomizerMemDerefMemtrack.xml -i ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_71-funloop_racing.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash bde6fe221f69c3fccb0f7c90e011f0b13ab5ca582ddcd328a459cbb512a8fd7f --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations BEFORE --- Real Ultimate output --- This is Ultimate 0.2.3-?-b8dbc81 [2023-09-01 00:48:32,478 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-09-01 00:48:32,480 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-09-01 00:48:32,503 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-09-01 00:48:32,508 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-09-01 00:48:32,509 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-09-01 00:48:32,511 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-09-01 00:48:32,514 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-09-01 00:48:32,516 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-09-01 00:48:32,518 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-09-01 00:48:32,520 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-09-01 00:48:32,521 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-09-01 00:48:32,522 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-09-01 00:48:32,524 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-09-01 00:48:32,525 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-09-01 00:48:32,526 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-09-01 00:48:32,527 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-09-01 00:48:32,531 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-09-01 00:48:32,533 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-09-01 00:48:32,534 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-09-01 00:48:32,549 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-09-01 00:48:32,550 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-09-01 00:48:32,551 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-09-01 00:48:32,552 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-09-01 00:48:32,554 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-09-01 00:48:32,558 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-09-01 00:48:32,558 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-09-01 00:48:32,559 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-09-01 00:48:32,560 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-09-01 00:48:32,561 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-09-01 00:48:32,561 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-09-01 00:48:32,562 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-09-01 00:48:32,563 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-09-01 00:48:32,564 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-09-01 00:48:32,566 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-09-01 00:48:32,566 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-09-01 00:48:32,567 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-09-01 00:48:32,567 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-09-01 00:48:32,567 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-09-01 00:48:32,568 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-09-01 00:48:32,568 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-09-01 00:48:32,569 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-09-01 00:48:32,589 INFO L113 SettingsManager]: Loading preferences was successful [2023-09-01 00:48:32,589 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-09-01 00:48:32,589 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-09-01 00:48:32,590 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-09-01 00:48:32,590 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-09-01 00:48:32,590 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-09-01 00:48:32,591 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-09-01 00:48:32,591 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-09-01 00:48:32,591 INFO L138 SettingsManager]: * Use SBE=true [2023-09-01 00:48:32,592 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-09-01 00:48:32,592 INFO L138 SettingsManager]: * sizeof long=4 [2023-09-01 00:48:32,592 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-09-01 00:48:32,592 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-09-01 00:48:32,592 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-09-01 00:48:32,593 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-09-01 00:48:32,593 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-09-01 00:48:32,593 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-09-01 00:48:32,593 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-09-01 00:48:32,593 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-09-01 00:48:32,594 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-09-01 00:48:32,594 INFO L138 SettingsManager]: * sizeof long double=12 [2023-09-01 00:48:32,594 INFO L138 SettingsManager]: * Use constant arrays=true [2023-09-01 00:48:32,594 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-09-01 00:48:32,594 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-09-01 00:48:32,595 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-09-01 00:48:32,595 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-09-01 00:48:32,595 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-09-01 00:48:32,595 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-09-01 00:48:32,595 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-09-01 00:48:32,596 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-09-01 00:48:32,596 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-09-01 00:48:32,596 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-09-01 00:48:32,596 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-09-01 00:48:32,597 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-09-01 00:48:32,597 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> bde6fe221f69c3fccb0f7c90e011f0b13ab5ca582ddcd328a459cbb512a8fd7f 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 -> BEFORE [2023-09-01 00:48:32,861 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-09-01 00:48:32,879 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-09-01 00:48:32,882 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-09-01 00:48:32,883 INFO L271 PluginConnector]: Initializing CDTParser... [2023-09-01 00:48:32,883 INFO L275 PluginConnector]: CDTParser initialized [2023-09-01 00:48:32,884 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_71-funloop_racing.i [2023-09-01 00:48:34,112 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-09-01 00:48:34,415 INFO L351 CDTParser]: Found 1 translation units. [2023-09-01 00:48:34,416 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_71-funloop_racing.i [2023-09-01 00:48:34,440 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/56c8cd83c/1817e78561ff405aa40950235b196da0/FLAG53f67fe77 [2023-09-01 00:48:34,459 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/56c8cd83c/1817e78561ff405aa40950235b196da0 [2023-09-01 00:48:34,461 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-09-01 00:48:34,462 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-09-01 00:48:34,463 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-09-01 00:48:34,463 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-09-01 00:48:34,466 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-09-01 00:48:34,468 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 01.09 12:48:34" (1/1) ... [2023-09-01 00:48:34,470 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5f6e37a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:34, skipping insertion in model container [2023-09-01 00:48:34,470 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 01.09 12:48:34" (1/1) ... [2023-09-01 00:48:34,475 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-09-01 00:48:34,518 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-09-01 00:48:34,828 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_71-funloop_racing.i[41323,41336] [2023-09-01 00:48:34,869 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-01 00:48:34,891 INFO L203 MainTranslator]: Completed pre-run [2023-09-01 00:48:34,934 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_71-funloop_racing.i[41323,41336] [2023-09-01 00:48:34,957 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-01 00:48:35,081 INFO L208 MainTranslator]: Completed translation [2023-09-01 00:48:35,082 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35 WrapperNode [2023-09-01 00:48:35,082 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-09-01 00:48:35,083 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-09-01 00:48:35,083 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-09-01 00:48:35,083 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-09-01 00:48:35,089 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,117 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,149 INFO L138 Inliner]: procedures = 271, calls = 40, calls flagged for inlining = 6, calls inlined = 7, statements flattened = 247 [2023-09-01 00:48:35,150 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-09-01 00:48:35,151 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-09-01 00:48:35,151 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-09-01 00:48:35,151 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-09-01 00:48:35,159 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,159 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,179 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,180 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,188 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,195 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,197 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,198 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,208 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-09-01 00:48:35,208 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-09-01 00:48:35,209 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-09-01 00:48:35,209 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-09-01 00:48:35,209 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (1/1) ... [2023-09-01 00:48:35,213 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-09-01 00:48:35,221 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-01 00:48:35,231 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-09-01 00:48:35,237 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-09-01 00:48:35,259 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-09-01 00:48:35,259 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-09-01 00:48:35,259 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-09-01 00:48:35,259 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-09-01 00:48:35,259 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-09-01 00:48:35,260 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-09-01 00:48:35,260 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2023-09-01 00:48:35,260 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2023-09-01 00:48:35,260 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-09-01 00:48:35,260 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-09-01 00:48:35,260 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-09-01 00:48:35,262 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-09-01 00:48:35,377 INFO L236 CfgBuilder]: Building ICFG [2023-09-01 00:48:35,379 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-09-01 00:48:35,768 INFO L277 CfgBuilder]: Performing block encoding [2023-09-01 00:48:35,781 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-09-01 00:48:35,781 INFO L302 CfgBuilder]: Removed 35 assume(true) statements. [2023-09-01 00:48:35,785 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 01.09 12:48:35 BoogieIcfgContainer [2023-09-01 00:48:35,785 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-09-01 00:48:35,788 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-09-01 00:48:35,788 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-09-01 00:48:35,791 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-09-01 00:48:35,792 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 01.09 12:48:34" (1/3) ... [2023-09-01 00:48:35,793 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@344ef6ff and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 01.09 12:48:35, skipping insertion in model container [2023-09-01 00:48:35,794 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:48:35" (2/3) ... [2023-09-01 00:48:35,794 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@344ef6ff and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 01.09 12:48:35, skipping insertion in model container [2023-09-01 00:48:35,794 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 01.09 12:48:35" (3/3) ... [2023-09-01 00:48:35,796 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_71-funloop_racing.i [2023-09-01 00:48:35,813 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-09-01 00:48:35,814 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 38 error locations. [2023-09-01 00:48:35,814 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-09-01 00:48:35,889 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-09-01 00:48:35,937 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 239 places, 281 transitions, 570 flow [2023-09-01 00:48:36,050 INFO L130 PetriNetUnfolder]: 73/440 cut-off events. [2023-09-01 00:48:36,050 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-09-01 00:48:36,063 INFO L83 FinitePrefix]: Finished finitePrefix Result has 446 conditions, 440 events. 73/440 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 2247 event pairs, 0 based on Foata normal form. 0/299 useless extension candidates. Maximal degree in co-relation 243. Up to 8 conditions per place. [2023-09-01 00:48:36,064 INFO L82 GeneralOperation]: Start removeDead. Operand has 239 places, 281 transitions, 570 flow [2023-09-01 00:48:36,076 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 235 places, 276 transitions, 557 flow [2023-09-01 00:48:36,080 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-09-01 00:48:36,102 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 235 places, 276 transitions, 557 flow [2023-09-01 00:48:36,109 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 235 places, 276 transitions, 557 flow [2023-09-01 00:48:36,110 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 235 places, 276 transitions, 557 flow [2023-09-01 00:48:36,178 INFO L130 PetriNetUnfolder]: 72/435 cut-off events. [2023-09-01 00:48:36,178 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-09-01 00:48:36,184 INFO L83 FinitePrefix]: Finished finitePrefix Result has 440 conditions, 435 events. 72/435 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 2185 event pairs, 0 based on Foata normal form. 0/294 useless extension candidates. Maximal degree in co-relation 243. Up to 8 conditions per place. [2023-09-01 00:48:36,198 INFO L119 LiptonReduction]: Number of co-enabled transitions 26070 [2023-09-01 00:48:40,339 INFO L134 LiptonReduction]: Checked pairs total: 51982 [2023-09-01 00:48:40,339 INFO L136 LiptonReduction]: Total number of compositions: 248 [2023-09-01 00:48:40,352 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-09-01 00:48:40,358 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@39e26f79, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-09-01 00:48:40,358 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-09-01 00:48:40,366 INFO L130 PetriNetUnfolder]: 16/73 cut-off events. [2023-09-01 00:48:40,366 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-09-01 00:48:40,366 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:48:40,367 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2023-09-01 00:48:40,367 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:48:40,371 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:48:40,372 INFO L85 PathProgramCache]: Analyzing trace with hash 493982775, now seen corresponding path program 1 times [2023-09-01 00:48:40,380 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:48:40,380 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [995938045] [2023-09-01 00:48:40,380 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:48:40,381 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:48:40,467 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-09-01 00:48:40,596 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-09-01 00:48:40,597 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-09-01 00:48:40,597 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [995938045] [2023-09-01 00:48:40,598 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [995938045] provided 1 perfect and 0 imperfect interpolant sequences [2023-09-01 00:48:40,598 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-09-01 00:48:40,599 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-09-01 00:48:40,600 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [121904220] [2023-09-01 00:48:40,600 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-09-01 00:48:40,607 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-09-01 00:48:40,611 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-09-01 00:48:40,634 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-09-01 00:48:40,635 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-09-01 00:48:40,661 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 234 out of 529 [2023-09-01 00:48:40,666 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 98 places, 132 transitions, 269 flow. Second operand has 3 states, 3 states have (on average 235.66666666666666) internal successors, (707), 3 states have internal predecessors, (707), 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-09-01 00:48:40,667 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-09-01 00:48:40,667 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 234 of 529 [2023-09-01 00:48:40,668 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-09-01 00:48:41,013 INFO L130 PetriNetUnfolder]: 1123/2455 cut-off events. [2023-09-01 00:48:41,014 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-09-01 00:48:41,016 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4573 conditions, 2455 events. 1123/2455 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 164. Compared 17744 event pairs, 960 based on Foata normal form. 186/1717 useless extension candidates. Maximal degree in co-relation 4449. Up to 2111 conditions per place. [2023-09-01 00:48:41,020 INFO L137 encePairwiseOnDemand]: 485/529 looper letters, 29 selfloop transitions, 2 changer transitions 53/92 dead transitions. [2023-09-01 00:48:41,020 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 90 places, 92 transitions, 339 flow [2023-09-01 00:48:41,021 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-09-01 00:48:41,024 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-09-01 00:48:41,031 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 819 transitions. [2023-09-01 00:48:41,035 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5160680529300568 [2023-09-01 00:48:41,036 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 819 transitions. [2023-09-01 00:48:41,036 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 819 transitions. [2023-09-01 00:48:41,038 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-09-01 00:48:41,041 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 819 transitions. [2023-09-01 00:48:41,045 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 273.0) internal successors, (819), 3 states have internal predecessors, (819), 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-09-01 00:48:41,051 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 529.0) internal successors, (2116), 4 states have internal predecessors, (2116), 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-09-01 00:48:41,053 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 529.0) internal successors, (2116), 4 states have internal predecessors, (2116), 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-09-01 00:48:41,054 INFO L175 Difference]: Start difference. First operand has 98 places, 132 transitions, 269 flow. Second operand 3 states and 819 transitions. [2023-09-01 00:48:41,055 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 90 places, 92 transitions, 339 flow [2023-09-01 00:48:41,058 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 90 places, 92 transitions, 339 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-09-01 00:48:41,060 INFO L231 Difference]: Finished difference. Result has 91 places, 39 transitions, 93 flow [2023-09-01 00:48:41,061 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=529, PETRI_DIFFERENCE_MINUEND_FLOW=187, PETRI_DIFFERENCE_MINUEND_PLACES=88, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=91, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=89, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=93, PETRI_PLACES=91, PETRI_TRANSITIONS=39} [2023-09-01 00:48:41,064 INFO L281 CegarLoopForPetriNet]: 98 programPoint places, -7 predicate places. [2023-09-01 00:48:41,065 INFO L495 AbstractCegarLoop]: Abstraction has has 91 places, 39 transitions, 93 flow [2023-09-01 00:48:41,065 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 235.66666666666666) internal successors, (707), 3 states have internal predecessors, (707), 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-09-01 00:48:41,066 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:48:41,066 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1] [2023-09-01 00:48:41,066 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-09-01 00:48:41,066 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:48:41,067 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:48:41,067 INFO L85 PathProgramCache]: Analyzing trace with hash -1708588602, now seen corresponding path program 1 times [2023-09-01 00:48:41,067 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:48:41,068 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2003066680] [2023-09-01 00:48:41,068 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:48:41,068 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:48:41,084 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-09-01 00:48:41,135 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-09-01 00:48:41,135 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-09-01 00:48:41,136 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2003066680] [2023-09-01 00:48:41,136 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2003066680] provided 0 perfect and 1 imperfect interpolant sequences [2023-09-01 00:48:41,136 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [206587644] [2023-09-01 00:48:41,136 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:48:41,137 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-09-01 00:48:41,137 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-01 00:48:41,139 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-09-01 00:48:41,164 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-09-01 00:48:41,232 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-09-01 00:48:41,233 INFO L263 TraceCheckSpWp]: Trace formula consists of 109 conjuncts, 3 conjunts are in the unsatisfiable core [2023-09-01 00:48:41,237 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-09-01 00:48:41,296 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-09-01 00:48:41,296 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-09-01 00:48:41,309 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-09-01 00:48:41,310 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [206587644] provided 0 perfect and 2 imperfect interpolant sequences [2023-09-01 00:48:41,310 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-09-01 00:48:41,310 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 3, 3] total 6 [2023-09-01 00:48:41,311 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1362453602] [2023-09-01 00:48:41,311 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-09-01 00:48:41,312 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-09-01 00:48:41,312 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-09-01 00:48:41,313 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-09-01 00:48:41,313 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=21, Invalid=21, Unknown=0, NotChecked=0, Total=42 [2023-09-01 00:48:41,340 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 233 out of 529 [2023-09-01 00:48:41,343 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 91 places, 39 transitions, 93 flow. Second operand has 7 states, 7 states have (on average 234.57142857142858) internal successors, (1642), 7 states have internal predecessors, (1642), 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-09-01 00:48:41,343 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-09-01 00:48:41,343 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 233 of 529 [2023-09-01 00:48:41,343 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-09-01 00:48:41,412 INFO L130 PetriNetUnfolder]: 113/287 cut-off events. [2023-09-01 00:48:41,413 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-09-01 00:48:41,413 INFO L83 FinitePrefix]: Finished finitePrefix Result has 547 conditions, 287 events. 113/287 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 28. Compared 1179 event pairs, 100 based on Foata normal form. 0/160 useless extension candidates. Maximal degree in co-relation 535. Up to 240 conditions per place. [2023-09-01 00:48:41,429 INFO L137 encePairwiseOnDemand]: 526/529 looper letters, 29 selfloop transitions, 5 changer transitions 0/42 dead transitions. [2023-09-01 00:48:41,429 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 46 places, 42 transitions, 173 flow [2023-09-01 00:48:41,433 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-09-01 00:48:41,433 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-09-01 00:48:41,436 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1435 transitions. [2023-09-01 00:48:41,437 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.45211090107120355 [2023-09-01 00:48:41,437 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 1435 transitions. [2023-09-01 00:48:41,437 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 1435 transitions. [2023-09-01 00:48:41,438 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-09-01 00:48:41,438 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 1435 transitions. [2023-09-01 00:48:41,442 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 239.16666666666666) internal successors, (1435), 6 states have internal predecessors, (1435), 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-09-01 00:48:41,447 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 529.0) internal successors, (3703), 7 states have internal predecessors, (3703), 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-09-01 00:48:41,449 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 529.0) internal successors, (3703), 7 states have internal predecessors, (3703), 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-09-01 00:48:41,449 INFO L175 Difference]: Start difference. First operand has 91 places, 39 transitions, 93 flow. Second operand 6 states and 1435 transitions. [2023-09-01 00:48:41,449 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 46 places, 42 transitions, 173 flow [2023-09-01 00:48:41,450 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 45 places, 42 transitions, 169 flow, removed 1 selfloop flow, removed 1 redundant places. [2023-09-01 00:48:41,452 INFO L231 Difference]: Finished difference. Result has 48 places, 42 transitions, 125 flow [2023-09-01 00:48:41,452 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=529, PETRI_DIFFERENCE_MINUEND_FLOW=89, PETRI_DIFFERENCE_MINUEND_PLACES=40, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=39, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=36, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=125, PETRI_PLACES=48, PETRI_TRANSITIONS=42} [2023-09-01 00:48:41,453 INFO L281 CegarLoopForPetriNet]: 98 programPoint places, -50 predicate places. [2023-09-01 00:48:41,453 INFO L495 AbstractCegarLoop]: Abstraction has has 48 places, 42 transitions, 125 flow [2023-09-01 00:48:41,454 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 234.57142857142858) internal successors, (1642), 7 states have internal predecessors, (1642), 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-09-01 00:48:41,454 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:48:41,455 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 2, 1, 1, 1, 1, 1] [2023-09-01 00:48:41,464 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2023-09-01 00:48:41,664 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-09-01 00:48:41,664 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:48:41,665 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:48:41,665 INFO L85 PathProgramCache]: Analyzing trace with hash 1185415159, now seen corresponding path program 2 times [2023-09-01 00:48:41,665 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:48:41,666 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [529705619] [2023-09-01 00:48:41,666 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:48:41,666 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:48:41,711 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-09-01 00:48:41,829 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 10 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-09-01 00:48:41,830 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-09-01 00:48:41,830 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [529705619] [2023-09-01 00:48:41,830 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [529705619] provided 0 perfect and 1 imperfect interpolant sequences [2023-09-01 00:48:41,830 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [45616754] [2023-09-01 00:48:41,831 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2023-09-01 00:48:41,831 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-09-01 00:48:41,831 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-01 00:48:41,832 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-09-01 00:48:41,855 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2023-09-01 00:48:41,922 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2023-09-01 00:48:41,922 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-09-01 00:48:41,924 INFO L263 TraceCheckSpWp]: Trace formula consists of 130 conjuncts, 6 conjunts are in the unsatisfiable core [2023-09-01 00:48:41,925 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-09-01 00:48:41,947 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 10 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-09-01 00:48:41,947 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-09-01 00:48:41,998 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 10 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-09-01 00:48:41,998 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [45616754] provided 0 perfect and 2 imperfect interpolant sequences [2023-09-01 00:48:41,998 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-09-01 00:48:41,999 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 6, 6] total 12 [2023-09-01 00:48:41,999 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1056300736] [2023-09-01 00:48:41,999 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-09-01 00:48:42,001 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 13 states [2023-09-01 00:48:42,001 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-09-01 00:48:42,002 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 13 interpolants. [2023-09-01 00:48:42,002 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=78, Invalid=78, Unknown=0, NotChecked=0, Total=156 [2023-09-01 00:48:42,041 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 233 out of 529 [2023-09-01 00:48:42,044 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 48 places, 42 transitions, 125 flow. Second operand has 13 states, 13 states have (on average 234.30769230769232) internal successors, (3046), 13 states have internal predecessors, (3046), 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-09-01 00:48:42,045 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-09-01 00:48:42,045 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 233 of 529 [2023-09-01 00:48:42,045 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-09-01 00:48:42,133 INFO L130 PetriNetUnfolder]: 113/293 cut-off events. [2023-09-01 00:48:42,133 INFO L131 PetriNetUnfolder]: For 20/20 co-relation queries the response was YES. [2023-09-01 00:48:42,134 INFO L83 FinitePrefix]: Finished finitePrefix Result has 584 conditions, 293 events. 113/293 cut-off events. For 20/20 co-relation queries the response was YES. Maximal size of possible extension queue 28. Compared 1185 event pairs, 100 based on Foata normal form. 6/173 useless extension candidates. Maximal degree in co-relation 526. Up to 240 conditions per place. [2023-09-01 00:48:42,135 INFO L137 encePairwiseOnDemand]: 526/529 looper letters, 29 selfloop transitions, 11 changer transitions 0/48 dead transitions. [2023-09-01 00:48:42,135 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 59 places, 48 transitions, 241 flow [2023-09-01 00:48:42,135 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 12 states. [2023-09-01 00:48:42,135 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2023-09-01 00:48:42,140 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 2842 transitions. [2023-09-01 00:48:42,142 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4477000630119723 [2023-09-01 00:48:42,142 INFO L72 ComplementDD]: Start complementDD. Operand 12 states and 2842 transitions. [2023-09-01 00:48:42,142 INFO L73 IsDeterministic]: Start isDeterministic. Operand 12 states and 2842 transitions. [2023-09-01 00:48:42,143 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-09-01 00:48:42,143 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 12 states and 2842 transitions. [2023-09-01 00:48:42,149 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 13 states, 12 states have (on average 236.83333333333334) internal successors, (2842), 12 states have internal predecessors, (2842), 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-09-01 00:48:42,158 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 13 states, 13 states have (on average 529.0) internal successors, (6877), 13 states have internal predecessors, (6877), 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-09-01 00:48:42,161 INFO L81 ComplementDD]: Finished complementDD. Result has 13 states, 13 states have (on average 529.0) internal successors, (6877), 13 states have internal predecessors, (6877), 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-09-01 00:48:42,162 INFO L175 Difference]: Start difference. First operand has 48 places, 42 transitions, 125 flow. Second operand 12 states and 2842 transitions. [2023-09-01 00:48:42,162 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 59 places, 48 transitions, 241 flow [2023-09-01 00:48:42,164 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 58 places, 48 transitions, 227 flow, removed 6 selfloop flow, removed 1 redundant places. [2023-09-01 00:48:42,165 INFO L231 Difference]: Finished difference. Result has 64 places, 48 transitions, 195 flow [2023-09-01 00:48:42,165 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=529, PETRI_DIFFERENCE_MINUEND_FLOW=111, PETRI_DIFFERENCE_MINUEND_PLACES=47, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=42, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=6, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=36, PETRI_DIFFERENCE_SUBTRAHEND_STATES=12, PETRI_FLOW=195, PETRI_PLACES=64, PETRI_TRANSITIONS=48} [2023-09-01 00:48:42,167 INFO L281 CegarLoopForPetriNet]: 98 programPoint places, -34 predicate places. [2023-09-01 00:48:42,167 INFO L495 AbstractCegarLoop]: Abstraction has has 64 places, 48 transitions, 195 flow [2023-09-01 00:48:42,168 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 13 states, 13 states have (on average 234.30769230769232) internal successors, (3046), 13 states have internal predecessors, (3046), 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-09-01 00:48:42,168 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:48:42,169 INFO L208 CegarLoopForPetriNet]: trace histogram [10, 2, 1, 1, 1, 1, 1] [2023-09-01 00:48:42,175 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2023-09-01 00:48:42,374 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable2 [2023-09-01 00:48:42,375 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:48:42,375 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:48:42,375 INFO L85 PathProgramCache]: Analyzing trace with hash 969956759, now seen corresponding path program 3 times [2023-09-01 00:48:42,376 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:48:42,376 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1371533022] [2023-09-01 00:48:42,376 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:48:42,376 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:48:42,420 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:48:42,428 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-09-01 00:48:42,448 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:48:42,470 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-09-01 00:48:42,470 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-09-01 00:48:42,475 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-09-01 00:48:42,476 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-09-01 00:48:42,476 INFO L445 BasicCegarLoop]: Path program histogram: [3, 1] [2023-09-01 00:48:42,478 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (1/2) [2023-09-01 00:48:42,479 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-09-01 00:48:42,479 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-09-01 00:48:42,541 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-09-01 00:48:42,552 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 307 places, 362 transitions, 742 flow [2023-09-01 00:48:42,629 INFO L130 PetriNetUnfolder]: 118/709 cut-off events. [2023-09-01 00:48:42,630 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-09-01 00:48:42,639 INFO L83 FinitePrefix]: Finished finitePrefix Result has 723 conditions, 709 events. 118/709 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 25. Compared 4066 event pairs, 0 based on Foata normal form. 0/481 useless extension candidates. Maximal degree in co-relation 442. Up to 12 conditions per place. [2023-09-01 00:48:42,639 INFO L82 GeneralOperation]: Start removeDead. Operand has 307 places, 362 transitions, 742 flow [2023-09-01 00:48:42,646 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 307 places, 362 transitions, 742 flow [2023-09-01 00:48:42,646 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-09-01 00:48:42,646 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 307 places, 362 transitions, 742 flow [2023-09-01 00:48:42,646 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 307 places, 362 transitions, 742 flow [2023-09-01 00:48:42,647 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 307 places, 362 transitions, 742 flow [2023-09-01 00:48:42,727 INFO L130 PetriNetUnfolder]: 118/709 cut-off events. [2023-09-01 00:48:42,727 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-09-01 00:48:42,738 INFO L83 FinitePrefix]: Finished finitePrefix Result has 723 conditions, 709 events. 118/709 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 25. Compared 4066 event pairs, 0 based on Foata normal form. 0/481 useless extension candidates. Maximal degree in co-relation 442. Up to 12 conditions per place. [2023-09-01 00:48:42,801 INFO L119 LiptonReduction]: Number of co-enabled transitions 66360 [2023-09-01 00:48:47,591 INFO L134 LiptonReduction]: Checked pairs total: 138846 [2023-09-01 00:48:47,591 INFO L136 LiptonReduction]: Total number of compositions: 318 [2023-09-01 00:48:47,596 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-09-01 00:48:47,600 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@39e26f79, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-09-01 00:48:47,601 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-09-01 00:48:47,614 INFO L130 PetriNetUnfolder]: 56/219 cut-off events. [2023-09-01 00:48:47,614 INFO L131 PetriNetUnfolder]: For 3/3 co-relation queries the response was YES. [2023-09-01 00:48:47,614 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:48:47,614 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1, 1] [2023-09-01 00:48:47,615 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:48:47,615 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:48:47,615 INFO L85 PathProgramCache]: Analyzing trace with hash 1035748807, now seen corresponding path program 1 times [2023-09-01 00:48:47,616 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:48:47,616 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [909427774] [2023-09-01 00:48:47,616 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:48:47,616 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:48:47,626 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-09-01 00:48:47,660 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-09-01 00:48:47,661 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-09-01 00:48:47,661 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [909427774] [2023-09-01 00:48:47,661 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [909427774] provided 1 perfect and 0 imperfect interpolant sequences [2023-09-01 00:48:47,661 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-09-01 00:48:47,661 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-09-01 00:48:47,661 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [885225793] [2023-09-01 00:48:47,662 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-09-01 00:48:47,662 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-09-01 00:48:47,662 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-09-01 00:48:47,663 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-09-01 00:48:47,663 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-09-01 00:48:47,671 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 300 out of 680 [2023-09-01 00:48:47,672 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 132 places, 180 transitions, 378 flow. Second operand has 3 states, 3 states have (on average 302.0) internal successors, (906), 3 states have internal predecessors, (906), 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-09-01 00:48:47,673 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-09-01 00:48:47,673 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 300 of 680 [2023-09-01 00:48:47,673 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-09-01 00:48:53,465 INFO L130 PetriNetUnfolder]: 51389/81959 cut-off events. [2023-09-01 00:48:53,466 INFO L131 PetriNetUnfolder]: For 174/174 co-relation queries the response was YES. [2023-09-01 00:48:53,589 INFO L83 FinitePrefix]: Finished finitePrefix Result has 155795 conditions, 81959 events. 51389/81959 cut-off events. For 174/174 co-relation queries the response was YES. Maximal size of possible extension queue 3076. Compared 711804 event pairs, 45936 based on Foata normal form. 6454/60487 useless extension candidates. Maximal degree in co-relation 63036. Up to 73697 conditions per place. [2023-09-01 00:48:53,662 INFO L137 encePairwiseOnDemand]: 622/680 looper letters, 53 selfloop transitions, 2 changer transitions 57/126 dead transitions. [2023-09-01 00:48:53,662 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 122 places, 126 transitions, 474 flow [2023-09-01 00:48:53,663 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-09-01 00:48:53,663 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-09-01 00:48:53,666 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 1058 transitions. [2023-09-01 00:48:53,666 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5186274509803922 [2023-09-01 00:48:53,666 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 1058 transitions. [2023-09-01 00:48:53,666 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 1058 transitions. [2023-09-01 00:48:53,667 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-09-01 00:48:53,667 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 1058 transitions. [2023-09-01 00:48:53,669 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 352.6666666666667) internal successors, (1058), 3 states have internal predecessors, (1058), 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-09-01 00:48:53,672 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 680.0) internal successors, (2720), 4 states have internal predecessors, (2720), 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-09-01 00:48:53,673 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 680.0) internal successors, (2720), 4 states have internal predecessors, (2720), 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-09-01 00:48:53,673 INFO L175 Difference]: Start difference. First operand has 132 places, 180 transitions, 378 flow. Second operand 3 states and 1058 transitions. [2023-09-01 00:48:53,673 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 122 places, 126 transitions, 474 flow [2023-09-01 00:48:53,675 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 122 places, 126 transitions, 474 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-09-01 00:48:53,677 INFO L231 Difference]: Finished difference. Result has 123 places, 69 transitions, 160 flow [2023-09-01 00:48:53,678 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=680, PETRI_DIFFERENCE_MINUEND_FLOW=268, PETRI_DIFFERENCE_MINUEND_PLACES=120, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=125, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=123, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=160, PETRI_PLACES=123, PETRI_TRANSITIONS=69} [2023-09-01 00:48:53,678 INFO L281 CegarLoopForPetriNet]: 132 programPoint places, -9 predicate places. [2023-09-01 00:48:53,679 INFO L495 AbstractCegarLoop]: Abstraction has has 123 places, 69 transitions, 160 flow [2023-09-01 00:48:53,679 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 302.0) internal successors, (906), 3 states have internal predecessors, (906), 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-09-01 00:48:53,679 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:48:53,679 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1, 1, 1] [2023-09-01 00:48:53,680 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-09-01 00:48:53,680 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:48:53,680 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:48:53,680 INFO L85 PathProgramCache]: Analyzing trace with hash -746752680, now seen corresponding path program 1 times [2023-09-01 00:48:53,680 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:48:53,681 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2030559126] [2023-09-01 00:48:53,681 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:48:53,681 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:48:53,689 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-09-01 00:48:53,713 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-09-01 00:48:53,713 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-09-01 00:48:53,713 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2030559126] [2023-09-01 00:48:53,713 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2030559126] provided 0 perfect and 1 imperfect interpolant sequences [2023-09-01 00:48:53,713 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [917884751] [2023-09-01 00:48:53,713 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:48:53,714 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-09-01 00:48:53,714 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-01 00:48:53,719 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-09-01 00:48:53,722 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2023-09-01 00:48:53,797 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-09-01 00:48:53,798 INFO L263 TraceCheckSpWp]: Trace formula consists of 132 conjuncts, 3 conjunts are in the unsatisfiable core [2023-09-01 00:48:53,799 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-09-01 00:48:53,809 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-09-01 00:48:53,809 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-09-01 00:48:53,824 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-09-01 00:48:53,825 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [917884751] provided 0 perfect and 2 imperfect interpolant sequences [2023-09-01 00:48:53,825 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-09-01 00:48:53,825 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 3, 3] total 6 [2023-09-01 00:48:53,825 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [856943528] [2023-09-01 00:48:53,826 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-09-01 00:48:53,826 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-09-01 00:48:53,827 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-09-01 00:48:53,828 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-09-01 00:48:53,828 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=21, Invalid=21, Unknown=0, NotChecked=0, Total=42 [2023-09-01 00:48:53,847 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 299 out of 680 [2023-09-01 00:48:53,849 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 123 places, 69 transitions, 160 flow. Second operand has 7 states, 7 states have (on average 300.7142857142857) internal successors, (2105), 7 states have internal predecessors, (2105), 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-09-01 00:48:53,849 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-09-01 00:48:53,850 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 299 of 680 [2023-09-01 00:48:53,850 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-09-01 00:48:54,488 INFO L130 PetriNetUnfolder]: 5705/9484 cut-off events. [2023-09-01 00:48:54,488 INFO L131 PetriNetUnfolder]: For 76/76 co-relation queries the response was YES. [2023-09-01 00:48:54,498 INFO L83 FinitePrefix]: Finished finitePrefix Result has 18086 conditions, 9484 events. 5705/9484 cut-off events. For 76/76 co-relation queries the response was YES. Maximal size of possible extension queue 411. Compared 64770 event pairs, 5182 based on Foata normal form. 0/5811 useless extension candidates. Maximal degree in co-relation 18073. Up to 8496 conditions per place. [2023-09-01 00:48:54,519 INFO L137 encePairwiseOnDemand]: 677/680 looper letters, 53 selfloop transitions, 5 changer transitions 0/72 dead transitions. [2023-09-01 00:48:54,519 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 76 places, 72 transitions, 288 flow [2023-09-01 00:48:54,520 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-09-01 00:48:54,520 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-09-01 00:48:54,524 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1855 transitions. [2023-09-01 00:48:54,524 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.45465686274509803 [2023-09-01 00:48:54,525 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 1855 transitions. [2023-09-01 00:48:54,525 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 1855 transitions. [2023-09-01 00:48:54,526 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-09-01 00:48:54,526 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 1855 transitions. [2023-09-01 00:48:54,529 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 309.1666666666667) internal successors, (1855), 6 states have internal predecessors, (1855), 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-09-01 00:48:54,534 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 680.0) internal successors, (4760), 7 states have internal predecessors, (4760), 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-09-01 00:48:54,535 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 680.0) internal successors, (4760), 7 states have internal predecessors, (4760), 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-09-01 00:48:54,535 INFO L175 Difference]: Start difference. First operand has 123 places, 69 transitions, 160 flow. Second operand 6 states and 1855 transitions. [2023-09-01 00:48:54,535 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 76 places, 72 transitions, 288 flow [2023-09-01 00:48:54,536 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 75 places, 72 transitions, 282 flow, removed 2 selfloop flow, removed 1 redundant places. [2023-09-01 00:48:54,537 INFO L231 Difference]: Finished difference. Result has 78 places, 72 transitions, 190 flow [2023-09-01 00:48:54,537 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=680, PETRI_DIFFERENCE_MINUEND_FLOW=154, PETRI_DIFFERENCE_MINUEND_PLACES=70, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=69, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=66, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=190, PETRI_PLACES=78, PETRI_TRANSITIONS=72} [2023-09-01 00:48:54,538 INFO L281 CegarLoopForPetriNet]: 132 programPoint places, -54 predicate places. [2023-09-01 00:48:54,538 INFO L495 AbstractCegarLoop]: Abstraction has has 78 places, 72 transitions, 190 flow [2023-09-01 00:48:54,539 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 300.7142857142857) internal successors, (2105), 7 states have internal predecessors, (2105), 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-09-01 00:48:54,539 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:48:54,539 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 2, 2, 1, 1, 1, 1, 1] [2023-09-01 00:48:54,547 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2023-09-01 00:48:54,745 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5,4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-09-01 00:48:54,745 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:48:54,745 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:48:54,745 INFO L85 PathProgramCache]: Analyzing trace with hash 1012146695, now seen corresponding path program 2 times [2023-09-01 00:48:54,746 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:48:54,746 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [540132137] [2023-09-01 00:48:54,746 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:48:54,746 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:48:54,761 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-09-01 00:48:54,826 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 0 proven. 10 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-09-01 00:48:54,826 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-09-01 00:48:54,826 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [540132137] [2023-09-01 00:48:54,826 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [540132137] provided 0 perfect and 1 imperfect interpolant sequences [2023-09-01 00:48:54,826 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [735117309] [2023-09-01 00:48:54,827 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2023-09-01 00:48:54,827 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-09-01 00:48:54,827 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-01 00:48:54,828 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-09-01 00:48:54,830 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2023-09-01 00:48:54,909 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2023-09-01 00:48:54,909 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-09-01 00:48:54,910 INFO L263 TraceCheckSpWp]: Trace formula consists of 153 conjuncts, 6 conjunts are in the unsatisfiable core [2023-09-01 00:48:54,911 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-09-01 00:48:54,934 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 0 proven. 10 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-09-01 00:48:54,935 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-09-01 00:48:54,984 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 0 proven. 10 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-09-01 00:48:54,984 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [735117309] provided 0 perfect and 2 imperfect interpolant sequences [2023-09-01 00:48:54,985 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-09-01 00:48:54,985 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 6, 6] total 12 [2023-09-01 00:48:54,985 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [635331265] [2023-09-01 00:48:54,985 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-09-01 00:48:54,985 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 13 states [2023-09-01 00:48:54,986 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-09-01 00:48:54,986 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 13 interpolants. [2023-09-01 00:48:54,987 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=78, Invalid=78, Unknown=0, NotChecked=0, Total=156 [2023-09-01 00:48:55,018 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 299 out of 680 [2023-09-01 00:48:55,023 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 78 places, 72 transitions, 190 flow. Second operand has 13 states, 13 states have (on average 300.38461538461536) internal successors, (3905), 13 states have internal predecessors, (3905), 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-09-01 00:48:55,024 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-09-01 00:48:55,024 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 299 of 680 [2023-09-01 00:48:55,024 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-09-01 00:48:55,685 INFO L130 PetriNetUnfolder]: 5705/9490 cut-off events. [2023-09-01 00:48:55,685 INFO L131 PetriNetUnfolder]: For 87/87 co-relation queries the response was YES. [2023-09-01 00:48:55,696 INFO L83 FinitePrefix]: Finished finitePrefix Result has 18114 conditions, 9490 events. 5705/9490 cut-off events. For 87/87 co-relation queries the response was YES. Maximal size of possible extension queue 408. Compared 64805 event pairs, 5182 based on Foata normal form. 6/5824 useless extension candidates. Maximal degree in co-relation 18055. Up to 8496 conditions per place. [2023-09-01 00:48:55,715 INFO L137 encePairwiseOnDemand]: 677/680 looper letters, 53 selfloop transitions, 11 changer transitions 0/78 dead transitions. [2023-09-01 00:48:55,715 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 89 places, 78 transitions, 354 flow [2023-09-01 00:48:55,716 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 12 states. [2023-09-01 00:48:55,717 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 12 states. [2023-09-01 00:48:55,724 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 12 states and 3658 transitions. [2023-09-01 00:48:55,726 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4482843137254902 [2023-09-01 00:48:55,726 INFO L72 ComplementDD]: Start complementDD. Operand 12 states and 3658 transitions. [2023-09-01 00:48:55,727 INFO L73 IsDeterministic]: Start isDeterministic. Operand 12 states and 3658 transitions. [2023-09-01 00:48:55,728 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-09-01 00:48:55,729 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 12 states and 3658 transitions. [2023-09-01 00:48:55,736 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 13 states, 12 states have (on average 304.8333333333333) internal successors, (3658), 12 states have internal predecessors, (3658), 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-09-01 00:48:55,747 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 13 states, 13 states have (on average 680.0) internal successors, (8840), 13 states have internal predecessors, (8840), 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-09-01 00:48:55,761 INFO L81 ComplementDD]: Finished complementDD. Result has 13 states, 13 states have (on average 680.0) internal successors, (8840), 13 states have internal predecessors, (8840), 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-09-01 00:48:55,762 INFO L175 Difference]: Start difference. First operand has 78 places, 72 transitions, 190 flow. Second operand 12 states and 3658 transitions. [2023-09-01 00:48:55,762 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 89 places, 78 transitions, 354 flow [2023-09-01 00:48:55,763 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 88 places, 78 transitions, 340 flow, removed 6 selfloop flow, removed 1 redundant places. [2023-09-01 00:48:55,765 INFO L231 Difference]: Finished difference. Result has 94 places, 78 transitions, 260 flow [2023-09-01 00:48:55,765 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=680, PETRI_DIFFERENCE_MINUEND_FLOW=176, PETRI_DIFFERENCE_MINUEND_PLACES=77, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=72, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=6, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=66, PETRI_DIFFERENCE_SUBTRAHEND_STATES=12, PETRI_FLOW=260, PETRI_PLACES=94, PETRI_TRANSITIONS=78} [2023-09-01 00:48:55,766 INFO L281 CegarLoopForPetriNet]: 132 programPoint places, -38 predicate places. [2023-09-01 00:48:55,767 INFO L495 AbstractCegarLoop]: Abstraction has has 94 places, 78 transitions, 260 flow [2023-09-01 00:48:55,769 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 13 states, 13 states have (on average 300.38461538461536) internal successors, (3905), 13 states have internal predecessors, (3905), 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-09-01 00:48:55,769 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:48:55,769 INFO L208 CegarLoopForPetriNet]: trace histogram [10, 3, 2, 2, 1, 1, 1, 1, 1] [2023-09-01 00:48:55,777 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Forceful destruction successful, exit code 0 [2023-09-01 00:48:55,975 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6,5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-09-01 00:48:55,975 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:48:55,976 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:48:55,976 INFO L85 PathProgramCache]: Analyzing trace with hash 868593767, now seen corresponding path program 3 times [2023-09-01 00:48:55,976 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:48:55,976 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [955511675] [2023-09-01 00:48:55,976 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:48:55,976 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:48:56,009 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:48:56,011 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-09-01 00:48:56,033 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:48:56,045 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-09-01 00:48:56,045 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-09-01 00:48:56,046 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-09-01 00:48:56,046 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-09-01 00:48:56,046 INFO L445 BasicCegarLoop]: Path program histogram: [3, 1] [2023-09-01 00:48:56,046 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (1/2) [2023-09-01 00:48:56,047 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-09-01 00:48:56,047 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-09-01 00:48:56,098 INFO L144 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2023-09-01 00:48:56,102 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 375 places, 443 transitions, 916 flow [2023-09-01 00:48:56,275 INFO L130 PetriNetUnfolder]: 168/1019 cut-off events. [2023-09-01 00:48:56,275 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-09-01 00:48:56,296 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1047 conditions, 1019 events. 168/1019 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 28. Compared 6191 event pairs, 1 based on Foata normal form. 0/694 useless extension candidates. Maximal degree in co-relation 717. Up to 16 conditions per place. [2023-09-01 00:48:56,296 INFO L82 GeneralOperation]: Start removeDead. Operand has 375 places, 443 transitions, 916 flow [2023-09-01 00:48:56,309 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 375 places, 443 transitions, 916 flow [2023-09-01 00:48:56,310 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-09-01 00:48:56,310 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 375 places, 443 transitions, 916 flow [2023-09-01 00:48:56,310 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 375 places, 443 transitions, 916 flow [2023-09-01 00:48:56,310 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 375 places, 443 transitions, 916 flow [2023-09-01 00:48:56,478 INFO L130 PetriNetUnfolder]: 168/1019 cut-off events. [2023-09-01 00:48:56,479 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-09-01 00:48:56,500 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1047 conditions, 1019 events. 168/1019 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 28. Compared 6191 event pairs, 1 based on Foata normal form. 0/694 useless extension candidates. Maximal degree in co-relation 717. Up to 16 conditions per place. [2023-09-01 00:48:56,553 INFO L119 LiptonReduction]: Number of co-enabled transitions 118974 [2023-09-01 00:49:01,713 INFO L134 LiptonReduction]: Checked pairs total: 257632 [2023-09-01 00:49:01,713 INFO L136 LiptonReduction]: Total number of compositions: 387 [2023-09-01 00:49:01,715 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-09-01 00:49:01,716 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@39e26f79, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-09-01 00:49:01,716 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-09-01 00:49:01,746 INFO L130 PetriNetUnfolder]: 94/352 cut-off events. [2023-09-01 00:49:01,746 INFO L131 PetriNetUnfolder]: For 10/10 co-relation queries the response was YES. [2023-09-01 00:49:01,746 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:49:01,746 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1, 1] [2023-09-01 00:49:01,746 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:49:01,747 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:49:01,747 INFO L85 PathProgramCache]: Analyzing trace with hash 1884131179, now seen corresponding path program 1 times [2023-09-01 00:49:01,747 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:49:01,747 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1013539569] [2023-09-01 00:49:01,747 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:49:01,747 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:49:01,757 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-09-01 00:49:01,775 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 18 trivial. 0 not checked. [2023-09-01 00:49:01,776 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-09-01 00:49:01,776 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1013539569] [2023-09-01 00:49:01,776 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1013539569] provided 1 perfect and 0 imperfect interpolant sequences [2023-09-01 00:49:01,776 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-09-01 00:49:01,777 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-09-01 00:49:01,777 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1361766693] [2023-09-01 00:49:01,777 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-09-01 00:49:01,777 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-09-01 00:49:01,777 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-09-01 00:49:01,778 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-09-01 00:49:01,778 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-09-01 00:49:01,788 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 366 out of 830 [2023-09-01 00:49:01,789 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 163 places, 222 transitions, 474 flow. Second operand has 3 states, 3 states have (on average 368.3333333333333) internal successors, (1105), 3 states have internal predecessors, (1105), 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-09-01 00:49:01,789 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-09-01 00:49:01,789 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 366 of 830 [2023-09-01 00:49:01,789 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand