./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/pthread-complex/safestack_relacy.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/pthread-complex/safestack_relacy.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 1d61eb304445c3cb39dfadfa4748d680ea5f0f4958f8bc176e8bc3c77c47e674 --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-08-31 23:59:13,678 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-31 23:59:13,681 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-31 23:59:13,723 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-31 23:59:13,723 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-31 23:59:13,726 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-31 23:59:13,728 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-31 23:59:13,731 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-31 23:59:13,733 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-31 23:59:13,737 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-31 23:59:13,738 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-31 23:59:13,740 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-31 23:59:13,740 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-31 23:59:13,742 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-31 23:59:13,743 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-31 23:59:13,750 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-31 23:59:13,751 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-31 23:59:13,752 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-31 23:59:13,754 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-31 23:59:13,764 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-31 23:59:13,766 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-31 23:59:13,767 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-31 23:59:13,768 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-31 23:59:13,769 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-31 23:59:13,775 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-31 23:59:13,775 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-31 23:59:13,776 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-31 23:59:13,778 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-31 23:59:13,778 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-31 23:59:13,779 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-31 23:59:13,780 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-31 23:59:13,780 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-31 23:59:13,782 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-31 23:59:13,783 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-31 23:59:13,784 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-31 23:59:13,784 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-31 23:59:13,784 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-31 23:59:13,784 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-31 23:59:13,785 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-31 23:59:13,785 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-31 23:59:13,786 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-31 23:59:13,787 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-08-31 23:59:13,808 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-31 23:59:13,808 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-31 23:59:13,809 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-31 23:59:13,809 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-31 23:59:13,810 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-31 23:59:13,810 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-31 23:59:13,811 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-31 23:59:13,811 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-31 23:59:13,811 INFO L138 SettingsManager]: * Use SBE=true [2023-08-31 23:59:13,812 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-31 23:59:13,812 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-31 23:59:13,813 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-31 23:59:13,813 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-31 23:59:13,813 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-31 23:59:13,813 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-31 23:59:13,813 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-31 23:59:13,813 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-31 23:59:13,813 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-31 23:59:13,814 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-31 23:59:13,814 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-31 23:59:13,814 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-31 23:59:13,814 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-31 23:59:13,814 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-31 23:59:13,815 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-31 23:59:13,815 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-31 23:59:13,815 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-31 23:59:13,815 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-31 23:59:13,815 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-31 23:59:13,815 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-31 23:59:13,816 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-31 23:59:13,816 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-31 23:59:13,816 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-31 23:59:13,816 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-31 23:59:13,816 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-31 23:59:13,817 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 -> 1d61eb304445c3cb39dfadfa4748d680ea5f0f4958f8bc176e8bc3c77c47e674 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-08-31 23:59:14,115 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-31 23:59:14,136 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-31 23:59:14,138 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-31 23:59:14,139 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-31 23:59:14,140 INFO L275 PluginConnector]: CDTParser initialized [2023-08-31 23:59:14,141 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-complex/safestack_relacy.i [2023-08-31 23:59:15,350 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-31 23:59:15,716 INFO L351 CDTParser]: Found 1 translation units. [2023-08-31 23:59:15,716 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/safestack_relacy.i [2023-08-31 23:59:15,742 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6e4d012e6/669405cb5a964916a66d491a090fdc94/FLAGc76c1c6af [2023-08-31 23:59:15,754 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6e4d012e6/669405cb5a964916a66d491a090fdc94 [2023-08-31 23:59:15,756 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-31 23:59:15,757 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-31 23:59:15,760 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-31 23:59:15,760 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-31 23:59:15,763 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-31 23:59:15,764 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.08 11:59:15" (1/1) ... [2023-08-31 23:59:15,765 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@52cc3bec and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:15, skipping insertion in model container [2023-08-31 23:59:15,765 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 31.08 11:59:15" (1/1) ... [2023-08-31 23:59:15,770 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-31 23:59:15,837 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-31 23:59:16,365 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/safestack_relacy.i[78860,78873] [2023-08-31 23:59:16,372 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-31 23:59:16,383 INFO L203 MainTranslator]: Completed pre-run [2023-08-31 23:59:16,470 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-complex/safestack_relacy.i[78860,78873] [2023-08-31 23:59:16,475 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-31 23:59:16,602 WARN L667 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-08-31 23:59:16,603 WARN L667 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-08-31 23:59:16,608 INFO L208 MainTranslator]: Completed translation [2023-08-31 23:59:16,609 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16 WrapperNode [2023-08-31 23:59:16,609 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-31 23:59:16,626 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-31 23:59:16,626 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-31 23:59:16,626 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-31 23:59:16,633 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,666 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,716 INFO L138 Inliner]: procedures = 481, calls = 74, calls flagged for inlining = 19, calls inlined = 19, statements flattened = 283 [2023-08-31 23:59:16,718 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-31 23:59:16,719 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-31 23:59:16,719 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-31 23:59:16,719 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-31 23:59:16,727 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,728 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,742 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,743 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,761 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,765 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,768 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,788 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,794 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-31 23:59:16,795 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-31 23:59:16,795 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-31 23:59:16,795 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-31 23:59:16,796 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (1/1) ... [2023-08-31 23:59:16,811 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-31 23:59:16,823 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-31 23:59:16,838 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-08-31 23:59:16,868 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-08-31 23:59:16,881 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-08-31 23:59:16,882 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-31 23:59:16,882 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-08-31 23:59:16,882 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-31 23:59:16,882 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-31 23:59:16,882 INFO L130 BoogieDeclarations]: Found specification of procedure thread [2023-08-31 23:59:16,882 INFO L138 BoogieDeclarations]: Found implementation of procedure thread [2023-08-31 23:59:16,883 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-31 23:59:16,883 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-31 23:59:16,883 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-31 23:59:16,883 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-31 23:59:16,883 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-31 23:59:16,884 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-31 23:59:17,224 INFO L236 CfgBuilder]: Building ICFG [2023-08-31 23:59:17,226 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-31 23:59:17,679 INFO L277 CfgBuilder]: Performing block encoding [2023-08-31 23:59:17,835 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-31 23:59:17,835 INFO L302 CfgBuilder]: Removed 7 assume(true) statements. [2023-08-31 23:59:17,838 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.08 11:59:17 BoogieIcfgContainer [2023-08-31 23:59:17,838 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-31 23:59:17,840 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-31 23:59:17,840 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-31 23:59:17,843 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-31 23:59:17,843 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 31.08 11:59:15" (1/3) ... [2023-08-31 23:59:17,843 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5b0521b4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 31.08 11:59:17, skipping insertion in model container [2023-08-31 23:59:17,844 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 31.08 11:59:16" (2/3) ... [2023-08-31 23:59:17,844 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5b0521b4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 31.08 11:59:17, skipping insertion in model container [2023-08-31 23:59:17,844 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 31.08 11:59:17" (3/3) ... [2023-08-31 23:59:17,845 INFO L112 eAbstractionObserver]: Analyzing ICFG safestack_relacy.i [2023-08-31 23:59:17,860 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-31 23:59:17,861 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 68 error locations. [2023-08-31 23:59:17,861 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-31 23:59:17,991 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-08-31 23:59:18,031 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 304 places, 318 transitions, 644 flow [2023-08-31 23:59:18,125 INFO L130 PetriNetUnfolder]: 19/339 cut-off events. [2023-08-31 23:59:18,126 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-31 23:59:18,132 INFO L83 FinitePrefix]: Finished finitePrefix Result has 345 conditions, 339 events. 19/339 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 826 event pairs, 0 based on Foata normal form. 0/244 useless extension candidates. Maximal degree in co-relation 243. Up to 4 conditions per place. [2023-08-31 23:59:18,133 INFO L82 GeneralOperation]: Start removeDead. Operand has 304 places, 318 transitions, 644 flow [2023-08-31 23:59:18,138 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 292 places, 305 transitions, 615 flow [2023-08-31 23:59:18,141 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-31 23:59:18,149 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 292 places, 305 transitions, 615 flow [2023-08-31 23:59:18,151 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 292 places, 305 transitions, 615 flow [2023-08-31 23:59:18,151 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 292 places, 305 transitions, 615 flow [2023-08-31 23:59:18,200 INFO L130 PetriNetUnfolder]: 18/326 cut-off events. [2023-08-31 23:59:18,200 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-31 23:59:18,203 INFO L83 FinitePrefix]: Finished finitePrefix Result has 331 conditions, 326 events. 18/326 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 753 event pairs, 0 based on Foata normal form. 0/239 useless extension candidates. Maximal degree in co-relation 243. Up to 4 conditions per place. [2023-08-31 23:59:18,208 INFO L119 LiptonReduction]: Number of co-enabled transitions 11718 [2023-08-31 23:59:30,392 INFO L134 LiptonReduction]: Checked pairs total: 18999 [2023-08-31 23:59:30,393 INFO L136 LiptonReduction]: Total number of compositions: 396 [2023-08-31 23:59:30,403 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-31 23:59:30,408 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;@3273c0a5, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-31 23:59:30,409 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-31 23:59:30,413 INFO L130 PetriNetUnfolder]: 1/24 cut-off events. [2023-08-31 23:59:30,414 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-31 23:59:30,414 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-31 23:59:30,414 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2023-08-31 23:59:30,415 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-31 23:59:30,419 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-31 23:59:30,419 INFO L85 PathProgramCache]: Analyzing trace with hash -1390797228, now seen corresponding path program 1 times [2023-08-31 23:59:30,427 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-31 23:59:30,427 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [462802388] [2023-08-31 23:59:30,428 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-31 23:59:30,428 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-31 23:59:30,626 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-31 23:59:30,901 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-08-31 23:59:30,901 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-31 23:59:30,902 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [462802388] [2023-08-31 23:59:30,902 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [462802388] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-31 23:59:30,903 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-31 23:59:30,903 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-08-31 23:59:30,904 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [97610382] [2023-08-31 23:59:30,904 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-31 23:59:30,911 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-31 23:59:30,916 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-31 23:59:30,932 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-31 23:59:30,932 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-31 23:59:30,964 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 267 out of 714 [2023-08-31 23:59:30,970 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 95 places, 102 transitions, 209 flow. Second operand has 3 states, 3 states have (on average 268.6666666666667) internal successors, (806), 3 states have internal predecessors, (806), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:30,970 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-31 23:59:30,970 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 267 of 714 [2023-08-31 23:59:30,971 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-31 23:59:31,180 INFO L130 PetriNetUnfolder]: 364/783 cut-off events. [2023-08-31 23:59:31,180 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-31 23:59:31,181 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1531 conditions, 783 events. 364/783 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 75. Compared 3964 event pairs, 315 based on Foata normal form. 8/299 useless extension candidates. Maximal degree in co-relation 1500. Up to 741 conditions per place. [2023-08-31 23:59:31,196 INFO L137 encePairwiseOnDemand]: 678/714 looper letters, 56 selfloop transitions, 2 changer transitions 5/69 dead transitions. [2023-08-31 23:59:31,197 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 66 places, 69 transitions, 269 flow [2023-08-31 23:59:31,198 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-31 23:59:31,200 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-31 23:59:31,211 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 898 transitions. [2023-08-31 23:59:31,216 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.419234360410831 [2023-08-31 23:59:31,217 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 898 transitions. [2023-08-31 23:59:31,217 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 898 transitions. [2023-08-31 23:59:31,221 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-31 23:59:31,224 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 898 transitions. [2023-08-31 23:59:31,230 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 299.3333333333333) internal successors, (898), 3 states have internal predecessors, (898), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:31,238 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 714.0) internal successors, (2856), 4 states have internal predecessors, (2856), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:31,239 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 714.0) internal successors, (2856), 4 states have internal predecessors, (2856), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:31,241 INFO L175 Difference]: Start difference. First operand has 95 places, 102 transitions, 209 flow. Second operand 3 states and 898 transitions. [2023-08-31 23:59:31,241 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 66 places, 69 transitions, 269 flow [2023-08-31 23:59:31,243 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 66 places, 69 transitions, 269 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-31 23:59:31,246 INFO L231 Difference]: Finished difference. Result has 67 places, 64 transitions, 143 flow [2023-08-31 23:59:31,247 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=714, PETRI_DIFFERENCE_MINUEND_FLOW=141, PETRI_DIFFERENCE_MINUEND_PLACES=64, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=68, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=66, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=143, PETRI_PLACES=67, PETRI_TRANSITIONS=64} [2023-08-31 23:59:31,251 INFO L281 CegarLoopForPetriNet]: 95 programPoint places, -28 predicate places. [2023-08-31 23:59:31,251 INFO L495 AbstractCegarLoop]: Abstraction has has 67 places, 64 transitions, 143 flow [2023-08-31 23:59:31,252 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 268.6666666666667) internal successors, (806), 3 states have internal predecessors, (806), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:31,252 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-31 23:59:31,252 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1, 1] [2023-08-31 23:59:31,253 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-31 23:59:31,253 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-31 23:59:31,261 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-31 23:59:31,261 INFO L85 PathProgramCache]: Analyzing trace with hash -1830954255, now seen corresponding path program 1 times [2023-08-31 23:59:31,262 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-31 23:59:31,264 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [7606344] [2023-08-31 23:59:31,264 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-31 23:59:31,264 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-31 23:59:31,301 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-31 23:59:31,411 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-08-31 23:59:31,411 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-31 23:59:31,411 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [7606344] [2023-08-31 23:59:31,412 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [7606344] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-31 23:59:31,412 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [373140108] [2023-08-31 23:59:31,412 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-31 23:59:31,412 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-31 23:59:31,413 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-31 23:59:31,417 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-08-31 23:59:31,434 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-08-31 23:59:31,553 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-31 23:59:31,555 INFO L263 TraceCheckSpWp]: Trace formula consists of 169 conjuncts, 5 conjunts are in the unsatisfiable core [2023-08-31 23:59:31,559 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-31 23:59:31,606 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-08-31 23:59:31,606 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-31 23:59:31,624 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2023-08-31 23:59:31,625 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [373140108] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-31 23:59:31,625 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-31 23:59:31,625 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 3, 3] total 7 [2023-08-31 23:59:31,626 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1345545951] [2023-08-31 23:59:31,626 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-31 23:59:31,626 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-31 23:59:31,627 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-31 23:59:31,627 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-31 23:59:31,627 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=25, Invalid=31, Unknown=0, NotChecked=0, Total=56 [2023-08-31 23:59:31,666 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 265 out of 714 [2023-08-31 23:59:31,669 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 67 places, 64 transitions, 143 flow. Second operand has 8 states, 8 states have (on average 266.5) internal successors, (2132), 8 states have internal predecessors, (2132), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:31,669 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-31 23:59:31,669 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 265 of 714 [2023-08-31 23:59:31,669 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-31 23:59:31,892 INFO L130 PetriNetUnfolder]: 109/269 cut-off events. [2023-08-31 23:59:31,892 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-31 23:59:31,893 INFO L83 FinitePrefix]: Finished finitePrefix Result has 536 conditions, 269 events. 109/269 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 25. Compared 1027 event pairs, 90 based on Foata normal form. 0/172 useless extension candidates. Maximal degree in co-relation 524. Up to 251 conditions per place. [2023-08-31 23:59:31,894 INFO L137 encePairwiseOnDemand]: 711/714 looper letters, 56 selfloop transitions, 3 changer transitions 0/65 dead transitions. [2023-08-31 23:59:31,894 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 65 places, 65 transitions, 265 flow [2023-08-31 23:59:31,894 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-08-31 23:59:31,895 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-08-31 23:59:31,897 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 1120 transitions. [2023-08-31 23:59:31,898 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.39215686274509803 [2023-08-31 23:59:31,898 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 1120 transitions. [2023-08-31 23:59:31,898 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 1120 transitions. [2023-08-31 23:59:31,899 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-31 23:59:31,899 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 1120 transitions. [2023-08-31 23:59:31,901 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 280.0) internal successors, (1120), 4 states have internal predecessors, (1120), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:31,906 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 714.0) internal successors, (3570), 5 states have internal predecessors, (3570), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:31,908 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 714.0) internal successors, (3570), 5 states have internal predecessors, (3570), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:31,908 INFO L175 Difference]: Start difference. First operand has 67 places, 64 transitions, 143 flow. Second operand 4 states and 1120 transitions. [2023-08-31 23:59:31,908 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 65 places, 65 transitions, 265 flow [2023-08-31 23:59:31,910 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 64 places, 65 transitions, 261 flow, removed 1 selfloop flow, removed 1 redundant places. [2023-08-31 23:59:31,911 INFO L231 Difference]: Finished difference. Result has 65 places, 65 transitions, 155 flow [2023-08-31 23:59:31,911 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=714, PETRI_DIFFERENCE_MINUEND_FLOW=139, PETRI_DIFFERENCE_MINUEND_PLACES=61, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=64, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=61, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=155, PETRI_PLACES=65, PETRI_TRANSITIONS=65} [2023-08-31 23:59:31,912 INFO L281 CegarLoopForPetriNet]: 95 programPoint places, -30 predicate places. [2023-08-31 23:59:31,912 INFO L495 AbstractCegarLoop]: Abstraction has has 65 places, 65 transitions, 155 flow [2023-08-31 23:59:31,914 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 266.5) internal successors, (2132), 8 states have internal predecessors, (2132), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:31,914 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-31 23:59:31,914 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1, 1] [2023-08-31 23:59:31,923 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2023-08-31 23:59:32,120 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-08-31 23:59:32,120 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-31 23:59:32,121 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-31 23:59:32,121 INFO L85 PathProgramCache]: Analyzing trace with hash 1704047092, now seen corresponding path program 2 times [2023-08-31 23:59:32,121 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-31 23:59:32,121 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [887996502] [2023-08-31 23:59:32,121 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-31 23:59:32,121 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-31 23:59:32,165 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-31 23:59:32,166 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-31 23:59:32,228 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-31 23:59:32,258 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-31 23:59:32,259 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-31 23:59:32,260 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-31 23:59:32,263 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-08-31 23:59:32,263 INFO L445 BasicCegarLoop]: Path program histogram: [2, 1] [2023-08-31 23:59:32,268 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (1/2) [2023-08-31 23:59:32,269 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-31 23:59:32,270 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-31 23:59:32,353 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-08-31 23:59:32,358 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 512 places, 537 transitions, 1092 flow [2023-08-31 23:59:32,469 INFO L130 PetriNetUnfolder]: 36/606 cut-off events. [2023-08-31 23:59:32,469 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-31 23:59:32,480 INFO L83 FinitePrefix]: Finished finitePrefix Result has 620 conditions, 606 events. 36/606 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 23. Compared 2414 event pairs, 0 based on Foata normal form. 0/430 useless extension candidates. Maximal degree in co-relation 478. Up to 8 conditions per place. [2023-08-31 23:59:32,480 INFO L82 GeneralOperation]: Start removeDead. Operand has 512 places, 537 transitions, 1092 flow [2023-08-31 23:59:32,485 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 504 places, 529 transitions, 1076 flow [2023-08-31 23:59:32,485 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-31 23:59:32,485 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 504 places, 529 transitions, 1076 flow [2023-08-31 23:59:32,486 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 504 places, 529 transitions, 1076 flow [2023-08-31 23:59:32,486 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 504 places, 529 transitions, 1076 flow [2023-08-31 23:59:32,607 INFO L130 PetriNetUnfolder]: 36/598 cut-off events. [2023-08-31 23:59:32,607 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-31 23:59:32,617 INFO L83 FinitePrefix]: Finished finitePrefix Result has 612 conditions, 598 events. 36/598 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 23. Compared 2386 event pairs, 0 based on Foata normal form. 0/430 useless extension candidates. Maximal degree in co-relation 478. Up to 8 conditions per place. [2023-08-31 23:59:32,655 INFO L119 LiptonReduction]: Number of co-enabled transitions 122388 [2023-08-31 23:59:48,036 INFO L134 LiptonReduction]: Checked pairs total: 253189 [2023-08-31 23:59:48,036 INFO L136 LiptonReduction]: Total number of compositions: 619 [2023-08-31 23:59:48,042 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-31 23:59:48,043 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;@3273c0a5, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-31 23:59:48,043 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-31 23:59:48,051 INFO L130 PetriNetUnfolder]: 6/87 cut-off events. [2023-08-31 23:59:48,052 INFO L131 PetriNetUnfolder]: For 5/5 co-relation queries the response was YES. [2023-08-31 23:59:48,052 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-31 23:59:48,052 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1, 1] [2023-08-31 23:59:48,052 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-31 23:59:48,053 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-31 23:59:48,053 INFO L85 PathProgramCache]: Analyzing trace with hash 169869159, now seen corresponding path program 1 times [2023-08-31 23:59:48,053 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-31 23:59:48,053 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [688788739] [2023-08-31 23:59:48,053 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-31 23:59:48,053 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-31 23:59:48,069 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-31 23:59:48,155 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-08-31 23:59:48,155 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-31 23:59:48,155 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [688788739] [2023-08-31 23:59:48,155 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [688788739] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-31 23:59:48,156 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-31 23:59:48,156 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-08-31 23:59:48,156 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [619458589] [2023-08-31 23:59:48,156 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-31 23:59:48,156 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-31 23:59:48,157 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-31 23:59:48,157 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-31 23:59:48,157 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-31 23:59:48,175 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 443 out of 1156 [2023-08-31 23:59:48,177 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 184 places, 200 transitions, 418 flow. Second operand has 3 states, 3 states have (on average 445.0) internal successors, (1335), 3 states have internal predecessors, (1335), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:48,177 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-31 23:59:48,177 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 443 of 1156 [2023-08-31 23:59:48,177 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-31 23:59:54,945 INFO L130 PetriNetUnfolder]: 57590/89063 cut-off events. [2023-08-31 23:59:54,946 INFO L131 PetriNetUnfolder]: For 396/396 co-relation queries the response was YES. [2023-08-31 23:59:55,045 INFO L83 FinitePrefix]: Finished finitePrefix Result has 174415 conditions, 89063 events. 57590/89063 cut-off events. For 396/396 co-relation queries the response was YES. Maximal size of possible extension queue 2555. Compared 703244 event pairs, 50646 based on Foata normal form. 1149/38675 useless extension candidates. Maximal degree in co-relation 155913. Up to 85099 conditions per place. [2023-08-31 23:59:55,180 INFO L137 encePairwiseOnDemand]: 1099/1156 looper letters, 110 selfloop transitions, 2 changer transitions 13/145 dead transitions. [2023-08-31 23:59:55,181 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 136 places, 145 transitions, 556 flow [2023-08-31 23:59:55,181 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-31 23:59:55,181 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-31 23:59:55,184 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 1508 transitions. [2023-08-31 23:59:55,185 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4348327566320646 [2023-08-31 23:59:55,189 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 1508 transitions. [2023-08-31 23:59:55,190 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 1508 transitions. [2023-08-31 23:59:55,191 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-31 23:59:55,191 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 1508 transitions. [2023-08-31 23:59:55,194 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 502.6666666666667) internal successors, (1508), 3 states have internal predecessors, (1508), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:55,200 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 1156.0) internal successors, (4624), 4 states have internal predecessors, (4624), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:55,202 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 1156.0) internal successors, (4624), 4 states have internal predecessors, (4624), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:55,202 INFO L175 Difference]: Start difference. First operand has 184 places, 200 transitions, 418 flow. Second operand 3 states and 1508 transitions. [2023-08-31 23:59:55,202 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 136 places, 145 transitions, 556 flow [2023-08-31 23:59:55,206 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 136 places, 145 transitions, 556 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-31 23:59:55,209 INFO L231 Difference]: Finished difference. Result has 137 places, 132 transitions, 286 flow [2023-08-31 23:59:55,209 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=1156, PETRI_DIFFERENCE_MINUEND_FLOW=306, PETRI_DIFFERENCE_MINUEND_PLACES=134, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=144, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=142, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=286, PETRI_PLACES=137, PETRI_TRANSITIONS=132} [2023-08-31 23:59:55,212 INFO L281 CegarLoopForPetriNet]: 184 programPoint places, -47 predicate places. [2023-08-31 23:59:55,212 INFO L495 AbstractCegarLoop]: Abstraction has has 137 places, 132 transitions, 286 flow [2023-08-31 23:59:55,213 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 445.0) internal successors, (1335), 3 states have internal predecessors, (1335), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:55,213 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-31 23:59:55,213 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1, 1, 1] [2023-08-31 23:59:55,213 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-31 23:59:55,213 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-31 23:59:55,214 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-31 23:59:55,214 INFO L85 PathProgramCache]: Analyzing trace with hash -822794762, now seen corresponding path program 1 times [2023-08-31 23:59:55,214 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-31 23:59:55,214 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2066675670] [2023-08-31 23:59:55,214 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-31 23:59:55,214 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-31 23:59:55,238 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-31 23:59:55,327 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-08-31 23:59:55,327 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-31 23:59:55,327 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2066675670] [2023-08-31 23:59:55,327 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2066675670] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-31 23:59:55,328 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1440519525] [2023-08-31 23:59:55,328 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-31 23:59:55,328 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-31 23:59:55,328 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-31 23:59:55,333 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-08-31 23:59:55,338 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-08-31 23:59:55,476 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-31 23:59:55,477 INFO L263 TraceCheckSpWp]: Trace formula consists of 192 conjuncts, 5 conjunts are in the unsatisfiable core [2023-08-31 23:59:55,479 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-31 23:59:55,505 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-08-31 23:59:55,505 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-31 23:59:55,525 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 8 trivial. 0 not checked. [2023-08-31 23:59:55,525 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1440519525] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-31 23:59:55,526 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-31 23:59:55,526 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 3, 3] total 7 [2023-08-31 23:59:55,526 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [570252141] [2023-08-31 23:59:55,526 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-31 23:59:55,527 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-31 23:59:55,527 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-31 23:59:55,527 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-31 23:59:55,528 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=25, Invalid=31, Unknown=0, NotChecked=0, Total=56 [2023-08-31 23:59:55,559 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 441 out of 1156 [2023-08-31 23:59:55,563 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 137 places, 132 transitions, 286 flow. Second operand has 8 states, 8 states have (on average 442.625) internal successors, (3541), 8 states have internal predecessors, (3541), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:55,563 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-31 23:59:55,563 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 441 of 1156 [2023-08-31 23:59:55,563 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-31 23:59:57,633 INFO L130 PetriNetUnfolder]: 12613/20357 cut-off events. [2023-08-31 23:59:57,634 INFO L131 PetriNetUnfolder]: For 144/144 co-relation queries the response was YES. [2023-08-31 23:59:57,658 INFO L83 FinitePrefix]: Finished finitePrefix Result has 39908 conditions, 20357 events. 12613/20357 cut-off events. For 144/144 co-relation queries the response was YES. Maximal size of possible extension queue 755. Compared 145980 event pairs, 10902 based on Foata normal form. 0/11545 useless extension candidates. Maximal degree in co-relation 39895. Up to 19385 conditions per place. [2023-08-31 23:59:57,710 INFO L137 encePairwiseOnDemand]: 1153/1156 looper letters, 110 selfloop transitions, 3 changer transitions 0/133 dead transitions. [2023-08-31 23:59:57,710 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 129 places, 133 transitions, 516 flow [2023-08-31 23:59:57,711 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-08-31 23:59:57,711 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-08-31 23:59:57,715 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 1878 transitions. [2023-08-31 23:59:57,716 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4061418685121107 [2023-08-31 23:59:57,716 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 1878 transitions. [2023-08-31 23:59:57,716 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 1878 transitions. [2023-08-31 23:59:57,717 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-31 23:59:57,717 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 1878 transitions. [2023-08-31 23:59:57,721 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 469.5) internal successors, (1878), 4 states have internal predecessors, (1878), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:57,728 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 1156.0) internal successors, (5780), 5 states have internal predecessors, (5780), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:57,730 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 1156.0) internal successors, (5780), 5 states have internal predecessors, (5780), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:57,731 INFO L175 Difference]: Start difference. First operand has 137 places, 132 transitions, 286 flow. Second operand 4 states and 1878 transitions. [2023-08-31 23:59:57,731 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 129 places, 133 transitions, 516 flow [2023-08-31 23:59:57,732 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 128 places, 133 transitions, 510 flow, removed 2 selfloop flow, removed 1 redundant places. [2023-08-31 23:59:57,734 INFO L231 Difference]: Finished difference. Result has 129 places, 133 transitions, 296 flow [2023-08-31 23:59:57,734 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=1156, PETRI_DIFFERENCE_MINUEND_FLOW=280, PETRI_DIFFERENCE_MINUEND_PLACES=125, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=132, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=129, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=296, PETRI_PLACES=129, PETRI_TRANSITIONS=133} [2023-08-31 23:59:57,735 INFO L281 CegarLoopForPetriNet]: 184 programPoint places, -55 predicate places. [2023-08-31 23:59:57,735 INFO L495 AbstractCegarLoop]: Abstraction has has 129 places, 133 transitions, 296 flow [2023-08-31 23:59:57,737 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 442.625) internal successors, (3541), 8 states have internal predecessors, (3541), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-31 23:59:57,737 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-31 23:59:57,737 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 2, 1, 1, 1, 1, 1] [2023-08-31 23:59:57,747 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-08-31 23:59:57,943 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4,3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-31 23:59:57,944 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-31 23:59:57,944 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-31 23:59:57,947 INFO L85 PathProgramCache]: Analyzing trace with hash -1530605241, now seen corresponding path program 2 times [2023-08-31 23:59:57,947 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-31 23:59:57,947 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [544661642] [2023-08-31 23:59:57,948 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-31 23:59:57,948 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-31 23:59:57,980 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-31 23:59:57,981 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-31 23:59:58,003 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-31 23:59:58,020 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-31 23:59:58,021 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-31 23:59:58,021 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-31 23:59:58,021 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-08-31 23:59:58,021 INFO L445 BasicCegarLoop]: Path program histogram: [2, 1] [2023-08-31 23:59:58,022 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (1/2) [2023-08-31 23:59:58,022 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-31 23:59:58,022 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-08-31 23:59:58,110 INFO L144 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2023-08-31 23:59:58,117 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 720 places, 756 transitions, 1542 flow [2023-08-31 23:59:58,350 INFO L130 PetriNetUnfolder]: 58/910 cut-off events. [2023-08-31 23:59:58,350 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-31 23:59:58,382 INFO L83 FinitePrefix]: Finished finitePrefix Result has 938 conditions, 910 events. 58/910 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 26. Compared 4655 event pairs, 1 based on Foata normal form. 0/643 useless extension candidates. Maximal degree in co-relation 733. Up to 16 conditions per place. [2023-08-31 23:59:58,382 INFO L82 GeneralOperation]: Start removeDead. Operand has 720 places, 756 transitions, 1542 flow [2023-08-31 23:59:58,392 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 712 places, 748 transitions, 1526 flow [2023-08-31 23:59:58,393 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-31 23:59:58,393 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 712 places, 748 transitions, 1526 flow [2023-08-31 23:59:58,393 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 712 places, 748 transitions, 1526 flow [2023-08-31 23:59:58,393 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 712 places, 748 transitions, 1526 flow [2023-08-31 23:59:58,593 INFO L130 PetriNetUnfolder]: 58/902 cut-off events. [2023-08-31 23:59:58,594 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-31 23:59:58,622 INFO L83 FinitePrefix]: Finished finitePrefix Result has 930 conditions, 902 events. 58/902 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 26. Compared 4611 event pairs, 1 based on Foata normal form. 0/643 useless extension candidates. Maximal degree in co-relation 733. Up to 16 conditions per place. [2023-08-31 23:59:58,712 INFO L119 LiptonReduction]: Number of co-enabled transitions 326802 [2023-09-01 00:00:19,641 INFO L134 LiptonReduction]: Checked pairs total: 678487 [2023-09-01 00:00:19,641 INFO L136 LiptonReduction]: Total number of compositions: 866 [2023-09-01 00:00:19,646 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-09-01 00:00:19,650 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;@3273c0a5, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-09-01 00:00:19,650 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-09-01 00:00:19,673 INFO L130 PetriNetUnfolder]: 16/194 cut-off events. [2023-09-01 00:00:19,673 INFO L131 PetriNetUnfolder]: For 13/13 co-relation queries the response was YES. [2023-09-01 00:00:19,674 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:00:19,674 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1, 1] [2023-09-01 00:00:19,674 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:00:19,676 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:00:19,676 INFO L85 PathProgramCache]: Analyzing trace with hash -704797327, now seen corresponding path program 1 times [2023-09-01 00:00:19,676 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:00:19,676 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1599022312] [2023-09-01 00:00:19,676 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:00:19,677 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:00:19,697 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-09-01 00:00:19,778 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:00:19,779 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-09-01 00:00:19,779 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1599022312] [2023-09-01 00:00:19,779 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1599022312] provided 1 perfect and 0 imperfect interpolant sequences [2023-09-01 00:00:19,779 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-09-01 00:00:19,779 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-09-01 00:00:19,779 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1489230995] [2023-09-01 00:00:19,780 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-09-01 00:00:19,780 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-09-01 00:00:19,780 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-09-01 00:00:19,781 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-09-01 00:00:19,781 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-09-01 00:00:19,797 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 619 out of 1622 [2023-09-01 00:00:19,799 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 266 places, 290 transitions, 610 flow. Second operand has 3 states, 3 states have (on average 621.3333333333334) internal successors, (1864), 3 states have internal predecessors, (1864), 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:00:19,799 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-09-01 00:00:19,799 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 619 of 1622 [2023-09-01 00:00:19,800 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand