./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/pthread-ext/29_conditionals_vs.i --full-output --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --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-ext/29_conditionals_vs.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 c3f647420f42d7fdb333957b618cdd528a4c5a4cecdb35105a1a2630df70b3d6 --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --- Real Ultimate output --- This is Ultimate 0.2.3-?-b8dbc81 [2023-08-29 19:57:13,713 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 19:57:13,714 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 19:57:13,747 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 19:57:13,747 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 19:57:13,750 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 19:57:13,752 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 19:57:13,755 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 19:57:13,757 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 19:57:13,761 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 19:57:13,762 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 19:57:13,765 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 19:57:13,765 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 19:57:13,767 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 19:57:13,769 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 19:57:13,774 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 19:57:13,775 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 19:57:13,776 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 19:57:13,778 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 19:57:13,783 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 19:57:13,784 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 19:57:13,785 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 19:57:13,792 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 19:57:13,794 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 19:57:13,800 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 19:57:13,801 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 19:57:13,801 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 19:57:13,803 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 19:57:13,803 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 19:57:13,804 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 19:57:13,804 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 19:57:13,806 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 19:57:13,808 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 19:57:13,808 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 19:57:13,809 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 19:57:13,809 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 19:57:13,810 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 19:57:13,810 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 19:57:13,810 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 19:57:13,811 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 19:57:13,812 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 19:57:13,813 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-08-29 19:57:13,853 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 19:57:13,853 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 19:57:13,854 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 19:57:13,854 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 19:57:13,855 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 19:57:13,856 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 19:57:13,856 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 19:57:13,856 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 19:57:13,856 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 19:57:13,857 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 19:57:13,857 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 19:57:13,858 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 19:57:13,858 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 19:57:13,858 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 19:57:13,858 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 19:57:13,858 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 19:57:13,859 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 19:57:13,859 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 19:57:13,859 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 19:57:13,859 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 19:57:13,859 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 19:57:13,860 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 19:57:13,860 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 19:57:13,860 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 19:57:13,860 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 19:57:13,860 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 19:57:13,861 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 19:57:13,861 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 19:57:13,861 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-29 19:57:13,861 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-29 19:57:13,861 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 19:57:13,862 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 19:57:13,862 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 19:57:13,862 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 19:57:13,862 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 -> c3f647420f42d7fdb333957b618cdd528a4c5a4cecdb35105a1a2630df70b3d6 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: When to check the insufficient erros location relative to the other error locations -> AFTER [2023-08-29 19:57:14,137 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 19:57:14,162 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 19:57:14,164 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 19:57:14,166 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 19:57:14,166 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 19:57:14,168 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/29_conditionals_vs.i [2023-08-29 19:57:15,415 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 19:57:15,621 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 19:57:15,622 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/29_conditionals_vs.i [2023-08-29 19:57:15,634 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0ca3a56c3/3dd1c09a2e994c37955168d62ad0eea3/FLAG4f4049262 [2023-08-29 19:57:15,646 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0ca3a56c3/3dd1c09a2e994c37955168d62ad0eea3 [2023-08-29 19:57:15,648 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 19:57:15,649 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 19:57:15,650 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 19:57:15,650 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 19:57:15,654 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 19:57:15,655 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 07:57:15" (1/1) ... [2023-08-29 19:57:15,656 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3efa1b9f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:15, skipping insertion in model container [2023-08-29 19:57:15,656 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 07:57:15" (1/1) ... [2023-08-29 19:57:15,662 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 19:57:15,707 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 19:57:15,931 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/29_conditionals_vs.i[30422,30435] [2023-08-29 19:57:15,939 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 19:57:15,947 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 19:57:15,988 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/29_conditionals_vs.i[30422,30435] [2023-08-29 19:57:15,992 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 19:57:16,041 INFO L208 MainTranslator]: Completed translation [2023-08-29 19:57:16,041 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16 WrapperNode [2023-08-29 19:57:16,041 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 19:57:16,042 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 19:57:16,042 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 19:57:16,043 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 19:57:16,048 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,074 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,097 INFO L138 Inliner]: procedures = 170, calls = 14, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 61 [2023-08-29 19:57:16,097 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 19:57:16,098 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 19:57:16,098 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 19:57:16,098 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 19:57:16,105 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,106 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,110 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,110 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,120 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,123 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,124 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,130 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,132 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 19:57:16,141 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 19:57:16,142 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 19:57:16,142 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 19:57:16,142 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (1/1) ... [2023-08-29 19:57:16,147 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 19:57:16,155 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 19:57:16,169 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-29 19:57:16,201 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-29 19:57:16,206 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-29 19:57:16,207 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-29 19:57:16,207 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-29 19:57:16,207 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 19:57:16,207 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 19:57:16,209 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 19:57:16,209 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-29 19:57:16,210 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 19:57:16,210 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 19:57:16,211 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-29 19:57:16,303 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 19:57:16,304 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 19:57:16,462 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 19:57:16,509 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 19:57:16,510 INFO L302 CfgBuilder]: Removed 1 assume(true) statements. [2023-08-29 19:57:16,512 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 07:57:16 BoogieIcfgContainer [2023-08-29 19:57:16,512 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-29 19:57:16,513 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-29 19:57:16,520 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-29 19:57:16,524 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-29 19:57:16,524 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.08 07:57:15" (1/3) ... [2023-08-29 19:57:16,525 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@398774c0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 07:57:16, skipping insertion in model container [2023-08-29 19:57:16,525 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:16" (2/3) ... [2023-08-29 19:57:16,525 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@398774c0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 07:57:16, skipping insertion in model container [2023-08-29 19:57:16,525 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 07:57:16" (3/3) ... [2023-08-29 19:57:16,526 INFO L112 eAbstractionObserver]: Analyzing ICFG 29_conditionals_vs.i [2023-08-29 19:57:16,541 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-29 19:57:16,541 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2023-08-29 19:57:16,541 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-29 19:57:16,585 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:57:16,627 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:16,656 INFO L130 PetriNetUnfolder]: 6/75 cut-off events. [2023-08-29 19:57:16,657 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:16,666 INFO L83 FinitePrefix]: Finished finitePrefix Result has 80 conditions, 75 events. 6/75 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 106 event pairs, 0 based on Foata normal form. 0/60 useless extension candidates. Maximal degree in co-relation 46. Up to 4 conditions per place. [2023-08-29 19:57:16,666 INFO L82 GeneralOperation]: Start removeDead. Operand has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:16,673 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:16,678 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:16,697 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:16,709 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:16,713 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:16,729 INFO L130 PetriNetUnfolder]: 6/75 cut-off events. [2023-08-29 19:57:16,729 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:16,730 INFO L83 FinitePrefix]: Finished finitePrefix Result has 80 conditions, 75 events. 6/75 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 106 event pairs, 0 based on Foata normal form. 0/60 useless extension candidates. Maximal degree in co-relation 46. Up to 4 conditions per place. [2023-08-29 19:57:16,731 INFO L119 LiptonReduction]: Number of co-enabled transitions 1044 [2023-08-29 19:57:18,679 INFO L134 LiptonReduction]: Checked pairs total: 887 [2023-08-29 19:57:18,680 INFO L136 LiptonReduction]: Total number of compositions: 64 [2023-08-29 19:57:18,701 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:57:18,709 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:18,709 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-08-29 19:57:18,712 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 19:57:18,712 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:18,713 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:18,713 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:18,714 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-08-29 19:57:18,720 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:18,721 INFO L85 PathProgramCache]: Analyzing trace with hash 9680, now seen corresponding path program 1 times [2023-08-29 19:57:18,729 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:18,730 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1831405275] [2023-08-29 19:57:18,730 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:18,730 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:18,880 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:19,001 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:19,001 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:19,002 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1831405275] [2023-08-29 19:57:19,002 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1831405275] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:19,002 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:19,003 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:19,004 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2042207832] [2023-08-29 19:57:19,004 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:19,011 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:19,015 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:19,031 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:19,032 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:19,048 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 49 out of 124 [2023-08-29 19:57:19,050 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 14 places, 11 transitions, 27 flow. Second operand has 3 states, 3 states have (on average 49.666666666666664) internal successors, (149), 3 states have internal predecessors, (149), 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-29 19:57:19,051 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:19,051 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 49 of 124 [2023-08-29 19:57:19,052 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:19,065 INFO L130 PetriNetUnfolder]: 3/15 cut-off events. [2023-08-29 19:57:19,065 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:19,066 INFO L83 FinitePrefix]: Finished finitePrefix Result has 35 conditions, 15 events. 3/15 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 19 event pairs, 3 based on Foata normal form. 0/12 useless extension candidates. Maximal degree in co-relation 20. Up to 14 conditions per place. [2023-08-29 19:57:19,066 INFO L137 encePairwiseOnDemand]: 119/124 looper letters, 5 selfloop transitions, 1 changer transitions 1/7 dead transitions. [2023-08-29 19:57:19,067 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 12 places, 7 transitions, 31 flow [2023-08-29 19:57:19,068 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:19,070 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:19,076 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 157 transitions. [2023-08-29 19:57:19,077 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4220430107526882 [2023-08-29 19:57:19,078 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 157 transitions. [2023-08-29 19:57:19,078 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 157 transitions. [2023-08-29 19:57:19,079 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:19,081 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 157 transitions. [2023-08-29 19:57:19,083 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 52.333333333333336) internal successors, (157), 3 states have internal predecessors, (157), 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-29 19:57:19,086 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 124.0) internal successors, (496), 4 states have internal predecessors, (496), 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-29 19:57:19,087 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 124.0) internal successors, (496), 4 states have internal predecessors, (496), 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-29 19:57:19,088 INFO L175 Difference]: Start difference. First operand has 14 places, 11 transitions, 27 flow. Second operand 3 states and 157 transitions. [2023-08-29 19:57:19,089 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 12 places, 7 transitions, 31 flow [2023-08-29 19:57:19,091 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 12 places, 7 transitions, 31 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:19,091 INFO L231 Difference]: Finished difference. Result has 12 places, 6 transitions, 17 flow [2023-08-29 19:57:19,093 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=124, PETRI_DIFFERENCE_MINUEND_FLOW=19, PETRI_DIFFERENCE_MINUEND_PLACES=10, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=7, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=6, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=17, PETRI_PLACES=12, PETRI_TRANSITIONS=6} [2023-08-29 19:57:19,096 INFO L281 CegarLoopForPetriNet]: 14 programPoint places, -2 predicate places. [2023-08-29 19:57:19,097 INFO L495 AbstractCegarLoop]: Abstraction has has 12 places, 6 transitions, 17 flow [2023-08-29 19:57:19,097 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 49.666666666666664) internal successors, (149), 3 states have internal predecessors, (149), 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-29 19:57:19,097 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:19,097 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:19,097 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-29 19:57:19,098 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-08-29 19:57:19,098 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:19,098 INFO L85 PathProgramCache]: Analyzing trace with hash 9679, now seen corresponding path program 1 times [2023-08-29 19:57:19,098 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:19,099 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [12842893] [2023-08-29 19:57:19,099 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:19,099 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:19,109 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:19,155 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:19,156 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:19,156 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [12842893] [2023-08-29 19:57:19,156 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [12842893] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:19,156 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:19,156 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:19,157 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [112925570] [2023-08-29 19:57:19,157 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:19,158 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:19,158 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:19,158 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:19,159 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:19,181 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 47 out of 124 [2023-08-29 19:57:19,182 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 12 places, 6 transitions, 17 flow. Second operand has 3 states, 3 states have (on average 47.666666666666664) internal successors, (143), 3 states have internal predecessors, (143), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:19,182 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:19,182 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 47 of 124 [2023-08-29 19:57:19,183 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:19,194 INFO L130 PetriNetUnfolder]: 2/10 cut-off events. [2023-08-29 19:57:19,194 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:19,195 INFO L83 FinitePrefix]: Finished finitePrefix Result has 27 conditions, 10 events. 2/10 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 7 event pairs, 2 based on Foata normal form. 0/10 useless extension candidates. Maximal degree in co-relation 20. Up to 10 conditions per place. [2023-08-29 19:57:19,195 INFO L137 encePairwiseOnDemand]: 122/124 looper letters, 0 selfloop transitions, 0 changer transitions 5/5 dead transitions. [2023-08-29 19:57:19,196 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 12 places, 5 transitions, 25 flow [2023-08-29 19:57:19,196 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:19,196 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:19,199 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 147 transitions. [2023-08-29 19:57:19,200 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.3951612903225806 [2023-08-29 19:57:19,200 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 147 transitions. [2023-08-29 19:57:19,200 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 147 transitions. [2023-08-29 19:57:19,201 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:19,201 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 147 transitions. [2023-08-29 19:57:19,202 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 49.0) internal successors, (147), 3 states have internal predecessors, (147), 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-29 19:57:19,203 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 124.0) internal successors, (496), 4 states have internal predecessors, (496), 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-29 19:57:19,203 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 124.0) internal successors, (496), 4 states have internal predecessors, (496), 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-29 19:57:19,203 INFO L175 Difference]: Start difference. First operand has 12 places, 6 transitions, 17 flow. Second operand 3 states and 147 transitions. [2023-08-29 19:57:19,204 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 12 places, 5 transitions, 25 flow [2023-08-29 19:57:19,204 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 11 places, 5 transitions, 24 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 19:57:19,204 INFO L231 Difference]: Finished difference. Result has 11 places, 0 transitions, 0 flow [2023-08-29 19:57:19,204 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=124, PETRI_DIFFERENCE_MINUEND_FLOW=14, PETRI_DIFFERENCE_MINUEND_PLACES=9, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=5, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=5, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=11, PETRI_TRANSITIONS=0} [2023-08-29 19:57:19,205 INFO L281 CegarLoopForPetriNet]: 14 programPoint places, -3 predicate places. [2023-08-29 19:57:19,205 INFO L495 AbstractCegarLoop]: Abstraction has has 11 places, 0 transitions, 0 flow [2023-08-29 19:57:19,205 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 47.666666666666664) internal successors, (143), 3 states have internal predecessors, (143), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:19,207 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 5 remaining) [2023-08-29 19:57:19,208 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 5 remaining) [2023-08-29 19:57:19,208 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 5 remaining) [2023-08-29 19:57:19,208 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 5 remaining) [2023-08-29 19:57:19,208 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 5 remaining) [2023-08-29 19:57:19,209 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-29 19:57:19,209 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-29 19:57:19,211 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 19:57:19,215 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:19,226 INFO L130 PetriNetUnfolder]: 6/75 cut-off events. [2023-08-29 19:57:19,226 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:19,227 INFO L83 FinitePrefix]: Finished finitePrefix Result has 80 conditions, 75 events. 6/75 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 106 event pairs, 0 based on Foata normal form. 0/60 useless extension candidates. Maximal degree in co-relation 46. Up to 4 conditions per place. [2023-08-29 19:57:19,227 INFO L82 GeneralOperation]: Start removeDead. Operand has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:19,228 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:19,228 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:19,228 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:19,228 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:19,228 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 58 places, 60 transitions, 125 flow [2023-08-29 19:57:19,239 INFO L130 PetriNetUnfolder]: 6/75 cut-off events. [2023-08-29 19:57:19,239 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:19,240 INFO L83 FinitePrefix]: Finished finitePrefix Result has 80 conditions, 75 events. 6/75 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 106 event pairs, 0 based on Foata normal form. 0/60 useless extension candidates. Maximal degree in co-relation 46. Up to 4 conditions per place. [2023-08-29 19:57:19,241 INFO L119 LiptonReduction]: Number of co-enabled transitions 1044 [2023-08-29 19:57:20,930 INFO L134 LiptonReduction]: Checked pairs total: 887 [2023-08-29 19:57:20,930 INFO L136 LiptonReduction]: Total number of compositions: 64 [2023-08-29 19:57:20,932 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 19:57:20,933 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:20,933 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 19:57:20,935 INFO L130 PetriNetUnfolder]: 0/15 cut-off events. [2023-08-29 19:57:20,935 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:20,936 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:20,936 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-08-29 19:57:20,936 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 19:57:20,936 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:20,936 INFO L85 PathProgramCache]: Analyzing trace with hash -2108195597, now seen corresponding path program 1 times [2023-08-29 19:57:20,936 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:20,937 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1154500110] [2023-08-29 19:57:20,937 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:20,937 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:20,967 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:20,967 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 19:57:20,974 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:20,994 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 19:57:21,000 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 19:57:21,002 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 19:57:21,002 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-08-29 19:57:21,002 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 19:57:21,003 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 19:57:21,003 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 19:57:21,003 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-29 19:57:21,022 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:57:21,026 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:21,051 INFO L130 PetriNetUnfolder]: 11/122 cut-off events. [2023-08-29 19:57:21,051 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-29 19:57:21,052 INFO L83 FinitePrefix]: Finished finitePrefix Result has 132 conditions, 122 events. 11/122 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 252 event pairs, 0 based on Foata normal form. 0/97 useless extension candidates. Maximal degree in co-relation 76. Up to 6 conditions per place. [2023-08-29 19:57:21,052 INFO L82 GeneralOperation]: Start removeDead. Operand has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:21,053 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:21,053 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:21,053 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:21,054 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:21,054 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:21,065 INFO L130 PetriNetUnfolder]: 11/122 cut-off events. [2023-08-29 19:57:21,065 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-29 19:57:21,066 INFO L83 FinitePrefix]: Finished finitePrefix Result has 132 conditions, 122 events. 11/122 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 252 event pairs, 0 based on Foata normal form. 0/97 useless extension candidates. Maximal degree in co-relation 76. Up to 6 conditions per place. [2023-08-29 19:57:21,069 INFO L119 LiptonReduction]: Number of co-enabled transitions 3828 [2023-08-29 19:57:23,261 INFO L134 LiptonReduction]: Checked pairs total: 3764 [2023-08-29 19:57:23,261 INFO L136 LiptonReduction]: Total number of compositions: 95 [2023-08-29 19:57:23,263 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:57:23,264 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:23,264 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 19:57:23,265 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 19:57:23,265 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:23,265 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:23,265 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:23,265 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 19:57:23,265 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:23,265 INFO L85 PathProgramCache]: Analyzing trace with hash 18475, now seen corresponding path program 1 times [2023-08-29 19:57:23,266 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:23,266 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [942938428] [2023-08-29 19:57:23,266 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:23,266 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:23,274 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:23,293 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:23,294 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:23,294 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [942938428] [2023-08-29 19:57:23,294 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [942938428] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:23,294 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:23,295 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:23,295 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1081038171] [2023-08-29 19:57:23,295 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:23,295 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:23,296 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:23,296 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:23,296 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:23,312 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 72 out of 185 [2023-08-29 19:57:23,313 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 23 places, 19 transitions, 50 flow. Second operand has 3 states, 3 states have (on average 72.66666666666667) internal successors, (218), 3 states have internal predecessors, (218), 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-29 19:57:23,313 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:23,313 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 72 of 185 [2023-08-29 19:57:23,313 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:23,332 INFO L130 PetriNetUnfolder]: 34/84 cut-off events. [2023-08-29 19:57:23,333 INFO L131 PetriNetUnfolder]: For 10/10 co-relation queries the response was YES. [2023-08-29 19:57:23,333 INFO L83 FinitePrefix]: Finished finitePrefix Result has 178 conditions, 84 events. 34/84 cut-off events. For 10/10 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 295 event pairs, 34 based on Foata normal form. 0/66 useless extension candidates. Maximal degree in co-relation 44. Up to 73 conditions per place. [2023-08-29 19:57:23,334 INFO L137 encePairwiseOnDemand]: 178/185 looper letters, 8 selfloop transitions, 1 changer transitions 1/12 dead transitions. [2023-08-29 19:57:23,334 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 19 places, 12 transitions, 54 flow [2023-08-29 19:57:23,334 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:23,334 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:23,335 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 231 transitions. [2023-08-29 19:57:23,336 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.41621621621621624 [2023-08-29 19:57:23,336 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 231 transitions. [2023-08-29 19:57:23,336 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 231 transitions. [2023-08-29 19:57:23,336 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:23,337 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 231 transitions. [2023-08-29 19:57:23,337 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 77.0) internal successors, (231), 3 states have internal predecessors, (231), 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-29 19:57:23,339 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 185.0) internal successors, (740), 4 states have internal predecessors, (740), 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-29 19:57:23,339 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 185.0) internal successors, (740), 4 states have internal predecessors, (740), 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-29 19:57:23,339 INFO L175 Difference]: Start difference. First operand has 23 places, 19 transitions, 50 flow. Second operand 3 states and 231 transitions. [2023-08-29 19:57:23,339 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 19 places, 12 transitions, 54 flow [2023-08-29 19:57:23,340 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 19 places, 12 transitions, 52 flow, removed 1 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:23,340 INFO L231 Difference]: Finished difference. Result has 19 places, 11 transitions, 32 flow [2023-08-29 19:57:23,340 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=185, PETRI_DIFFERENCE_MINUEND_FLOW=34, PETRI_DIFFERENCE_MINUEND_PLACES=17, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=12, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=11, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=32, PETRI_PLACES=19, PETRI_TRANSITIONS=11} [2023-08-29 19:57:23,341 INFO L281 CegarLoopForPetriNet]: 23 programPoint places, -4 predicate places. [2023-08-29 19:57:23,341 INFO L495 AbstractCegarLoop]: Abstraction has has 19 places, 11 transitions, 32 flow [2023-08-29 19:57:23,342 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 72.66666666666667) internal successors, (218), 3 states have internal predecessors, (218), 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-29 19:57:23,342 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:23,342 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:23,342 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-29 19:57:23,342 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 19:57:23,343 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:23,343 INFO L85 PathProgramCache]: Analyzing trace with hash 18474, now seen corresponding path program 1 times [2023-08-29 19:57:23,343 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:23,343 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [452893641] [2023-08-29 19:57:23,343 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:23,344 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:23,351 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:23,399 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:23,400 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:23,400 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [452893641] [2023-08-29 19:57:23,400 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [452893641] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:23,400 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:23,401 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:23,401 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [393807100] [2023-08-29 19:57:23,401 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:23,401 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:23,401 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:23,402 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:23,402 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:23,414 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 74 out of 185 [2023-08-29 19:57:23,415 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 19 places, 11 transitions, 32 flow. Second operand has 3 states, 3 states have (on average 74.66666666666667) internal successors, (224), 3 states have internal predecessors, (224), 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-29 19:57:23,415 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:23,415 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 74 of 185 [2023-08-29 19:57:23,415 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:23,429 INFO L130 PetriNetUnfolder]: 20/54 cut-off events. [2023-08-29 19:57:23,430 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-29 19:57:23,430 INFO L83 FinitePrefix]: Finished finitePrefix Result has 117 conditions, 54 events. 20/54 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 138 event pairs, 20 based on Foata normal form. 0/49 useless extension candidates. Maximal degree in co-relation 109. Up to 46 conditions per place. [2023-08-29 19:57:23,430 INFO L137 encePairwiseOnDemand]: 183/185 looper letters, 0 selfloop transitions, 0 changer transitions 10/10 dead transitions. [2023-08-29 19:57:23,430 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 19 places, 10 transitions, 46 flow [2023-08-29 19:57:23,431 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:23,431 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:23,432 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 231 transitions. [2023-08-29 19:57:23,432 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.41621621621621624 [2023-08-29 19:57:23,432 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 231 transitions. [2023-08-29 19:57:23,433 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 231 transitions. [2023-08-29 19:57:23,433 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:23,433 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 231 transitions. [2023-08-29 19:57:23,434 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 77.0) internal successors, (231), 3 states have internal predecessors, (231), 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-29 19:57:23,435 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 185.0) internal successors, (740), 4 states have internal predecessors, (740), 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-29 19:57:23,446 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 185.0) internal successors, (740), 4 states have internal predecessors, (740), 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-29 19:57:23,446 INFO L175 Difference]: Start difference. First operand has 19 places, 11 transitions, 32 flow. Second operand 3 states and 231 transitions. [2023-08-29 19:57:23,446 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 19 places, 10 transitions, 46 flow [2023-08-29 19:57:23,447 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 18 places, 10 transitions, 45 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 19:57:23,447 INFO L231 Difference]: Finished difference. Result has 18 places, 0 transitions, 0 flow [2023-08-29 19:57:23,447 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=185, PETRI_DIFFERENCE_MINUEND_FLOW=29, PETRI_DIFFERENCE_MINUEND_PLACES=16, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=10, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=10, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=18, PETRI_TRANSITIONS=0} [2023-08-29 19:57:23,448 INFO L281 CegarLoopForPetriNet]: 23 programPoint places, -5 predicate places. [2023-08-29 19:57:23,449 INFO L495 AbstractCegarLoop]: Abstraction has has 18 places, 0 transitions, 0 flow [2023-08-29 19:57:23,449 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 74.66666666666667) internal successors, (224), 3 states have internal predecessors, (224), 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-29 19:57:23,450 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 6 remaining) [2023-08-29 19:57:23,450 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 6 remaining) [2023-08-29 19:57:23,451 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 19:57:23,451 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 6 remaining) [2023-08-29 19:57:23,451 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 6 remaining) [2023-08-29 19:57:23,451 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 19:57:23,452 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-29 19:57:23,452 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-29 19:57:23,453 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 19:57:23,455 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:23,468 INFO L130 PetriNetUnfolder]: 11/122 cut-off events. [2023-08-29 19:57:23,468 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-29 19:57:23,471 INFO L83 FinitePrefix]: Finished finitePrefix Result has 132 conditions, 122 events. 11/122 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 252 event pairs, 0 based on Foata normal form. 0/97 useless extension candidates. Maximal degree in co-relation 76. Up to 6 conditions per place. [2023-08-29 19:57:23,471 INFO L82 GeneralOperation]: Start removeDead. Operand has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:23,472 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:23,472 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:23,472 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:23,472 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:23,473 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 86 places, 90 transitions, 192 flow [2023-08-29 19:57:23,486 INFO L130 PetriNetUnfolder]: 11/122 cut-off events. [2023-08-29 19:57:23,486 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-29 19:57:23,487 INFO L83 FinitePrefix]: Finished finitePrefix Result has 132 conditions, 122 events. 11/122 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 252 event pairs, 0 based on Foata normal form. 0/97 useless extension candidates. Maximal degree in co-relation 76. Up to 6 conditions per place. [2023-08-29 19:57:23,489 INFO L119 LiptonReduction]: Number of co-enabled transitions 3828 [2023-08-29 19:57:25,554 INFO L134 LiptonReduction]: Checked pairs total: 3732 [2023-08-29 19:57:25,554 INFO L136 LiptonReduction]: Total number of compositions: 100 [2023-08-29 19:57:25,556 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 19:57:25,557 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:25,557 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 19:57:25,560 INFO L130 PetriNetUnfolder]: 2/32 cut-off events. [2023-08-29 19:57:25,560 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-29 19:57:25,560 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:25,561 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2023-08-29 19:57:25,561 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 19:57:25,561 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:25,561 INFO L85 PathProgramCache]: Analyzing trace with hash 12797337, now seen corresponding path program 1 times [2023-08-29 19:57:25,562 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:25,562 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [617638836] [2023-08-29 19:57:25,562 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:25,562 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:25,573 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:25,573 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 19:57:25,579 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:25,584 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 19:57:25,584 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 19:57:25,584 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 19:57:25,584 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-08-29 19:57:25,585 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 19:57:25,585 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 19:57:25,585 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 19:57:25,586 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-08-29 19:57:25,602 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:57:25,604 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:25,617 INFO L130 PetriNetUnfolder]: 16/169 cut-off events. [2023-08-29 19:57:25,617 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-29 19:57:25,618 INFO L83 FinitePrefix]: Finished finitePrefix Result has 185 conditions, 169 events. 16/169 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 441 event pairs, 0 based on Foata normal form. 0/134 useless extension candidates. Maximal degree in co-relation 126. Up to 8 conditions per place. [2023-08-29 19:57:25,619 INFO L82 GeneralOperation]: Start removeDead. Operand has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:25,620 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:25,620 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:25,620 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:25,620 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:25,621 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:25,633 INFO L130 PetriNetUnfolder]: 16/169 cut-off events. [2023-08-29 19:57:25,633 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-29 19:57:25,634 INFO L83 FinitePrefix]: Finished finitePrefix Result has 185 conditions, 169 events. 16/169 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 441 event pairs, 0 based on Foata normal form. 0/134 useless extension candidates. Maximal degree in co-relation 126. Up to 8 conditions per place. [2023-08-29 19:57:25,638 INFO L119 LiptonReduction]: Number of co-enabled transitions 8352 [2023-08-29 19:57:28,566 INFO L134 LiptonReduction]: Checked pairs total: 7913 [2023-08-29 19:57:28,567 INFO L136 LiptonReduction]: Total number of compositions: 131 [2023-08-29 19:57:28,568 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:57:28,568 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:28,569 INFO L358 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2023-08-29 19:57:28,572 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 19:57:28,572 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:28,572 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:28,572 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:28,573 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2023-08-29 19:57:28,573 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:28,573 INFO L85 PathProgramCache]: Analyzing trace with hash 30494, now seen corresponding path program 1 times [2023-08-29 19:57:28,573 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:28,573 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1849744977] [2023-08-29 19:57:28,574 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:28,574 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:28,587 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:28,611 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:28,612 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:28,612 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1849744977] [2023-08-29 19:57:28,612 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1849744977] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:28,612 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:28,612 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:28,612 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1899514839] [2023-08-29 19:57:28,613 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:28,613 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:28,613 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:28,613 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:28,614 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:28,626 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 98 out of 251 [2023-08-29 19:57:28,626 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 28 places, 21 transitions, 63 flow. Second operand has 3 states, 3 states have (on average 98.66666666666667) internal successors, (296), 3 states have internal predecessors, (296), 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-29 19:57:28,627 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:28,627 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 98 of 251 [2023-08-29 19:57:28,627 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:28,671 INFO L130 PetriNetUnfolder]: 178/333 cut-off events. [2023-08-29 19:57:28,671 INFO L131 PetriNetUnfolder]: For 79/79 co-relation queries the response was YES. [2023-08-29 19:57:28,672 INFO L83 FinitePrefix]: Finished finitePrefix Result has 710 conditions, 333 events. 178/333 cut-off events. For 79/79 co-relation queries the response was YES. Maximal size of possible extension queue 38. Compared 1493 event pairs, 178 based on Foata normal form. 0/279 useless extension candidates. Maximal degree in co-relation 181. Up to 298 conditions per place. [2023-08-29 19:57:28,673 INFO L137 encePairwiseOnDemand]: 244/251 looper letters, 11 selfloop transitions, 1 changer transitions 1/15 dead transitions. [2023-08-29 19:57:28,673 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 24 places, 15 transitions, 75 flow [2023-08-29 19:57:28,674 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:28,674 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:28,675 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 312 transitions. [2023-08-29 19:57:28,675 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.41434262948207173 [2023-08-29 19:57:28,675 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 312 transitions. [2023-08-29 19:57:28,675 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 312 transitions. [2023-08-29 19:57:28,676 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:28,676 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 312 transitions. [2023-08-29 19:57:28,677 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 104.0) internal successors, (312), 3 states have internal predecessors, (312), 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-29 19:57:28,678 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 251.0) internal successors, (1004), 4 states have internal predecessors, (1004), 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-29 19:57:28,679 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 251.0) internal successors, (1004), 4 states have internal predecessors, (1004), 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-29 19:57:28,679 INFO L175 Difference]: Start difference. First operand has 28 places, 21 transitions, 63 flow. Second operand 3 states and 312 transitions. [2023-08-29 19:57:28,679 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 24 places, 15 transitions, 75 flow [2023-08-29 19:57:28,680 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 24 places, 15 transitions, 69 flow, removed 3 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:28,680 INFO L231 Difference]: Finished difference. Result has 24 places, 14 transitions, 43 flow [2023-08-29 19:57:28,680 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=251, PETRI_DIFFERENCE_MINUEND_FLOW=45, PETRI_DIFFERENCE_MINUEND_PLACES=22, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=15, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=14, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=43, PETRI_PLACES=24, PETRI_TRANSITIONS=14} [2023-08-29 19:57:28,681 INFO L281 CegarLoopForPetriNet]: 28 programPoint places, -4 predicate places. [2023-08-29 19:57:28,681 INFO L495 AbstractCegarLoop]: Abstraction has has 24 places, 14 transitions, 43 flow [2023-08-29 19:57:28,682 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 98.66666666666667) internal successors, (296), 3 states have internal predecessors, (296), 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-29 19:57:28,682 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:28,682 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:28,682 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-08-29 19:57:28,682 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2023-08-29 19:57:28,683 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:28,683 INFO L85 PathProgramCache]: Analyzing trace with hash 30493, now seen corresponding path program 1 times [2023-08-29 19:57:28,683 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:28,683 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [520839048] [2023-08-29 19:57:28,683 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:28,683 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:28,688 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:28,700 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:28,701 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:28,701 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [520839048] [2023-08-29 19:57:28,701 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [520839048] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:28,701 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:28,701 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:28,702 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [531460928] [2023-08-29 19:57:28,702 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:28,702 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:28,702 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:28,703 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:28,703 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:28,718 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 97 out of 251 [2023-08-29 19:57:28,719 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 24 places, 14 transitions, 43 flow. Second operand has 3 states, 3 states have (on average 97.66666666666667) internal successors, (293), 3 states have internal predecessors, (293), 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-29 19:57:28,719 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:28,719 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 97 of 251 [2023-08-29 19:57:28,720 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:28,749 INFO L130 PetriNetUnfolder]: 110/216 cut-off events. [2023-08-29 19:57:28,749 INFO L131 PetriNetUnfolder]: For 28/28 co-relation queries the response was YES. [2023-08-29 19:57:28,750 INFO L83 FinitePrefix]: Finished finitePrefix Result has 451 conditions, 216 events. 110/216 cut-off events. For 28/28 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 818 event pairs, 110 based on Foata normal form. 0/202 useless extension candidates. Maximal degree in co-relation 442. Up to 190 conditions per place. [2023-08-29 19:57:28,750 INFO L137 encePairwiseOnDemand]: 249/251 looper letters, 0 selfloop transitions, 0 changer transitions 13/13 dead transitions. [2023-08-29 19:57:28,750 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 24 places, 13 transitions, 63 flow [2023-08-29 19:57:28,751 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:28,751 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:28,751 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 303 transitions. [2023-08-29 19:57:28,752 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.40239043824701193 [2023-08-29 19:57:28,752 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 303 transitions. [2023-08-29 19:57:28,752 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 303 transitions. [2023-08-29 19:57:28,752 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:28,752 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 303 transitions. [2023-08-29 19:57:28,753 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 101.0) internal successors, (303), 3 states have internal predecessors, (303), 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-29 19:57:28,755 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 251.0) internal successors, (1004), 4 states have internal predecessors, (1004), 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-29 19:57:28,755 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 251.0) internal successors, (1004), 4 states have internal predecessors, (1004), 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-29 19:57:28,755 INFO L175 Difference]: Start difference. First operand has 24 places, 14 transitions, 43 flow. Second operand 3 states and 303 transitions. [2023-08-29 19:57:28,755 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 24 places, 13 transitions, 63 flow [2023-08-29 19:57:28,756 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 23 places, 13 transitions, 62 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 19:57:28,756 INFO L231 Difference]: Finished difference. Result has 23 places, 0 transitions, 0 flow [2023-08-29 19:57:28,756 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=251, PETRI_DIFFERENCE_MINUEND_FLOW=40, PETRI_DIFFERENCE_MINUEND_PLACES=21, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=13, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=13, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=23, PETRI_TRANSITIONS=0} [2023-08-29 19:57:28,757 INFO L281 CegarLoopForPetriNet]: 28 programPoint places, -5 predicate places. [2023-08-29 19:57:28,757 INFO L495 AbstractCegarLoop]: Abstraction has has 23 places, 0 transitions, 0 flow [2023-08-29 19:57:28,757 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 97.66666666666667) internal successors, (293), 3 states have internal predecessors, (293), 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-29 19:57:28,758 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 7 remaining) [2023-08-29 19:57:28,758 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (5 of 7 remaining) [2023-08-29 19:57:28,758 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 7 remaining) [2023-08-29 19:57:28,758 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2023-08-29 19:57:28,758 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 7 remaining) [2023-08-29 19:57:28,758 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 7 remaining) [2023-08-29 19:57:28,759 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 7 remaining) [2023-08-29 19:57:28,759 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-08-29 19:57:28,759 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-29 19:57:28,760 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 19:57:28,761 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:28,774 INFO L130 PetriNetUnfolder]: 16/169 cut-off events. [2023-08-29 19:57:28,775 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-29 19:57:28,775 INFO L83 FinitePrefix]: Finished finitePrefix Result has 185 conditions, 169 events. 16/169 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 441 event pairs, 0 based on Foata normal form. 0/134 useless extension candidates. Maximal degree in co-relation 126. Up to 8 conditions per place. [2023-08-29 19:57:28,775 INFO L82 GeneralOperation]: Start removeDead. Operand has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:28,776 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:28,777 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:28,777 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:28,777 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:28,777 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 114 places, 120 transitions, 261 flow [2023-08-29 19:57:28,799 INFO L130 PetriNetUnfolder]: 16/169 cut-off events. [2023-08-29 19:57:28,799 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-29 19:57:28,800 INFO L83 FinitePrefix]: Finished finitePrefix Result has 185 conditions, 169 events. 16/169 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 441 event pairs, 0 based on Foata normal form. 0/134 useless extension candidates. Maximal degree in co-relation 126. Up to 8 conditions per place. [2023-08-29 19:57:28,804 INFO L119 LiptonReduction]: Number of co-enabled transitions 8352 [2023-08-29 19:57:31,528 INFO L134 LiptonReduction]: Checked pairs total: 7980 [2023-08-29 19:57:31,528 INFO L136 LiptonReduction]: Total number of compositions: 133 [2023-08-29 19:57:31,530 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 19:57:31,530 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:31,530 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 19:57:31,533 INFO L130 PetriNetUnfolder]: 0/39 cut-off events. [2023-08-29 19:57:31,534 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-29 19:57:31,534 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:31,534 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1] [2023-08-29 19:57:31,534 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 19:57:31,534 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:31,535 INFO L85 PathProgramCache]: Analyzing trace with hash -1984107481, now seen corresponding path program 1 times [2023-08-29 19:57:31,535 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:31,535 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1293180960] [2023-08-29 19:57:31,535 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:31,535 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:31,559 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:31,559 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 19:57:31,577 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:31,583 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 19:57:31,587 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 19:57:31,587 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 19:57:31,588 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-08-29 19:57:31,588 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 19:57:31,588 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 19:57:31,591 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 19:57:31,591 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-08-29 19:57:31,610 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:57:31,619 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:31,637 INFO L130 PetriNetUnfolder]: 21/216 cut-off events. [2023-08-29 19:57:31,638 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-29 19:57:31,639 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239 conditions, 216 events. 21/216 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 626 event pairs, 0 based on Foata normal form. 0/171 useless extension candidates. Maximal degree in co-relation 177. Up to 10 conditions per place. [2023-08-29 19:57:31,639 INFO L82 GeneralOperation]: Start removeDead. Operand has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:31,641 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:31,641 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:31,641 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:31,642 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:31,642 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:31,664 INFO L130 PetriNetUnfolder]: 21/216 cut-off events. [2023-08-29 19:57:31,664 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-29 19:57:31,665 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239 conditions, 216 events. 21/216 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 626 event pairs, 0 based on Foata normal form. 0/171 useless extension candidates. Maximal degree in co-relation 177. Up to 10 conditions per place. [2023-08-29 19:57:31,673 INFO L119 LiptonReduction]: Number of co-enabled transitions 14616 [2023-08-29 19:57:34,852 INFO L134 LiptonReduction]: Checked pairs total: 14732 [2023-08-29 19:57:34,852 INFO L136 LiptonReduction]: Total number of compositions: 167 [2023-08-29 19:57:34,853 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:57:34,854 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:34,854 INFO L358 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2023-08-29 19:57:34,855 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 19:57:34,855 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:34,855 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:34,855 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:34,855 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 5 more)] === [2023-08-29 19:57:34,856 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:34,856 INFO L85 PathProgramCache]: Analyzing trace with hash 45783, now seen corresponding path program 1 times [2023-08-29 19:57:34,856 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:34,856 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [626205453] [2023-08-29 19:57:34,856 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:34,856 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:34,861 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:34,864 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:34,864 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:34,865 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [626205453] [2023-08-29 19:57:34,865 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [626205453] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:34,865 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:34,865 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:34,865 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2012048340] [2023-08-29 19:57:34,865 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:34,865 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-29 19:57:34,866 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:34,866 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-29 19:57:34,866 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-29 19:57:34,866 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 128 out of 317 [2023-08-29 19:57:34,867 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 36 places, 29 transitions, 90 flow. Second operand has 2 states, 2 states have (on average 129.0) internal successors, (258), 2 states have internal predecessors, (258), 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-29 19:57:34,867 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:34,867 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 128 of 317 [2023-08-29 19:57:34,867 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:35,049 INFO L130 PetriNetUnfolder]: 1056/1647 cut-off events. [2023-08-29 19:57:35,050 INFO L131 PetriNetUnfolder]: For 448/448 co-relation queries the response was YES. [2023-08-29 19:57:35,052 INFO L83 FinitePrefix]: Finished finitePrefix Result has 3483 conditions, 1647 events. 1056/1647 cut-off events. For 448/448 co-relation queries the response was YES. Maximal size of possible extension queue 134. Compared 8474 event pairs, 1056 based on Foata normal form. 0/1365 useless extension candidates. Maximal degree in co-relation 943. Up to 1541 conditions per place. [2023-08-29 19:57:35,057 INFO L137 encePairwiseOnDemand]: 309/317 looper letters, 16 selfloop transitions, 0 changer transitions 1/19 dead transitions. [2023-08-29 19:57:35,058 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 29 places, 19 transitions, 102 flow [2023-08-29 19:57:35,058 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-29 19:57:35,058 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-29 19:57:35,059 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 280 transitions. [2023-08-29 19:57:35,059 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4416403785488959 [2023-08-29 19:57:35,059 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 280 transitions. [2023-08-29 19:57:35,059 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 280 transitions. [2023-08-29 19:57:35,060 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:35,060 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 280 transitions. [2023-08-29 19:57:35,061 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 140.0) internal successors, (280), 2 states have internal predecessors, (280), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:35,062 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 317.0) internal successors, (951), 3 states have internal predecessors, (951), 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-29 19:57:35,063 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 317.0) internal successors, (951), 3 states have internal predecessors, (951), 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-29 19:57:35,063 INFO L175 Difference]: Start difference. First operand has 36 places, 29 transitions, 90 flow. Second operand 2 states and 280 transitions. [2023-08-29 19:57:35,063 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 29 places, 19 transitions, 102 flow [2023-08-29 19:57:35,065 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 29 places, 19 transitions, 90 flow, removed 6 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:35,066 INFO L231 Difference]: Finished difference. Result has 29 places, 18 transitions, 54 flow [2023-08-29 19:57:35,066 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=317, PETRI_DIFFERENCE_MINUEND_FLOW=58, PETRI_DIFFERENCE_MINUEND_PLACES=28, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=19, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=19, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=54, PETRI_PLACES=29, PETRI_TRANSITIONS=18} [2023-08-29 19:57:35,066 INFO L281 CegarLoopForPetriNet]: 36 programPoint places, -7 predicate places. [2023-08-29 19:57:35,067 INFO L495 AbstractCegarLoop]: Abstraction has has 29 places, 18 transitions, 54 flow [2023-08-29 19:57:35,067 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 129.0) internal successors, (258), 2 states have internal predecessors, (258), 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-29 19:57:35,067 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:35,067 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:35,068 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-08-29 19:57:35,068 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 5 more)] === [2023-08-29 19:57:35,068 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:35,068 INFO L85 PathProgramCache]: Analyzing trace with hash 45776, now seen corresponding path program 1 times [2023-08-29 19:57:35,068 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:35,069 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [401285086] [2023-08-29 19:57:35,069 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:35,070 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:35,074 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:35,091 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:35,092 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:35,092 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [401285086] [2023-08-29 19:57:35,092 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [401285086] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:35,093 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:35,093 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:35,093 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [374131030] [2023-08-29 19:57:35,093 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:35,093 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:35,094 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:35,094 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:35,094 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:35,112 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 122 out of 317 [2023-08-29 19:57:35,113 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 29 places, 18 transitions, 54 flow. Second operand has 3 states, 3 states have (on average 122.66666666666667) internal successors, (368), 3 states have internal predecessors, (368), 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-29 19:57:35,113 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:35,113 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 122 of 317 [2023-08-29 19:57:35,113 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:35,246 INFO L130 PetriNetUnfolder]: 772/1215 cut-off events. [2023-08-29 19:57:35,247 INFO L131 PetriNetUnfolder]: For 91/91 co-relation queries the response was YES. [2023-08-29 19:57:35,248 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2476 conditions, 1215 events. 772/1215 cut-off events. For 91/91 co-relation queries the response was YES. Maximal size of possible extension queue 92. Compared 5836 event pairs, 772 based on Foata normal form. 0/1054 useless extension candidates. Maximal degree in co-relation 2469. Up to 1135 conditions per place. [2023-08-29 19:57:35,252 INFO L137 encePairwiseOnDemand]: 315/317 looper letters, 14 selfloop transitions, 1 changer transitions 0/17 dead transitions. [2023-08-29 19:57:35,252 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 29 places, 17 transitions, 82 flow [2023-08-29 19:57:35,253 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:35,253 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:35,254 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 382 transitions. [2023-08-29 19:57:35,254 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.40168243953732913 [2023-08-29 19:57:35,254 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 382 transitions. [2023-08-29 19:57:35,254 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 382 transitions. [2023-08-29 19:57:35,255 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:35,255 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 382 transitions. [2023-08-29 19:57:35,256 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 127.33333333333333) internal successors, (382), 3 states have internal predecessors, (382), 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-29 19:57:35,258 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 317.0) internal successors, (1268), 4 states have internal predecessors, (1268), 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-29 19:57:35,259 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 317.0) internal successors, (1268), 4 states have internal predecessors, (1268), 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-29 19:57:35,259 INFO L175 Difference]: Start difference. First operand has 29 places, 18 transitions, 54 flow. Second operand 3 states and 382 transitions. [2023-08-29 19:57:35,259 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 29 places, 17 transitions, 82 flow [2023-08-29 19:57:35,260 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 29 places, 17 transitions, 82 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:35,260 INFO L231 Difference]: Finished difference. Result has 29 places, 17 transitions, 54 flow [2023-08-29 19:57:35,261 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=317, PETRI_DIFFERENCE_MINUEND_FLOW=52, PETRI_DIFFERENCE_MINUEND_PLACES=27, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=17, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=16, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=54, PETRI_PLACES=29, PETRI_TRANSITIONS=17} [2023-08-29 19:57:35,262 INFO L281 CegarLoopForPetriNet]: 36 programPoint places, -7 predicate places. [2023-08-29 19:57:35,262 INFO L495 AbstractCegarLoop]: Abstraction has has 29 places, 17 transitions, 54 flow [2023-08-29 19:57:35,263 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 122.66666666666667) internal successors, (368), 3 states have internal predecessors, (368), 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-29 19:57:35,263 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:35,263 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:35,263 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10 [2023-08-29 19:57:35,263 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 5 more)] === [2023-08-29 19:57:35,264 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:35,264 INFO L85 PathProgramCache]: Analyzing trace with hash 45778, now seen corresponding path program 1 times [2023-08-29 19:57:35,264 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:35,264 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [67111765] [2023-08-29 19:57:35,264 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:35,264 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:35,269 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:35,309 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:35,309 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:35,309 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [67111765] [2023-08-29 19:57:35,309 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [67111765] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:35,309 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:35,310 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:35,310 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [434431402] [2023-08-29 19:57:35,310 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:35,310 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:35,310 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:35,310 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:35,310 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:35,321 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 124 out of 317 [2023-08-29 19:57:35,322 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 29 places, 17 transitions, 54 flow. Second operand has 3 states, 3 states have (on average 124.66666666666667) internal successors, (374), 3 states have internal predecessors, (374), 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-29 19:57:35,322 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:35,322 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 124 of 317 [2023-08-29 19:57:35,322 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:35,411 INFO L130 PetriNetUnfolder]: 488/810 cut-off events. [2023-08-29 19:57:35,411 INFO L131 PetriNetUnfolder]: For 91/91 co-relation queries the response was YES. [2023-08-29 19:57:35,412 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1668 conditions, 810 events. 488/810 cut-off events. For 91/91 co-relation queries the response was YES. Maximal size of possible extension queue 57. Compared 3589 event pairs, 488 based on Foata normal form. 0/770 useless extension candidates. Maximal degree in co-relation 1660. Up to 730 conditions per place. [2023-08-29 19:57:35,413 INFO L137 encePairwiseOnDemand]: 315/317 looper letters, 0 selfloop transitions, 0 changer transitions 16/16 dead transitions. [2023-08-29 19:57:35,413 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 30 places, 16 transitions, 80 flow [2023-08-29 19:57:35,414 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:35,414 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:35,415 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 387 transitions. [2023-08-29 19:57:35,415 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4069400630914827 [2023-08-29 19:57:35,415 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 387 transitions. [2023-08-29 19:57:35,415 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 387 transitions. [2023-08-29 19:57:35,415 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:35,415 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 387 transitions. [2023-08-29 19:57:35,416 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 129.0) internal successors, (387), 3 states have internal predecessors, (387), 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-29 19:57:35,417 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 317.0) internal successors, (1268), 4 states have internal predecessors, (1268), 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-29 19:57:35,418 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 317.0) internal successors, (1268), 4 states have internal predecessors, (1268), 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-29 19:57:35,418 INFO L175 Difference]: Start difference. First operand has 29 places, 17 transitions, 54 flow. Second operand 3 states and 387 transitions. [2023-08-29 19:57:35,418 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 30 places, 16 transitions, 80 flow [2023-08-29 19:57:35,419 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 29 places, 16 transitions, 79 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 19:57:35,419 INFO L231 Difference]: Finished difference. Result has 29 places, 0 transitions, 0 flow [2023-08-29 19:57:35,419 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=317, PETRI_DIFFERENCE_MINUEND_FLOW=51, PETRI_DIFFERENCE_MINUEND_PLACES=27, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=16, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=16, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=29, PETRI_TRANSITIONS=0} [2023-08-29 19:57:35,420 INFO L281 CegarLoopForPetriNet]: 36 programPoint places, -7 predicate places. [2023-08-29 19:57:35,420 INFO L495 AbstractCegarLoop]: Abstraction has has 29 places, 0 transitions, 0 flow [2023-08-29 19:57:35,421 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 124.66666666666667) internal successors, (374), 3 states have internal predecessors, (374), 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-29 19:57:35,421 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 8 remaining) [2023-08-29 19:57:35,421 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (6 of 8 remaining) [2023-08-29 19:57:35,421 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 8 remaining) [2023-08-29 19:57:35,421 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 8 remaining) [2023-08-29 19:57:35,421 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (3 of 8 remaining) [2023-08-29 19:57:35,421 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 8 remaining) [2023-08-29 19:57:35,421 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 8 remaining) [2023-08-29 19:57:35,422 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 8 remaining) [2023-08-29 19:57:35,422 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2023-08-29 19:57:35,422 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 19:57:35,422 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 19:57:35,424 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:35,444 INFO L130 PetriNetUnfolder]: 21/216 cut-off events. [2023-08-29 19:57:35,444 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-29 19:57:35,445 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239 conditions, 216 events. 21/216 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 626 event pairs, 0 based on Foata normal form. 0/171 useless extension candidates. Maximal degree in co-relation 177. Up to 10 conditions per place. [2023-08-29 19:57:35,445 INFO L82 GeneralOperation]: Start removeDead. Operand has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:35,446 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:35,446 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:35,447 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:35,447 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:35,447 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 142 places, 150 transitions, 332 flow [2023-08-29 19:57:35,469 INFO L130 PetriNetUnfolder]: 21/216 cut-off events. [2023-08-29 19:57:35,469 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-29 19:57:35,470 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239 conditions, 216 events. 21/216 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 626 event pairs, 0 based on Foata normal form. 0/171 useless extension candidates. Maximal degree in co-relation 177. Up to 10 conditions per place. [2023-08-29 19:57:35,476 INFO L119 LiptonReduction]: Number of co-enabled transitions 14616 [2023-08-29 19:57:38,686 INFO L134 LiptonReduction]: Checked pairs total: 14052 [2023-08-29 19:57:38,686 INFO L136 LiptonReduction]: Total number of compositions: 166 [2023-08-29 19:57:38,688 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 19:57:38,688 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:38,688 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 19:57:38,692 INFO L130 PetriNetUnfolder]: 1/52 cut-off events. [2023-08-29 19:57:38,692 INFO L131 PetriNetUnfolder]: For 16/16 co-relation queries the response was YES. [2023-08-29 19:57:38,692 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:38,692 INFO L208 CegarLoopForPetriNet]: trace histogram [5, 4, 4, 1, 1, 1, 1, 1, 1] [2023-08-29 19:57:38,693 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 19:57:38,693 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:38,693 INFO L85 PathProgramCache]: Analyzing trace with hash 1311112254, now seen corresponding path program 1 times [2023-08-29 19:57:38,693 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:38,693 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [80333563] [2023-08-29 19:57:38,693 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:38,694 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:38,706 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:38,707 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 19:57:38,717 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:38,729 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 19:57:38,729 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 19:57:38,729 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 19:57:38,729 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12 [2023-08-29 19:57:38,730 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 19:57:38,731 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 19:57:38,731 WARN L233 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 19:57:38,731 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2023-08-29 19:57:38,758 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:57:38,760 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:38,790 INFO L130 PetriNetUnfolder]: 26/263 cut-off events. [2023-08-29 19:57:38,790 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-29 19:57:38,792 INFO L83 FinitePrefix]: Finished finitePrefix Result has 294 conditions, 263 events. 26/263 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 830 event pairs, 0 based on Foata normal form. 0/208 useless extension candidates. Maximal degree in co-relation 229. Up to 12 conditions per place. [2023-08-29 19:57:38,792 INFO L82 GeneralOperation]: Start removeDead. Operand has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:38,794 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:38,794 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:38,795 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:38,795 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:38,795 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:38,817 INFO L130 PetriNetUnfolder]: 26/263 cut-off events. [2023-08-29 19:57:38,817 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-29 19:57:38,819 INFO L83 FinitePrefix]: Finished finitePrefix Result has 294 conditions, 263 events. 26/263 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 830 event pairs, 0 based on Foata normal form. 0/208 useless extension candidates. Maximal degree in co-relation 229. Up to 12 conditions per place. [2023-08-29 19:57:38,825 INFO L119 LiptonReduction]: Number of co-enabled transitions 22620 [2023-08-29 19:57:42,974 INFO L134 LiptonReduction]: Checked pairs total: 22743 [2023-08-29 19:57:42,974 INFO L136 LiptonReduction]: Total number of compositions: 205 [2023-08-29 19:57:42,975 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:57:42,975 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:42,975 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2023-08-29 19:57:42,976 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 19:57:42,976 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:42,976 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:42,977 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:42,977 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 19:57:42,977 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:42,977 INFO L85 PathProgramCache]: Analyzing trace with hash 64069, now seen corresponding path program 1 times [2023-08-29 19:57:42,977 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:42,977 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1263472554] [2023-08-29 19:57:42,977 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:42,978 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:42,991 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:43,015 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:43,016 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:43,016 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1263472554] [2023-08-29 19:57:43,016 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1263472554] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:43,016 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:43,016 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:43,016 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [607147094] [2023-08-29 19:57:43,016 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:43,017 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:43,017 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:43,017 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:43,017 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:43,033 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 147 out of 385 [2023-08-29 19:57:43,034 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 41 places, 31 transitions, 107 flow. Second operand has 3 states, 3 states have (on average 147.66666666666666) internal successors, (443), 3 states have internal predecessors, (443), 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-29 19:57:43,034 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:43,034 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 147 of 385 [2023-08-29 19:57:43,034 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:43,524 INFO L130 PetriNetUnfolder]: 3040/4455 cut-off events. [2023-08-29 19:57:43,524 INFO L131 PetriNetUnfolder]: For 2176/2176 co-relation queries the response was YES. [2023-08-29 19:57:43,530 INFO L83 FinitePrefix]: Finished finitePrefix Result has 9667 conditions, 4455 events. 3040/4455 cut-off events. For 2176/2176 co-relation queries the response was YES. Maximal size of possible extension queue 277. Compared 23503 event pairs, 3040 based on Foata normal form. 0/3970 useless extension candidates. Maximal degree in co-relation 2734. Up to 4132 conditions per place. [2023-08-29 19:57:43,545 INFO L137 encePairwiseOnDemand]: 375/385 looper letters, 17 selfloop transitions, 1 changer transitions 1/21 dead transitions. [2023-08-29 19:57:43,546 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 34 places, 21 transitions, 123 flow [2023-08-29 19:57:43,546 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:43,546 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:43,548 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 468 transitions. [2023-08-29 19:57:43,548 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4051948051948052 [2023-08-29 19:57:43,548 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 468 transitions. [2023-08-29 19:57:43,548 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 468 transitions. [2023-08-29 19:57:43,549 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:43,549 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 468 transitions. [2023-08-29 19:57:43,550 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 156.0) internal successors, (468), 3 states have internal predecessors, (468), 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-29 19:57:43,552 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 385.0) internal successors, (1540), 4 states have internal predecessors, (1540), 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-29 19:57:43,552 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 385.0) internal successors, (1540), 4 states have internal predecessors, (1540), 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-29 19:57:43,552 INFO L175 Difference]: Start difference. First operand has 41 places, 31 transitions, 107 flow. Second operand 3 states and 468 transitions. [2023-08-29 19:57:43,552 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 34 places, 21 transitions, 123 flow [2023-08-29 19:57:43,554 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 34 places, 21 transitions, 103 flow, removed 10 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:43,555 INFO L231 Difference]: Finished difference. Result has 34 places, 20 transitions, 65 flow [2023-08-29 19:57:43,556 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=385, PETRI_DIFFERENCE_MINUEND_FLOW=67, PETRI_DIFFERENCE_MINUEND_PLACES=32, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=21, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=20, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=65, PETRI_PLACES=34, PETRI_TRANSITIONS=20} [2023-08-29 19:57:43,557 INFO L281 CegarLoopForPetriNet]: 41 programPoint places, -7 predicate places. [2023-08-29 19:57:43,557 INFO L495 AbstractCegarLoop]: Abstraction has has 34 places, 20 transitions, 65 flow [2023-08-29 19:57:43,558 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 147.66666666666666) internal successors, (443), 3 states have internal predecessors, (443), 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-29 19:57:43,558 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:43,558 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:43,558 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable13 [2023-08-29 19:57:43,558 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 19:57:43,558 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:43,559 INFO L85 PathProgramCache]: Analyzing trace with hash 64070, now seen corresponding path program 1 times [2023-08-29 19:57:43,559 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:43,559 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1043818392] [2023-08-29 19:57:43,559 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:43,559 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:43,580 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:43,600 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:43,601 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:43,601 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1043818392] [2023-08-29 19:57:43,601 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1043818392] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:43,601 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:43,601 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:43,602 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [813038673] [2023-08-29 19:57:43,602 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:43,602 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:43,602 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:43,603 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:43,603 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:43,614 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 149 out of 385 [2023-08-29 19:57:43,615 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 34 places, 20 transitions, 65 flow. Second operand has 3 states, 3 states have (on average 149.66666666666666) internal successors, (449), 3 states have internal predecessors, (449), 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-29 19:57:43,615 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:43,615 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 149 of 385 [2023-08-29 19:57:43,616 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:43,941 INFO L130 PetriNetUnfolder]: 1946/2916 cut-off events. [2023-08-29 19:57:43,941 INFO L131 PetriNetUnfolder]: For 280/280 co-relation queries the response was YES. [2023-08-29 19:57:43,945 INFO L83 FinitePrefix]: Finished finitePrefix Result has 5961 conditions, 2916 events. 1946/2916 cut-off events. For 280/280 co-relation queries the response was YES. Maximal size of possible extension queue 161. Compared 14210 event pairs, 1946 based on Foata normal form. 0/2795 useless extension candidates. Maximal degree in co-relation 5950. Up to 2674 conditions per place. [2023-08-29 19:57:43,947 INFO L137 encePairwiseOnDemand]: 383/385 looper letters, 0 selfloop transitions, 0 changer transitions 19/19 dead transitions. [2023-08-29 19:57:43,947 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 34 places, 19 transitions, 97 flow [2023-08-29 19:57:43,948 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:43,948 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:43,949 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 465 transitions. [2023-08-29 19:57:43,949 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4025974025974026 [2023-08-29 19:57:43,949 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 465 transitions. [2023-08-29 19:57:43,950 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 465 transitions. [2023-08-29 19:57:43,950 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:43,950 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 465 transitions. [2023-08-29 19:57:43,951 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 155.0) internal successors, (465), 3 states have internal predecessors, (465), 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-29 19:57:43,953 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 385.0) internal successors, (1540), 4 states have internal predecessors, (1540), 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-29 19:57:43,953 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 385.0) internal successors, (1540), 4 states have internal predecessors, (1540), 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-29 19:57:43,953 INFO L175 Difference]: Start difference. First operand has 34 places, 20 transitions, 65 flow. Second operand 3 states and 465 transitions. [2023-08-29 19:57:43,954 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 34 places, 19 transitions, 97 flow [2023-08-29 19:57:43,954 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 33 places, 19 transitions, 96 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 19:57:43,955 INFO L231 Difference]: Finished difference. Result has 33 places, 0 transitions, 0 flow [2023-08-29 19:57:43,955 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=385, PETRI_DIFFERENCE_MINUEND_FLOW=62, PETRI_DIFFERENCE_MINUEND_PLACES=31, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=19, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=19, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=33, PETRI_TRANSITIONS=0} [2023-08-29 19:57:43,955 INFO L281 CegarLoopForPetriNet]: 41 programPoint places, -8 predicate places. [2023-08-29 19:57:43,955 INFO L495 AbstractCegarLoop]: Abstraction has has 33 places, 0 transitions, 0 flow [2023-08-29 19:57:43,956 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 149.66666666666666) internal successors, (449), 3 states have internal predecessors, (449), 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-29 19:57:43,956 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (8 of 9 remaining) [2023-08-29 19:57:43,956 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 9 remaining) [2023-08-29 19:57:43,956 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (6 of 9 remaining) [2023-08-29 19:57:43,957 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (5 of 9 remaining) [2023-08-29 19:57:43,957 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 9 remaining) [2023-08-29 19:57:43,957 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (3 of 9 remaining) [2023-08-29 19:57:43,957 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 9 remaining) [2023-08-29 19:57:43,957 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 9 remaining) [2023-08-29 19:57:43,957 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 9 remaining) [2023-08-29 19:57:43,958 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable14 [2023-08-29 19:57:43,958 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-29 19:57:43,960 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 19:57:43,962 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:43,988 INFO L130 PetriNetUnfolder]: 26/263 cut-off events. [2023-08-29 19:57:43,989 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-29 19:57:43,991 INFO L83 FinitePrefix]: Finished finitePrefix Result has 294 conditions, 263 events. 26/263 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 830 event pairs, 0 based on Foata normal form. 0/208 useless extension candidates. Maximal degree in co-relation 229. Up to 12 conditions per place. [2023-08-29 19:57:43,991 INFO L82 GeneralOperation]: Start removeDead. Operand has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:43,993 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:43,993 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:43,993 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:43,993 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:43,993 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 170 places, 180 transitions, 405 flow [2023-08-29 19:57:44,017 INFO L130 PetriNetUnfolder]: 26/263 cut-off events. [2023-08-29 19:57:44,017 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-29 19:57:44,019 INFO L83 FinitePrefix]: Finished finitePrefix Result has 294 conditions, 263 events. 26/263 cut-off events. For 30/30 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 830 event pairs, 0 based on Foata normal form. 0/208 useless extension candidates. Maximal degree in co-relation 229. Up to 12 conditions per place. [2023-08-29 19:57:44,026 INFO L119 LiptonReduction]: Number of co-enabled transitions 22620 [2023-08-29 19:57:48,002 INFO L134 LiptonReduction]: Checked pairs total: 22273 [2023-08-29 19:57:48,002 INFO L136 LiptonReduction]: Total number of compositions: 200 [2023-08-29 19:57:48,004 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 19:57:48,004 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:48,005 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 19:57:48,010 INFO L130 PetriNetUnfolder]: 0/61 cut-off events. [2023-08-29 19:57:48,010 INFO L131 PetriNetUnfolder]: For 30/30 co-relation queries the response was YES. [2023-08-29 19:57:48,010 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:48,010 INFO L208 CegarLoopForPetriNet]: trace histogram [6, 5, 5, 1, 1, 1, 1, 1, 1, 1] [2023-08-29 19:57:48,011 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 19:57:48,011 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:48,011 INFO L85 PathProgramCache]: Analyzing trace with hash -792541573, now seen corresponding path program 1 times [2023-08-29 19:57:48,011 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:48,011 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [273807506] [2023-08-29 19:57:48,011 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:48,012 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:48,027 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:48,027 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 19:57:48,038 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:48,062 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 19:57:48,064 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 19:57:48,064 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 19:57:48,065 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable15 [2023-08-29 19:57:48,065 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 19:57:48,066 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 19:57:48,066 WARN L233 ceAbstractionStarter]: 5 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 19:57:48,066 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 6 thread instances. [2023-08-29 19:57:48,093 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:57:48,095 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:48,134 INFO L130 PetriNetUnfolder]: 31/310 cut-off events. [2023-08-29 19:57:48,134 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-29 19:57:48,137 INFO L83 FinitePrefix]: Finished finitePrefix Result has 350 conditions, 310 events. 31/310 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 976 event pairs, 0 based on Foata normal form. 0/245 useless extension candidates. Maximal degree in co-relation 284. Up to 14 conditions per place. [2023-08-29 19:57:48,138 INFO L82 GeneralOperation]: Start removeDead. Operand has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:48,141 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:48,141 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:48,141 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:48,142 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:48,142 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:48,179 INFO L130 PetriNetUnfolder]: 31/310 cut-off events. [2023-08-29 19:57:48,179 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-29 19:57:48,182 INFO L83 FinitePrefix]: Finished finitePrefix Result has 350 conditions, 310 events. 31/310 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 976 event pairs, 0 based on Foata normal form. 0/245 useless extension candidates. Maximal degree in co-relation 284. Up to 14 conditions per place. [2023-08-29 19:57:48,190 INFO L119 LiptonReduction]: Number of co-enabled transitions 32364 [2023-08-29 19:57:52,455 INFO L134 LiptonReduction]: Checked pairs total: 30106 [2023-08-29 19:57:52,456 INFO L136 LiptonReduction]: Total number of compositions: 229 [2023-08-29 19:57:52,457 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:57:52,457 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:52,457 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-08-29 19:57:52,458 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 19:57:52,458 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:52,458 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:52,458 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:52,458 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-08-29 19:57:52,458 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:52,458 INFO L85 PathProgramCache]: Analyzing trace with hash 85631, now seen corresponding path program 1 times [2023-08-29 19:57:52,458 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:52,459 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1065142457] [2023-08-29 19:57:52,459 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:52,459 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:52,470 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:52,482 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:52,482 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:52,483 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1065142457] [2023-08-29 19:57:52,483 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1065142457] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:52,483 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:52,484 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:52,484 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1890182115] [2023-08-29 19:57:52,484 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:52,484 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:52,484 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:52,485 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:52,485 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:52,504 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 172 out of 439 [2023-08-29 19:57:52,505 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 48 places, 37 transitions, 134 flow. Second operand has 3 states, 3 states have (on average 172.66666666666666) internal successors, (518), 3 states have internal predecessors, (518), 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-29 19:57:52,505 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:52,506 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 172 of 439 [2023-08-29 19:57:52,506 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:54,233 INFO L130 PetriNetUnfolder]: 11302/15552 cut-off events. [2023-08-29 19:57:54,233 INFO L131 PetriNetUnfolder]: For 9628/9628 co-relation queries the response was YES. [2023-08-29 19:57:54,254 INFO L83 FinitePrefix]: Finished finitePrefix Result has 33968 conditions, 15552 events. 11302/15552 cut-off events. For 9628/9628 co-relation queries the response was YES. Maximal size of possible extension queue 783. Compared 86058 event pairs, 11302 based on Foata normal form. 0/14095 useless extension candidates. Maximal degree in co-relation 9862. Up to 14581 conditions per place. [2023-08-29 19:57:54,298 INFO L137 encePairwiseOnDemand]: 427/439 looper letters, 20 selfloop transitions, 1 changer transitions 1/24 dead transitions. [2023-08-29 19:57:54,299 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 24 transitions, 150 flow [2023-08-29 19:57:54,299 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:54,299 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:54,300 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 548 transitions. [2023-08-29 19:57:54,301 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4160971905846621 [2023-08-29 19:57:54,301 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 548 transitions. [2023-08-29 19:57:54,301 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 548 transitions. [2023-08-29 19:57:54,302 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:54,302 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 548 transitions. [2023-08-29 19:57:54,303 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 182.66666666666666) internal successors, (548), 3 states have internal predecessors, (548), 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-29 19:57:54,305 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 439.0) internal successors, (1756), 4 states have internal predecessors, (1756), 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-29 19:57:54,305 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 439.0) internal successors, (1756), 4 states have internal predecessors, (1756), 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-29 19:57:54,305 INFO L175 Difference]: Start difference. First operand has 48 places, 37 transitions, 134 flow. Second operand 3 states and 548 transitions. [2023-08-29 19:57:54,306 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 24 transitions, 150 flow [2023-08-29 19:57:54,317 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 39 places, 24 transitions, 120 flow, removed 15 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:54,317 INFO L231 Difference]: Finished difference. Result has 39 places, 23 transitions, 76 flow [2023-08-29 19:57:54,318 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=439, PETRI_DIFFERENCE_MINUEND_FLOW=78, PETRI_DIFFERENCE_MINUEND_PLACES=37, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=24, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=23, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=76, PETRI_PLACES=39, PETRI_TRANSITIONS=23} [2023-08-29 19:57:54,318 INFO L281 CegarLoopForPetriNet]: 48 programPoint places, -9 predicate places. [2023-08-29 19:57:54,318 INFO L495 AbstractCegarLoop]: Abstraction has has 39 places, 23 transitions, 76 flow [2023-08-29 19:57:54,319 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 172.66666666666666) internal successors, (518), 3 states have internal predecessors, (518), 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-29 19:57:54,319 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:54,319 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:54,319 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable16 [2023-08-29 19:57:54,319 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-08-29 19:57:54,319 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:54,319 INFO L85 PathProgramCache]: Analyzing trace with hash 85630, now seen corresponding path program 1 times [2023-08-29 19:57:54,320 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:54,320 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1800636333] [2023-08-29 19:57:54,320 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:54,320 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:54,325 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:54,345 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:54,345 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:54,345 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1800636333] [2023-08-29 19:57:54,345 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1800636333] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:54,345 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:54,345 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:54,346 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1002387053] [2023-08-29 19:57:54,346 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:54,346 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:54,346 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:54,347 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:54,347 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:54,358 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 174 out of 439 [2023-08-29 19:57:54,359 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 39 places, 23 transitions, 76 flow. Second operand has 3 states, 3 states have (on average 174.66666666666666) internal successors, (524), 3 states have internal predecessors, (524), 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-29 19:57:54,359 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:54,359 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 174 of 439 [2023-08-29 19:57:54,360 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:55,352 INFO L130 PetriNetUnfolder]: 7292/10206 cut-off events. [2023-08-29 19:57:55,352 INFO L131 PetriNetUnfolder]: For 847/847 co-relation queries the response was YES. [2023-08-29 19:57:55,367 INFO L83 FinitePrefix]: Finished finitePrefix Result has 20785 conditions, 10206 events. 7292/10206 cut-off events. For 847/847 co-relation queries the response was YES. Maximal size of possible extension queue 459. Compared 53168 event pairs, 7292 based on Foata normal form. 0/9842 useless extension candidates. Maximal degree in co-relation 20773. Up to 9478 conditions per place. [2023-08-29 19:57:55,374 INFO L137 encePairwiseOnDemand]: 437/439 looper letters, 0 selfloop transitions, 0 changer transitions 22/22 dead transitions. [2023-08-29 19:57:55,375 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 22 transitions, 114 flow [2023-08-29 19:57:55,375 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:55,375 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:55,377 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 543 transitions. [2023-08-29 19:57:55,377 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4123006833712984 [2023-08-29 19:57:55,377 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 543 transitions. [2023-08-29 19:57:55,378 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 543 transitions. [2023-08-29 19:57:55,378 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:55,378 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 543 transitions. [2023-08-29 19:57:55,380 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 181.0) internal successors, (543), 3 states have internal predecessors, (543), 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-29 19:57:55,382 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 439.0) internal successors, (1756), 4 states have internal predecessors, (1756), 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-29 19:57:55,383 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 439.0) internal successors, (1756), 4 states have internal predecessors, (1756), 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-29 19:57:55,383 INFO L175 Difference]: Start difference. First operand has 39 places, 23 transitions, 76 flow. Second operand 3 states and 543 transitions. [2023-08-29 19:57:55,383 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 22 transitions, 114 flow [2023-08-29 19:57:55,384 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 38 places, 22 transitions, 113 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 19:57:55,384 INFO L231 Difference]: Finished difference. Result has 38 places, 0 transitions, 0 flow [2023-08-29 19:57:55,384 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=439, PETRI_DIFFERENCE_MINUEND_FLOW=73, PETRI_DIFFERENCE_MINUEND_PLACES=36, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=22, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=22, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=38, PETRI_TRANSITIONS=0} [2023-08-29 19:57:55,385 INFO L281 CegarLoopForPetriNet]: 48 programPoint places, -10 predicate places. [2023-08-29 19:57:55,385 INFO L495 AbstractCegarLoop]: Abstraction has has 38 places, 0 transitions, 0 flow [2023-08-29 19:57:55,385 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 174.66666666666666) internal successors, (524), 3 states have internal predecessors, (524), 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-29 19:57:55,386 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 10 remaining) [2023-08-29 19:57:55,386 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (8 of 10 remaining) [2023-08-29 19:57:55,386 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (7 of 10 remaining) [2023-08-29 19:57:55,386 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (6 of 10 remaining) [2023-08-29 19:57:55,386 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 10 remaining) [2023-08-29 19:57:55,386 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 10 remaining) [2023-08-29 19:57:55,387 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (3 of 10 remaining) [2023-08-29 19:57:55,387 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 10 remaining) [2023-08-29 19:57:55,387 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 10 remaining) [2023-08-29 19:57:55,387 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 10 remaining) [2023-08-29 19:57:55,387 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable17 [2023-08-29 19:57:55,387 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-08-29 19:57:55,388 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 19:57:55,390 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:55,430 INFO L130 PetriNetUnfolder]: 31/310 cut-off events. [2023-08-29 19:57:55,430 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-29 19:57:55,433 INFO L83 FinitePrefix]: Finished finitePrefix Result has 350 conditions, 310 events. 31/310 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 976 event pairs, 0 based on Foata normal form. 0/245 useless extension candidates. Maximal degree in co-relation 284. Up to 14 conditions per place. [2023-08-29 19:57:55,433 INFO L82 GeneralOperation]: Start removeDead. Operand has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:55,435 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:55,435 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:55,435 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:55,436 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:55,436 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 198 places, 210 transitions, 480 flow [2023-08-29 19:57:55,475 INFO L130 PetriNetUnfolder]: 31/310 cut-off events. [2023-08-29 19:57:55,476 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-29 19:57:55,478 INFO L83 FinitePrefix]: Finished finitePrefix Result has 350 conditions, 310 events. 31/310 cut-off events. For 50/50 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 976 event pairs, 0 based on Foata normal form. 0/245 useless extension candidates. Maximal degree in co-relation 284. Up to 14 conditions per place. [2023-08-29 19:57:55,488 INFO L119 LiptonReduction]: Number of co-enabled transitions 32364 [2023-08-29 19:58:00,077 INFO L134 LiptonReduction]: Checked pairs total: 29778 [2023-08-29 19:58:00,077 INFO L136 LiptonReduction]: Total number of compositions: 228 [2023-08-29 19:58:00,078 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 19:58:00,079 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:58:00,079 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 19:58:00,085 INFO L130 PetriNetUnfolder]: 0/72 cut-off events. [2023-08-29 19:58:00,085 INFO L131 PetriNetUnfolder]: For 50/50 co-relation queries the response was YES. [2023-08-29 19:58:00,085 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:58:00,085 INFO L208 CegarLoopForPetriNet]: trace histogram [7, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-29 19:58:00,085 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 19:58:00,085 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:58:00,085 INFO L85 PathProgramCache]: Analyzing trace with hash -725461638, now seen corresponding path program 1 times [2023-08-29 19:58:00,085 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:58:00,086 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [983351087] [2023-08-29 19:58:00,086 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:58:00,086 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:58:00,098 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:58:00,098 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 19:58:00,144 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:58:00,148 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 19:58:00,148 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 19:58:00,148 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 19:58:00,148 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable18 [2023-08-29 19:58:00,148 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 19:58:00,149 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 19:58:00,149 WARN L233 ceAbstractionStarter]: 6 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 19:58:00,149 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 7 thread instances. [2023-08-29 19:58:00,183 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:58:00,186 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:00,224 INFO L130 PetriNetUnfolder]: 36/357 cut-off events. [2023-08-29 19:58:00,225 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-29 19:58:00,229 INFO L83 FinitePrefix]: Finished finitePrefix Result has 407 conditions, 357 events. 36/357 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 1162 event pairs, 0 based on Foata normal form. 0/282 useless extension candidates. Maximal degree in co-relation 340. Up to 16 conditions per place. [2023-08-29 19:58:00,229 INFO L82 GeneralOperation]: Start removeDead. Operand has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:00,232 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:00,233 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:58:00,233 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:00,233 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:00,233 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:00,274 INFO L130 PetriNetUnfolder]: 36/357 cut-off events. [2023-08-29 19:58:00,275 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-29 19:58:00,279 INFO L83 FinitePrefix]: Finished finitePrefix Result has 407 conditions, 357 events. 36/357 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 1162 event pairs, 0 based on Foata normal form. 0/282 useless extension candidates. Maximal degree in co-relation 340. Up to 16 conditions per place. [2023-08-29 19:58:00,291 INFO L119 LiptonReduction]: Number of co-enabled transitions 43848 [2023-08-29 19:58:05,556 INFO L134 LiptonReduction]: Checked pairs total: 43538 [2023-08-29 19:58:05,556 INFO L136 LiptonReduction]: Total number of compositions: 270 [2023-08-29 19:58:05,558 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:58:05,559 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:58:05,559 INFO L358 AbstractCegarLoop]: Starting to check reachability of 11 error locations. [2023-08-29 19:58:05,560 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 19:58:05,560 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:58:05,560 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:58:05,560 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:58:05,560 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 8 more)] === [2023-08-29 19:58:05,561 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:58:05,561 INFO L85 PathProgramCache]: Analyzing trace with hash 109883, now seen corresponding path program 1 times [2023-08-29 19:58:05,561 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:58:05,561 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1534599112] [2023-08-29 19:58:05,561 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:58:05,561 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:58:05,571 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:58:05,576 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:58:05,576 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:58:05,576 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1534599112] [2023-08-29 19:58:05,577 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1534599112] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:58:05,577 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:58:05,577 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:58:05,577 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [434533162] [2023-08-29 19:58:05,577 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:58:05,577 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-29 19:58:05,578 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:58:05,578 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-29 19:58:05,578 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-29 19:58:05,579 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 203 out of 510 [2023-08-29 19:58:05,579 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 54 places, 41 transitions, 159 flow. Second operand has 2 states, 2 states have (on average 204.0) internal successors, (408), 2 states have internal predecessors, (408), 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-29 19:58:05,579 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:58:05,579 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 203 of 510 [2023-08-29 19:58:05,579 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:58:11,611 INFO L130 PetriNetUnfolder]: 54678/70713 cut-off events. [2023-08-29 19:58:11,611 INFO L131 PetriNetUnfolder]: For 40003/40003 co-relation queries the response was YES. [2023-08-29 19:58:11,723 INFO L83 FinitePrefix]: Finished finitePrefix Result has 151824 conditions, 70713 events. 54678/70713 cut-off events. For 40003/40003 co-relation queries the response was YES. Maximal size of possible extension queue 3032. Compared 403782 event pairs, 54678 based on Foata normal form. 0/63060 useless extension candidates. Maximal degree in co-relation 44773. Up to 67799 conditions per place. [2023-08-29 19:58:11,939 INFO L137 encePairwiseOnDemand]: 499/510 looper letters, 25 selfloop transitions, 0 changer transitions 1/28 dead transitions. [2023-08-29 19:58:11,940 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 28 transitions, 183 flow [2023-08-29 19:58:11,940 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-29 19:58:11,940 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-29 19:58:11,941 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 442 transitions. [2023-08-29 19:58:11,942 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.43333333333333335 [2023-08-29 19:58:11,942 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 442 transitions. [2023-08-29 19:58:11,942 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 442 transitions. [2023-08-29 19:58:11,942 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:58:11,942 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 442 transitions. [2023-08-29 19:58:11,943 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 221.0) internal successors, (442), 2 states have internal predecessors, (442), 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-29 19:58:11,945 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 510.0) internal successors, (1530), 3 states have internal predecessors, (1530), 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-29 19:58:11,945 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 510.0) internal successors, (1530), 3 states have internal predecessors, (1530), 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-29 19:58:11,946 INFO L175 Difference]: Start difference. First operand has 54 places, 41 transitions, 159 flow. Second operand 2 states and 442 transitions. [2023-08-29 19:58:11,946 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 28 transitions, 183 flow [2023-08-29 19:58:12,009 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 44 places, 28 transitions, 141 flow, removed 21 selfloop flow, removed 0 redundant places. [2023-08-29 19:58:12,010 INFO L231 Difference]: Finished difference. Result has 44 places, 27 transitions, 87 flow [2023-08-29 19:58:12,010 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=510, PETRI_DIFFERENCE_MINUEND_FLOW=91, PETRI_DIFFERENCE_MINUEND_PLACES=43, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=28, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=28, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=87, PETRI_PLACES=44, PETRI_TRANSITIONS=27} [2023-08-29 19:58:12,010 INFO L281 CegarLoopForPetriNet]: 54 programPoint places, -10 predicate places. [2023-08-29 19:58:12,011 INFO L495 AbstractCegarLoop]: Abstraction has has 44 places, 27 transitions, 87 flow [2023-08-29 19:58:12,011 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 204.0) internal successors, (408), 2 states have internal predecessors, (408), 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-29 19:58:12,011 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:58:12,011 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:58:12,011 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable19 [2023-08-29 19:58:12,011 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 8 more)] === [2023-08-29 19:58:12,012 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:58:12,012 INFO L85 PathProgramCache]: Analyzing trace with hash 109933, now seen corresponding path program 1 times [2023-08-29 19:58:12,012 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:58:12,012 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1837041193] [2023-08-29 19:58:12,012 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:58:12,012 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:58:12,018 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:58:12,039 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:58:12,040 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:58:12,040 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1837041193] [2023-08-29 19:58:12,040 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1837041193] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:58:12,040 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:58:12,040 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:58:12,040 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1550600567] [2023-08-29 19:58:12,041 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:58:12,041 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:58:12,041 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:58:12,041 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:58:12,041 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:58:12,052 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 199 out of 510 [2023-08-29 19:58:12,053 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 44 places, 27 transitions, 87 flow. Second operand has 3 states, 3 states have (on average 199.66666666666666) internal successors, (599), 3 states have internal predecessors, (599), 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-29 19:58:12,053 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:58:12,053 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 199 of 510 [2023-08-29 19:58:12,054 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:58:16,556 INFO L130 PetriNetUnfolder]: 40462/52488 cut-off events. [2023-08-29 19:58:16,557 INFO L131 PetriNetUnfolder]: For 2548/2548 co-relation queries the response was YES. [2023-08-29 19:58:16,656 INFO L83 FinitePrefix]: Finished finitePrefix Result has 106078 conditions, 52488 events. 40462/52488 cut-off events. For 2548/2548 co-relation queries the response was YES. Maximal size of possible extension queue 2115. Compared 287708 event pairs, 40462 based on Foata normal form. 0/48115 useless extension candidates. Maximal degree in co-relation 106068. Up to 50302 conditions per place. [2023-08-29 19:58:16,795 INFO L137 encePairwiseOnDemand]: 508/510 looper letters, 23 selfloop transitions, 1 changer transitions 0/26 dead transitions. [2023-08-29 19:58:16,795 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 26 transitions, 133 flow [2023-08-29 19:58:16,796 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:58:16,796 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:58:16,797 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 622 transitions. [2023-08-29 19:58:16,798 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4065359477124183 [2023-08-29 19:58:16,798 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 622 transitions. [2023-08-29 19:58:16,798 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 622 transitions. [2023-08-29 19:58:16,798 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:58:16,798 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 622 transitions. [2023-08-29 19:58:16,801 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 207.33333333333334) internal successors, (622), 3 states have internal predecessors, (622), 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-29 19:58:16,803 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 510.0) internal successors, (2040), 4 states have internal predecessors, (2040), 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-29 19:58:16,804 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 510.0) internal successors, (2040), 4 states have internal predecessors, (2040), 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-29 19:58:16,804 INFO L175 Difference]: Start difference. First operand has 44 places, 27 transitions, 87 flow. Second operand 3 states and 622 transitions. [2023-08-29 19:58:16,804 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 26 transitions, 133 flow [2023-08-29 19:58:16,806 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 44 places, 26 transitions, 133 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 19:58:16,806 INFO L231 Difference]: Finished difference. Result has 44 places, 26 transitions, 87 flow [2023-08-29 19:58:16,806 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=510, PETRI_DIFFERENCE_MINUEND_FLOW=85, PETRI_DIFFERENCE_MINUEND_PLACES=42, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=26, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=25, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=87, PETRI_PLACES=44, PETRI_TRANSITIONS=26} [2023-08-29 19:58:16,807 INFO L281 CegarLoopForPetriNet]: 54 programPoint places, -10 predicate places. [2023-08-29 19:58:16,807 INFO L495 AbstractCegarLoop]: Abstraction has has 44 places, 26 transitions, 87 flow [2023-08-29 19:58:16,807 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 199.66666666666666) internal successors, (599), 3 states have internal predecessors, (599), 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-29 19:58:16,808 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:58:16,808 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:58:16,808 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable20 [2023-08-29 19:58:16,808 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 8 more)] === [2023-08-29 19:58:16,808 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:58:16,808 INFO L85 PathProgramCache]: Analyzing trace with hash 109932, now seen corresponding path program 1 times [2023-08-29 19:58:16,809 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:58:16,809 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1785238163] [2023-08-29 19:58:16,809 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:58:16,809 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:58:16,813 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:58:16,838 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:58:16,838 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:58:16,838 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1785238163] [2023-08-29 19:58:16,839 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1785238163] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:58:16,839 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:58:16,839 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:58:16,839 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [884515733] [2023-08-29 19:58:16,839 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:58:16,839 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:58:16,840 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:58:16,840 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:58:16,840 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:58:16,856 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 197 out of 510 [2023-08-29 19:58:16,857 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 44 places, 26 transitions, 87 flow. Second operand has 3 states, 3 states have (on average 197.66666666666666) internal successors, (593), 3 states have internal predecessors, (593), 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-29 19:58:16,857 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:58:16,857 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 197 of 510 [2023-08-29 19:58:16,857 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:58:19,863 INFO L130 PetriNetUnfolder]: 26246/34992 cut-off events. [2023-08-29 19:58:19,864 INFO L131 PetriNetUnfolder]: For 2548/2548 co-relation queries the response was YES. [2023-08-29 19:58:19,933 INFO L83 FinitePrefix]: Finished finitePrefix Result has 71088 conditions, 34992 events. 26246/34992 cut-off events. For 2548/2548 co-relation queries the response was YES. Maximal size of possible extension queue 1320. Compared 190653 event pairs, 26246 based on Foata normal form. 0/33899 useless extension candidates. Maximal degree in co-relation 71077. Up to 32806 conditions per place. [2023-08-29 19:58:19,956 INFO L137 encePairwiseOnDemand]: 508/510 looper letters, 0 selfloop transitions, 0 changer transitions 25/25 dead transitions. [2023-08-29 19:58:19,956 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 45 places, 25 transitions, 131 flow [2023-08-29 19:58:19,957 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:58:19,957 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:58:19,958 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 615 transitions. [2023-08-29 19:58:19,959 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4019607843137255 [2023-08-29 19:58:19,959 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 615 transitions. [2023-08-29 19:58:19,959 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 615 transitions. [2023-08-29 19:58:19,960 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:58:19,960 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 615 transitions. [2023-08-29 19:58:19,961 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 205.0) internal successors, (615), 3 states have internal predecessors, (615), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:58:19,963 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 510.0) internal successors, (2040), 4 states have internal predecessors, (2040), 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-29 19:58:19,964 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 510.0) internal successors, (2040), 4 states have internal predecessors, (2040), 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-29 19:58:19,965 INFO L175 Difference]: Start difference. First operand has 44 places, 26 transitions, 87 flow. Second operand 3 states and 615 transitions. [2023-08-29 19:58:19,965 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 45 places, 25 transitions, 131 flow [2023-08-29 19:58:19,978 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 44 places, 25 transitions, 130 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 19:58:19,979 INFO L231 Difference]: Finished difference. Result has 44 places, 0 transitions, 0 flow [2023-08-29 19:58:19,979 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=510, PETRI_DIFFERENCE_MINUEND_FLOW=84, PETRI_DIFFERENCE_MINUEND_PLACES=42, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=25, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=25, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=44, PETRI_TRANSITIONS=0} [2023-08-29 19:58:19,980 INFO L281 CegarLoopForPetriNet]: 54 programPoint places, -10 predicate places. [2023-08-29 19:58:19,980 INFO L495 AbstractCegarLoop]: Abstraction has has 44 places, 0 transitions, 0 flow [2023-08-29 19:58:19,981 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 197.66666666666666) internal successors, (593), 3 states have internal predecessors, (593), 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-29 19:58:19,981 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (10 of 11 remaining) [2023-08-29 19:58:19,981 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 11 remaining) [2023-08-29 19:58:19,981 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (8 of 11 remaining) [2023-08-29 19:58:19,981 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (7 of 11 remaining) [2023-08-29 19:58:19,982 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (6 of 11 remaining) [2023-08-29 19:58:19,982 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (5 of 11 remaining) [2023-08-29 19:58:19,982 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 11 remaining) [2023-08-29 19:58:19,982 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (3 of 11 remaining) [2023-08-29 19:58:19,982 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 11 remaining) [2023-08-29 19:58:19,982 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 11 remaining) [2023-08-29 19:58:19,983 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 11 remaining) [2023-08-29 19:58:19,983 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable21 [2023-08-29 19:58:19,983 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 19:58:19,983 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 19:58:19,986 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:20,034 INFO L130 PetriNetUnfolder]: 36/357 cut-off events. [2023-08-29 19:58:20,035 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-29 19:58:20,039 INFO L83 FinitePrefix]: Finished finitePrefix Result has 407 conditions, 357 events. 36/357 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 1162 event pairs, 0 based on Foata normal form. 0/282 useless extension candidates. Maximal degree in co-relation 340. Up to 16 conditions per place. [2023-08-29 19:58:20,039 INFO L82 GeneralOperation]: Start removeDead. Operand has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:20,041 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:20,041 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:58:20,042 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:20,042 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:20,042 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 226 places, 240 transitions, 557 flow [2023-08-29 19:58:20,089 INFO L130 PetriNetUnfolder]: 36/357 cut-off events. [2023-08-29 19:58:20,089 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-29 19:58:20,093 INFO L83 FinitePrefix]: Finished finitePrefix Result has 407 conditions, 357 events. 36/357 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 1162 event pairs, 0 based on Foata normal form. 0/282 useless extension candidates. Maximal degree in co-relation 340. Up to 16 conditions per place. [2023-08-29 19:58:20,106 INFO L119 LiptonReduction]: Number of co-enabled transitions 43848 [2023-08-29 19:58:25,528 INFO L134 LiptonReduction]: Checked pairs total: 42042 [2023-08-29 19:58:25,528 INFO L136 LiptonReduction]: Total number of compositions: 268 [2023-08-29 19:58:25,529 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 19:58:25,529 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:58:25,530 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 19:58:25,536 INFO L130 PetriNetUnfolder]: 1/85 cut-off events. [2023-08-29 19:58:25,536 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-29 19:58:25,536 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:58:25,536 INFO L208 CegarLoopForPetriNet]: trace histogram [8, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-29 19:58:25,536 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 19:58:25,536 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:58:25,537 INFO L85 PathProgramCache]: Analyzing trace with hash 325449344, now seen corresponding path program 1 times [2023-08-29 19:58:25,537 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:58:25,537 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1930360316] [2023-08-29 19:58:25,537 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:58:25,537 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:58:25,548 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:58:25,549 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 19:58:25,555 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:58:25,560 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 19:58:25,560 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 19:58:25,560 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 19:58:25,560 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable22 [2023-08-29 19:58:25,561 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 19:58:25,561 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 19:58:25,561 WARN L233 ceAbstractionStarter]: 7 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 19:58:25,561 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 8 thread instances. [2023-08-29 19:58:25,587 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:58:25,589 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 254 places, 270 transitions, 636 flow [2023-08-29 19:58:25,637 INFO L130 PetriNetUnfolder]: 41/404 cut-off events. [2023-08-29 19:58:25,637 INFO L131 PetriNetUnfolder]: For 112/112 co-relation queries the response was YES. [2023-08-29 19:58:25,642 INFO L83 FinitePrefix]: Finished finitePrefix Result has 465 conditions, 404 events. 41/404 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1358 event pairs, 0 based on Foata normal form. 0/319 useless extension candidates. Maximal degree in co-relation 397. Up to 18 conditions per place. [2023-08-29 19:58:25,642 INFO L82 GeneralOperation]: Start removeDead. Operand has 254 places, 270 transitions, 636 flow [2023-08-29 19:58:25,646 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 254 places, 270 transitions, 636 flow [2023-08-29 19:58:25,646 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:58:25,646 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 254 places, 270 transitions, 636 flow [2023-08-29 19:58:25,646 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 254 places, 270 transitions, 636 flow [2023-08-29 19:58:25,646 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 254 places, 270 transitions, 636 flow [2023-08-29 19:58:25,694 INFO L130 PetriNetUnfolder]: 41/404 cut-off events. [2023-08-29 19:58:25,695 INFO L131 PetriNetUnfolder]: For 112/112 co-relation queries the response was YES. [2023-08-29 19:58:25,700 INFO L83 FinitePrefix]: Finished finitePrefix Result has 465 conditions, 404 events. 41/404 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1358 event pairs, 0 based on Foata normal form. 0/319 useless extension candidates. Maximal degree in co-relation 397. Up to 18 conditions per place. [2023-08-29 19:58:25,715 INFO L119 LiptonReduction]: Number of co-enabled transitions 57072 [2023-08-29 19:58:31,476 INFO L134 LiptonReduction]: Checked pairs total: 57099 [2023-08-29 19:58:31,477 INFO L136 LiptonReduction]: Total number of compositions: 304 [2023-08-29 19:58:31,478 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:58:31,478 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:58:31,478 INFO L358 AbstractCegarLoop]: Starting to check reachability of 12 error locations. [2023-08-29 19:58:31,478 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 19:58:31,478 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:58:31,479 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:58:31,479 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:58:31,479 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-08-29 19:58:31,479 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:58:31,479 INFO L85 PathProgramCache]: Analyzing trace with hash 137531, now seen corresponding path program 1 times [2023-08-29 19:58:31,479 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:58:31,479 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [953258390] [2023-08-29 19:58:31,479 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:58:31,479 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:58:31,485 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:58:31,487 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:58:31,488 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:58:31,488 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [953258390] [2023-08-29 19:58:31,488 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [953258390] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:58:31,488 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:58:31,488 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:58:31,489 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [698886538] [2023-08-29 19:58:31,490 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:58:31,490 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-29 19:58:31,490 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:58:31,490 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-29 19:58:31,491 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-29 19:58:31,491 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 228 out of 574 [2023-08-29 19:58:31,492 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 60 places, 45 transitions, 186 flow. Second operand has 2 states, 2 states have (on average 229.0) internal successors, (458), 2 states have internal predecessors, (458), 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-29 19:58:31,492 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:58:31,492 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 228 of 574 [2023-08-29 19:58:31,492 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:58:52,600 INFO L130 PetriNetUnfolder]: 190272/238383 cut-off events. [2023-08-29 19:58:52,600 INFO L131 PetriNetUnfolder]: For 158830/158830 co-relation queries the response was YES. [2023-08-29 19:58:53,022 INFO L83 FinitePrefix]: Finished finitePrefix Result has 513409 conditions, 238383 events. 190272/238383 cut-off events. For 158830/158830 co-relation queries the response was YES. Maximal size of possible extension queue 8704. Compared 1384597 event pairs, 190272 based on Foata normal form. 0/215421 useless extension candidates. Maximal degree in co-relation 153637. Up to 229637 conditions per place. [2023-08-29 19:58:53,548 INFO L137 encePairwiseOnDemand]: 562/574 looper letters, 28 selfloop transitions, 0 changer transitions 1/31 dead transitions. [2023-08-29 19:58:53,549 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 49 places, 31 transitions, 214 flow [2023-08-29 19:58:53,549 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-29 19:58:53,549 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-29 19:58:53,550 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 496 transitions. [2023-08-29 19:58:53,551 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.43205574912891986 [2023-08-29 19:58:53,551 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 496 transitions. [2023-08-29 19:58:53,551 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 496 transitions. [2023-08-29 19:58:53,551 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:58:53,551 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 496 transitions. [2023-08-29 19:58:53,552 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 248.0) internal successors, (496), 2 states have internal predecessors, (496), 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-29 19:58:53,554 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 574.0) internal successors, (1722), 3 states have internal predecessors, (1722), 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-29 19:58:53,555 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 574.0) internal successors, (1722), 3 states have internal predecessors, (1722), 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-29 19:58:53,555 INFO L175 Difference]: Start difference. First operand has 60 places, 45 transitions, 186 flow. Second operand 2 states and 496 transitions. [2023-08-29 19:58:53,555 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 49 places, 31 transitions, 214 flow [2023-08-29 19:58:53,644 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 49 places, 31 transitions, 158 flow, removed 28 selfloop flow, removed 0 redundant places. [2023-08-29 19:58:53,645 INFO L231 Difference]: Finished difference. Result has 49 places, 30 transitions, 98 flow [2023-08-29 19:58:53,645 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=574, PETRI_DIFFERENCE_MINUEND_FLOW=102, PETRI_DIFFERENCE_MINUEND_PLACES=48, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=31, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=31, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=98, PETRI_PLACES=49, PETRI_TRANSITIONS=30} [2023-08-29 19:58:53,645 INFO L281 CegarLoopForPetriNet]: 60 programPoint places, -11 predicate places. [2023-08-29 19:58:53,645 INFO L495 AbstractCegarLoop]: Abstraction has has 49 places, 30 transitions, 98 flow [2023-08-29 19:58:53,645 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 229.0) internal successors, (458), 2 states have internal predecessors, (458), 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-29 19:58:53,646 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:58:53,646 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:58:53,646 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable23 [2023-08-29 19:58:53,646 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-08-29 19:58:53,646 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:58:53,646 INFO L85 PathProgramCache]: Analyzing trace with hash 137574, now seen corresponding path program 1 times [2023-08-29 19:58:53,646 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:58:53,646 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1930745698] [2023-08-29 19:58:53,646 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:58:53,646 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:58:53,651 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:58:53,663 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:58:53,663 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:58:53,663 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1930745698] [2023-08-29 19:58:53,663 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1930745698] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:58:53,664 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:58:53,664 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:58:53,664 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [878894726] [2023-08-29 19:58:53,664 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:58:53,664 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:58:53,664 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:58:53,665 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:58:53,665 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:58:53,680 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 222 out of 574 [2023-08-29 19:58:53,681 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 49 places, 30 transitions, 98 flow. Second operand has 3 states, 3 states have (on average 222.66666666666666) internal successors, (668), 3 states have internal predecessors, (668), 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-29 19:58:53,681 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:58:53,681 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 222 of 574 [2023-08-29 19:58:53,681 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:59:08,635 INFO L130 PetriNetUnfolder]: 141064/177147 cut-off events. [2023-08-29 19:59:08,635 INFO L131 PetriNetUnfolder]: For 7651/7651 co-relation queries the response was YES. [2023-08-29 19:59:09,006 INFO L83 FinitePrefix]: Finished finitePrefix Result has 357584 conditions, 177147 events. 141064/177147 cut-off events. For 7651/7651 co-relation queries the response was YES. Maximal size of possible extension queue 6090. Compared 995929 event pairs, 141064 based on Foata normal form. 0/164026 useless extension candidates. Maximal degree in co-relation 357573. Up to 170587 conditions per place. [2023-08-29 19:59:09,384 INFO L137 encePairwiseOnDemand]: 572/574 looper letters, 26 selfloop transitions, 1 changer transitions 0/29 dead transitions. [2023-08-29 19:59:09,384 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 49 places, 29 transitions, 150 flow [2023-08-29 19:59:09,385 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:59:09,385 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:59:09,386 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 694 transitions. [2023-08-29 19:59:09,386 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.40301974448315914 [2023-08-29 19:59:09,386 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 694 transitions. [2023-08-29 19:59:09,387 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 694 transitions. [2023-08-29 19:59:09,387 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:59:09,387 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 694 transitions. [2023-08-29 19:59:09,389 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 231.33333333333334) internal successors, (694), 3 states have internal predecessors, (694), 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-29 19:59:09,391 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 574.0) internal successors, (2296), 4 states have internal predecessors, (2296), 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-29 19:59:09,391 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 574.0) internal successors, (2296), 4 states have internal predecessors, (2296), 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-29 19:59:09,392 INFO L175 Difference]: Start difference. First operand has 49 places, 30 transitions, 98 flow. Second operand 3 states and 694 transitions. [2023-08-29 19:59:09,392 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 49 places, 29 transitions, 150 flow [2023-08-29 19:59:09,394 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 49 places, 29 transitions, 150 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 19:59:09,394 INFO L231 Difference]: Finished difference. Result has 49 places, 29 transitions, 98 flow [2023-08-29 19:59:09,395 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=574, PETRI_DIFFERENCE_MINUEND_FLOW=96, PETRI_DIFFERENCE_MINUEND_PLACES=47, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=29, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=28, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=98, PETRI_PLACES=49, PETRI_TRANSITIONS=29} [2023-08-29 19:59:09,395 INFO L281 CegarLoopForPetriNet]: 60 programPoint places, -11 predicate places. [2023-08-29 19:59:09,395 INFO L495 AbstractCegarLoop]: Abstraction has has 49 places, 29 transitions, 98 flow [2023-08-29 19:59:09,395 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 222.66666666666666) internal successors, (668), 3 states have internal predecessors, (668), 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-29 19:59:09,396 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:59:09,396 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:59:09,396 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable24 [2023-08-29 19:59:09,396 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-08-29 19:59:09,396 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:59:09,396 INFO L85 PathProgramCache]: Analyzing trace with hash 137575, now seen corresponding path program 1 times [2023-08-29 19:59:09,397 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:59:09,397 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [825368498] [2023-08-29 19:59:09,397 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:59:09,397 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:59:09,402 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:59:09,425 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:59:09,425 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:59:09,425 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [825368498] [2023-08-29 19:59:09,425 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [825368498] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:59:09,425 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:59:09,426 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:59:09,426 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1548823948] [2023-08-29 19:59:09,426 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:59:09,426 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:59:09,426 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:59:09,427 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:59:09,427 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:59:09,439 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 224 out of 574 [2023-08-29 19:59:09,440 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 49 places, 29 transitions, 98 flow. Second operand has 3 states, 3 states have (on average 224.66666666666666) internal successors, (674), 3 states have internal predecessors, (674), 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-29 19:59:09,440 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:59:09,440 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 224 of 574 [2023-08-29 19:59:09,440 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:59:19,157 INFO L130 PetriNetUnfolder]: 91856/118098 cut-off events. [2023-08-29 19:59:19,157 INFO L131 PetriNetUnfolder]: For 7651/7651 co-relation queries the response was YES. [2023-08-29 19:59:19,411 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239488 conditions, 118098 events. 91856/118098 cut-off events. For 7651/7651 co-relation queries the response was YES. Maximal size of possible extension queue 3817. Compared 666310 event pairs, 91856 based on Foata normal form. 0/114818 useless extension candidates. Maximal degree in co-relation 239476. Up to 111538 conditions per place. [2023-08-29 19:59:19,467 INFO L137 encePairwiseOnDemand]: 572/574 looper letters, 0 selfloop transitions, 0 changer transitions 28/28 dead transitions. [2023-08-29 19:59:19,467 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 50 places, 28 transitions, 148 flow [2023-08-29 19:59:19,467 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:59:19,467 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:59:19,469 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 699 transitions. [2023-08-29 19:59:19,469 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4059233449477352 [2023-08-29 19:59:19,469 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 699 transitions. [2023-08-29 19:59:19,469 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 699 transitions. [2023-08-29 19:59:19,470 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:59:19,470 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 699 transitions. [2023-08-29 19:59:19,471 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 233.0) internal successors, (699), 3 states have internal predecessors, (699), 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-29 19:59:19,473 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 574.0) internal successors, (2296), 4 states have internal predecessors, (2296), 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-29 19:59:19,474 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 574.0) internal successors, (2296), 4 states have internal predecessors, (2296), 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-29 19:59:19,474 INFO L175 Difference]: Start difference. First operand has 49 places, 29 transitions, 98 flow. Second operand 3 states and 699 transitions. [2023-08-29 19:59:19,474 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 50 places, 28 transitions, 148 flow [2023-08-29 19:59:19,520 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 49 places, 28 transitions, 147 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 19:59:19,520 INFO L231 Difference]: Finished difference. Result has 49 places, 0 transitions, 0 flow [2023-08-29 19:59:19,520 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=574, PETRI_DIFFERENCE_MINUEND_FLOW=95, PETRI_DIFFERENCE_MINUEND_PLACES=47, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=28, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=28, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=49, PETRI_TRANSITIONS=0} [2023-08-29 19:59:19,521 INFO L281 CegarLoopForPetriNet]: 60 programPoint places, -11 predicate places. [2023-08-29 19:59:19,521 INFO L495 AbstractCegarLoop]: Abstraction has has 49 places, 0 transitions, 0 flow [2023-08-29 19:59:19,521 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 224.66666666666666) internal successors, (674), 3 states have internal predecessors, (674), 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-29 19:59:19,521 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (11 of 12 remaining) [2023-08-29 19:59:19,521 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (10 of 12 remaining) [2023-08-29 19:59:19,521 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 12 remaining) [2023-08-29 19:59:19,521 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (8 of 12 remaining) [2023-08-29 19:59:19,522 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (7 of 12 remaining) [2023-08-29 19:59:19,522 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (6 of 12 remaining) [2023-08-29 19:59:19,522 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 12 remaining) [2023-08-29 19:59:19,522 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 12 remaining) [2023-08-29 19:59:19,522 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (3 of 12 remaining) [2023-08-29 19:59:19,522 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 12 remaining) [2023-08-29 19:59:19,522 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 12 remaining) [2023-08-29 19:59:19,522 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 12 remaining) [2023-08-29 19:59:19,523 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable25 [2023-08-29 19:59:19,523 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 19:59:19,523 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 19:59:19,525 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 254 places, 270 transitions, 636 flow [2023-08-29 19:59:19,560 INFO L130 PetriNetUnfolder]: 41/404 cut-off events. [2023-08-29 19:59:19,560 INFO L131 PetriNetUnfolder]: For 112/112 co-relation queries the response was YES. [2023-08-29 19:59:19,564 INFO L83 FinitePrefix]: Finished finitePrefix Result has 465 conditions, 404 events. 41/404 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1358 event pairs, 0 based on Foata normal form. 0/319 useless extension candidates. Maximal degree in co-relation 397. Up to 18 conditions per place. [2023-08-29 19:59:19,564 INFO L82 GeneralOperation]: Start removeDead. Operand has 254 places, 270 transitions, 636 flow [2023-08-29 19:59:19,565 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 254 places, 270 transitions, 636 flow [2023-08-29 19:59:19,565 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:59:19,565 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 254 places, 270 transitions, 636 flow [2023-08-29 19:59:19,565 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 254 places, 270 transitions, 636 flow [2023-08-29 19:59:19,566 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 254 places, 270 transitions, 636 flow [2023-08-29 19:59:19,598 INFO L130 PetriNetUnfolder]: 41/404 cut-off events. [2023-08-29 19:59:19,599 INFO L131 PetriNetUnfolder]: For 112/112 co-relation queries the response was YES. [2023-08-29 19:59:19,602 INFO L83 FinitePrefix]: Finished finitePrefix Result has 465 conditions, 404 events. 41/404 cut-off events. For 112/112 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1358 event pairs, 0 based on Foata normal form. 0/319 useless extension candidates. Maximal degree in co-relation 397. Up to 18 conditions per place. [2023-08-29 19:59:19,611 INFO L119 LiptonReduction]: Number of co-enabled transitions 57072 [2023-08-29 19:59:25,767 INFO L134 LiptonReduction]: Checked pairs total: 56155 [2023-08-29 19:59:25,767 INFO L136 LiptonReduction]: Total number of compositions: 306 [2023-08-29 19:59:25,768 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 19:59:25,769 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:59:25,769 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 19:59:25,777 INFO L130 PetriNetUnfolder]: 1/96 cut-off events. [2023-08-29 19:59:25,777 INFO L131 PetriNetUnfolder]: For 112/112 co-relation queries the response was YES. [2023-08-29 19:59:25,777 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:59:25,777 INFO L208 CegarLoopForPetriNet]: trace histogram [9, 8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-29 19:59:25,777 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 19:59:25,778 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:59:25,778 INFO L85 PathProgramCache]: Analyzing trace with hash 975934539, now seen corresponding path program 1 times [2023-08-29 19:59:25,778 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:59:25,778 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1340491878] [2023-08-29 19:59:25,778 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:59:25,778 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:59:25,791 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:59:25,791 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 19:59:25,798 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:59:25,804 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 19:59:25,805 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 19:59:25,805 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 19:59:25,805 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable26 [2023-08-29 19:59:25,805 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 19:59:25,805 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 19:59:25,806 WARN L233 ceAbstractionStarter]: 8 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 19:59:25,806 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 9 thread instances. [2023-08-29 19:59:25,832 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:59:25,834 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 282 places, 300 transitions, 717 flow [2023-08-29 19:59:25,894 INFO L130 PetriNetUnfolder]: 46/451 cut-off events. [2023-08-29 19:59:25,894 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-29 19:59:25,900 INFO L83 FinitePrefix]: Finished finitePrefix Result has 524 conditions, 451 events. 46/451 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1548 event pairs, 0 based on Foata normal form. 0/356 useless extension candidates. Maximal degree in co-relation 455. Up to 20 conditions per place. [2023-08-29 19:59:25,901 INFO L82 GeneralOperation]: Start removeDead. Operand has 282 places, 300 transitions, 717 flow [2023-08-29 19:59:25,905 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 282 places, 300 transitions, 717 flow [2023-08-29 19:59:25,905 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:59:25,905 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 282 places, 300 transitions, 717 flow [2023-08-29 19:59:25,906 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 282 places, 300 transitions, 717 flow [2023-08-29 19:59:25,906 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 282 places, 300 transitions, 717 flow [2023-08-29 19:59:25,956 INFO L130 PetriNetUnfolder]: 46/451 cut-off events. [2023-08-29 19:59:25,957 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-29 19:59:25,963 INFO L83 FinitePrefix]: Finished finitePrefix Result has 524 conditions, 451 events. 46/451 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1548 event pairs, 0 based on Foata normal form. 0/356 useless extension candidates. Maximal degree in co-relation 455. Up to 20 conditions per place. [2023-08-29 19:59:25,979 INFO L119 LiptonReduction]: Number of co-enabled transitions 72036 [2023-08-29 19:59:32,310 INFO L134 LiptonReduction]: Checked pairs total: 69308 [2023-08-29 19:59:32,310 INFO L136 LiptonReduction]: Total number of compositions: 335 [2023-08-29 19:59:32,311 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:59:32,311 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:59:32,311 INFO L358 AbstractCegarLoop]: Starting to check reachability of 13 error locations. [2023-08-29 19:59:32,312 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 19:59:32,312 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:59:32,312 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:59:32,312 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:59:32,312 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 9 more)] === [2023-08-29 19:59:32,312 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:59:32,312 INFO L85 PathProgramCache]: Analyzing trace with hash 168757, now seen corresponding path program 1 times [2023-08-29 19:59:32,312 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:59:32,312 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1640456480] [2023-08-29 19:59:32,312 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:59:32,312 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:59:32,322 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:59:32,327 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:59:32,328 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:59:32,328 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1640456480] [2023-08-29 19:59:32,328 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1640456480] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:59:32,328 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:59:32,328 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:59:32,328 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [914343760] [2023-08-29 19:59:32,328 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:59:32,329 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-29 19:59:32,329 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:59:32,329 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-29 19:59:32,329 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-29 19:59:32,330 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 253 out of 635 [2023-08-29 19:59:32,330 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 64 places, 45 transitions, 207 flow. Second operand has 2 states, 2 states have (on average 254.0) internal successors, (508), 2 states have internal predecessors, (508), 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-29 19:59:32,330 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:59:32,331 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 253 of 635 [2023-08-29 19:59:32,331 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 20:00:49,343 INFO L130 PetriNetUnfolder]: 649542/793881 cut-off events. [2023-08-29 20:00:49,343 INFO L131 PetriNetUnfolder]: For 609352/609352 co-relation queries the response was YES. [2023-08-29 20:00:50,944 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1714073 conditions, 793881 events. 649542/793881 cut-off events. For 609352/609352 co-relation queries the response was YES. Maximal size of possible extension queue 25108. Compared 4681846 event pairs, 649542 based on Foata normal form. 0/724992 useless extension candidates. Maximal degree in co-relation 518866. Up to 767639 conditions per place. [2023-08-29 20:00:52,911 INFO L137 encePairwiseOnDemand]: 624/635 looper letters, 31 selfloop transitions, 0 changer transitions 1/34 dead transitions. [2023-08-29 20:00:52,912 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 54 places, 34 transitions, 247 flow [2023-08-29 20:00:52,912 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-29 20:00:52,912 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-29 20:00:52,913 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 548 transitions. [2023-08-29 20:00:52,913 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.431496062992126 [2023-08-29 20:00:52,913 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 548 transitions. [2023-08-29 20:00:52,913 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 548 transitions. [2023-08-29 20:00:52,914 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 20:00:52,914 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 548 transitions. [2023-08-29 20:00:52,915 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 274.0) internal successors, (548), 2 states have internal predecessors, (548), 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-29 20:00:52,916 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 635.0) internal successors, (1905), 3 states have internal predecessors, (1905), 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-29 20:00:52,917 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 635.0) internal successors, (1905), 3 states have internal predecessors, (1905), 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-29 20:00:52,917 INFO L175 Difference]: Start difference. First operand has 64 places, 45 transitions, 207 flow. Second operand 2 states and 548 transitions. [2023-08-29 20:00:52,917 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 54 places, 34 transitions, 247 flow [2023-08-29 20:00:53,839 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 34 transitions, 175 flow, removed 36 selfloop flow, removed 0 redundant places. [2023-08-29 20:00:53,839 INFO L231 Difference]: Finished difference. Result has 54 places, 33 transitions, 109 flow [2023-08-29 20:00:53,840 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=635, PETRI_DIFFERENCE_MINUEND_FLOW=113, PETRI_DIFFERENCE_MINUEND_PLACES=53, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=34, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=34, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=109, PETRI_PLACES=54, PETRI_TRANSITIONS=33} [2023-08-29 20:00:53,840 INFO L281 CegarLoopForPetriNet]: 64 programPoint places, -10 predicate places. [2023-08-29 20:00:53,840 INFO L495 AbstractCegarLoop]: Abstraction has has 54 places, 33 transitions, 109 flow [2023-08-29 20:00:53,840 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 254.0) internal successors, (508), 2 states have internal predecessors, (508), 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-29 20:00:53,841 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 20:00:53,841 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 20:00:53,841 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable27 [2023-08-29 20:00:53,841 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 9 more)] === [2023-08-29 20:00:53,841 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 20:00:53,841 INFO L85 PathProgramCache]: Analyzing trace with hash 168789, now seen corresponding path program 1 times [2023-08-29 20:00:53,842 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 20:00:53,842 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [379391059] [2023-08-29 20:00:53,842 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 20:00:53,843 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 20:00:53,854 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 20:00:53,867 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 20:00:53,867 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 20:00:53,867 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [379391059] [2023-08-29 20:00:53,867 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [379391059] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 20:00:53,867 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 20:00:53,868 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 20:00:53,868 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1549482178] [2023-08-29 20:00:53,868 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 20:00:53,869 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 20:00:53,869 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 20:00:53,869 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 20:00:53,870 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 20:00:53,885 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 247 out of 635 [2023-08-29 20:00:53,886 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 54 places, 33 transitions, 109 flow. Second operand has 3 states, 3 states have (on average 247.66666666666666) internal successors, (743), 3 states have internal predecessors, (743), 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-29 20:00:53,886 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 20:00:53,887 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 247 of 635 [2023-08-29 20:00:53,887 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 20:01:47,634 INFO L130 PetriNetUnfolder]: 482236/590490 cut-off events. [2023-08-29 20:01:47,634 INFO L131 PetriNetUnfolder]: For 22960/22960 co-relation queries the response was YES. [2023-08-29 20:01:49,070 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1190832 conditions, 590490 events. 482236/590490 cut-off events. For 22960/22960 co-relation queries the response was YES. Maximal size of possible extension queue 17612. Compared 3377747 event pairs, 482236 based on Foata normal form. 0/551125 useless extension candidates. Maximal degree in co-relation 1190820. Up to 570808 conditions per place. [2023-08-29 20:01:50,498 INFO L137 encePairwiseOnDemand]: 633/635 looper letters, 29 selfloop transitions, 1 changer transitions 0/32 dead transitions. [2023-08-29 20:01:50,498 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 54 places, 32 transitions, 167 flow [2023-08-29 20:01:50,499 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 20:01:50,499 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 20:01:50,500 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 772 transitions. [2023-08-29 20:01:50,500 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.405249343832021 [2023-08-29 20:01:50,500 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 772 transitions. [2023-08-29 20:01:50,500 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 772 transitions. [2023-08-29 20:01:50,501 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 20:01:50,501 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 772 transitions. [2023-08-29 20:01:50,502 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 257.3333333333333) internal successors, (772), 3 states have internal predecessors, (772), 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-29 20:01:50,504 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 635.0) internal successors, (2540), 4 states have internal predecessors, (2540), 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-29 20:01:50,504 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 635.0) internal successors, (2540), 4 states have internal predecessors, (2540), 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-29 20:01:50,504 INFO L175 Difference]: Start difference. First operand has 54 places, 33 transitions, 109 flow. Second operand 3 states and 772 transitions. [2023-08-29 20:01:50,504 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 54 places, 32 transitions, 167 flow [2023-08-29 20:01:50,510 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 32 transitions, 167 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 20:01:50,510 INFO L231 Difference]: Finished difference. Result has 54 places, 32 transitions, 109 flow [2023-08-29 20:01:50,510 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=635, PETRI_DIFFERENCE_MINUEND_FLOW=107, PETRI_DIFFERENCE_MINUEND_PLACES=52, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=32, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=31, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=109, PETRI_PLACES=54, PETRI_TRANSITIONS=32} [2023-08-29 20:01:50,511 INFO L281 CegarLoopForPetriNet]: 64 programPoint places, -10 predicate places. [2023-08-29 20:01:50,511 INFO L495 AbstractCegarLoop]: Abstraction has has 54 places, 32 transitions, 109 flow [2023-08-29 20:01:50,511 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 247.66666666666666) internal successors, (743), 3 states have internal predecessors, (743), 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-29 20:01:50,511 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 20:01:50,512 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 20:01:50,512 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable28 [2023-08-29 20:01:50,512 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 9 more)] === [2023-08-29 20:01:50,512 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 20:01:50,512 INFO L85 PathProgramCache]: Analyzing trace with hash 168790, now seen corresponding path program 1 times [2023-08-29 20:01:50,512 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 20:01:50,512 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1997601746] [2023-08-29 20:01:50,512 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 20:01:50,512 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 20:01:50,517 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 20:01:50,543 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 20:01:50,544 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 20:01:50,544 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1997601746] [2023-08-29 20:01:50,544 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1997601746] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 20:01:50,544 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 20:01:50,544 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 20:01:50,545 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [78062862] [2023-08-29 20:01:50,545 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 20:01:50,545 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 20:01:50,545 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 20:01:50,545 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 20:01:50,546 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 20:01:50,559 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 248 out of 635 [2023-08-29 20:01:50,559 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 54 places, 32 transitions, 109 flow. Second operand has 3 states, 3 states have (on average 248.66666666666666) internal successors, (746), 3 states have internal predecessors, (746), 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-29 20:01:50,559 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 20:01:50,559 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 248 of 635 [2023-08-29 20:01:50,560 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 20:02:29,591 INFO L130 PetriNetUnfolder]: 314930/393660 cut-off events. [2023-08-29 20:02:29,591 INFO L131 PetriNetUnfolder]: For 22960/22960 co-relation queries the response was YES. [2023-08-29 20:02:30,581 INFO L83 FinitePrefix]: Finished finitePrefix Result has 797174 conditions, 393660 events. 314930/393660 cut-off events. For 22960/22960 co-relation queries the response was YES. Maximal size of possible extension queue 11073. Compared 2283915 event pairs, 314930 based on Foata normal form. 0/383819 useless extension candidates. Maximal degree in co-relation 797161. Up to 373978 conditions per place. [2023-08-29 20:02:30,779 INFO L137 encePairwiseOnDemand]: 633/635 looper letters, 0 selfloop transitions, 0 changer transitions 31/31 dead transitions. [2023-08-29 20:02:30,779 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 55 places, 31 transitions, 165 flow [2023-08-29 20:02:30,780 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 20:02:30,780 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 20:02:30,782 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 774 transitions. [2023-08-29 20:02:30,782 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4062992125984252 [2023-08-29 20:02:30,782 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 774 transitions. [2023-08-29 20:02:30,782 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 774 transitions. [2023-08-29 20:02:30,783 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 20:02:30,783 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 774 transitions. [2023-08-29 20:02:30,784 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 258.0) internal successors, (774), 3 states have internal predecessors, (774), 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-29 20:02:30,786 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 635.0) internal successors, (2540), 4 states have internal predecessors, (2540), 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-29 20:02:30,787 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 635.0) internal successors, (2540), 4 states have internal predecessors, (2540), 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-29 20:02:30,787 INFO L175 Difference]: Start difference. First operand has 54 places, 32 transitions, 109 flow. Second operand 3 states and 774 transitions. [2023-08-29 20:02:30,787 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 55 places, 31 transitions, 165 flow [2023-08-29 20:02:30,788 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 31 transitions, 164 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 20:02:30,788 INFO L231 Difference]: Finished difference. Result has 54 places, 0 transitions, 0 flow [2023-08-29 20:02:30,788 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=635, PETRI_DIFFERENCE_MINUEND_FLOW=106, PETRI_DIFFERENCE_MINUEND_PLACES=52, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=31, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=31, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=54, PETRI_TRANSITIONS=0} [2023-08-29 20:02:30,789 INFO L281 CegarLoopForPetriNet]: 64 programPoint places, -10 predicate places. [2023-08-29 20:02:30,789 INFO L495 AbstractCegarLoop]: Abstraction has has 54 places, 0 transitions, 0 flow [2023-08-29 20:02:30,789 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 248.66666666666666) internal successors, (746), 3 states have internal predecessors, (746), 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-29 20:02:30,789 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (12 of 13 remaining) [2023-08-29 20:02:30,789 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (11 of 13 remaining) [2023-08-29 20:02:30,790 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (10 of 13 remaining) [2023-08-29 20:02:30,790 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (9 of 13 remaining) [2023-08-29 20:02:30,790 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (8 of 13 remaining) [2023-08-29 20:02:30,790 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (7 of 13 remaining) [2023-08-29 20:02:30,790 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (6 of 13 remaining) [2023-08-29 20:02:30,790 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 13 remaining) [2023-08-29 20:02:30,790 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 13 remaining) [2023-08-29 20:02:30,791 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 13 remaining) [2023-08-29 20:02:30,791 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 13 remaining) [2023-08-29 20:02:30,791 INFO L805 garLoopResultBuilder]: Registering result SAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 13 remaining) [2023-08-29 20:02:30,791 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 13 remaining) [2023-08-29 20:02:30,791 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable29 [2023-08-29 20:02:30,791 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 20:02:30,792 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 20:02:30,794 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 282 places, 300 transitions, 717 flow [2023-08-29 20:02:30,847 INFO L130 PetriNetUnfolder]: 46/451 cut-off events. [2023-08-29 20:02:30,847 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-29 20:02:30,852 INFO L83 FinitePrefix]: Finished finitePrefix Result has 524 conditions, 451 events. 46/451 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1548 event pairs, 0 based on Foata normal form. 0/356 useless extension candidates. Maximal degree in co-relation 455. Up to 20 conditions per place. [2023-08-29 20:02:30,852 INFO L82 GeneralOperation]: Start removeDead. Operand has 282 places, 300 transitions, 717 flow [2023-08-29 20:02:30,854 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 282 places, 300 transitions, 717 flow [2023-08-29 20:02:30,854 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 20:02:30,854 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 282 places, 300 transitions, 717 flow [2023-08-29 20:02:30,855 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 282 places, 300 transitions, 717 flow [2023-08-29 20:02:30,855 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 282 places, 300 transitions, 717 flow [2023-08-29 20:02:30,898 INFO L130 PetriNetUnfolder]: 46/451 cut-off events. [2023-08-29 20:02:30,898 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-29 20:02:30,903 INFO L83 FinitePrefix]: Finished finitePrefix Result has 524 conditions, 451 events. 46/451 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1548 event pairs, 0 based on Foata normal form. 0/356 useless extension candidates. Maximal degree in co-relation 455. Up to 20 conditions per place. [2023-08-29 20:02:30,917 INFO L119 LiptonReduction]: Number of co-enabled transitions 72036 [2023-08-29 20:02:37,352 INFO L134 LiptonReduction]: Checked pairs total: 70256 [2023-08-29 20:02:37,352 INFO L136 LiptonReduction]: Total number of compositions: 336 [2023-08-29 20:02:37,353 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 20:02:37,354 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 20:02:37,354 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 20:02:37,363 INFO L130 PetriNetUnfolder]: 2/109 cut-off events. [2023-08-29 20:02:37,363 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-29 20:02:37,363 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 20:02:37,363 INFO L208 CegarLoopForPetriNet]: trace histogram [10, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-29 20:02:37,364 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 20:02:37,364 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 20:02:37,364 INFO L85 PathProgramCache]: Analyzing trace with hash 1676665873, now seen corresponding path program 1 times [2023-08-29 20:02:37,364 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 20:02:37,364 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2082326860] [2023-08-29 20:02:37,364 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 20:02:37,365 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 20:02:37,393 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 20:02:37,394 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 20:02:37,401 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 20:02:37,410 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 20:02:37,410 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 20:02:37,410 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 20:02:37,411 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable30 [2023-08-29 20:02:37,411 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 20:02:37,411 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 20:02:37,412 WARN L233 ceAbstractionStarter]: 9 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 20:02:37,412 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 10 thread instances. [2023-08-29 20:02:37,440 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 20:02:37,442 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 310 places, 330 transitions, 800 flow [2023-08-29 20:02:37,512 INFO L130 PetriNetUnfolder]: 51/498 cut-off events. [2023-08-29 20:02:37,512 INFO L131 PetriNetUnfolder]: For 210/210 co-relation queries the response was YES. [2023-08-29 20:02:37,517 INFO L83 FinitePrefix]: Finished finitePrefix Result has 584 conditions, 498 events. 51/498 cut-off events. For 210/210 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1735 event pairs, 0 based on Foata normal form. 0/393 useless extension candidates. Maximal degree in co-relation 514. Up to 22 conditions per place. [2023-08-29 20:02:37,517 INFO L82 GeneralOperation]: Start removeDead. Operand has 310 places, 330 transitions, 800 flow [2023-08-29 20:02:37,520 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 310 places, 330 transitions, 800 flow [2023-08-29 20:02:37,521 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 20:02:37,521 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 310 places, 330 transitions, 800 flow [2023-08-29 20:02:37,521 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 310 places, 330 transitions, 800 flow [2023-08-29 20:02:37,521 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 310 places, 330 transitions, 800 flow [2023-08-29 20:02:37,571 INFO L130 PetriNetUnfolder]: 51/498 cut-off events. [2023-08-29 20:02:37,571 INFO L131 PetriNetUnfolder]: For 210/210 co-relation queries the response was YES. [2023-08-29 20:02:37,576 INFO L83 FinitePrefix]: Finished finitePrefix Result has 584 conditions, 498 events. 51/498 cut-off events. For 210/210 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 1735 event pairs, 0 based on Foata normal form. 0/393 useless extension candidates. Maximal degree in co-relation 514. Up to 22 conditions per place. [2023-08-29 20:02:37,592 INFO L119 LiptonReduction]: Number of co-enabled transitions 88740 [2023-08-29 20:02:44,518 INFO L134 LiptonReduction]: Checked pairs total: 84215 [2023-08-29 20:02:44,519 INFO L136 LiptonReduction]: Total number of compositions: 372 [2023-08-29 20:02:44,520 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 20:02:44,520 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;@692df1b9, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 20:02:44,520 INFO L358 AbstractCegarLoop]: Starting to check reachability of 14 error locations. [2023-08-29 20:02:44,521 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 20:02:44,521 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 20:02:44,521 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 20:02:44,521 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 20:02:44,521 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 10 more)] === [2023-08-29 20:02:44,521 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 20:02:44,521 INFO L85 PathProgramCache]: Analyzing trace with hash 202792, now seen corresponding path program 1 times [2023-08-29 20:02:44,522 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 20:02:44,522 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [878132107] [2023-08-29 20:02:44,522 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 20:02:44,522 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 20:02:44,527 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 20:02:44,529 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 20:02:44,529 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 20:02:44,529 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [878132107] [2023-08-29 20:02:44,529 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [878132107] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 20:02:44,529 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 20:02:44,530 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 20:02:44,530 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2035591987] [2023-08-29 20:02:44,530 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 20:02:44,530 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-29 20:02:44,530 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 20:02:44,531 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-29 20:02:44,531 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-29 20:02:44,531 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 278 out of 702 [2023-08-29 20:02:44,532 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 73 places, 55 transitions, 250 flow. Second operand has 2 states, 2 states have (on average 279.0) internal successors, (558), 2 states have internal predecessors, (558), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 20:02:44,532 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 20:02:44,532 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 278 of 702 [2023-08-29 20:02:44,532 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand